
:root{
  --bg:#f4f6f8;
  --card:#ffffff;
  --text:#1d2430;
  --muted:#667085;
  --line:#e6eaf0;
  --accent:#4361ee;
  --accent-dark:#3047b8;
  --soft:#eef3ff;
  --shadow:0 20px 50px rgba(16,24,40,.08);
  --shadow-soft:0 10px 24px rgba(16,24,40,.06);
  --radius:24px;
  --max:1120px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}

body{
  margin:0;
  font-family:"Manrope",sans-serif;
  background:
    radial-gradient(circle at top left, #f8fbff 0%, var(--bg) 42%),
    var(--bg);
  color:var(--text);
  line-height:1.68;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:28px 16px 72px;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.brand-name{
  font-size:15px;
  font-weight:800;
  letter-spacing:-0.02em;
}

.brand-role{
  font-size:13px;
  color:var(--muted);
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:13px 18px;
  border-radius:14px;
  font-size:14px;
  font-weight:700;
  transition:.2s ease;
  cursor:pointer;
  border:none;
  white-space:nowrap;
}

.button-primary{
  background:var(--accent);
  color:#fff;
  box-shadow:0 12px 24px rgba(67,97,238,.22);
}

.button-primary:hover{
  background:var(--accent-dark);
  transform:translateY(-1px);
}

.button-secondary{
  background:#fff;
  color:var(--text);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}

.button-secondary:hover{
  transform:translateY(-1px);
}

.hero{
  position:relative;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:30px;
  background:linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 100%);
  border:1px solid rgba(230,234,240,.9);
  border-radius:32px;
  box-shadow:var(--shadow);
  padding:36px;
  overflow:visible;
  margin-bottom:22px;
}

.hero:before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:32px;
  background:
    radial-gradient(circle at 10% 10%, rgba(67,97,238,.08), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(67,97,238,.05), transparent 28%);
  pointer-events:none;
}

.hero-content{
  position:relative;
  z-index:2;
  padding-right:10px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:700;
  color:var(--muted);
  margin-bottom:16px;
  padding:8px 12px;
  border-radius:999px;
  background:var(--soft);
}

.eyebrow-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--accent);
  flex:0 0 7px;
}

h1{
  margin:0 0 14px;
  font-size:44px;
  line-height:1.06;
  letter-spacing:-0.045em;
  font-weight:800;
}

.hero-subtitle{
  font-size:19px;
  color:var(--text);
  margin:0 0 14px;
  max-width:680px;
}

.hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 22px;
}

.meta-chip{
  padding:10px 14px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  font-size:13px;
  color:var(--muted);
  box-shadow:var(--shadow-soft);
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:12px;
}

.hero-note{
  font-size:13px;
  color:var(--muted);
}

.hero-visual{
  position:relative;
  min-height:580px;
  z-index:2;
}

.photo-shell{
  position:absolute;
  top:-20px;
  right:-40px;
  bottom:-20px;
  left:40px;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 30px 60px rgba(16,24,40,.14);
  background:#dfe6ee;
}

.photo-shell img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  transform:scale(1.02);
}

.photo-shell:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,0) 28%),
    linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,0) 24%);
  pointer-events:none;
}

.section{
  margin-top:20px;
}

.section-title{
  font-size:26px;
  line-height:1.2;
  letter-spacing:-0.03em;
  font-weight:800;
  margin:0 0 12px;
}

.section-lead{
  color:var(--muted);
  margin:0 0 16px;
  font-size:15px;
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow-soft);
}

.card p{
  margin:0 0 14px;
}

.card p:last-child{
  margin-bottom:0;
}

.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.list{
  margin:0;
  padding-left:20px;
}

.list li{
  margin-bottom:10px;
  font-size:15px;
}

.features{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

.feature{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px;
  box-shadow:var(--shadow-soft);
}

.feature-title{
  font-size:16px;
  font-weight:800;
  margin-bottom:6px;
  letter-spacing:-0.02em;
}

.feature-text{
  font-size:14px;
  color:var(--muted);
}

.office-block{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:18px;
  align-items:stretch;
}

.office-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:24px;
  box-shadow:var(--shadow-soft);
}

.office-text .card{
  height:100%;
}

.about-visual{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:18px;
  align-items:stretch;
}

.about-visual .card{
  height:100%;
}

.about-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:24px;
  box-shadow:var(--shadow-soft);
}

.steps{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}

.step{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px;
  box-shadow:var(--shadow-soft);
}

.step-number{
  width:34px;
  height:34px;
  border-radius:12px;
  background:var(--soft);
  color:var(--accent);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:14px;
  margin-bottom:10px;
}

.step-title{
  font-size:15px;
  font-weight:800;
  margin-bottom:4px;
}

.step-text{
  font-size:14px;
  color:var(--muted);
}

.prices{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.price-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
  box-shadow:var(--shadow-soft);
}

.price-card h3{
  margin:0 0 6px;
  font-size:18px;
  letter-spacing:-0.02em;
}

.price{
  font-size:26px;
  font-weight:800;
  letter-spacing:-0.03em;
  margin-bottom:8px;
}

.price-note{
  font-size:14px;
  color:var(--muted);
}

.articles{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}

.article-card{
  display:block;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:20px;
  box-shadow:var(--shadow-soft);
  transition:.2s ease;
}

.article-card:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(0,0,0,0.07);
}

.article-tag{
  display:inline-block;
  padding:7px 10px;
  border-radius:999px;
  background:var(--soft);
  color:var(--accent);
  font-size:12px;
  font-weight:800;
  margin-bottom:12px;
}

.article-card h3{
  margin:0 0 10px;
  font-size:18px;
  line-height:1.25;
  letter-spacing:-0.02em;
}

.article-card p{
  margin:0 0 14px;
  color:var(--muted);
  font-size:14px;
}

.article-link{
  font-size:14px;
  font-weight:800;
  color:var(--accent);
}

.article-full{
  margin-top:16px;
}

.article-full h4{
  margin:18px 0 8px;
  font-size:17px;
  letter-spacing:-0.02em;
}

.faq{
  display:grid;
  gap:14px;
}

.faq-item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px;
  box-shadow:var(--shadow-soft);
}

.faq-question{
  font-weight:800;
  font-size:15px;
  margin-bottom:6px;
  letter-spacing:-0.01em;
}

.faq-answer{
  font-size:14px;
  color:var(--muted);
}

.diplomas{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:6px;
}

.diploma-card{
  background:#fff;
  padding:10px;
  border-radius:18px;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  text-align:center;
}

.diploma-card img{
  width:100%;
  border-radius:12px;
}

.diploma-card p{
  font-size:13px;
  margin:10px 4px 2px;
  color:var(--muted);
}

.contact-card{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.contact-text{
  max-width:680px;
}

.contact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.footer{
  margin-top:24px;
  font-size:12px;
  color:var(--muted);
  text-align:center;
}

@media (max-width:980px){
  .hero,
  .office-block,
  .about-visual{
    grid-template-columns:1fr;
    padding:24px;
  }

  .hero-visual{
    min-height:auto;
  }

  .photo-shell{
    position:relative;
    inset:auto;
  }

  .photo-shell img{
    width:100%;
    height:auto;
    object-fit:contain;
  }

  h1{
    font-size:34px;
  }

  .features,
  .articles{
    grid-template-columns:1fr;
  }

  .steps{
    grid-template-columns:1fr 1fr;
  }

  .office-photo img,
  .about-photo img{
    height:auto;
  }
}

@media (max-width:720px){
  .topbar{
    flex-direction:column;
    align-items:flex-start;
  }

  .hero-actions,
  .contact-actions{
    flex-direction:column;
    width:100%;
  }

  .button{
    width:100%;
  }

  .grid-2,
  .prices,
  .diplomas,
  .steps,
  .articles{
    grid-template-columns:1fr;
  }

  h1{
    font-size:30px;
  }

  .hero-subtitle{
    font-size:17px;
  }

  .container{
    padding:18px 14px 54px;
  }

  .hero{
    border-radius:26px;
  }
}