:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --card: #ffffff;
  --line: #e4ebf4;
  --text: #152033;
  --muted: #5c6b82;
  --brand: #1a73e8;
  --brand-dark: #1557b0;
  --brand-soft: #e8f1fd;
  --ok: #0f9d73;
  --shadow: 0 12px 32px rgba(21, 32, 51, 0.08);
  --radius: 20px;
  --font: "Noto Sans Armenian", "Segoe UI", sans-serif;
  --display: "Outfit", "Noto Sans Armenian", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, .brand strong, .brand small {
  font-family: var(--display);
  letter-spacing: 0.01em;
  color: var(--text);
}
h1 { font-size: clamp(1.85rem, 3.6vw, 3.05rem); line-height: 1.18; margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); margin: 0 0 1rem; }
h3 { margin: 0 0 0.4rem; }
p { margin: 0 0 1rem; color: var(--muted); }
.muted { color: var(--muted); }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 32px)); }
.section { padding: 88px 0; }
.section.dim { background: var(--bg-soft); }
.eyebrow {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 10px;
}
.section-lead { max-width: 720px; margin-bottom: 32px; }
.carousel { --slides: 3; --gap: 20px; }
.carousel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.carousel-head .section-lead { margin-bottom: 0; }
.carousel-head h2 { margin-bottom: 0.6rem; }
.carousel-nav { display: flex; gap: 10px; flex-shrink: 0; margin-top: 28px; }
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn:hover {
  transform: translateY(-1px);
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}
.carousel-btn:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}
.carousel.is-static .carousel-nav { display: none; }
.carousel-viewport {
  overflow: hidden;
  padding: 12px 6px 18px;
  margin: 0 -6px;
}
.carousel-track {
  display: flex;
  width: 100%;
  gap: var(--gap);
  align-items: stretch;
  transition: transform 0.45s ease;
  will-change: transform;
}
.carousel-track > * {
  flex: 0 0 calc((100% - (var(--slides) - 1) * var(--gap)) / var(--slides));
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.carousel-track .card,
.carousel-track .poster,
.carousel-track .team-card,
.carousel-track .mini,
.carousel-track .blog-card {
  min-height: 100%;
  box-sizing: border-box;
}
.carousel-track > .testi {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.carousel-track .faq {
  width: 100%;
}
.career-photo { margin: 0 0 8px; }
.career-photo .frame img { min-height: 220px; max-height: 300px; }
.carousel-track .card p:last-child { margin-bottom: 0; }
.carousel-track .poster-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.carousel-track .poster-actions { margin-top: auto; }
.center { text-align: center; }
.center-link { text-align: center; margin-top: 28px; }
.fine { font-size: 0.9rem; margin-top: 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(26, 115, 232, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--brand-dark); color: #fff; }
.btn-ghost {
  background: #fff;
  box-shadow: none;
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--text); }
.btn-sm { padding: 10px 16px; font-size: 0.92rem; }

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner, .brand, .nav-links {
  display: flex;
  align-items: center;
}
.nav-inner {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}
.brand {
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  padding: 4px;
  border: 1px solid var(--line);
}
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-size: 1.15rem; color: var(--brand); }
.brand small { font-size: 0.7rem; letter-spacing: 0.28em; color: var(--muted); }
.nav-links { gap: 18px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--brand); }
.nav-links .btn { color: #fff; }
.nav-links .btn:hover { color: #fff; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 10px;
  background: var(--text);
}
.nav.open { z-index: 60; }

.hero {
  padding: 36px 0 20px;
  background:
    radial-gradient(circle at 90% 10%, var(--brand-soft), transparent 42%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy { padding: 24px 0; max-width: none; }
.hero-copy .lede { font-size: 1.12rem; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-visual {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 8px; text-align: center; }
.stat strong {
  display: block;
  font-size: 2rem;
  color: var(--brand);
}
.stat span { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.frame img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.mission {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 16px 16px 0;
}

.cards-3, .course-grid, .team-grid, .testi-grid, .blog-grid, .syllabus {
  display: grid;
  gap: 20px;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card, .mini, .testi, .price-card, .form, .syllabus article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.icon { font-size: 1.6rem; }
.card h3, .mini h3 { color: var(--text); }

.team-grid { grid-template-columns: repeat(4, 1fr); }
.team-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top center; }
.team-card div { padding: 16px; }
.role { color: var(--brand); font-weight: 700; font-size: 0.9rem; }

.course-grid { grid-template-columns: repeat(3, 1fr); }
.poster {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  min-height: 0;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.poster img {
  position: relative;
  width: 100%;
  height: 230px;
  object-fit: cover;
}
.poster-body {
  position: relative;
  padding: 20px;
  background: #fff;
}
.poster h3 { font-size: 1.35rem; margin-bottom: 6px; color: var(--text); }
.poster p { color: var(--muted); }
.chip {
  display: inline-block;
  background: var(--brand-soft);
  border: 1px solid #cfe0f8;
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  margin-bottom: 8px;
}
.pills { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 8px; }
.pills li {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
}
.pills.light { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
.poster-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.stack { display: grid; gap: 12px; }
.stories { margin-top: 48px; }
.quote-card p { color: var(--text); font-size: 1.05rem; }
.partner-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.partner {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--muted);
}

.testi-grid { grid-template-columns: repeat(2, 1fr); }
.testi { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: start; }
.testi img { width: 92px; height: 92px; object-fit: cover; border-radius: 20px; }

.blog-grid { grid-template-columns: repeat(3, 1fr); }
.blog-card {
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card img { width: 100%; height: 180px; object-fit: cover; }
.blog-card div { padding: 16px; }
.blog-card time { color: var(--brand); font-size: 0.85rem; }

.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 18px;
  margin-bottom: 10px;
  background: #fff;
}
.faq summary { cursor: pointer; font-weight: 700; padding: 10px 0; }
.faq details p { padding-bottom: 8px; }

.contact-list { list-style: none; padding: 0; }
.contact-list li { margin: 0 0 10px; }
.contact-list a { color: var(--brand); }
.map {
  margin-top: 16px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 240px;
}
.map iframe { width: 100%; height: 240px; border: 0; }

.form { display: grid; gap: 12px; padding-bottom: 28px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input, .form textarea, .form select {
  width: 100%;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid var(--brand);
}

.page { padding-top: 12px; }
.course-hero {
  padding: 28px 0 8px;
  background: var(--bg);
}
.checks { padding-left: 18px; color: var(--muted); }
.checks li { margin: 8px 0; }
.meta-line { margin: 6px 0; }
.price-card { text-align: center; }
.big-price {
  font-size: 1.8rem;
  color: var(--brand);
  font-weight: 800;
  margin: 0 0 8px;
}
.syllabus { grid-template-columns: repeat(2, 1fr); }
.article-hero {
  width: 100%;
  border-radius: 22px;
  margin: 12px 0 24px;
  max-height: 380px;
  object-fit: cover;
}
.article p { font-size: 1.05rem; color: var(--muted); }

.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 20px;
  background: var(--bg-soft);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 28px; }
.footer-grid a { display: block; color: var(--muted); text-decoration: none; margin: 6px 0; }
.footer-grid a:hover { color: var(--brand); }
.brand-footer { margin-bottom: 12px; }
.social { display: flex; gap: 12px; margin-top: 10px; }
.social a { color: var(--brand); }
.copy { text-align: center; color: #7b889c; font-size: 0.85rem; margin: 28px 0 0; }

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ok);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  z-index: 50;
  box-shadow: var(--shadow);
}
.toast.error { background: #c2410c; }
.cookie-banner[hidden],
.toast[hidden] {
  display: none !important;
}
h1 .mark {
  color: var(--brand);
  background: none;
  padding: 0;
}
.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: auto;
  z-index: 70;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-direction: column;
  width: min(400px, calc(100% - 32px));
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 14px 16px;
}
.cookie-banner p { margin: 0; color: var(--text); }

@media (max-width: 980px) {
  .stats-row, .cards-3, .team-grid, .course-grid, .blog-grid, .split, .footer-grid, .syllabus, .testi-grid, .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    z-index: 61;
    background: #fff;
    flex-direction: column;
    padding: 16px 20px 24px;
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(21, 32, 51, 0.12);
  }
  .nav.open .nav-links { display: flex; }
  .hero-visual img { min-height: 260px; }
}

@media (max-width: 700px) {
  .stats-row, .cards-3, .team-grid, .course-grid, .blog-grid, .split, .footer-grid, .syllabus, .testi-grid, .pills.light, .hero-grid {
    grid-template-columns: 1fr;
  }
  .poster img { height: 200px; }
  .testi { grid-template-columns: 72px 1fr; }
  .section { padding: 64px 0; }
  .carousel { --slides: 1; }
  .carousel-head {
    align-items: center;
    flex-wrap: wrap;
  }
  .carousel-nav { margin-top: 4px; }
  .career-photo { display: none; }
  .carousel-track > .testi { grid-template-columns: 72px 1fr; }
}
