/* ===== HANGIL SCHOOL — редизайн за бренд-кітом, етап 1 (16.11.2026) =====
   Підключається тільки в прев'ю (?brand=1) після media.css; усе під body.h-brand.
   Етап 1: шапка + перший екран, картки курсів, фінальний CTA з формою.
   Відкат: прибрати @if (request()->has('brand')) у head.blade.php. */

/* ---------- Шапка ---------- */
.h-brand .header__top { background: rgba(255, 253, 249, .97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: none; border-bottom: 1px solid var(--h-outline); padding-top: 12px; padding-bottom: 12px; }
.h-brand .header-container { max-width: calc(var(--h-max-width) + 40px); padding: 0 20px; gap: 16px; }
.h-brand .logo__text { color: var(--h-ink); font-weight: 800; letter-spacing: -.02em; }
.h-brand .telegram__chanel { color: var(--h-ink-muted); font-size: 13px; font-weight: 600; }
.h-brand .telegram__chanel:hover { color: var(--h-ink); }
.h-brand .menu__list-link, .h-brand .menu__list-btn { color: var(--h-ink); font-weight: 600; }
.h-brand .menu__list-link:hover, .h-brand .menu__list-btn:hover { color: var(--h-purple); }
.h-brand .menu__list-link.active { color: var(--h-ink); }
.h-brand .menu__list-link.active::after { background-color: var(--h-purple); }
.h-brand .submenu { border-radius: 16px; box-shadow: var(--h-shadow); border: 1px solid var(--h-outline); }
.h-brand .submenu a { color: var(--h-ink); }
.h-brand .submenu a:hover { background: var(--h-cream); }
.h-brand .menu__btn span { background-color: var(--h-ink); }
.h-brand .youtube-btn { background: var(--h-lavender) !important; }
.h-brand .youtube-btn svg { fill: var(--h-ink) !important; }
.h-brand .h-nav-cta { min-height: 42px; padding: 8px 18px; font-size: 15px; margin-left: 18px; white-space: nowrap; }
@media (max-width: 1020px) {
  .h-brand .header__menu-list { background-color: var(--h-ink); }
  .h-brand .header__menu-list .menu__list-link, .h-brand .header__menu-list .menu__list-btn { color: #FFFFFF; }
  .h-brand .h-nav-cta { display: none; }
}

/* ---------- Перший екран ---------- */
.h-brand .header.header--brand { height: auto; min-height: 0; background: var(--h-paper) !important; overflow: hidden; }
.h-brand .header--brand::before, .h-brand .header--brand::after { content: none !important; display: none !important; }
.h-hero { position: relative; padding: 120px 0 48px; color: var(--h-ink); background: radial-gradient(circle at 76% 44%, var(--h-lavender) 0%, rgba(233, 215, 255, .35) 24%, transparent 50%), var(--h-paper); }
.h-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center; }
.h-hero__eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 14px; font-size: 14px; font-weight: 700; color: var(--h-ink); background: var(--h-cream); border: 1px solid var(--h-outline); border-radius: var(--h-radius-pill); }
.h-hero__title { margin: 0 0 20px; font-size: clamp(36px, 4vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; color: var(--h-ink); }
.h-mark { padding: 0 .06em; background: linear-gradient(transparent 64%, var(--h-yellow) 64%, var(--h-yellow) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.h-hero__lead { max-width: 34em; margin: 0 0 14px; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--h-ink); }
.h-hero__price { margin: 0 0 28px; font-size: 15px; line-height: 1.5; color: var(--h-ink-muted); }
.h-hero__price strong { color: var(--h-ink); }
.h-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.h-hero__actions .h-btn { min-height: 54px; padding: 14px 28px; font-size: 17px; }
.h-brand .h-hero a.header__content-button { margin: 0; width: auto; padding: 14px 28px; font-size: 17px; border-radius: var(--h-radius-pill); text-transform: none; box-shadow: none; background: var(--h-primary); color: #FFFFFF; }
.h-brand .h-hero a.header__content-button:hover { background: var(--h-purple-hover); box-shadow: none; transform: translateY(-1px); }

.h-hero__visual { position: relative; min-height: 500px; display: flex; align-items: flex-end; justify-content: flex-end; }
.h-hero__panel { position: absolute; right: 2%; bottom: 36px; width: 72%; height: 80%; background: var(--h-purple); border-radius: 220px 220px 32px 32px; }
.h-hero__hori { position: relative; z-index: 2; height: 470px; width: auto; margin: 0 9% 0 0; filter: drop-shadow(0 18px 28px rgba(75, 29, 107, .18)); }
.h-lesson-card { position: absolute; z-index: 3; left: 0; bottom: 56px; width: 252px; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; color: var(--h-ink); text-decoration: none; background: var(--h-paper); border: 1px solid var(--h-outline); border-radius: var(--h-radius-card); box-shadow: 0 16px 40px rgba(75, 29, 107, .16); transition: transform .15s ease; }
.h-lesson-card:hover { transform: translateY(-2px); }
.h-lesson-card__label { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--h-ink-muted); }
.h-lesson-card__ko { font: 700 32px/1.2 var(--h-font-ko); letter-spacing: .1em; color: var(--h-ink); }
.h-lesson-card__text { font-size: 14px; line-height: 1.4; }
.h-lesson-card__cta { font-size: 14px; font-weight: 800; color: var(--h-purple); }

.h-hero__facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; margin-bottom: 0; padding: 0; }
.h-hero__facts li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--h-cream); border: 1px solid var(--h-outline); border-radius: var(--h-radius-card); }
.h-hero__facts strong { font-size: 20px; font-weight: 800; color: var(--h-ink); }
.h-hero__facts li > span { font-size: 15px; line-height: 1.45; color: var(--h-ink-muted); }

@media (max-width: 1020px) {
  .h-hero { padding: 92px 0 36px; }
  .h-hero__grid { grid-template-columns: 1fr; gap: 12px; }
  .h-hero__visual { order: -1; min-height: 0; height: 176px; justify-content: flex-start; }
  .h-hero__panel { left: 0; right: auto; bottom: 0; width: 132px; height: 132px; border-radius: 66px 66px 20px 20px; }
  .h-hero__hori { height: 172px; margin: 0 0 0 2px; }
  .h-lesson-card { left: 146px; right: auto; bottom: 6px; width: calc(100% - 146px); max-width: 280px; padding: 12px 14px; gap: 4px; }
  .h-lesson-card__ko { font-size: 24px; }
  .h-lesson-card__cta { font-size: 13px; }
  .h-lesson-card__text { display: none; }
  .h-hero__title { font-size: clamp(32px, 8.4vw, 44px); margin-bottom: 14px; }
  .h-hero__eyebrow { font-size: 13px; margin-bottom: 14px; }
  .h-hero__lead { font-size: 16px; }
  .h-hero__price { margin-bottom: 20px; }
  .h-hero__facts { grid-template-columns: 1fr; gap: 8px; margin-top: 20px; }
  .h-hero__facts li { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 10px 14px; }
  .h-hero__facts strong { font-size: 16px; }
  .h-hero__facts li > span { font-size: 14px; }
}
@media (max-width: 600px) {
  .h-hero__actions .h-btn { flex: 1 1 100%; }
}
@media (max-width: 420px) {
  .h-hero__eyebrow [lang="ko"] { display: none; }
}

/* ---------- Картки курсів ---------- */
.h-brand .courses { background: var(--h-cream); padding: clamp(56px, 7vw, 96px) 0; }
.h-brand .courses__title { color: var(--h-ink); font-weight: 800; letter-spacing: -.025em; }
.h-brand .courses__descr { color: var(--h-ink-muted); margin-bottom: 40px; }
.h-brand .courses__item { min-height: 0; padding: 32px 24px; gap: 18px; color: var(--h-ink) !important; background: var(--h-paper) !important; background-image: none !important; border: 1px solid var(--h-outline) !important; border-radius: var(--h-radius-card); box-shadow: var(--h-shadow) !important; }
.h-brand .courses__item:hover { transform: translateY(-4px); }
.h-brand .courses__item::before { content: none; }
.h-brand .courses__item * { color: var(--h-ink) !important; }
.h-brand .courses__item-badge { padding: 6px 14px; border-radius: var(--h-radius-pill); font-size: 13px; font-weight: 700; color: #FFFFFF !important; background: var(--h-purple) !important; border-color: var(--h-purple) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
.h-brand .courses__item-title { font-size: 26px; font-weight: 800; }
.h-brand .courses__item-descr { font-size: 16px; opacity: 1; color: var(--h-ink-muted) !important; }
.h-brand .courses__item-box { padding: 18px; gap: 10px; background: var(--h-cream) !important; border: 0 !important; border-radius: 16px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.h-brand .courses__item-lesson { font-size: 22px; font-weight: 800; }
.h-brand .courses__item-lesson s { opacity: 1; font-weight: 600; color: var(--h-ink-muted) !important; }
.h-brand .courses__item-discount { padding: 10px 12px; font-size: 15px; font-weight: 600; background: var(--h-lavender) !important; border-radius: 12px; }
.h-brand .courses__item-price { font-size: 30px; font-weight: 800; }
.h-brand .courses__item-price::before { content: none; }
.h-brand .courses__item-price span { display: block; margin-top: 8px; font-size: 16px; opacity: 1; color: var(--h-ink-muted) !important; }
.h-brand .courses__item .courses__item-btn { display: flex; font-weight: 700; align-items: center; justify-content: center; min-height: 52px; padding: 14px 20px; font-size: 17px; border-radius: var(--h-radius-pill); color: #FFFFFF !important; background: var(--h-purple) !important; }
.h-brand .courses__item .courses__item-btn:hover { background: var(--h-purple-hover) !important; box-shadow: none; }
/* Виділена пропозиція — міні-група */
.h-brand .courses__item:first-child { background: linear-gradient(165deg, var(--h-purple) 0%, var(--h-ink) 72%) !important; border-color: transparent !important; box-shadow: 0 20px 48px rgba(75, 29, 107, .24) !important; }
.h-brand .courses__item:first-child * { color: #FFFFFF !important; }
.h-brand .courses__item:first-child .courses__item-badge { color: var(--h-ink) !important; background: var(--h-yellow) !important; border-color: var(--h-yellow) !important; }
.h-brand .courses__item:first-child .courses__item-box { background: rgba(255, 255, 255, .12) !important; }
.h-brand .courses__item:first-child .courses__item-discount { background: rgba(255, 255, 255, .14) !important; }
.h-brand .courses__item:first-child .courses__item-btn { color: var(--h-ink) !important; background: var(--h-yellow) !important; }
.h-brand .courses__item:first-child .courses__item-btn:hover { background: var(--h-yellow-hover) !important; }
.h-brand .courses__end { color: var(--h-ink); font-size: 18px; }
.h-brand .courses-dots button.active { background-color: var(--h-purple); }

/* ---------- Фінальний CTA (форма в підвалі) ---------- */
.h-brand .footer, .h-brand .footer__bottom { background-color: var(--h-ink); }
.h-brand .footer__top { background: linear-gradient(135deg, var(--h-ink) 0%, var(--h-purple) 100%); }
.h-brand .footer__top-wrapper { align-items: center; gap: 48px; padding: clamp(56px, 7vw, 96px) 0; }
.h-brand .footer__top-text { color: #FFFFFF; font-size: 20px; font-weight: 500; line-height: 1.55; }
.h-brand .footer__phone-text, .h-brand .footer__phone-telegram, .h-brand .footer__phone, .h-brand .footer__email, .h-brand .footer__telegram-chanel { color: #FFFFFF; }
.h-brand .form-container { padding: 28px; background: rgba(75, 29, 107, .42); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--h-radius-section); }
.h-final__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.h-final__hori { flex: 0 0 auto; width: 96px; height: auto; }
.h-final__title { margin: 0; color: #FFFFFF; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; }
.h-final__title span { color: var(--h-yellow); }
.h-brand .form-container input[type="text"] { min-height: 52px; padding: 14px 16px; font-size: 16px; color: var(--h-ink); background: var(--h-paper); border: 2px solid transparent; border-radius: 14px; }
.h-brand .form-container input[type="text"]::placeholder { color: var(--h-ink-muted); opacity: 1; }
.h-brand .form-container input[type="text"]:focus { outline: none; border-color: var(--h-yellow); }
.h-brand .form__messenger, .h-brand .form__personal, .h-brand .form__parent-text, .h-brand .discount-10, .h-brand .footer__top-text--mob { color: #FFFFFF; }
.h-brand .form-container button { min-height: 56px; padding: 16px 0; font-size: 18px; text-transform: none; border-radius: var(--h-radius-pill); color: var(--h-ink) !important; background: var(--h-yellow) !important; }
.h-brand .form-container button:hover { background: var(--h-yellow-hover) !important; }
.h-brand .discount-10 { text-align: center; text-transform: none; font-weight: 600; }
@media (max-width: 860px) {
  .h-brand .form-container { padding: 20px 16px; }
  .h-final__hori { width: 72px; }
}

/* ===== Ітерація 2 (17.11.2026): факти довіри, «Чому», безкоштовні уроки ===== */
.h-hero__note { margin: 10px 0 0; font-size: 14px; color: var(--h-ink-muted); }
.h-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--h-outline); }
.h-proof li { display: flex; align-items: baseline; gap: 6px; }
.h-proof strong { font-size: 22px; font-weight: 800; color: var(--h-ink); }
.h-proof span { font-size: 14px; color: var(--h-ink-muted); }
.h-sec-title { margin: 0 0 10px; font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.15; color: var(--h-ink); text-align: center; }
.h-sec-lead { margin: 0 auto 32px; max-width: 640px; font-size: 17px; line-height: 1.55; color: var(--h-ink-muted); text-align: center; }
.h-why { background: var(--h-cream); }
.h-why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.h-why__card { padding: 24px 22px; background: var(--h-paper); border: 1px solid var(--h-outline); border-radius: var(--h-radius-card); box-shadow: var(--h-shadow); }
.h-why__ko { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 52px; padding: 0 10px; margin-bottom: 14px; font-size: 18px; font-weight: 700; color: var(--h-ink); background: var(--h-yellow); border-radius: 16px; }
.h-why__card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; color: var(--h-ink); }
.h-why__card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--h-ink); }
.h-free { background: var(--h-paper); }
.h-free__grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0; padding: 0; }
.h-free__grid a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; color: var(--h-ink); text-decoration: none; background: var(--h-lavender); border-radius: 16px; }
.h-free__grid a:hover { background: #DCC4FA; }
.h-free__grid b { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--h-purple-hover); }
.h-free__grid span { font-size: 16px; font-weight: 700; line-height: 1.35; }
.h-free__grid b + span { display: inline; }
.h-free__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.h-free__more a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; font-weight: 700; color: var(--h-ink); text-decoration: none; background: var(--h-paper); border: 1px solid var(--h-outline); border-radius: 999px; }
.h-free__more a span { padding: 1px 8px; font-size: 13px; background: var(--h-yellow); border-radius: 999px; }
@media (max-width: 960px) { .h-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .h-why__grid { grid-template-columns: 1fr; }
  .h-proof { gap: 8px 16px; }
  .h-proof strong { font-size: 19px; }
}

/* 17.11.2026: плашка імені в новому першому екрані (головна) */
.h-hero .khero.khero--brand { display: block; position: absolute; left: -34px; top: 24px; width: 270px; margin: 0; z-index: 6; }
.h-hero .khero.khero--brand::after { content: none; }
.h-hero .khero-chip { display: none; }
@media (max-width: 1020px) {
  .h-hero .khero.khero--brand { display: none; }
  .h-hero .khero-chip { display: flex; align-items: center; gap: 8px; position: absolute; right: 0; top: 8px; width: 197px; box-sizing: border-box; padding: 8px 10px; background: #fff; border-radius: 14px; box-shadow: 0 6px 18px rgba(60, 30, 110, .14); color: #3b1f6e; font-size: 13px; font-weight: 600; line-height: 1.2; text-decoration: none; z-index: 6; }
  .h-hero .khero-chip__ko { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #ffd75e; color: #3b1f6e; font-size: 11px; font-weight: 700; }
}


/* 17.11.2026, ітерація 4: пробний урок і коротка програма на головній */
.h-trial { background: var(--h-paper); }
.h-trial__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.h-trial__step { padding: 24px 22px; background: var(--h-cream); border: 1px solid var(--h-outline); border-radius: var(--h-radius-card); }
.h-trial__n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 50%; background: var(--h-purple); color: #FFF; font-size: 18px; font-weight: 800; }
.h-trial__step h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; color: var(--h-ink); }
.h-trial__step p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--h-ink); }
.h-trial__cta { margin-top: 28px; text-align: center; }
.h-trial__cta .h-btn { display: inline-flex; min-height: 54px; padding: 14px 28px; font-size: 17px; }
.h-stages { background: var(--h-lavender); }
.h-stages__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.h-stages__list li { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; background: var(--h-paper); border-radius: 16px; }
.h-stages__list b { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--h-purple-hover); }
.h-stages__list small { font-size: 13px; color: var(--h-ink-muted); }
.h-stages__list span { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--h-ink); }
.h-stages__more { margin: 28px 0 0; text-align: center; }
@media (max-width: 1100px) { .h-stages__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .h-trial__list, .h-stages__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .h-trial__list, .h-stages__list { grid-template-columns: 1fr; } .h-trial__cta .h-btn { width: 100%; justify-content: center; } }

.h-trial__cta .h-btn { text-transform: none; }

/* 17.11.2026, ітерація 5: два безкоштовні способи, коротші біо викладачів на головній */
.h-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 8px 0 28px; }
.h-two__card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 22px; background: var(--h-cream); border: 1px solid var(--h-outline); border-radius: var(--h-radius-card); }
.h-two__card h3 { margin: 0; font-size: 20px; font-weight: 800; color: var(--h-ink); }
.h-two__card p { margin: 0 0 6px; font-size: 15px; line-height: 1.55; color: var(--h-ink); }
.h-two__card .h-btn { margin-top: auto; text-transform: none; }
.h-brand .teachers__item-text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 700px) { .h-two { grid-template-columns: 1fr; } .h-two__card .h-btn { width: 100%; justify-content: center; } }

/* 17.11.2026: картку «Урок 1» прибрано з першого екрана — чип імені по центру праворуч від Хорі */
@media (max-width: 1020px) { .h-hero .khero-chip { top: 50%; transform: translateY(-50%); width: min(220px, calc(100% - 150px)); } }

/* 17.11.2026: лендинг /kpop — картка слів у першому екрані */
.h-words { position: absolute; right: 0; bottom: 24px; width: 250px; padding: 16px 18px; background: var(--h-paper); border: 1px solid var(--h-outline); border-radius: var(--h-radius-card); box-shadow: var(--h-shadow); z-index: 5; }
.h-words__label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--h-purple-hover); }
.h-words ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.h-words li { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; }
.h-words b { font-family: var(--h-font-ko); font-size: 18px; font-weight: 700; color: var(--h-ink); }
.h-words i { font-style: normal; font-size: 12px; color: var(--h-ink-muted); }
.h-words li span { grid-column: 1 / -1; font-size: 13px; color: var(--h-ink); }
@media (max-width: 1020px) { .h-words { right: 0; top: 8px; bottom: auto; width: min(210px, calc(100% - 150px)); padding: 10px 12px; } .h-words b { font-size: 15px; } .h-words li:nth-child(3) { display: none; } }

.h-hero.h-hero--landing { padding-top: 40px; }
@media (max-width: 1020px) { .h-hero.h-hero--landing { padding-top: 16px; } }

/* 17.11.2026: /kpop повна сторінка — фрази з дорам, словник фаната, «прочитай сам», кнопки озвучки */
.h-say { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--h-purple); color: #FFF; font-size: 13px; line-height: 1; cursor: pointer; }
.h-say:hover { background: var(--h-purple-hover); }
.h-say--sm { width: 24px; height: 24px; font-size: 9px; }
.h-words li { grid-template-columns: auto auto 1fr; }
.h-phr { background: var(--h-paper); }
.h-phr--fan { background: var(--h-lavender); }
.h-phr__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.h-phr__card { padding: 20px 20px 18px; background: var(--h-cream); border: 1px solid var(--h-outline); border-radius: var(--h-radius-card); }
.h-phr--fan .h-phr__card { background: var(--h-paper); }
.h-phr__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.h-phr__ko { font-family: var(--h-font-ko); font-size: 28px; font-weight: 700; color: var(--h-ink); line-height: 1.2; }
.h-phr__tr { display: block; margin: 4px 0 8px; font-size: 14px; color: var(--h-ink-muted); }
.h-phr__card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--h-ink); }
.h-phr__note { margin: 20px auto 0; max-width: 680px; font-size: 14px; line-height: 1.5; text-align: center; color: var(--h-ink-muted); }
.h-read { background: var(--h-cream); }
.h-read__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.h-read__item { padding: 18px 20px; background: var(--h-paper); border: 1px solid var(--h-outline); border-radius: var(--h-radius-card); }
.h-read__item summary { display: flex; flex-direction: column; gap: 6px; cursor: pointer; list-style: none; }
.h-read__item summary::-webkit-details-marker { display: none; }
.h-read__item summary span { font-family: var(--h-font-ko); font-size: 26px; font-weight: 700; color: var(--h-ink); }
.h-read__item summary em { font-style: normal; font-size: 14px; font-weight: 700; color: var(--h-purple-hover); }
.h-read__item[open] summary em { display: none; }
.h-read__item p { margin: 8px 0 0; font-size: 16px; color: var(--h-ink); }
@media (max-width: 860px) { .h-phr__grid, .h-read__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .h-phr__grid, .h-read__grid { grid-template-columns: 1fr; } .h-phr__ko { font-size: 24px; } }
.h-watch { background: var(--h-paper); }
.h-comm { background: var(--h-lavender); }
.h-watch__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.h-watch__card { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; background: var(--h-cream); border: 1px solid var(--h-outline); border-radius: var(--h-radius-card); color: var(--h-ink); text-decoration: none; }
.h-comm .h-watch__card { background: var(--h-paper); }
.h-watch__card:hover { border-color: var(--h-purple); }
.h-watch__card b { font-size: 19px; font-weight: 800; }
.h-watch__card span { font-size: 15px; color: var(--h-purple-hover); font-weight: 700; }
.h-watch__card em { font-style: normal; font-size: 14px; line-height: 1.45; color: var(--h-ink-muted); }
@media (max-width: 860px) { .h-watch__grid { grid-template-columns: 1fr; } }

/* 17.11.2026: сторінки /koreyska-dlya-ditey і /navchannya-v-koreyi */
.h-trial__list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.h-trial__step a { color: var(--h-purple-hover); font-weight: 700; }
.h-price1 { background: var(--h-lavender); }
.h-price1 .h-two__card { background: var(--h-paper); }
.h-why__ko:not([lang]) { font-size: 15px; }
@media (max-width: 860px) { .h-trial__list--3 { grid-template-columns: 1fr; } }

/* 17.11.2026: /kpop — перший екран без великого Хорі: картка з назвою групи хангилем + маленький Хорі */
.h-kvis { display: flex; align-items: center; justify-content: center; }
.h-kvis__board { position: relative; width: 100%; max-width: 460px; padding: 34px 32px 40px; color: #FFF; background: linear-gradient(135deg, var(--h-ink), var(--h-purple)); border-radius: var(--h-radius-section); box-shadow: var(--h-shadow); }
.h-kvis__tag { display: inline-block; padding: 6px 12px; font-size: 13px; font-weight: 800; color: var(--h-ink); background: var(--h-yellow); border-radius: var(--h-radius-pill); }
.h-kvis__ko { margin: 18px 0 6px; font-family: var(--h-font-ko); font-size: clamp(40px, 5vw, 60px); font-weight: 800; line-height: 1.1; }
.h-kvis__tr { margin: 0 0 18px; font-size: 17px; opacity: .9; }
.h-kvis__tr b { color: var(--h-yellow); }
.h-kvis__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.h-kvis__chips li { padding: 7px 12px; font-family: var(--h-font-ko); font-size: 16px; font-weight: 700; background: rgba(255,255,255,.14); border-radius: var(--h-radius-pill); }
.h-kvis__hori { position: absolute; right: -18px; bottom: -26px; width: 96px; height: auto; }
.h-kvis .h-words { right: -10px; bottom: auto; top: -18px; }
@media (max-width: 1020px) { .h-kvis .h-words { display: none; } .h-kvis__board { max-width: none; padding: 22px 20px 26px; } .h-kvis__ko { font-size: 34px; margin-top: 12px; } .h-kvis__tr { font-size: 15px; margin-bottom: 12px; } .h-kvis__chips li { font-size: 14px; padding: 5px 10px; } .h-kvis__hori { width: 64px; right: 6px; bottom: -14px; } }

@media (max-width: 1020px) { .h-hero .h-hero__visual.h-kvis { height: auto; max-height: none; margin-bottom: 14px; } .h-kvis__chips { display: none; } .h-kvis__tr { margin-bottom: 0; } }

/* 17.11.2026: озвучку на лендингах сховано, поки немає файлів (закінчились кредити ElevenLabs). Прибрати це правило після генерації lessons/kpop-*, kids-*, korea-*. */
.h-say { display: none !important; }
.h-words li { grid-template-columns: auto 1fr; }

@media (max-width: 1020px) { .h-hero--landing .h-words i { display: none; } .h-hero--landing .h-words b { white-space: nowrap; } }

/* 17.11.2026: /kpop — карточки «Дорамна фраза» (стиль постів Instagram, без фото) */
.h-dfs { background: var(--h-paper); }
.h-dfs__head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 8px; }
.h-dfs__head .h-sec-title, .h-dfs__head .h-sec-lead { text-align: left; margin-left: 0; }
.h-dfs__hori { width: 72px; height: auto; flex: 0 0 auto; }
.h-dfs__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.h-dfc { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 22px 20px 20px; color: #FFF; background: #2B1240; border: 3px solid var(--h-yellow); border-radius: 24px; }
.h-dfc__tag { padding: 5px 14px; font-size: 15px; font-style: italic; font-weight: 800; color: #2B1240; background: var(--h-yellow); border-radius: 6px; transform: rotate(-3deg); }
.h-dfc__ko { align-self: stretch; margin: 16px 0 10px; padding: 14px 16px 16px; font-family: var(--h-font-ko); font-size: 38px; font-weight: 800; line-height: 1.15; text-align: center; color: #1A1A1A; background: #FFF; border-radius: 22px 30px 24px 28px; box-shadow: inset 0 -6px 0 0 #FFF, inset 0 -10px 0 0 var(--h-lavender); }
.h-dfc__tr { padding: 4px 14px; font-size: 16px; color: #FFF; border: 2px solid #C9A6F5; border-radius: 999px; }
.h-dfc__ua { position: relative; margin: 14px 0 14px; padding: 10px 16px; font-size: 18px; font-style: italic; font-weight: 800; color: #1A1A1A; background: var(--h-yellow); border-radius: 22px; transform: rotate(-1.5deg); }
.h-dfc__ua::after { content: ""; position: absolute; right: 22px; bottom: -9px; border: 10px solid transparent; border-top-color: var(--h-yellow); border-bottom: 0; }
.h-dfc__use { align-self: stretch; margin-top: auto; padding: 12px 14px 12px 20px; color: #1A1A1A; background: #FFF; border-left: 6px dotted #2B1240; border-radius: 8px; }
.h-dfc__use b { display: inline-block; margin-bottom: 6px; padding: 3px 10px; font-size: 14px; font-style: italic; color: #2B1240; background: var(--h-lavender); border-radius: 999px; }
.h-dfc__use ul { list-style: none; margin: 0; padding: 0; }
.h-dfc__use li { position: relative; padding-left: 26px; margin: 5px 0; font-size: 14px; line-height: 1.4; }
.h-dfc__use li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; font-size: 12px; font-weight: 800; line-height: 18px; text-align: center; color: #2B1240; background: var(--h-yellow); border-radius: 50%; }
.h-dfs__hint { display: none; }
@media (max-width: 860px) {
  .h-dfs__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -20px; padding: 4px 20px 12px; }
  .h-dfc { flex: 0 0 82%; scroll-snap-align: center; }
  .h-dfs__hint { display: block; margin: 4px 0 0; font-size: 14px; font-weight: 700; text-align: right; color: var(--h-purple-hover); }
  .h-dfs__hori { width: 56px; }
  .h-dfc__ko { font-size: 32px; }
}

/* 17.11.2026 /kpop v3 (аудит GPT): CTA після фраз, відгуки з відео, словник гортається на телефоні */
.h-midcta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 20px 24px; background: var(--h-lavender); border-radius: var(--h-radius-card); }
.h-midcta p { margin: 0; font-size: 17px; line-height: 1.45; color: var(--h-ink); }
.h-midcta .h-btn { flex: 0 0 auto; }
.h-rev__track { display: grid; grid-template-columns: 300px 250px 250px; justify-content: center; gap: 22px; align-items: start; }
.h-rev__card { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.h-rev__video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #2B1240; border-radius: var(--h-radius-card); }
.h-rev__card--main .h-rev__video { border: 3px solid var(--h-yellow); }
.h-rev__card figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; line-height: 1.45; color: var(--h-ink); }
.h-rev__card figcaption b { font-size: 17px; }
.h-rev__card figcaption span { font-size: 13px; color: var(--h-ink-muted); }
.h-rev__card figcaption q { flex-basis: 100%; color: var(--h-ink-muted); }
@media (max-width: 860px) {
  .h-midcta { flex-direction: column; align-items: stretch; text-align: center; padding: 18px; }
  .h-rev__track { display: flex; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; gap: 14px; margin: 0 -20px; padding: 4px 20px 12px; }
  .h-rev__card { flex: 0 0 62%; scroll-snap-align: start; }
  .h-phr--fan .h-phr__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; gap: 12px; margin: 0 -20px; padding: 4px 20px 12px; }
  .h-phr--fan .h-phr__card { flex: 0 0 64%; scroll-snap-align: start; }
}

/* /kpop v3: на телефоні кнопка запису в першому екрані — текст перед дошкою з назвою групи */
@media (max-width: 860px) { .h-hero--landing .h-hero__visual.h-kvis { order: 2; } }

/* /kpop v3: «Корейська щодня» гортається на телефоні */
@media (max-width: 860px) { #spilnota .h-watch__grid { display: flex; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px; gap: 12px; margin: 0 -16px; padding: 4px 16px 12px; } #spilnota .h-watch__card { flex: 0 0 72%; scroll-snap-align: start; } }

/* 17.11.2026 бонус після пробного — гайд */
.h-trial__bonus { max-width: 760px; margin: 22px auto 0; padding: 14px 18px; font-size: 15px; line-height: 1.5; text-align: center; color: var(--h-ink); background: var(--h-lavender); border-radius: var(--h-radius-card); }

/* 17.11.2026 /kpop v4: блок «З англійською важко?» і «Як пояснити батькам» */
.h-fear__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; margin-top: 26px; }
.h-fear__link { font-weight: 700; color: var(--h-purple); text-decoration: underline; text-underline-offset: 3px; }
.h-parents__box { display: grid; grid-template-columns: 1fr 1.1fr; gap: 22px; align-items: start; }
.h-parents__facts { margin: 0; padding: 20px 22px 20px 40px; font-size: 16px; line-height: 1.55; color: var(--h-ink); background: var(--h-paper); border-radius: var(--h-radius-card); }
.h-parents__facts li + li { margin-top: 8px; }
.h-parents__msg { padding: 20px 22px; background: var(--h-lavender); border-radius: var(--h-radius-card); }
.h-parents__msg b { display: block; margin-bottom: 8px; font-size: 16px; color: var(--h-ink); }
.h-parents__msg p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--h-ink); word-break: break-word; }
.h-parents__btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) {
  .h-parents__box { grid-template-columns: 1fr; }
  .h-parents__btns .h-btn { flex: 1 1 100%; text-align: center; }
}

/* 17.11.2026 /kpop v6: K-pop у першому екрані — фотокартки з голографічною рамкою (як фотокартки з альбомів) */
.h-hero--landing .h-hero__visual.h-kvis { position: relative; display: block; height: auto; max-height: none; padding-top: 8px; }
.h-pc { position: relative; margin: 0; padding: 7px; border-radius: 18px; background: linear-gradient(135deg, #FFD6F2, #D9C8FF 35%, #C6F3EC 65%, #FFF1B8); box-shadow: 0 10px 28px rgba(60, 20, 90, .22); }
.h-pc img { display: block; width: 100%; height: auto; border-radius: 12px; object-fit: cover; }
.h-pc--main { width: 82%; margin-left: auto; transform: rotate(3deg); }
.h-pc--main img { aspect-ratio: 3 / 2; }
.h-pc--main figcaption { position: absolute; right: 18px; bottom: 16px; padding: 4px 10px; font-size: 13px; font-weight: 700; color: var(--h-ink); background: #FFF; border-radius: var(--h-radius-pill); }
.h-pc--main figcaption b { font-family: var(--h-font-ko); }
.h-pc--mini { position: absolute; left: 0; top: 0; width: 30%; z-index: 3; transform: rotate(-8deg); }
.h-pc--mini img { aspect-ratio: 3 / 4; object-position: 22% center; }
.h-kvis .h-kvis__board { position: relative; z-index: 2; width: 86%; margin-top: -64px; }
.h-dfc__photo { align-self: stretch; margin: 0 0 14px; padding: 6px; border-radius: 16px; background: linear-gradient(135deg, #FFD6F2, #D9C8FF 35%, #C6F3EC 65%, #FFF1B8); transform: rotate(-2deg); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.h-dfc:nth-child(even) .h-dfc__photo { transform: rotate(2deg); }
.h-dfc__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 11px; }
@media (max-width: 860px) {
  .h-pc--main { width: 88%; }
  .h-pc--mini { width: 32%; }
  .h-kvis .h-kvis__board { width: 94%; margin-top: -44px; }
  .h-dfc__photo img { aspect-ratio: 16 / 10; }
}

/* 17.11.2026 /kpop: відгуки компактніше — однакові картки 240 px, кадр 3:4 */
.h-rev .h-rev__track { grid-template-columns: repeat(3, 240px); justify-content: center; gap: 24px; }
.h-rev .h-rev__video { aspect-ratio: 3 / 4; height: auto; }
.h-rev .h-rev__card--main .h-rev__video { border-width: 3px; }
@media (max-width: 860px) { .h-rev .h-rev__track { display: flex; } .h-rev .h-rev__card { flex: 0 0 64%; } }

/* ===== 17.11.2026: вирівнювання лендингів (/kpop, /koreyska-dlya-ditey, /navchannya-v-koreyi) ===== */
/* Без зайвих 80 px порожнечі між шапкою і першим екраном */
body.h-brand .header.header-inner { margin-bottom: 0; }
/* Кнопки бренду — без капслоку від старого класу header__content-button */
.h-btn.header__content-button { text-transform: none; }
/* Підпис «팬 — фанати» не ховається під дошкою BTS */
.h-pc--main figcaption { top: 14px; bottom: auto; right: 16px; }
/* FAQ на телефоні — ті самі поля, що й решта блоків (16 px) */
@media (max-width: 860px) {
  body.h-brand .faq-container { padding-left: 16px; padding-right: 16px; }
}
/* Каруселі на телефоні: до краю екрана рівно по полю контейнера (без бокової прокрутки сторінки), перша картка видна повністю, без смуги прокрутки */
@media (max-width: 860px) {
  .h-dfs__track, .h-rev .h-rev__track, .h-phr--fan .h-phr__grid, .h-watch__grid { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; scrollbar-width: none; }
  .h-dfs__track::-webkit-scrollbar, .h-rev .h-rev__track::-webkit-scrollbar, .h-phr--fan .h-phr__grid::-webkit-scrollbar, .h-watch__grid::-webkit-scrollbar { display: none; }
  .h-dfc, .h-rev .h-rev__card, .h-phr--fan .h-phr__card, .h-watch__grid > * { scroll-snap-align: start; }
}
/* Шапка на телефоні: «Написати менеджеру в Telegram» в один рядок (шапка 96 → 74 px) */
@media (min-width: 360px) and (max-width: 480px) {
  body.h-brand .telegram__chanel { white-space: nowrap; font-size: 12px; }
}
/* Відгуки на телефоні: перший відгук (Віталіна) був за лівим краєм і не гортався — центрування тільки на десктопі */
@media (max-width: 860px) {
  .h-rev .h-rev__track { justify-content: flex-start; }
}
/* FAQ на десктопі був на всю ширину екрана (1405 px) — тепер колонка 880 px по центру */
body.h-brand .faq-container { max-width: 880px; margin-left: auto; margin-right: auto; }

/* ===== 17.11.2026 /kpop: «Корея як у дорамах» — фотокартки звичайних корейців і місць (Pexels, вільна ліцензія), слово хангилем під кожною ===== */
.h-scn__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.h-scn__card { margin: 0; padding: 7px 7px 14px; border-radius: 18px; background: linear-gradient(135deg, #FFD6F2, #D9C8FF 35%, #C6F3EC 65%, #FFF1B8); box-shadow: 0 10px 28px rgba(60, 20, 90, .16); }
.h-scn__card:nth-child(odd) { transform: rotate(-1.2deg); }
.h-scn__card:nth-child(even) { transform: rotate(1.2deg); }
.h-scn__card img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }
.h-scn__card figcaption { padding: 12px 8px 0; color: var(--h-ink); font-size: 15px; line-height: 1.4; }
.h-scn__card figcaption b { margin-right: 4px; font-family: var(--h-font-ko); font-size: 22px; }
.h-scn__card figcaption span { display: block; margin-top: 6px; color: var(--h-ink-muted); font-size: 14px; }
@media (max-width: 860px) {
  .h-scn__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 24px -16px 0; padding: 6px 16px 14px; scroll-padding-left: 16px; scrollbar-width: none; }
  .h-scn__grid::-webkit-scrollbar { display: none; }
  .h-scn__card { flex: 0 0 72%; scroll-snap-align: start; }
  .h-scn__card img { aspect-ratio: 4 / 5; }
}


/* 17.11.2026 — UX головної за порадою GPT (порівняння з дитячим лендингом) */
.h-hero__tg{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;font-weight:700;color:#8C56D9;text-decoration:underline;text-underline-offset:3px}
.h-hero__tg:hover{color:#4B1D6B}
.teachers__lead{max-width:640px;margin:-8px auto 24px;padding:0 16px;text-align:center;font-size:16px;line-height:1.5;color:#5B5370}
@media (max-width:640px){
  .h-hero:not(.h-hero--landing) .h-hero__eyebrow{display:none}
  .h-hero:not(.h-hero--landing) .h-hero__visual{height:128px}
  .h-hero:not(.h-hero--landing) .h-hero__panel{width:100px;height:100px}
  .h-hero:not(.h-hero--landing) .h-hero__hori{height:126px}
  .h-hero__actions .h-hero__tg{flex:1 1 100%;justify-content:center}
  .h-hero:not(.h-hero--landing) .h-hero__actions .h-btn--primary{font-size:16px;padding-left:14px;padding-right:14px;white-space:nowrap}
}


/* 17.11.2026 вечір — «Перший урок безкоштовний» компактно (UX за GPT: на телефоні 1511 → ~600 px). Діє на головній і всіх лендингах. */
.h-trial--compact .h-trial__list{gap:12px}
.h-trial--compact .h-trial__step{display:flex;gap:14px;align-items:flex-start;padding:18px}
.h-trial--compact .h-trial__n{flex:none;width:34px;height:34px;margin:0;font-size:16px}
.h-trial--compact .h-trial__step h3{margin:4px 0 4px;font-size:17px;line-height:1.25}
.h-trial--compact .h-trial__step p{margin:0;font-size:15px;line-height:1.45}
.h-trial--compact .h-trial__cta{margin-top:24px;text-align:center}
.h-trial--compact .h-trial__bonus{margin:14px auto 0;max-width:640px;text-align:center;font-size:14px}
@media (max-width:1020px){.h-trial--compact .h-trial__list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
  .h-trial--compact{padding-top:44px;padding-bottom:44px}
  .h-trial--compact .h-sec-title{margin-bottom:16px}
  .h-trial--compact .h-trial__list{grid-template-columns:1fr;gap:0;padding:4px 16px;background:var(--h-cream);border:1px solid var(--h-outline);border-radius:var(--h-radius-card)}
  .h-trial--compact .h-trial__step{padding:12px 0;gap:12px;background:none;border:0;border-radius:0}
  .h-trial--compact .h-trial__step + .h-trial__step{border-top:1px solid var(--h-outline)}
  .h-trial--compact .h-trial__step h3{margin-top:2px;font-size:16px}
  .h-trial--compact .h-trial__step p{font-size:14px}
  .h-trial--compact .h-trial__step:not(:last-child) p{display:none}
  .h-trial--compact .h-trial__step:not(:last-child){align-items:center}
  .h-trial--compact .h-trial__cta{margin-top:18px}
  .h-trial--compact .h-trial__cta .h-btn{width:100%;padding-left:12px;padding-right:12px;font-size:16px;white-space:nowrap}
}


/* 17.11.2026 — згорнутий блок (details) на лендингах: «Словник K-pop фаната» на /kpop */
.h-fold{margin-top:8px}
.h-fold__sum{display:flex;align-items:center;justify-content:center;gap:8px;max-width:520px;min-height:48px;margin:0 auto;padding:12px 20px;border:1px solid var(--h-outline);border-radius:999px;background:#FFF;color:var(--h-purple);font-weight:800;text-align:center;cursor:pointer;list-style:none}
.h-fold__sum::-webkit-details-marker{display:none}
.h-fold__sum::after{content:"▾";transition:transform .2s}
.h-fold[open] .h-fold__sum{margin-bottom:20px}
.h-fold[open] .h-fold__sum::after{transform:rotate(180deg)}

/* 17.11.2026: розділ «Корисне для корейської» (/korysne) */
.h-hero--text .h-hero__grid{grid-template-columns:1fr;max-width:880px}
.h-res__nav{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.h-res__nav a{display:inline-block;padding:8px 14px;border-radius:999px;border:1px solid rgba(50,40,96,.25);color:#322860;background:#fff;font-size:14px;font-weight:600;text-decoration:none;line-height:1.3}
.h-res__nav a:hover{border-color:#8C56D9}
.h-res__nav a[aria-current]{background:#322860;color:#fff;border-color:#322860}
.h-res__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}
.h-res__card{background:#fff;border:1px solid rgba(50,40,96,.12);border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:10px;min-width:0}
.h-res__card h3{margin:0;font-size:20px;line-height:1.3;color:#24182F}
.h-res__ko{display:block;font-size:15px;font-weight:500;color:#6B5B8A;margin-top:4px}
.h-res__tags{display:flex;flex-wrap:wrap;gap:6px}
.h-res__tag{font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;background:#F1EAFB;color:#4B1D6B}
.h-res__card p{margin:0;color:#3D3550;line-height:1.55}
.h-res__link{margin-top:auto;font-weight:700;color:#4B1D6B;text-decoration:none}
.h-res__link:hover{text-decoration:underline}
.h-res__steps{margin:24px 0 0;padding:0;list-style:none;counter-reset:st;display:grid;gap:12px;max-width:820px}
.h-res__steps li{counter-increment:st;position:relative;padding:16px 18px 16px 60px;background:#fff;border-radius:16px;border:1px solid rgba(50,40,96,.12);line-height:1.5}
.h-res__steps li::before{content:counter(st);position:absolute;left:16px;top:14px;width:30px;height:30px;border-radius:50%;background:#FFD85F;color:#24182F;font-weight:800;display:flex;align-items:center;justify-content:center}
.h-res__tip{margin:16px 0 0;padding:14px 18px;border-left:4px solid #8C56D9;background:#F7F2FD;border-radius:0 12px 12px 0;max-width:820px;line-height:1.5}
.h-res__tip a,.h-res__steps a{color:#4B1D6B;font-weight:700}
.h-res__cta{background:linear-gradient(135deg,#4B1D6B,#8C56D9);color:#fff;border-radius:28px;padding:40px;text-align:center}
.h-res__cta h2{color:#fff;margin:0 0 10px}
.h-res__cta p{color:rgba(255,255,255,.88);margin:0 auto 20px;max-width:640px}
.h-res__cta .h-btn--primary{background:#FFD85F;color:#24182F}
@media (max-width:760px){.h-res__grid{grid-template-columns:1fr}.h-res__card{padding:20px}.h-res__cta{padding:28px 20px;border-radius:22px}.h-res__steps li{padding:14px 14px 14px 54px}}

/* 17.11.2026: /native — 3 формати з носієм */
.nat-tg{color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.nat-hero-card{position:relative;z-index:1;max-width:340px;margin:0 auto;background:#fff;border-radius:28px;padding:14px;box-shadow:0 24px 60px rgba(50,40,96,.18)}
.nat-hero-card img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:20px}
.nat-hero-card figcaption{padding:12px 6px 4px;display:flex;flex-direction:column;gap:2px}
.nat-hero-card figcaption b{font-size:18px;color:#24182F}
.nat-hero-card figcaption span{font-size:14px;color:#5B4F73;line-height:1.4}
.nat-hero-card__badge{position:absolute;top:26px;left:-10px;z-index:2;background:#FFD85F;color:#24182F;font-weight:800;font-size:13px;padding:6px 12px;border-radius:999px;box-shadow:0 6px 16px rgba(36,24,47,.15)}
.nat-hero-card__hi{position:absolute;right:-12px;top:52%;z-index:2;background:#322860;color:#fff;font-weight:700;font-size:16px;padding:8px 14px;border-radius:16px 16px 4px 16px;box-shadow:0 8px 20px rgba(50,40,96,.25)}
.nat-fmt{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:28px}
.nat-fmt__card{background:#fff;border:1px solid rgba(50,40,96,.12);border-radius:24px;padding:26px;display:flex;flex-direction:column;gap:12px;min-width:0}
.nat-fmt__num{font-size:13px;font-weight:800;color:#8C56D9;letter-spacing:.04em;text-transform:uppercase}
.nat-fmt__card h3{margin:0;font-size:22px;line-height:1.25;color:#24182F}
.nat-fmt__specs{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.nat-fmt__specs li{font-size:13px;font-weight:600;padding:5px 10px;border-radius:999px;background:#F1EAFB;color:#4B1D6B}
.nat-fmt__card p{margin:0;color:#3D3550;line-height:1.55}
.nat-fmt__card .nat-fmt__who{font-size:14px;color:#5B4F73;border-top:1px dashed rgba(50,40,96,.2);padding-top:10px}
.nat-fmt__who b{color:#24182F}
.nat-fmt__card .nat-fmt__btn{margin-top:auto;text-transform:none;text-align:center;justify-content:center}
.nat-team{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:28px}
.nat-t{background:#fff;border-radius:24px;border:1px solid rgba(50,40,96,.12);overflow:hidden;display:grid;grid-template-columns:220px minmax(0,1fr);min-width:0}
.nat-t__media{background:#1C214D}
.nat-t__media img,.nat-t__media video{display:block;width:100%;height:100%;min-height:300px;object-fit:cover}
.nat-t__body{padding:22px;display:flex;flex-direction:column;gap:10px;min-width:0}
.nat-t__tag{align-self:flex-start;font-size:12px;font-weight:800;background:#FFD85F;color:#24182F;padding:4px 10px;border-radius:999px}
.nat-t h3{margin:0;font-size:22px;color:#24182F}
.nat-t ul{margin:0;padding-left:18px;color:#3D3550;line-height:1.5}
.nat-t p{margin:0;color:#3D3550;line-height:1.55}
.nat-t .nat-t__quote{font-style:italic;color:#5B4F73}
@media (max-width:980px){.nat-fmt{grid-template-columns:1fr}.nat-team{grid-template-columns:1fr}}
@media (max-width:760px){.nat-hero-card{max-width:260px;margin-top:8px}.nat-hero-card__hi{right:-6px;font-size:14px}.nat-fmt__card{padding:20px}}
@media (max-width:560px){.nat-t{grid-template-columns:1fr}.nat-t__media img{height:auto;aspect-ratio:1/1;min-height:0}.nat-t__media video{height:auto;aspect-ratio:9/16;max-height:560px;min-height:0;margin:0 auto}}

/* /native: на телефоні спершу текст і кнопка, картка носійки — нижче; відео Дамін не на весь екран */
@media (max-width:860px){.nat-hero .h-hero__visual{order:2;height:auto;min-height:0;justify-content:center;margin-top:4px}}
@media (max-width:560px){.nat-t__media{display:flex;justify-content:center}.nat-t__media video{width:100%;max-width:300px}.nat-hero-card{max-width:240px}}
