:root {
  --bg: #F7FAF7;
  --paper: #FFFFFF;
  --ink: #191C2E;
  --muted: #4C6683;
  --green: #72EBE7;
  --green2: #193B5B;
  --sand: #72EBE7;
  --line: rgba(25, 28, 46, 0.10);
  --shadow: 0 24px 70px rgba(25, 28, 46, 0.12);
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: 
    radial-gradient(circle at 88% 8%, rgba(114, 235, 231, 0.12), transparent 25%),
    radial-gradient(circle at 8% 28%, rgba(25, 59, 91, 0.06), transparent 24%),
    var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(247, 250, 247, 0.84);
  border-bottom: 1px solid var(--line);
}

.topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.logo-mark {
  width: 44px;
  height: 44px;

}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text b {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.brand-text span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 2px;
}

nav {
  display: flex;
  gap: 26px;
  align-items: center;
}

nav a {
  font-size: 13px;
  text-decoration: none;
  color: var(--ink);
  position: relative;
}

nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--green);
  transition: 0.25s;
}

nav a:hover:after {
  right: 0;
}

.lang {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.lang button {
  border: 0;
  background: transparent;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  color: var(--muted);
}

.lang button.active {
  background: var(--green2);
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  padding: 78px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green2);
}

.eyebrow:before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--sand);
}

h1, h2, h3 {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}

h1 {
  font-size: clamp(52px, 7.1vw, 92px);
  line-height: 1.15;
  letter-spacing: -0.055em;
  margin: 22px 0 24px;
  font-weight: 500;
  max-width: 850px;
  color: var(--ink);
}

.hero-lead {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  color: var(--muted);
  max-width: 720px;
  margin: 0;
}

.hero-quote {
  margin: 28px 0 0;
  padding: 18px 0 18px 22px;
  border-left: 2px solid var(--sand);
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: 0.2s;
  border: 1px solid var(--ink);
  min-height: 44px;
}

.btn.primary {
  background: var(--green2);
  border-color: var(--green2);
  color: #fff;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(25, 59, 91, 0.25);
  background: #0f2a42;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.42);
  border-color: var(--line);
}

.btn.ghost:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--ink);
}

.btn.ghost-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn.ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== HERO CARD ===== */
.hero-card {
  min-height: 610px;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  background: 
    linear-gradient(180deg, rgba(25, 28, 46, 0.03), rgba(25, 28, 46, 0.58)),
    radial-gradient(circle at 60% 28%, #d8e8e8 0 14%, transparent 15%),
    linear-gradient(145deg, #d0dcdc 0 40%, #a0b8c5 40% 100%);
  box-shadow: var(--shadow);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* фото прижимается к верху */
  display: block;
}

.hero-photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 28, 46, 0.03) 30%, rgba(25, 28, 46, 0.60) 100%);
  pointer-events: none;
}

.card-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.card-caption b {
  display: block;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 23px;
  font-weight: 500;
  color: var(--ink);
}

.card-caption span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

/* ===== FACTS ===== */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 45px;
}

.fact {
  padding: 18px 18px 17px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 104px;
}

.fact b {
  display: block;
  font-size: 24px;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: var(--green2);
}

.fact span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 6px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 90px 0;
}

.section.soft {
  background: rgba(255, 255, 255, 0.58);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}

.kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: var(--sand);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}

.section-head p {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 4px;
  max-width: 530px;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  transition: 0.22s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(25, 28, 46, 0.08);
}

.num {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 42px;
}

.card h3 {
  font-size: 25px;
  line-height: 1.12;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--ink);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ===== STATEMENT ===== */
.dual {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: stretch;
}

.statement {
  background: var(--green2);
  color: #fff;
  border-radius: 30px;
  padding: 34px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.statement:after {
  content: "§";
  position: absolute;
  right: -5px;
  bottom: -70px;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 260px;
  color: rgba(255, 255, 255, 0.06);
}

.statement small {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.statement blockquote {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 31px;
  line-height: 1.22;
  margin: 50px 0 20px;
  position: relative;
  z-index: 1;
}

.statement p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  max-width: 420px;
  position: relative;
  z-index: 1;
}

/* ===== TIMELINE ===== */
.timeline {
  display: grid;
  gap: 12px;
}

/* ===== DJ / CHARITY ===== */
.dj {
  padding: 96px 0;
  background: 
    radial-gradient(circle at 82% 12%, rgba(114, 235, 231, 0.12), transparent 25%),
    var(--green2);
  color: #fff;
}

.dj-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 70px;
  align-items: center;
}

.dj h2 {
  max-width: 760px;
  color: #fff;
}

.dj p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  max-width: 700px;
}

.dj-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 30px;
}

.dj-card .label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--sand);
  font-weight: 800;
}

.dj-card h3 {
  font-size: 28px;
  font-weight: 500;
  margin: 15px 0 12px;
  color: #fff;
}

.dj-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.dj .btn.primary {
  background: #fff;
  color: var(--green2);
  border-color: #fff;
}

.dj .btn.primary:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--ink);
}

/* ===== CONTACT ===== */
.contact {
  padding: 90px 0;
}

.contact-box {
  border-radius: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 42px;
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: center;
  box-shadow: 0 22px 60px rgba(25, 28, 46, 0.06);
}

.contact-box h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.contact-box p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 660px;
}

/* ===== MEDIA SECTION ===== */
.media-section {
  padding: 96px 0;
  background: rgba(255, 255, 255, 0.62);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.media-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.video-card,
.docs-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(25, 28, 46, 0.06);
}

.media-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 16px 0 8px;
  color: var(--ink);
}

.media-copy {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ===== FOOTER ===== */
footer {
  background: var(--green2);
  color: rgba(255, 255, 255, 0.75);
  border-top: 0;
  padding: 34px 0 24px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  object-fit: cover;
  display: block;
}

.footer-brand b {
  display: block;
  color: #fff;
  font-size: 14px;
}

.footer-brand span {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  margin-top: 3px;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .hero-grid,
  .section-head,
  .dual,
  .dj-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }
  .hero-card {
    min-height: 520px;
    max-width: 650px;
  }
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding: 72px 0;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 26px, 1180px);
  }
  .topbar {
    min-height: 70px;
  }
  .brand-text span {
    display: none;
  }
  h1 {
    font-size: 52px;
  }
  .hero {
    padding-top: 48px;
  }
  .hero-card {
    min-height: 430px;
  }
  .cards,
  .facts {
    grid-template-columns: 1fr;
  }
  .contact-box {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }
  .statement {
    min-height: 380px;
  }
  .statement blockquote {
    font-size: 27px;
  }
  .video-card,
  .docs-card {
    padding: 14px;
    border-radius: 22px;
  }
  .media-section {
    padding: 72px 0;
  }
  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ===== VIDEO FRAME ===== */
.video-frame.video-preview {
  aspect-ratio: 16/9;
  max-height: none;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: var(--green2);
}

.video-frame.video-preview iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
/* Евгеній Пилипчук — additions. Базова палітра та типографіка оригінального стилю збережені. */
.channel-mark{width:110px;height:110px;margin-bottom:18px}
.channel-mark img{width:100%;height:100%;object-fit:contain;display:block}
.video-card,.docs-card{height:100%}
.video-list{display:grid;gap:10px;margin-top:18px}
.video-list div{padding:15px 16px;border:1px solid var(--line);border-radius:15px;background:#fffdf7;color:var(--ink);font-size:14px}
.dj .section-head{margin-bottom:36px}
.dj .section-head p{color:#cfdbd6}
.ghost-light{border-color:rgba(255,255,255,.5);color:#fff;background:transparent}
.ghost-light:hover{background:#fff;color:var(--green)}
.footer-bottom{width:100%;margin-top:24px;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);font-size:11px;color:#adc1b9}
@media(max-width:900px){.dj .section-head{grid-template-columns:1fr}.hero-grid{display:grid}}




/* ===== КАРТОЧКИ ДОКУМЕНТОВ В БЛОЦІ ОСВІТИ ===== */
.edu-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  transition: 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.edu-card:hover {
  box-shadow: 0 8px 30px rgba(25, 28, 46, 0.08);
}

.cert-thumb-link {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--line);
  transition: 0.3s;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}

.cert-thumb-link:hover {
  border-color: var(--green);
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(25, 28, 46, 0.12);

}

.cert-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: 0.3s;
  image-rendering: auto;
  background: var(--bg);
}

.cert-thumb-link:hover .cert-thumb {
  opacity: 0.85;
}

.cert-info {
  padding-top: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cert-info b {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.3;
}

.cert-info p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

/* Информация о сертификате */
.cert-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80px;
}

.cert-info b {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.3;
}

.cert-info p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

/* ===== ЛАЙТБОКС ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 10, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  z-index: 9999;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(96vw, 1200px);
  max-height: 92vh;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  border-radius: 10px;
  background: white;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 36px;
  line-height: 1;
  color: white;
  cursor: pointer;
  font-family: Arial, sans-serif;
  z-index: 10000;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 600px) {
  
  .cert-info {
    min-height: auto;
  }
}
/* ===== ИКОНКИ В КОНТАКТАХ ===== */
.contact .bi { font-size: 18px; line-height: 1; }
.bi-whatsapp { color: #25D366; }
.bi-instagram { color: #E4405F; }
.icon-viber { color: #7360F2; }
/* ===== АКЦЕНТНЫЕ НАДПИСИ ===== */
.kicker { color: var(--green2); }   /* #193B5B - на светлом фоне */
.dj .kicker { color: var(--sand); } /* #72EBE7 - на тёмно-синем фоне */

/* ===== ЮРИДИЧЕСКИЕ ДОКУМЕНТЫ ===== */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 10px;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.footer-legal a:hover { color: #fff; }

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  padding: 24px;
  background: rgba(8, 16, 28, 0.72);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}
.legal-modal.open { display: block; }
body.modal-open { overflow: hidden; }

.legal-box {
  position: relative;
  max-width: 820px;
  margin: 40px auto;
  padding: 44px 44px 34px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.legal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 38px;
  height: 38px;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.legal-close:hover { background: var(--line); color: var(--ink); }

.legal-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green2);
}
.legal-copy h2 { margin: 10px 0 24px; font-size: 30px; }
.legal-copy p { margin: 0 0 16px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.legal-copy strong { color: var(--ink); }
.legal-copy a { color: var(--green2); }
.legal-note { font-size: 13px; opacity: 0.75; }

@media (max-width: 700px) {
  .legal-modal { padding: 0; }
  .legal-box { margin: 0; border-radius: 0; padding: 60px 20px 28px; min-height: 100%; }
  .legal-copy h2 { font-size: 24px; }
}