@import url('/assets/public-site-v1.css');

:root {
  --blue: #2f2acb;
  --blue-dark: #0c1235;
  --mint: #b9fbdc;
  --green: #086b4b;
  --ink: #111633;
  --muted: #626881;
  --bg: #f5f7fb;
  --line: #e1e5ef;
  --shadow: 0 24px 70px rgba(12, 18, 53, .12);
}

body { background: var(--bg); }
.site-header { background: rgba(255,255,255,.97); }
.site-nav { min-height: 84px; }
.brand img { width: 48px; height: 48px; }
.site-header .brand { display:grid; grid-template-columns:48px auto; grid-template-rows:auto auto; column-gap:12px; line-height:1.05; }
.site-header .brand img { grid-row:1 / 3; }
.site-header .brand::after { content:"Master it, step by step"; display:block; grid-column:2; color:#303550; font-size:11px; font-weight:800; letter-spacing:.045em; text-transform:none; margin-top:3px; }
.site-footer .brand { display:grid; width:max-content; grid-template-columns:50px auto; grid-template-rows:auto auto; column-gap:12px; line-height:1.05; }
.site-footer .brand img { grid-row:1 / 3; }
.site-footer .brand::after { content:"Master it, step by step"; display:block; grid-column:2; color:#d8dbec; font-size:11px; font-weight:750; letter-spacing:.045em; text-transform:none; margin-top:3px; }
.nav-links { gap: 30px; }
.button { border-radius: 8px; padding: 13px 20px; }
.lang-switch { border-radius: 8px; }
.lang-switch a { border-radius: 5px; }

.hero {
  position: relative;
  background:
    radial-gradient(circle at 82% 12%, rgba(185,251,220,.42), transparent 29%),
    linear-gradient(112deg, #ffffff 0%, #f6f7ff 55%, #eefcf6 100%);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 300px;
  height: 300px;
  opacity: .32;
  background-image: linear-gradient(rgba(47,42,203,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(47,42,203,.13) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to top left, #000, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  min-height: 630px;
  grid-template-columns: 1.1fr .9fr;
  gap: 76px;
  padding: 92px 0 88px;
}
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 {
  max-width: 710px;
  margin: 20px 0 24px;
  font-size: clamp(3.35rem, 5.6vw, 5.55rem);
  line-height: .98;
  letter-spacing: -.055em;
  color: var(--blue-dark);
}
.hero-copy h1 span { color: var(--blue); }
.hero-copy > p { max-width: 650px; font-size: 18px; line-height: 1.75; }
.hero-actions { margin: 30px 0 32px; }
.trust-row { gap: 24px; }

.hero-panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 42px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: linear-gradient(145deg, #111846, #090d2b);
  box-shadow: 0 30px 80px rgba(12,18,53,.25);
}
.hero-panel::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: var(--mint);
  opacity: .16;
}
.panel-kicker { color: var(--mint); letter-spacing: .18em; font-size: 11px; font-weight: 900; }
.hero-panel h2 { color: #fff; font-size: clamp(2rem,3vw,3rem); line-height: 1.05; letter-spacing: -.035em; margin: 16px 0; }
.hero-panel > p { color: #c8cce1; margin: 0 0 30px; }
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.expertise-grid div { min-height: 104px; padding: 20px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.expertise-grid strong { display: block; font-size: 20px; color: #fff; }
.expertise-grid span { display: block; margin-top: 5px; color: #aeb4d0; font-size: 12px; line-height: 1.45; }
.panel-link { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; color: var(--mint); font-weight: 850; text-decoration: none; }

.experience-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 34px 0 27px; }
.experience-strip p { margin: 0 0 22px; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-align: center; }
.institution-list { display: grid; grid-template-columns: repeat(4,1fr); align-items: stretch; }
.institution-list div { padding: 10px 24px; text-align: center; border-right: 1px solid var(--line); }
.institution-list div:last-child { border-right: 0; }
.institution-list strong { display: block; color: var(--blue-dark); font-size: 17px; letter-spacing: -.015em; }
.institution-list span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.experience-strip small { display: block; margin-top: 19px; color: #9296aa; font-size: 10px; text-align: center; }

.section { padding: 82px 0; }
.section h2 { font-size: clamp(2.35rem,4vw,3.65rem); }
.service-card, .trainer-card, .contact-card { border-radius: 16px; box-shadow: 0 10px 35px rgba(12,18,53,.055); }
.service-card { padding: 30px; }
.service-icon { border-radius: 8px; }
.service-image { display:block; width:100%; max-width:320px; height:190px; object-fit:cover; margin:15px 0 17px; border-radius:9px; background:#eef1f7; }
.service-card h3 { margin-bottom:0; }
.service-card p { margin-top:0; }
.cards-3 .service-card { min-height:0; }
.quote-bar { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:24px; padding:24px 26px; border:1px solid var(--line); border-radius:14px; background:#f7f9ff; }
.quote-bar strong,.quote-bar span { display:block; }
.quote-bar strong { color:var(--blue-dark); font-size:18px; }
.quote-bar span { color:var(--muted); font-size:13px; margin-top:3px; }
.quote-bar > div:last-child { display:flex; gap:10px; flex-wrap:wrap; }
.contact-details { border-radius: 16px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; padding: 72px 0; }
  .hero-panel { max-width: none; }
  .institution-list { grid-template-columns: 1fr 1fr; }
  .institution-list div:nth-child(2) { border-right: 0; }
  .institution-list div { border-bottom: 1px solid var(--line); }
  .institution-list div:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 680px) {
  .site-nav { min-height: 72px; }
  .brand img { width: 43px; height: 43px; }
  .hero-grid { padding: 58px 0 62px; gap: 34px; }
  .hero-copy h1 { font-size: clamp(2.8rem,14vw,4.25rem); }
  .hero-copy > p { font-size: 16px; }
  .service-image { width:100%; max-width:320px; height:190px; }
  .hero-panel { padding: 28px 22px; border-radius: 14px; }
  .quote-bar { align-items:stretch; flex-direction:column; padding:20px; }
  .quote-bar > div:last-child { flex-direction:column; }
  .expertise-grid div { min-height: 96px; padding: 16px 13px; }
  .institution-list { grid-template-columns: 1fr; }
  .institution-list div { border-right: 0; border-bottom: 1px solid var(--line) !important; padding: 15px; }
  .institution-list div:last-child { border-bottom: 0 !important; }
  .experience-strip { padding: 30px 0 22px; }
}
