/* ==========================================================================
   Belkasoft Training - site stylesheet (v1)
   Design tokens, type scale, header, footer, buttons and cards are taken
   from belkasoft.com (layout.min.css, main2022.min.css, forms.min.css,
   learning-center.min.css) so the training site reads as part of the
   main Belkasoft brand. Class names mirror the originals where useful.
   ========================================================================== */

:root {
  /* Palette - exact values from belkasoft.com :root */
  --orange: #f5911e;
  --orange-hover: #cc7d24;
  --blue: #29658a;
  --blue-light: #77939f;
  --blue-medium: #3e6577;
  --navy: #00263c;
  --navy-2: #1b4663;          /* used in belkasoft.com card hover gradients */
  --silver: #9abbc1;
  --sky: #00b2e1;
  --link: #0090d5;
  --gray-lighter: #f4f4f4;
  --gray-light: #ededed;
  --card-blue: #f1faff;       /* belkasoft.com .belka-ls-courses-grid-item.blue */
  --green: #019544;
  --error: #ff3f33;
  --shadow: 0 0 10px 5px rgba(0, 38, 60, .05);
  /* Fonts - belkasoft.com loads Open Sans 400-800 and Ubuntu 400/500/700 */
  --font-primary: "Open Sans", sans-serif;
  --font-secondary: "Ubuntu", sans-serif;
  --header-h: 106px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  display: flex; flex-direction: column; min-height: 100vh; margin: 0;
  color: var(--navy); background: #fff;
  font: 16px/1.5 var(--font-primary);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-secondary); font-weight: 700; }
p, ul, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
main { flex: 1 0 auto; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 10px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--navy); color: #fff; border-radius: 6px;
}
.skip-link:focus { top: 10px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Containers (belkasoft.com .container / .container-wide) */
.container { width: 100%; max-width: 1020px; margin: 0 auto; padding: 0 16px; }
.container-wide { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* Type helpers (belkasoft.com scale) */
.h2 { font-weight: 700; font-size: 48px; line-height: 1.33; }
@media (max-width: 768px) { .h2 { font-size: 32px; line-height: 1.25; } }
.p_24 { font-size: 24px; line-height: 1.5; }
.p_18 { font-size: 18px; line-height: 1.7; }
.p_16 { font-size: 16px; line-height: 1.75; }
.p_14 { font-size: 14px; }
@media (max-width: 600px) { .p_24, .p_18 { font-size: 16px; line-height: 1.7; } }
.color_yellow { color: var(--orange); }
.color_white { color: #fff; }
.color_blue { color: var(--blue); }
.center { text-align: center; }

/* Buttons (belkasoft.com .orange_btn) */
.orange_btn {
  display: inline-block; width: fit-content; margin: 0; padding: 12px 50px;
  color: #fff; font: 500 18px/1.5 var(--font-primary); text-align: center;
  text-transform: uppercase; text-decoration: none; letter-spacing: 0;
  background: var(--orange); border: 0; border-radius: 6px; cursor: pointer;
  transition: background .3s;
}
.orange_btn:hover { background: var(--orange-hover); }
.outline_btn {
  display: inline-block; padding: 11px 40px; color: #fff; font: 500 18px/1.5 var(--font-primary);
  text-transform: uppercase; border: 1px solid #fff; border-radius: 6px; transition: all .3s;
}
.outline_btn:hover { color: var(--navy); background: #fff; }
@media (max-width: 821px) { .orange_btn, .outline_btn { width: 100%; } }

/* "See details" arrow link (belkasoft.com .arrow-3) */
.arrow-3 {
  display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0;
  color: var(--orange); font-weight: 600; font-size: 16px;
}
.arrow-3 svg { transition: transform .3s ease; }
a:hover .arrow-3 svg, .arrow-3:hover svg { transform: translate3d(5px, 0, 0); }

/* ==========================================================================
   Header (belkasoft.com .belka-header)
   Sticky white bar, 2px orange bottom rule, logo bottom-left,
   uppercase contact strip top-right, uppercase nav below it, mega-dropdown
   panels on hover (desktop) and a right-hand slide-in panel on mobile.
   ========================================================================== */
.belka-header {
  position: sticky; top: 0; z-index: 10; width: 100%; height: var(--header-h);
  background: #fff; border-bottom: 2px solid var(--orange);
}
.belka-header-logo {
  display: flex; align-items: flex-end; justify-content: space-between;
  width: 100%; max-width: 1280px; height: 100%; margin: 0 auto; padding: 0 16px;
}
.belka-header-logo-link { margin: auto 0 12px; display: block; }
.belka-header-logo-img { width: auto; height: 62px; }
.belka-header-hamburger {
  display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; height: 100%;
}
.belka-header-contacts { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.belka-header-contacts-item-link {
  display: inline-grid; grid-template-columns: 18px auto; gap: 0 6px; align-items: center;
  color: var(--navy); font-weight: 500; font-size: 14px; text-transform: uppercase; transition: color .3s;
}
.belka-header-contacts-item-link .lc { text-transform: none; }
.belka-header-contacts-item-link:hover { color: var(--blue); }
.belka-header-contacts-item-link svg { width: 18px; height: 18px; fill: currentColor; }

.belka-header-hamburger-menu { display: none; }
.belka-header-nav { display: flex; margin: 20px 0 0; }
.belka-header-nav-menu { display: flex; align-items: flex-end; gap: 30px; margin: 0; padding: 0; list-style: none; }
.belka-header-nav-menu-item { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 0; }
.belka-header-nav-menu-element {
  display: flex; align-items: center; gap: 6px; margin: 0; padding: 0 0 6px;
  color: var(--navy); font: 500 16px/22px var(--font-primary); text-transform: uppercase;
  background: transparent; border: 0; border-bottom: 2px solid transparent; cursor: pointer; transition: color .3s;
}
.belka-header-nav-menu-element:hover,
.belka-header-nav-menu-element[aria-current="page"] { color: var(--orange); }
.belka-header-nav-menu-element-icon { display: none; width: 18px; height: 10px; fill: currentColor; transition: transform .3s; }
.belka-header-nav-menu-element[aria-expanded="true"] .belka-header-nav-menu-element-icon { transform: rotate(180deg); }
/* Outlined orange nav button (belkasoft.com .belka-header-nav-menu-element.orange) */
.belka-header-nav-menu-element.orange {
  justify-content: center; margin-bottom: 6px; padding: 4px 24px;
  color: var(--orange); border: 1px solid var(--orange); border-radius: 6px;
}


.belka-header-nav-menu-item-submenu {
  position: absolute; top: var(--header-h); left: 0; right: 0; z-index: 11; display: none;
  width: 100%; max-width: 1280px; margin: -10px auto 0; padding: 20px 16px 10px;
}
.belka-header-nav-menu-item-submenu.active { display: flex; }
@media (hover: hover) and (min-width: 822px) {
  .belka-header-nav-menu-item.has-submenu:hover > .belka-header-nav-menu-item-submenu,
  .belka-header-nav-menu-item.has-submenu:focus-within > .belka-header-nav-menu-item-submenu { display: flex; }
}
.belka-header-nav-menu-item-submenu-inner {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 40px; width: 100%;
  padding: 30px 70px; background: #fff; border-radius: 6px; box-shadow: var(--shadow);
}
.belka-header-nav-menu-item-submenu-item {
  display: block; padding: 10px 16px; color: var(--navy); background: #fff; border-radius: 6px; transition: background .2s;
}
.belka-header-nav-menu-item-submenu-item:hover { background: var(--gray-lighter); }
.belka-header-subheader { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.belka-header-subheader svg { width: 22px; height: 22px; fill: var(--navy); }
.belka-header-subheader .p_18 { margin: 0; font-weight: 600; line-height: 1.4; }
.belka-header-nav-menu-item-submenu-item .p_16 { margin: 4px 0 0; font-size: 14px; line-height: 1.5; }

@media (max-width: 1024px) {
  .belka-header-nav-menu { gap: 22px; }
  .belka-header-nav-menu-item-submenu-inner { padding: 24px 30px; gap: 10px 20px; }
}
@media (max-width: 821px) {
  :root { --header-h: 80px; }
  .belka-header-logo { align-items: center; }
  .belka-header-logo-link { margin: 0; }
  .belka-header-logo-img { height: 50px; }
  .belka-header-hamburger { flex-direction: row; align-items: center; gap: 16px; }
  .belka-header-contacts { align-self: center; gap: 14px; }
  .belka-header-hamburger-menu {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; padding: 8px; background: #fff; border: 0; cursor: pointer;
  }
  .belka-header-hamburger-menu > span,
  .belka-header-hamburger-menu > span::before,
  .belka-header-hamburger-menu > span::after {
    position: absolute; display: block; width: 26px; height: 2px; background: var(--navy); transition-duration: .25s;
  }
  .belka-header-hamburger-menu > span::before { top: -8px; content: ""; }
  .belka-header-hamburger-menu > span::after { top: 8px; content: ""; }
  .belka-header-hamburger-menu.active > span { transform: rotate(45deg); }
  .belka-header-hamburger-menu.active > span::before { top: 0; transform: rotate(0); }
  .belka-header-hamburger-menu.active > span::after { top: 0; transform: rotate(90deg); }
  .belka-header-nav {
    position: fixed; top: var(--header-h); right: -100%; bottom: 0; flex-direction: column;
    width: 100%; max-width: 420px; margin: 0; padding: 30px 40px; overflow-y: auto;
    background: #fff; transition: right .3s, box-shadow .3s; visibility: hidden;
  }
  .belka-header-nav.active { right: 0; box-shadow: var(--shadow); visibility: visible; }
  .belka-header-nav-menu { flex-direction: column; align-items: stretch; gap: 22px; }
  .belka-header-nav-menu-element { justify-content: space-between; width: 100%; }
  .belka-header-nav-menu-element-icon { display: block; }
  .belka-header-nav-menu-item-submenu { position: relative; top: auto; margin: 0; padding: 0; }
  .belka-header-nav-menu-item-submenu-inner {
    grid-template-columns: 100%; gap: 0; padding: 6px 0 0; background: none; border-radius: 0; box-shadow: none;
  }
  .belka-header-nav-menu-item-submenu-item { padding: 6px 16px; }
  .belka-header-nav-menu-element.orange { justify-content: center; }
}
@media (max-width: 570px) {
  .belka-header-contacts-item-link span { display: none; }
  .belka-header-nav { max-width: 100%; padding: 30px 16px; }
}
@media (max-width: 480px) {
  :root { --header-h: 64px; }
  .belka-header-logo-img { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .belka-header-nav, .belka-header-hamburger-menu > span, .belka-header-hamburger-menu > span::before,
  .belka-header-hamburger-menu > span::after { transition: none; }
}

/* ==========================================================================
   Hero (belkasoft.com .main-slider / .belka-ls-header)
   Dark navy starfield with orange Ubuntu kicker and white headline.
   Background artwork is original (hero-bg.svg), drawn to match the tone of
   the main site's starfield/globe banners.
   ========================================================================== */
.hero {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: 600px; padding: 90px 0 110px; color: #fff;
  background: var(--navy) url("../img/hero-bg.svg") center / cover no-repeat;
}
.hero.inner { min-height: 420px; padding: 70px 0 80px; }
.hero-kicker {
  max-width: 760px; margin: 0 0 20px; color: var(--orange);
  font: 700 48px/1.25 var(--font-secondary);
}
.hero-title {
  max-width: 780px; margin: 0 0 30px; color: #fff;
  font: 700 56px/1.15 var(--font-secondary);
}
.hero-title span { color: var(--orange); }
.hero-sub { max-width: 700px; margin: 0 0 40px; font-size: 22px; line-height: 1.55; }
.hero-sub strong { color: var(--orange); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-event {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 28px;
  padding: 8px 16px; color: #fff; font-size: 15px; border: 1px solid rgba(255,255,255,.35); border-radius: 6px;
  background: rgba(0, 38, 60, .55); width: fit-content;
}
.hero-event b { color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 768px) {
  .hero { min-height: 0; padding: 50px 0 80px; }
  .hero.inner { padding: 50px 0 60px; }
  .hero-kicker { font-size: 30px; }
  .hero-title { font-size: 34px; line-height: 1.25; margin-bottom: 20px; }
  .hero-sub { font-size: 17px; margin-bottom: 28px; }
}

/* Breadcrumb under inner heroes */
.breadcrumbs { padding: 16px 0; font-size: 14px; color: var(--blue-light); background: var(--gray-lighter); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--silver); }
.breadcrumbs a { color: var(--blue); }
.breadcrumbs a:hover { text-decoration: underline; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 90px 0; }
.section.tight { padding: 60px 0; }
.section.grey { background: var(--gray-lighter); }
.section-title { margin: 0 auto 20px; text-align: center; }
.section-lead { max-width: 760px; margin: 0 auto 50px; text-align: center; color: var(--blue-medium); font-size: 18px; line-height: 1.7; }
@media (max-width: 768px) { .section { padding: 60px 0; } .section-lead { margin-bottom: 32px; font-size: 16px; } }

/* Feature grid ("Why choose") */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature {
  padding: 32px 28px; background: #fff; border-radius: 6px; box-shadow: var(--shadow);
  border-top: 3px solid var(--orange);
}
.feature-icon { width: 52px; height: 52px; margin-bottom: 18px; fill: none; stroke: var(--navy); stroke-width: 1.6; }
.feature h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.3; }
.feature p { color: var(--blue-medium); line-height: 1.75; }

/* Navy route cards (belkasoft.com .routes-grid-item) - used for the featured course */
.routes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.routes-grid-item {
  display: grid; grid-template-rows: auto 1fr auto; gap: 20px; padding: 40px;
  color: #fff; border-radius: 6px;
  background: linear-gradient(rgba(0,38,60,.92), rgba(0,38,60,.92)), var(--navy) url("../img/hero-bg.svg") center / cover;
}
.routes-grid-item h3 { font-size: 30px; line-height: 1.2; }
.routes-grid-item p { font-size: 18px; line-height: 1.75; }
@media (max-width: 480px) { .routes-grid-item { padding: 28px 22px; } .routes-grid-item h3 { font-size: 24px; } }

/* Featured upcoming course (the only event on the site) */
.event-card {
  display: grid; grid-template-columns: 260px 1fr; overflow: hidden; border-radius: 6px; box-shadow: var(--shadow);
  background: #fff;
}
.event-date {
  display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 40px 30px;
  color: #fff; background: linear-gradient(180deg, var(--navy) 0, var(--navy-2) 100%);
}
.event-date .days { color: var(--orange); font: 700 64px/1 var(--font-secondary); }
.event-date .month { font: 700 28px/1.2 var(--font-secondary); text-transform: uppercase; letter-spacing: .04em; }
.event-date .year { color: var(--silver); font-size: 18px; }
.event-body { display: flex; flex-direction: column; gap: 16px; padding: 40px; }
.event-label { color: var(--blue); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.event-body h3 { font-size: 32px; line-height: 1.2; }
.event-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--blue-medium); font-weight: 600; }
.event-meta span { display: inline-flex; align-items: center; gap: 8px; }
.event-meta svg { width: 18px; height: 18px; fill: var(--orange); flex: none; }
.event-body p { font-size: 18px; line-height: 1.7; }
.event-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 6px; }
@media (max-width: 768px) {
  .event-card { grid-template-columns: 1fr; }
  .event-date { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 10px; padding: 24px; }
  .event-date .days { font-size: 44px; }
  .event-body { padding: 28px 22px; }
  .event-body h3 { font-size: 26px; }
  .event-body p { font-size: 16px; }
}

/* Course cards (belkasoft.com .belka-ls-courses-grid-item) */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.course-card {
  display: flex; flex-direction: column; padding: 28px; color: var(--navy);
  background: var(--card-blue); border-radius: 6px; transition: all .3s;
}
@media (hover: hover) {
  .course-card:hover { color: #fff; background: linear-gradient(180deg, var(--navy) 0, var(--navy-2) 100%); }
  .course-card:hover .course-card-meta { color: var(--silver); }
  .course-card:hover .course-card-icon { stroke: #fff; }
}
.course-card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.course-card-icon { width: 64px; height: 64px; fill: none; stroke: var(--navy); stroke-width: 1.4; transition: stroke .3s; }
.course-card-code { color: var(--orange); font: 700 24px/1 var(--font-secondary); }
.course-card h3 { margin: 16px 0 10px; font-size: 24px; line-height: 1.2; }
.course-card-meta { margin: 0 0 12px; color: var(--blue); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.course-card p { margin: 0 0 14px; line-height: 1.75; }
.course-card .arrow-3 { margin-top: auto; }

/* Two-column content blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.split.wide-left { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: 1fr; gap: 36px; } }

.content h2 { margin: 0 0 20px; font-size: 36px; line-height: 1.25; }
.content h3 { margin: 32px 0 14px; font-size: 24px; line-height: 1.3; }
.content h3:first-child { margin-top: 0; }
.content p { margin: 0 0 16px; font-size: 17px; line-height: 1.75; }
.content p.note { color: var(--blue-medium); font-style: italic; }
@media (max-width: 768px) { .content h2 { font-size: 28px; } }

/* Lists with orange markers */
.tick-list { list-style: none; padding: 0; margin: 0 0 20px; }
.tick-list li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--gray-light); line-height: 1.7; }
.tick-list li:last-child { border-bottom: 0; }
.tick-list li::before {
  content: ""; position: absolute; left: 4px; top: 18px; width: 14px; height: 8px;
  border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg);
}
.tick-list strong { font-weight: 700; }

/* Numbered module list */
.module-list { counter-reset: mod; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.module-list li {
  counter-increment: mod; display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px;
  padding: 12px 16px; background: #fff; border-radius: 6px; box-shadow: var(--shadow); font-weight: 600;
}
.module-list li::before {
  content: counter(mod, decimal-leading-zero); display: grid; place-items: center; width: 44px; height: 44px;
  color: var(--orange); font: 700 18px var(--font-secondary); border: 1px solid var(--orange); border-radius: 50%;
}
.module-list li.exam { background: var(--navy); color: #fff; }

/* Fact panel (duration, accreditation, etc.) */
.facts { display: grid; gap: 0; padding: 8px 28px; background: var(--card-blue); border-radius: 6px; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(8,38,55,.1); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--blue); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.facts dd { margin: 0; line-height: 1.65; }
.facts dd a { color: var(--blue); text-decoration: underline; }
@media (max-width: 480px) { .facts { padding: 4px 18px; } .facts div { grid-template-columns: 1fr; gap: 4px; } }

/* Booking options */
.options-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.option {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 36px 30px 32px;
  background: #fff; border: 1px solid var(--gray-light); border-radius: 6px; box-shadow: var(--shadow);
}
.option.featured { border-color: var(--orange); }
.option-num { color: var(--orange); font: 700 18px var(--font-secondary); text-transform: uppercase; letter-spacing: .06em; }
.option p { font-size: 18px; line-height: 1.6; font-weight: 600; }
@media (max-width: 900px) { .options-grid { grid-template-columns: 1fr; } }

/* Image tile */
.media-tile { overflow: hidden; border-radius: 6px; box-shadow: var(--shadow); }
.media-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* FAQ accordion */
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: 6px; box-shadow: var(--shadow); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px;
  font: 700 22px/1.3 var(--font-secondary); list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-top: -6px;
  border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(45deg); transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq .faq-body { padding: 0 26px 22px; }
.faq .faq-body p { margin-bottom: 12px; line-height: 1.75; }
.faq .faq-body a { color: var(--blue); text-decoration: underline; }
@media (max-width: 480px) { .faq summary { font-size: 18px; padding: 18px; } .faq .faq-body { padding: 0 18px 18px; } }

/* Contact tiles */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.contact-tile {
  display: flex; flex-direction: column; gap: 10px; padding: 32px; background: var(--card-blue); border-radius: 6px; transition: all .3s;
}
.contact-tile svg { width: 36px; height: 36px; fill: var(--navy); transition: fill .3s; }
.contact-tile .label { color: var(--blue); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.contact-tile .value { font: 700 clamp(17px, 4.6vw, 22px)/1.3 var(--font-secondary); overflow-wrap: anywhere; }
@media (hover: hover) {
  a.contact-tile:hover { color: #fff; background: linear-gradient(180deg, var(--navy) 0, var(--navy-2) 100%); }
  a.contact-tile:hover svg { fill: var(--orange); }
  a.contact-tile:hover .label { color: var(--silver); }
}

/* Dark CTA band (belkasoft.com .q-a) */
.q-a {
  padding: 100px 0; color: #fff; text-align: center;
  background: var(--navy) url("../img/hero-bg.svg") center / cover no-repeat;
}
.q-a .h2 { margin-bottom: 16px; }
.q-a p { max-width: 680px; margin: 0 auto 32px; font-size: 18px; line-height: 1.7; }
.q-a .cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
@media (max-width: 768px) { .q-a { padding: 60px 0; } }

/* Forms (belkasoft.com .belka-form with jumping labels) */
.belka-form { display: flex; flex-direction: column; }
.belka-form-field { position: relative; display: flex; flex-direction: column; min-height: 42px; margin: 24px 0 0; font-size: 18px; line-height: 2em; }
.belka-form-input {
  width: 100%; height: 42px; padding: 4px 0 0; color: var(--navy); font: inherit; background: transparent;
  border: 0; border-bottom: 1px solid var(--navy); border-radius: 0; transition: border-color .3s;
}
.belka-form-input::placeholder { color: var(--blue-light); opacity: 0; transition: opacity .3s; }
.belka-form-input:focus { border-bottom-color: var(--orange); outline: 0; }
.belka-form-input:focus::placeholder { opacity: 1; }
.belka-form-jumping-label {
  position: absolute; top: 0; left: 0; color: var(--navy); transform: translate(0, 4px);
  transform-origin: left center; transition: all .3s; pointer-events: none;
}
.belka-form-input:focus + .belka-form-jumping-label,
.belka-form-input:not(:placeholder-shown) + .belka-form-jumping-label { transform: translate(0, -22px) scale(.75); color: var(--blue); }
.belka-form-buttons { display: flex; margin: 26px 0 0; }
.form-status { min-height: 1.5em; margin-top: 12px; font-size: 14px; color: var(--green); }
.form-dark .belka-form-input { color: #fff; border-bottom-color: #fff; }
.form-dark .belka-form-jumping-label { color: var(--gray-lighter); }
.form-dark .belka-form-input:focus + .belka-form-jumping-label,
.form-dark .belka-form-input:not(:placeholder-shown) + .belka-form-jumping-label { color: var(--silver); }
.form-dark .form-status { color: #9be3b4; }
.callback-card { padding: 40px; color: #fff; border-radius: 6px; background: linear-gradient(180deg, var(--navy) 0, var(--navy-2) 100%); }
.callback-card h2 { font-size: 30px; margin-bottom: 8px; }
@media (max-width: 480px) { .callback-card { padding: 28px 20px; } }

/* Scroll reveal - only when motion is allowed and JS is running */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Footer (belkasoft.com .belka-footer)
   Light grey 4-column grid (logo / menu / contacts / newsletter) over a
   navy copyright bar with a silver top rule.
   ========================================================================== */
.belka-footer { width: 100%; background: var(--gray-light); }
.belka-footer-wrapper {
  display: grid; grid-template-areas: "logo menu contacts form"; grid-template-columns: 1fr .75fr 1.5fr 2fr;
  gap: 3em; align-items: start; max-width: 1280px; margin: 0 auto; padding: 48px 16px;
}
.belka-footer-title { margin: 0 0 8px; color: var(--navy); font: 500 16px/2 var(--font-primary); text-transform: uppercase; }
.belka-footer-logo { grid-area: logo; width: 210px; }
.belka-footer-logo img { width: 190px; height: auto; }
.belka-footer-company { grid-area: menu; }
.belka-footer-company-nav { display: flex; flex-direction: column; }
.belka-footer-company-nav a, .belka-footer-contacts a, .belka-footer-contacts p { color: var(--blue); font-size: 16px; line-height: 2; }
.belka-footer-wrapper a:hover { text-decoration: underline; }
.belka-footer-contacts { grid-area: contacts; }
.belka-footer-contacts-line { display: grid; grid-template-columns: 26px 1fr; gap: 4px; align-items: baseline; }
.belka-footer-contacts-line svg { width: 16px; height: 16px; fill: var(--blue); position: relative; top: 2px; }
.belka-footer-sub { grid-area: form; }
.belka-footer-sub > p:not(.belka-footer-title) { color: var(--blue); font-size: 14px; }
.belka-footer-copyright { width: 100%; background: var(--navy); border-top: 1px solid var(--silver); }
.belka-footer-copyright-wrapper {
  display: flex; align-items: center; justify-content: space-between; gap: 1em;
  max-width: 1280px; margin: 0 auto; padding: 15px 16px; color: #fff; font-size: 14px;
}
.belka-footer-copyright-links { display: flex; gap: 1em; }
.belka-footer-copyright-links a:hover { text-decoration: underline; }
@media (max-width: 1024px) {
  .belka-footer-wrapper { grid-template-areas: "logo menu" "contacts form"; grid-template-columns: .8fr 1fr; gap: 2em; }
}
@media (max-width: 570px) {
  .belka-footer-wrapper { grid-template-areas: "logo" "form" "menu" "contacts"; grid-template-columns: 100%; padding: 35px 16px 24px; }
  .belka-footer-copyright-wrapper { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   v2 additions
   ========================================================================== */

/* Home hero: real cohort photo as the colourful focal point.
   Text keeps the navy starfield (stars-only texture, no globe, so nothing competes
   with the photo); the photo sits in its own column so no text ever overlays faces. */
.hero.home {
  min-height: 0; padding: 72px 0 84px;
  background: var(--navy) url("../img/hero-stars.svg") center / cover no-repeat;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero.home .hero-kicker { font-size: 40px; }
.hero.home .hero-title { font-size: 48px; }
.hero.home .hero-sub { font-size: 20px; }
.hero-photo { position: relative; margin: 0; }
.hero-photo::before {
  /* orange offset frame - brand accent behind the photo */
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--orange); border-radius: 6px;
}
.hero-photo img {
  position: relative; width: 100%; height: auto; aspect-ratio: 1320 / 777; object-fit: cover;
  border-radius: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.hero-event { flex-direction: column; align-items: flex-start; gap: 2px; }
.hero-event span { display: block; }
@media (max-width: 1100px) {
  .hero.home .hero-kicker { font-size: 32px; }
  .hero.home .hero-title { font-size: 40px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo { margin-right: 18px; }
}
@media (max-width: 768px) {
  .hero.home { padding: 44px 0 60px; }
  .hero.home .hero-kicker { font-size: 28px; }
  .hero.home .hero-title { font-size: 32px; }
  .hero.home .hero-sub { font-size: 17px; }
  .hero-photo::before { inset: 12px -12px -12px 12px; }
  .hero-photo { margin-right: 12px; }
}

/* Two upcoming courses, stacked in date order */
.event-list { display: grid; gap: 24px; }
.event-date .weekday { color: var(--silver); font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* Program dropdown has four entries: two columns, as belkasoft.com's Products panel */
.belka-header-nav-menu-item-submenu-inner.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 821px) { .belka-header-nav-menu-item-submenu-inner.cols-2 { grid-template-columns: 100%; } }

/* Booking options: two options now that BelkaGPT is standalone */
.options-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }
@media (max-width: 700px) { .options-grid.two { grid-template-columns: 1fr; } }

/* ==========================================================================
   v4 button states (client decision, 2026-11-18)
   All buttons are back to the belkasoft.com originals (as v2), except the
   "Enroll Now" button in the header menu, whose v2 states are inverted:
   - rest:        white text on #f5911e, #f5911e border (filled)
   - hover/focus: #f5911e text, #f5911e border, no fill (outlined)
   Keyboard focus also keeps the global sky-blue focus ring.
   ========================================================================== */
.belka-header-nav-menu-element.orange { color: #fff; background: var(--orange); border-color: var(--orange); transition: color .3s, background .3s; }
.belka-header-nav-menu-element.orange:hover,
.belka-header-nav-menu-element.orange:focus-visible { color: var(--orange); background: transparent; border-color: var(--orange); }

/* Caption chip on the Phuket cohort photo */
.hero-photo-caption {
  position: absolute; left: 14px; bottom: 14px; z-index: 1; padding: 5px 12px;
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .03em;
  background: rgba(0, 38, 60, .82); border-radius: 4px;
}
/* v5: longer caption - capped width so it stays in the sand/legs band at the bottom
   of the photo (faces sit in the middle band); wraps to two lines on phones. */
.hero-photo-caption { right: auto; max-width: calc(100% - 28px); line-height: 1.4; }
@media (max-width: 480px) {
  .hero-photo-caption { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 4px 9px; font-size: 12px; letter-spacing: .01em; }
}
