/* =========================================================
   Design system — Young Business Club inspired
   ========================================================= */
:root{
  --bg: #EDEDF2;
  --surface: #FFFFFF;
  --ink: #111114;
  --ink-2: #2A2A30;
  --muted: #6B6B74;
  --line: #E3E3EA;
  --accent: #F04D3C;        /* YBC coral-red */
  --accent-2: #D93A2A;
  --shadow: 0 6px 24px rgba(17,17,20,.06);
  --shadow-lg: 0 20px 60px rgba(17,17,20,.10);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --container: 1120px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Unbounded', 'Inter', sans-serif;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:0;background:none}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
  white-space:nowrap;
  cursor:pointer;
}
.btn-accent{
  background: var(--accent);
  color:#fff;
  box-shadow: 0 6px 20px rgba(240,77,60,.35);
}
.btn-accent:hover{ background: var(--accent-2); transform: translateY(-1px) }
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 11px 22px;
}
.btn-ghost:hover{ background: var(--ink); color:#fff }

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position: sticky;
  top: 14px;
  z-index: 50;
  padding: 0 24px;
}
.header-inner{
  background: var(--surface);
  border-radius: 999px;
  box-shadow: var(--shadow);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 14px 10px 22px;
  margin: 0 auto;
}
.brand{ display:flex; align-items:center; gap:10px; font-weight:700 }
.brand-mark{
  font-family: var(--display);
  font-weight: 800;
  background: var(--ink);
  color:#fff;
  width: 38px; height: 38px;
  display:grid; place-items:center;
  border-radius: 10px;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.brand-mark .dot{ color: var(--accent) }
.brand-name{ font-size: 14px }

.nav{ display:flex; gap: 28px; }
.nav a{
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .2s;
}
.nav a:hover{ color: var(--accent) }

.header-right{ display:flex; align-items:center; gap:14px }
.lang{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--ink-2);
}

.burger{
  display:none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg);
  padding: 10px 11px;
  flex-direction:column;
  justify-content:space-between;
}
.burger span{ display:block; height:2px; background: var(--ink); border-radius:2px }

/* =========================================================
   Hero
   ========================================================= */
.hero{
  padding: 60px 24px 40px;
  position: relative;
  text-align: center;
}
.hero-title{
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 88px);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1;
}
.hero-tagline{
  margin: 18px auto 40px;
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
}

.hero-card{
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  display:grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  text-align: left;
  align-items: stretch;
}
.hero-photo{
  border-radius: 20px;
  overflow: hidden;
  background: #222;
  aspect-ratio: 4/5;
}
.hero-photo img{ width:100%; height:100%; object-fit: cover }

.hero-bio{ padding: 8px 4px; display:flex; flex-direction:column; gap:12px; justify-content:center }
.bio-role{
  display:inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  align-self:flex-start;
}
.hero-bio p{ margin: 0; color: var(--ink-2); font-size: 15px }
.bio-sign{ color: var(--muted) !important; font-style: italic }
.hero-bio .btn{ align-self:flex-start; margin-top: 8px }

.scroll-down{
  display: grid;
  place-items:center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  margin: 28px auto 0;
  box-shadow: 0 10px 28px rgba(240,77,60,.35);
  transition: transform .2s;
}
.scroll-down:hover{ transform: translateY(3px) }

/* =========================================================
   Sections
   ========================================================= */
.section{ padding: 60px 24px }
.section-title{
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 0 0 10px;
}
.section-sub{
  text-align:center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 15px;
}

.grid{ display:grid; gap: 20px }
.grid-3{ grid-template-columns: repeat(3, 1fr) }

.center{ text-align:center; margin-top: 26px }

.pager{ display:flex; gap:6px; justify-content:center; margin-top: 28px }
.pager .dot{
  width: 7px; height: 7px; border-radius:50%;
  background: #C7C7D0;
}
.pager .dot.active{ background: var(--ink) }

/* =========================================================
   Stats card
   ========================================================= */
.stats-card{
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.stat-num{
  font-family: var(--display);
  font-weight: 800;
  font-size: 46px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label{ color: var(--muted); margin-top: 6px; font-size: 14px }

/* =========================================================
   Media / publication cards
   ========================================================= */
.media-card{
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  display:flex; flex-direction:column;
}
.media-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lg) }
.media-thumb{
  aspect-ratio: 16/10;
  position: relative;
  overflow:hidden;
  display:grid; place-items:center;
}
.thumb-tag{
  position:absolute; top:14px; left:14px;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
}
.thumb-1{ background: linear-gradient(135deg,#ffd6a8 0%,#f29d5b 100%) }
.thumb-2{ background: linear-gradient(135deg,#c9e1ff 0%,#6a93d3 100%) }
.thumb-3{ background: linear-gradient(135deg,#d4f5d6 0%,#5fb968 100%) }
.thumb-4{ background: linear-gradient(135deg,#ffd1d9 0%,#e66a7e 100%) }
.thumb-5{ background: linear-gradient(135deg,#e8d9ff 0%,#8a5ed8 100%) }
.thumb-6{ background: linear-gradient(135deg,#ffe9a3 0%,#d8a846 100%) }

.media-body{ padding: 18px 20px 20px }
.media-body h3{
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}
.meta{
  display:flex; justify-content:space-between;
  color: var(--muted); font-size: 13px;
}
.meta span:last-child{ color: var(--accent); font-weight: 600 }

/* =========================================================
   Telegram banner
   ========================================================= */
.tg-banner{
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  display:flex; align-items:center; gap: 18px;
  margin: 10px 0 30px;
}
.tg-left{ flex-shrink:0 }
.tg-phone{
  width: 58px; height: 100px;
  background: var(--ink);
  border-radius: 14px;
  padding: 6px;
}
.tg-phone-inner{
  background: linear-gradient(160deg,#2aabee,#229ed9);
  height: 100%;
  border-radius: 10px;
  padding: 10px 6px;
  display:flex; flex-direction:column; gap:6px; align-items:center;
}
.tg-avatar{ width: 22px; height:22px; background: rgba(255,255,255,.95); border-radius:50% }
.tg-lines{ display:flex; flex-direction:column; gap:4px; width:100% }
.tg-lines span{ display:block; height:4px; background: rgba(255,255,255,.6); border-radius:2px }
.tg-lines span:nth-child(2){ width: 70% }
.tg-lines span:nth-child(3){ width: 50% }

.tg-text{ display:flex; align-items:center; gap:12px; flex:1 }
.tg-text strong{ display:block; font-size: 15px }
.tg-text span{ display:block; color: var(--muted); font-size: 13px }

/* =========================================================
   Videos
   ========================================================= */
.channel-title{
  display:flex; align-items:center; gap:8px;
  font-family: var(--display);
  font-weight: 700; font-size: 18px;
  margin: 20px 0 16px;
}
.channel-title.tt{ margin-top: 48px }

.video-card, .tiktok-card{
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.video-card:hover, .tiktok-card:hover{ transform: translateY(-3px) }

.video-thumb{
  aspect-ratio: 16/10;
  position:relative;
  display:grid; place-items:center;
}
.tt-thumb{
  aspect-ratio: 9/14;
  position:relative;
  display:grid; place-items:center;
}
.play{
  width: 48px; height: 48px; border-radius:50%;
  background: rgba(255,255,255,.92);
  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.play::after{
  content:'';
  position: absolute; top:50%; left:52%;
  transform: translate(-50%,-50%);
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--ink);
}
.video-card p, .tiktok-card p{
  margin: 0;
  padding: 14px 16px 18px;
  font-size: 14px; line-height: 1.4;
  color: var(--ink-2);
}

.vthumb-1{ background: linear-gradient(135deg,#ffd6a8,#f29d5b) }
.vthumb-2{ background: linear-gradient(135deg,#c9e1ff,#6a93d3) }
.vthumb-3{ background: linear-gradient(135deg,#d4f5d6,#5fb968) }
.vthumb-4{ background: linear-gradient(135deg,#ffd1d9,#e66a7e) }
.vthumb-5{ background: linear-gradient(135deg,#e8d9ff,#8a5ed8) }
.vthumb-6{ background: linear-gradient(135deg,#ffe9a3,#d8a846) }

.tt-1{ background: linear-gradient(160deg,#141417,#2a2a30) }
.tt-2{ background: linear-gradient(160deg,#a24032,#ef6a50) }
.tt-3{ background: linear-gradient(160deg,#1c2746,#4763a9) }
.tt-4{ background: linear-gradient(160deg,#2b3a2b,#5b8a5f) }
.tt-5{ background: linear-gradient(160deg,#4d2946,#8a4a7c) }
.tt-6{ background: linear-gradient(160deg,#613a1f,#b47a3e) }

/* =========================================================
   Projects
   ========================================================= */
.project-card{
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display:grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  align-items:center;
  margin-bottom: 20px;
}
.project-card.reverse{ grid-template-columns: 1fr 360px }
.project-card.reverse .project-visual{ order: 2 }

.project-visual{
  aspect-ratio: 4/3;
  border-radius: 16px;
  display:grid; place-items:center;
  position:relative;
  overflow:hidden;
}
.pv-1{ background: linear-gradient(135deg,#ffe4e0,#f9c8c2) }
.pv-2{ background: linear-gradient(135deg,#e8e8f5,#c7c7e2) }
.pv-badge{
  font-family: var(--display);
  font-weight: 800;
  font-size: 72px;
  color: var(--ink);
  letter-spacing: -0.04em;
}
.project-body{ padding: 0 }
.project-logo{ display:flex; align-items:center; gap: 14px; margin-bottom: 14px }
.plogo{
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .02em;
  padding: 8px 12px;
  border-radius: 10px;
  color: #fff;
}
.plogo.ybc{ background: var(--ink) }
.plogo.ybc b{ color: var(--accent); font-weight: 800 }
.plogo.bm{ background: var(--accent) }
.project-logo strong{
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
}
.project-body p{ color: var(--ink-2); font-size: 15px; margin: 0 0 14px }
.link-accent{
  color: var(--accent); font-weight: 600; font-size: 14px;
}
.link-accent:hover{ color: var(--accent-2) }

/* =========================================================
   Instagram grid
   ========================================================= */
.ig-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.ig-tile{
  aspect-ratio: 1/1;
  border-radius: 16px;
  overflow:hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.ig-tile:hover{ transform: scale(1.02) }
.ig-1{ background: linear-gradient(135deg,#1d2030,#4a5473) }
.ig-2{ background: linear-gradient(135deg,#f5d9b4,#d89659) }
.ig-3{ background: linear-gradient(135deg,#b2c8e8,#567cb0) }
.ig-4{ background: linear-gradient(135deg,#e4d3ef,#9b7fc0) }
.ig-5{ background: linear-gradient(135deg,#f0c4bd,#c5685b) }
.ig-6{ background: linear-gradient(135deg,#cbe0c4,#7ba378) }

/* =========================================================
   Contacts
   ========================================================= */
.contact-row{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: stretch;
}
.contact-form{
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display:flex; flex-direction:column; gap:18px;
}
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px }
.contact-form label{ display:flex; flex-direction:column; gap: 6px }
.contact-form label.full{ grid-column: 1 / -1 }
.contact-form span{ font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em }
.contact-form input, .contact-form textarea{
  font-family: inherit; font-size: 15px;
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--ink);
  resize: vertical;
  transition: border-color .2s, background .2s;
}
.contact-form input:focus, .contact-form textarea:focus{
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.form-actions{ display:flex; align-items:center; gap:16px; justify-content: flex-end }
.form-success{
  color: var(--accent); font-size: 14px; font-weight: 600;
  opacity: 0; transform: translateX(6px); transition: .3s;
}
.form-success.on{ opacity: 1; transform:none }

.socials-card{
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display:flex; flex-direction:column; gap: 4px;
}
.social-row{
  display:flex; align-items:center; gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 500;
  transition: background .15s;
}
.social-row:hover{ background: var(--bg) }
.social-ico{
  width: 36px; height: 36px;
  border-radius: 10px;
  display:grid; place-items:center;
  background: var(--bg);
  color: var(--ink);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  background: var(--ink);
  color: #E0E0E6;
  margin-top: 80px;
  padding: 56px 0 24px;
}
.footer-inner{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 40px;
  align-items: start;
}
.footer-brand .brand-mark{ background: #fff; color: var(--ink) }
.footer-brand .brand-mark .dot{ color: var(--accent) }
.footer-brand .brand-name{ color: #fff }
.footer-brand p{ margin: 14px 0 0; color: #9C9CA8; font-size: 13px; max-width: 340px }

.footer-nav, .footer-legal{ display:flex; flex-direction:column; gap: 10px; padding-top: 10px }
.footer-nav a, .footer-legal a{ color:#C9C9D2; font-size: 14px }
.footer-nav a:hover, .footer-legal a:hover{ color: var(--accent) }

.footer-socials{ display:flex; gap: 8px; padding-top: 10px }
.footer-socials a{
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid #2A2A30;
  display:grid; place-items:center;
  color: #C9C9D2;
  transition: border-color .2s, color .2s;
}
.footer-socials a:hover{ color: var(--accent); border-color: var(--accent) }

.copy{
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #24242A;
  color: #72727C;
  font-size: 13px;
  text-align:center;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px){
  .nav{ display:none }
  .burger{ display:flex }
  .hero-card{ grid-template-columns: 1fr }
  .hero-photo{ max-width: 320px; margin: 0 auto }
  .grid-3, .stats-card, .ig-grid{ grid-template-columns: 1fr 1fr }
  .project-card, .project-card.reverse{ grid-template-columns: 1fr }
  .project-card.reverse .project-visual{ order: 0 }
  .contact-row{ grid-template-columns: 1fr }
  .footer-inner{ grid-template-columns: 1fr 1fr; gap: 28px }
  .tg-banner{ flex-wrap: wrap }
}
@media (max-width: 600px){
  .grid-3, .stats-card, .ig-grid{ grid-template-columns: 1fr }
  .footer-inner{ grid-template-columns: 1fr }
  .form-grid{ grid-template-columns: 1fr }
  .header-inner{ padding: 10px 10px 10px 14px }
  .header-right .btn span{ display:none }
  .header-right .lang{ display:none }
  .hero{ padding: 40px 16px 30px }
  .section{ padding: 40px 16px }
  .hero-card{ padding: 16px }
}
