/* ==========================================================================
   Akademia e Turizmit në Kosovë — design system & components
   --------------------------------------------------------------------------
   1. Fonts            6. Header & navigation    11. Course cards & catalogue
   2. Tokens           7. Mobile menu            12. Course detail
   3. Base             8. Sections & headings    13. Forms
   4. Layout helpers   9. Home                   14. Footer
   5. Buttons & chips 10. Inner pages            15. Utilities (cookie, lightbox, reveal…)
   Layout changes per breakpoint live in responsive.css.
   ========================================================================== */

/* 1. Fonts — self-hosted Open Sans (variable 300–800) -------------------- */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../assets/fonts/open-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../assets/fonts/open-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Tokens --------------------------------------------------------------- */
:root {
  /* brand */
  --brand: #ffcd05;
  --brand-600: #f0b800;
  --brand-50: #fff8d6;
  --brand-ink: #7a5c00;            /* accessible “yellow” for text on light bg */

  /* neutrals (warm) */
  --ink: #15120d;                  /* headings, dark surfaces */
  --ink-2: #221e17;
  --text: #4a463f;
  --muted: #77726a;
  --line: #e9e4da;
  --line-strong: #d9d3c6;
  --surface: #ffffff;
  --surface-2: #f8f6f1;
  --surface-3: #f1ede4;
  --on-dark: #f6f3ec;
  --on-dark-muted: rgba(246, 243, 236, .66);

  --danger: #c62828;
  --success: #2e7d32;

  /* type */
  --font: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fs-xs: .8125rem;   /* 13 */
  --fs-sm: .9375rem;   /* 15 */
  --fs-base: 1.0625rem;/* 17 */
  --fs-lg: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-h4: clamp(1.125rem, 1.05rem + .3vw, 1.3rem);
  --fs-h3: clamp(1.3rem, 1.15rem + .6vw, 1.6rem);
  --fs-h2: clamp(1.85rem, 1.35rem + 2vw, 2.9rem);
  --fs-h1: clamp(2.35rem, 1.5rem + 3.6vw, 4.4rem);

  /* spacing */
  --gutter: clamp(1rem, .5rem + 2.5vw, 2rem);
  --section: clamp(4rem, 2.5rem + 6vw, 7.5rem);
  --container: 1240px;

  /* shape & depth */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(21, 18, 13, .06), 0 2px 6px rgba(21, 18, 13, .04);
  --shadow: 0 12px 32px -14px rgba(21, 18, 13, .22);
  --shadow-lg: 0 30px 70px -28px rgba(21, 18, 13, .35);

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: .18s var(--ease);
  --t: .3s var(--ease);
  --t-slow: .6s var(--ease);

  --header-h: 96px;
}

/* 3. Base ----------------------------------------------------------------- */
@view-transition { navigation: auto; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong, b { font-weight: 700; color: var(--ink); }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em; color: var(--ink); font-weight: 800; line-height: 1.15; letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -.03em; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.01em; }
hr { margin: 2rem 0; border: 0; border-top: 1px solid var(--line); }
::selection { color: var(--ink); background: var(--brand); }
:focus-visible { outline: 3px solid var(--brand-600); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; }
address { font-style: normal; }

/* 4. Layout helpers ------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--ink); color: var(--on-dark-muted); }
.section--dark h2, .section--dark h3 { color: var(--on-dark); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 2000; padding: 10px 18px;
  background: var(--ink); color: #fff; border-radius: var(--r-sm); font-weight: 600; font-size: var(--fs-sm);
  transition: top var(--t-fast);
}
.skip-link:focus { top: 16px; }

/* 5. Buttons, links & chips ----------------------------------------------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.5em;
  font: 600 var(--fs-sm)/1.2 var(--font); letter-spacing: .005em; text-align: center;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd); border-radius: var(--r-pill);
  cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-fast); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--brand); --btn-fg: var(--ink); }
.btn--primary:hover { --btn-bg: var(--brand-600); box-shadow: 0 10px 24px -10px rgba(240, 184, 0, .7); }
.btn--dark:hover { --btn-bg: #000; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--outline:hover { --btn-bd: var(--ink); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, .08); }
.btn--sm { min-height: 40px; padding: .55em 1.15em; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 700; font-size: var(--fs-sm); color: var(--ink);
  background: linear-gradient(var(--brand), var(--brand)) 0 100% / 0 2px no-repeat;
  transition: background-size var(--t), color var(--t-fast);
}
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-fast); }
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow:hover svg { transform: translateX(3px); }

.eyebrow {
  display: flex; width: fit-content; align-items: center; gap: .6em; margin: 0 0 1rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--brand); }
.section--dark .eyebrow, .page-header .eyebrow { color: var(--on-dark); }

.chip {
  display: inline-flex; align-items: center; gap: .4em; min-height: 26px; padding: .2em .75em;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2;
  color: var(--ink); background: var(--surface-3); border-radius: var(--r-pill);
}
.chip--brand { background: var(--brand-50); color: var(--brand-ink); }
.chip--dark { background: rgba(21, 18, 13, .82); color: #fff; backdrop-filter: blur(6px); }
.chip--status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--open { background: #e8f3e9; color: var(--success); }
.chip--closed { background: #f6ece9; color: #9b3b26; }

.icon { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.icon-tile {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--brand-50); color: var(--ink);
  transition: background-color var(--t), transform var(--t);
}
.icon-tile svg { width: 22px; height: 22px; fill: currentColor; }

/* 6. Header & navigation -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t), background-color var(--t);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(21, 18, 13, .25); background: rgba(255, 255, 255, .94); }
.site-header__inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.site-logo { display: inline-flex; flex: 0 1 auto; min-width: 0; margin-right: auto; }
.site-logo img { width: auto; max-width: 100%; height: 72px; object-fit: contain; object-position: left center; transition: height var(--t); }
.site-header.is-scrolled .site-logo img { height: 60px; }

.main-nav > ul { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.main-nav > ul > li { position: relative; margin: 0; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: .4em;
  padding: .6rem .95rem; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink); white-space: nowrap;
  background: none; border: 0; cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.nav-link:hover, .has-dropdown.is-open > .nav-link { background: var(--surface-2); }
.nav-link[aria-current="page"], .is-current > .nav-link { color: var(--ink); }
.nav-link[aria-current="page"]::after, .is-current > .nav-link::after {
  content: ''; position: absolute; left: .95rem; right: .95rem; bottom: .25rem; height: 2px; border-radius: 2px; background: var(--brand);
}
.has-dropdown .nav-link::after { right: 2.1rem; }
.caret { width: 10px; height: 10px; fill: currentColor; transition: transform var(--t-fast); }
.has-dropdown.is-open .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; z-index: 20;
  width: 620px; padding: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.dropdown::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; }
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0; padding: 0; list-style: none; }
.dropdown__grid li { margin: 0; }
.dropdown__item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; transition: background-color var(--t-fast); }
.dropdown__item:hover, .dropdown__item:focus-visible, .dropdown__item[aria-current="page"] { background: var(--surface-2); }
.dropdown__item img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; object-position: center 20%; }
.dropdown__title { display: block; font-size: var(--fs-sm); font-weight: 700; line-height: 1.3; color: var(--ink); }
.dropdown__meta { display: block; margin-top: 2px; font-size: var(--fs-xs); color: var(--muted); }
.dropdown__footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 8px; padding: 14px 14px 6px; border-top: 1px solid var(--line); font-size: var(--fs-sm);
}
.dropdown__footer p { margin: 0; color: var(--muted); }

.header-actions { display: flex; align-items: center; gap: .75rem; }

/* language switcher */
.lang-switch { display: inline-flex; flex: 0 0 auto; gap: 2px; padding: 3px; border-radius: var(--r-pill); background: var(--surface-2); }
.lang-switch a {
  display: grid; place-items: center; min-width: 42px; height: 40px; padding: 0 .65rem; border-radius: var(--r-pill);
  font-size: .8rem; font-weight: 700; letter-spacing: .05em; color: var(--muted);
  transition: background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.lang-switch--wide { display: flex; margin-bottom: 14px; background: #fff; }
.lang-switch--wide a { flex: 1; }
.lang-switch--wide a[aria-current] { background: var(--ink); color: #fff; }
.menu-toggle {
  display: none; place-items: center; width: 48px; height: 48px; padding: 0;
  background: var(--surface-2); border: 0; border-radius: 50%; color: var(--ink); cursor: pointer;
  transition: background-color var(--t-fast);
}
.menu-toggle:hover { background: var(--surface-3); }
.menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* 7. Mobile menu ---------------------------------------------------------- */
.offcanvas { position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
.offcanvas.is-open { visibility: visible; }
.offcanvas__backdrop { position: absolute; inset: 0; background: rgba(21, 18, 13, .45); opacity: 0; transition: opacity var(--t); }
.offcanvas.is-open .offcanvas__backdrop { opacity: 1; }
.offcanvas__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  width: min(440px, 100%); overflow-y: auto; overscroll-behavior: contain;
  background: #fff; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .38s var(--ease);
}
.offcanvas.is-open .offcanvas__panel { transform: none; }
.offcanvas__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); }
.offcanvas__head img { height: 52px; width: auto; }
.offcanvas__close {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  background: var(--surface-2); border: 0; border-radius: 50%; cursor: pointer; color: var(--ink);
}
.offcanvas__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mobile-nav { padding: 12px var(--gutter); }
.mobile-nav ul { margin: 0; padding: 0; list-style: none; }
.mobile-nav li { margin: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav__link, .mobile-nav__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 60px; padding: 0;
  font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink);
  background: none; border: 0; text-align: left; cursor: pointer;
}
.mobile-nav__link[aria-current="page"], .is-current > .mobile-nav__toggle { color: var(--brand-ink); }
.mobile-nav__toggle svg { width: 14px; height: 14px; fill: currentColor; transition: transform var(--t-fast); }
.mobile-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t); }
.mobile-sub.is-open { grid-template-rows: 1fr; }
.mobile-sub > ul { overflow: hidden; }
.mobile-sub a { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.mobile-sub li:last-child a { margin-bottom: 14px; }
.mobile-sub img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; object-position: center 20%; }
.mobile-sub a[aria-current="page"] { color: var(--brand-ink); }
.offcanvas__footer { margin-top: auto; padding: 20px var(--gutter) 28px; background: var(--surface-2); }
.offcanvas__footer .btn { width: 100%; }
.offcanvas__contact { display: grid; gap: 6px; margin: 18px 0 14px; font-size: var(--fs-sm); }
.offcanvas__contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.offcanvas__contact svg { width: 16px; height: 16px; fill: var(--muted); }
body.is-locked { overflow: hidden; }

/* social icons (header menu + footer) */
.socials { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.socials li { margin: 0; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-3); color: var(--ink); transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.socials a:hover { background: var(--brand); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

/* 8. Sections & headings -------------------------------------------------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head__text { max-width: 640px; }
.section-head h2 { margin-bottom: .35em; }
.section-head p { margin: 0; font-size: var(--fs-lg); color: var(--muted); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-head__text { margin-inline: auto; }
.section-head--center .eyebrow { margin-inline: auto; }
.section--dark .section-head p { color: var(--on-dark-muted); }
.lead { font-size: var(--fs-lg); color: var(--muted); }

/* page header (all inner pages) */
.page-header {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(3rem, 2rem + 4vw, 5.5rem);
  background: var(--ink); color: var(--on-dark-muted);
}
.page-header__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(21, 18, 13, .92) 0%, rgba(21, 18, 13, .78) 45%, rgba(21, 18, 13, .35) 100%);
}
.page-header--plain::before { background: radial-gradient(60% 120% at 100% 0%, rgba(255, 205, 5, .18), transparent 60%); }
.page-header h1 { max-width: 15ch; margin-bottom: .3em; color: #fff; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.75rem); }
.page-header p { max-width: 60ch; margin: 0; font-size: var(--fs-lg); }
.breadcrumbs { margin-bottom: 1.5rem; font-size: var(--fs-xs); font-weight: 600; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; margin: 0; }
.breadcrumbs li + li::before {
  content: ''; width: 6px; height: 6px; margin: 0 12px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .5;
}
.breadcrumbs a { color: inherit; opacity: .8; }
.breadcrumbs a:hover { opacity: 1; color: var(--brand); }
.page-header .breadcrumbs { color: var(--on-dark); }
.breadcrumbs [aria-current] { opacity: 1; }

/* 9. Home ----------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(3rem, 1.5rem + 5vw, 6rem) clamp(4rem, 2rem + 6vw, 7rem);
  background:
    radial-gradient(50% 60% at 95% 10%, rgba(255, 205, 5, .22), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(255, 205, 5, .10), transparent 70%),
    var(--surface-2);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2.5rem, 1rem + 4vw, 5rem); }
.hero h1 { margin-bottom: .35em; }
.hero h1 .mark {
  background: linear-gradient(transparent 62%, var(--brand) 62%, var(--brand) 90%, transparent 90%);
  padding-inline: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__lead { max-width: 34rem; margin-bottom: 2rem; font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(1.25rem, .5rem + 2.5vw, 2.75rem); margin: 2.75rem 0 0; padding: 1.75rem 0 0; border-top: 1px solid var(--line-strong); list-style: none; }
.hero__facts li { margin: 0; }
.hero__facts strong { display: block; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.hero__facts span { display: block; margin-top: 4px; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }

.hero__media { position: relative; }
.hero__frame {
  position: relative; overflow: hidden; aspect-ratio: 4 / 4.3;
  border-radius: 28px; background: var(--surface-3); box-shadow: var(--shadow-lg);
}
.slideshow img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease, transform 6s linear;
}
.slideshow img.is-active { opacity: 1; transform: scale(1); }
.hero__badge {
  position: absolute; left: clamp(-2.5rem, -3vw, -1rem); bottom: 2rem;
  display: flex; align-items: center; gap: 14px; max-width: 290px; padding: 14px 18px 14px 14px;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
}
.hero__badge img { width: 64px; height: 64px; flex: 0 0 auto; }
.hero__badge strong { display: block; font-size: var(--fs-sm); line-height: 1.3; }
.hero__badge span { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }
.hero__chip {
  position: absolute; top: 1.5rem; right: 1.5rem;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  font-size: var(--fs-xs); font-weight: 700; color: var(--ink);
  background: var(--brand); border-radius: var(--r-pill); box-shadow: var(--shadow);
}
.hero__chip svg { width: 14px; height: 14px; fill: currentColor; }

/* partners strip */
.partners { padding-block: 2.25rem; border-bottom: 1px solid var(--line); }
.partners__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.25rem clamp(2rem, 1rem + 4vw, 4.5rem); }
.partners__label { margin: 0; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.partners__logos { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 1.5rem clamp(2rem, 1rem + 3vw, 3.5rem); margin: 0; padding: 0; list-style: none; }
.partners__logos li { margin: 0; }
.partners__logos img { height: 44px; width: auto; filter: grayscale(1); opacity: .75; transition: filter var(--t), opacity var(--t); }
.partners__logos img:hover { filter: none; opacity: 1; }

/* about split */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2.5rem, 1rem + 5vw, 6rem); }
.split--media-left .split__media { order: -1; }
.split__media { position: relative; }
.split__media > img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.split__card {
  position: absolute; right: clamp(-2rem, -2.5vw, -1rem); bottom: -2rem; max-width: 330px;
  padding: 1.75rem; border-radius: var(--r-lg); background: var(--ink); color: var(--on-dark-muted); box-shadow: var(--shadow-lg);
}
.split__card h3 { margin-bottom: .4em; font-size: 1.25rem; color: #fff; }
.split__card p { margin-bottom: 1.25rem; font-size: var(--fs-sm); line-height: 1.6; }
.split__text .lead { margin-bottom: 1.5rem; }

.checklist { display: grid; gap: 1.1rem; margin: 2rem 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 1rem; margin: 0; }
.checklist h3 { margin: 0 0 .15em; font-size: 1.05rem; letter-spacing: -.005em; }
.checklist p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); }
.checklist .icon-tile { width: 46px; height: 46px; border-radius: 12px; }
.checklist .icon-tile svg { width: 19px; height: 19px; }

/* career section */
.career-head { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 2rem 4rem; margin-bottom: 3.25rem; }
.career-head p { font-size: var(--fs-lg); }
.stat { display: flex; align-items: center; gap: 1.25rem; justify-self: end; padding: 1.5rem 1.75rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-lg); background: rgba(255, 255, 255, .03); }
.stat__value { font-size: clamp(3rem, 2rem + 3vw, 4.5rem); font-weight: 800; line-height: .9; letter-spacing: -.04em; color: var(--brand); }
.stat__label { margin: 0; font-weight: 700; line-height: 1.35; color: var(--on-dark); }
.stat__label span { display: block; font-weight: 400; font-size: var(--fs-sm); color: var(--on-dark-muted); }
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.feature-card { margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .06); transition: transform var(--t), border-color var(--t); }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(255, 205, 5, .35); }
.feature-card__img { overflow: hidden; aspect-ratio: 16 / 10; }
.feature-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.feature-card:hover .feature-card__img img { transform: scale(1.05); }
.feature-card__body { padding: 1.5rem 1.6rem 1.75rem; }
.feature-card h3 { margin-bottom: .4em; font-size: 1.2rem; }
.feature-card p { margin: 0; font-size: var(--fs-sm); line-height: 1.65; }

/* testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial {
  display: flex; flex-direction: column; margin: 0; padding: 2rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: box-shadow var(--t), transform var(--t);
}
.testimonial:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.testimonial__quote { width: 34px; height: 34px; margin-bottom: 1.25rem; fill: var(--brand); }
.testimonial blockquote { flex: 1; margin: 0 0 1.75rem; font-size: 1.05rem; line-height: 1.65; color: var(--ink); }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.testimonial img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial cite { display: block; font-style: normal; font-weight: 700; color: var(--ink); line-height: 1.3; }
.testimonial__role { display: block; font-size: var(--fs-sm); color: var(--muted); }

/* CTA band (shared) */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr auto; align-items: center; gap: 2rem 3rem;
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  background: var(--brand); border-radius: 28px; color: var(--ink);
}
.cta::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, .22) 22px 23px);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta h2 { max-width: 24ch; margin-bottom: .35em; }
.cta p { max-width: 52ch; margin: 0; font-size: var(--fs-lg); color: rgba(21, 18, 13, .78); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--outline { --btn-bd: rgba(21, 18, 13, .35); }
.cta .btn--outline:hover { --btn-bd: var(--ink); --btn-bg: rgba(255, 255, 255, .25); }

/* 10. Inner pages --------------------------------------------------------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.value-card {
  margin: 0; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.value-card:hover .icon-tile { background: var(--brand); }
.value-card h3 { margin: 1.25rem 0 .4em; font-size: 1.1rem; letter-spacing: -.01em; }
.value-card p { margin: 0; font-size: var(--fs-sm); line-height: 1.65; color: var(--muted); }

.trainer { display: grid; grid-template-columns: 360px 1fr; align-items: center; gap: clamp(2rem, 1rem + 4vw, 5rem); }
.trainer__photo { position: relative; }
.trainer__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.trainer__photo::after { content: ''; position: absolute; z-index: -1; inset: 18px -18px -18px 18px; border-radius: var(--r-lg); background: var(--brand); }
.trainer__photo { isolation: isolate; }
.trainer h3 { margin: .9rem 0 .5rem; font-size: var(--fs-h3); }
.trainer__intro { font-size: var(--fs-lg); color: var(--ink); font-weight: 600; }

/* contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.contact-list { display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.contact-item {
  display: flex; align-items: center; gap: 1rem; margin: 0; padding: 1.1rem 1.25rem;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
a.contact-item:hover { border-color: var(--brand-600); box-shadow: var(--shadow-sm); }
.contact-item__label { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-item__value { display: block; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.contact-item .icon-tile { width: 46px; height: 46px; border-radius: 12px; }
.contact-item .icon-tile svg { width: 18px; height: 18px; }
.map { overflow: hidden; margin-top: var(--section); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface-3); }
.map iframe { width: 100%; height: clamp(320px, 40vw, 460px); border: 0; }

/* apply */
.apply-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: start; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 1.75rem; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); }
.aside-card h2 { font-size: 1.2rem; margin-bottom: 1.25rem; }
.steps { counter-reset: step; display: grid; gap: 1.1rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.steps li { position: relative; margin: 0; padding-left: 46px; font-size: var(--fs-sm); line-height: 1.55; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--brand); color: var(--ink); font-weight: 800; font-size: .875rem;
}
.steps strong { display: block; }
.aside-card__contact { padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.aside-card__contact a { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-weight: 600; color: var(--ink); }
.aside-card__contact a:hover { color: var(--brand-ink); }
.aside-card__contact svg { width: 16px; height: 16px; fill: var(--muted); }

/* prose (privacy, course descriptions) */
.prose { color: var(--text); }
.prose h2 { margin: 2.25rem 0 .6rem; font-size: 1.35rem; letter-spacing: -.01em; }
.prose h3 { margin: 2rem 0 .6rem; font-size: 1.2rem; letter-spacing: -.01em; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.6em; }
.prose ul li::before { content: ''; position: absolute; left: .2em; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.prose a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--brand-ink); }
.prose hr { margin: 2rem 0; }

/* 404 */
.not-found { text-align: center; }
.not-found__code { margin: 0 0 .1em; font-size: clamp(6rem, 4rem + 10vw, 11rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; color: var(--brand); }
.not-found h1 { font-size: var(--fs-h2); }
.not-found p { margin: 0 auto 2rem; max-width: 46ch; color: var(--muted); }
.not-found .hero__actions { justify-content: center; }

/* 11. Course cards & catalogue ------------------------------------------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.course-card {
  position: relative; display: flex; flex-direction: column; margin: 0; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.course-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-3); }
.course-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform var(--t-slow); }
.course-card:hover .course-card__media img { transform: scale(1.05); }
.course-card__media .chip { position: absolute; top: 14px; left: 14px; }
.course-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem 1.5rem 1.4rem; }
.course-card__cat { margin: 0 0 .5rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); }
.course-card h2, .course-card h3 { margin: 0 0 .5rem; font-size: 1.2rem; line-height: 1.3; letter-spacing: -.01em; }
.course-card :is(h2, h3) a::after { content: ''; position: absolute; inset: 0; z-index: 1; } /* full-card link */
.course-card__text { margin: 0 0 1.25rem; font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); }
.course-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.course-card__price { font-size: 1.15rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.course-card__price small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.course-card__go {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-2); color: var(--ink); transition: background-color var(--t-fast), transform var(--t-fast);
}
.course-card__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.course-card:hover .course-card__go { background: var(--brand); transform: rotate(-45deg); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.toolbar__count { margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.toolbar__count strong { color: var(--ink); }
.toolbar__sort { display: flex; align-items: center; gap: .75rem; }
.toolbar__sort label { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); white-space: nowrap; }
.toolbar__sort select { width: auto; min-width: 250px; }

/* 12. Course detail ------------------------------------------------------- */
.course-hero { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(3rem, 2rem + 4vw, 5rem); background: var(--surface-2); }
.course-hero .breadcrumbs { color: var(--muted); }
.course-hero .breadcrumbs a:hover { color: var(--ink); }
.course-hero .breadcrumbs [aria-current] { color: var(--ink); }
.course-hero__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.gallery { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--surface-3); box-shadow: var(--shadow); }
.gallery__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery__open img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 20%; transition: transform var(--t-slow); }
.gallery__open:hover img { transform: scale(1.03); }
.gallery .chip { position: absolute; top: 16px; left: 16px; z-index: 1; }
.gallery__zoom {
  position: absolute; right: 16px; bottom: 16px; z-index: 1; display: grid; place-items: center;
  width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink); cursor: zoom-in; box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast), background-color var(--t-fast);
}
.gallery__zoom:hover { transform: scale(1.06); background: var(--brand); }
.gallery__zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.course-summary h1 { margin-bottom: .45em; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.course-summary__lead { margin-bottom: 1.75rem; font-size: var(--fs-lg); color: var(--text); }
.course-summary__price { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; margin-bottom: 1.75rem; }
.course-summary__price strong { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 800; letter-spacing: -.02em; }
.course-summary__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 2rem 0 0; padding: 0; list-style: none; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--line); }
.facts li { margin: 0; padding: 1rem 1.1rem; background: #fff; }
.facts span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts strong { display: block; margin-top: 2px; font-size: var(--fs-sm); line-height: 1.35; }

.course-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.course-body .aside-card .btn + .btn { margin-top: 10px; }
.aside-card__price { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.aside-card__price strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.aside-card p { font-size: var(--fs-sm); }

.tabs__list { display: flex; gap: 4px; margin: 0 0 2.25rem; padding: 4px; border-radius: var(--r-pill); background: var(--surface-2); width: max-content; max-width: 100%; overflow-x: auto; }
.tabs__tab {
  min-height: 44px; padding: .55rem 1.25rem; border: 0; border-radius: var(--r-pill); background: none;
  font-size: var(--fs-sm); font-weight: 700; color: var(--muted); cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: fade-in .35s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.reviews-empty { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; padding: 1.25rem 1.5rem; border-radius: var(--r); background: var(--surface-2); }
.reviews-empty svg { width: 28px; height: 28px; fill: var(--brand-600); flex: 0 0 auto; }
.reviews-empty p { margin: 0; }
.rating { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating label { display: grid; place-items: center; width: 40px; height: 40px; cursor: pointer; color: var(--line-strong); font-size: 26px; line-height: 1; transition: color var(--t-fast), transform var(--t-fast); }
.rating label:hover, .rating label:hover ~ label, .rating input:checked ~ label { color: var(--brand-600); }
.rating label:hover { transform: scale(1.12); }
.rating input:focus-visible + label { outline: 3px solid var(--brand-600); border-radius: 6px; }

.mobile-buybar { display: none; }

/* 13. Forms --------------------------------------------------------------- */
.form-card { padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.form-card > h2 { margin-bottom: .3em; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.form-card > p { color: var(--muted); }
.form { margin: 0; }
.form__group { margin: 0 0 1.5rem; padding: 0 0 1.5rem; border: 0; border-bottom: 1px solid var(--line); }
.form__group:last-of-type { border-bottom: 0; }
.form__group legend { float: left; width: 100%; margin: 0 0 1rem; padding: 0; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.form__group legend + * { clear: both; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.form__field--full { grid-column: 1 / -1; }
.form__field { margin-bottom: 1.15rem; }
.form__label { display: block; margin: 0 0 .45rem; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.form__req { color: var(--danger); }
.form__optional { font-weight: 400; color: var(--muted); font-size: var(--fs-xs); }
.form__control {
  display: block; width: 100%; min-height: 50px; padding: .7rem 1rem;
  font: 400 1rem/1.5 var(--font); color: var(--ink);
  background: var(--surface-2); border: 1.5px solid transparent; border-radius: 12px;
  transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.form__control::placeholder { color: #a29d93; }
.form__control:hover { border-color: var(--line-strong); }
.form__control:focus { outline: none; background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 205, 5, .35); }
textarea.form__control { min-height: 130px; resize: vertical; }
textarea.form__control--tall { min-height: 180px; }
select.form__control {
  padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2315120d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px;
}
.form__desc { margin: .45rem 0 0; font-size: var(--fs-xs); line-height: 1.55; color: var(--muted); }
.form__error { display: none; margin: .4rem 0 0; font-size: .85rem; font-weight: 600; color: var(--danger); }
.has-error .form__control { border-color: var(--danger); background: #fff; }
.has-error .form__error { display: block; }
.form__check { display: flex; align-items: flex-start; gap: .75rem; font-size: var(--fs-sm); line-height: 1.5; cursor: pointer; }
.form__check input { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--ink); }
.form__check a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 3px; }
.form__submit { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }
.form__submit small { color: var(--muted); font-size: var(--fs-xs); }
.form__notice {
  display: none; align-items: flex-start; gap: .75rem; margin-top: 1.25rem; padding: 1rem 1.25rem;
  border-radius: 12px; font-size: var(--fs-sm); background: #ecf6ed; color: #1d4f21; border: 1px solid #c6e3c8;
}
.form__notice.is-visible { display: flex; }
.form__notice.is-error { background: #fdeeee; color: #7d1c1c; border-color: #f3c7c7; }
.form__notice a { color: inherit; font-weight: 700; text-decoration: underline; }
.hp-field { position: absolute !important; left: -9999px !important; }

/* 14. Footer -------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: var(--fs-sm); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem clamp(2rem, 1rem + 3vw, 4rem); padding-block: clamp(3.5rem, 2rem + 4vw, 5rem) 3rem; }
.footer-brand__logo { display: inline-flex; padding: 10px 14px; margin-bottom: 1.25rem; background: #fff; border-radius: 14px; }
.footer-brand__logo img { height: 52px; width: auto; }
.footer-brand p { max-width: 36ch; margin-bottom: 1.5rem; line-height: 1.7; }
.site-footer .socials a { background: rgba(255, 255, 255, .07); color: var(--on-dark); }
.site-footer .socials a:hover { background: var(--brand); color: var(--ink); }
.footer-col h2 { margin: 0 0 1.1rem; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin: 0 0 .55rem; }
.footer-col a { color: var(--on-dark-muted); }
.footer-col a:hover { color: var(--brand); }
.footer-contact li { display: flex; gap: .75rem; }
.footer-contact svg { width: 16px; height: 16px; margin-top: .3em; fill: var(--brand); flex: 0 0 auto; }
.footer-partners { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-partners p { margin: 0; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); }
.footer-partners ul { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-partners li { margin: 0; display: grid; place-items: center; height: 56px; padding: 0 16px; background: #fff; border-radius: 12px; }
.footer-partners img { height: 32px; width: auto; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: var(--fs-xs); }
.footer-bottom p { margin: 0; }
.footer-bottom nav ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.footer-bottom li { margin: 0; }
.footer-bottom a { color: var(--on-dark-muted); }
.footer-bottom a:hover { color: var(--brand); }

/* 15. Utilities: cookie notice, lightbox, back-to-top, reveal ------------ */
.cookie-notice {
  position: fixed; left: var(--gutter); bottom: var(--gutter); z-index: 900;
  display: flex; align-items: center; gap: 1.25rem; width: min(560px, calc(100% - 2 * var(--gutter)));
  padding: 1.1rem 1.25rem; background: var(--ink); color: var(--on-dark-muted);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); font-size: var(--fs-sm); line-height: 1.55;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.cookie-notice.is-visible { opacity: 1; visibility: visible; transform: none; }
.cookie-notice p { margin: 0; flex: 1; }
.cookie-notice a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice__actions { display: flex; gap: 8px; flex: 0 0 auto; }
.cookie-notice .btn { min-height: 42px; padding: .5em 1.1em; }

.lightbox {
  position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 64px 16px;
  background: rgba(10, 8, 5, .92); opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(100%, 1000px); max-height: calc(100vh - 128px); width: auto; border-radius: var(--r); transform: scale(.97); transition: transform var(--t); }
.lightbox.is-open img { transform: none; }
.lightbox__close {
  position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 20px; margin: 0; text-align: center; font-size: var(--fs-sm); color: rgba(255, 255, 255, .8); }

.to-top {
  position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 800;
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%; background: var(--brand); color: var(--ink); cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--t), transform var(--t), visibility var(--t), background-color var(--t-fast);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: #fff; }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* scroll reveal — only hides content once JS has confirmed it can reveal it */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.js-reveal [data-reveal].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

/* structured course details (cost table + callouts) */
.cost-table { width: 100%; margin: 0 0 1.5rem; border-collapse: collapse; font-size: var(--fs-sm); }
.cost-table th, .cost-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.cost-table td:last-child { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; }
.cost-table tr:last-child td { border-bottom: 0; background: var(--brand-50); font-size: 1rem; }
.cost-table tr:last-child td:first-child { border-radius: 10px 0 0 10px; font-weight: 700; color: var(--ink); }
.cost-table tr:last-child td:last-child { border-radius: 0 10px 10px 0; }
.callout { display: flex; gap: .85rem; margin: 0 0 1rem; padding: 1rem 1.25rem; border-radius: 12px; background: var(--surface-2); font-size: var(--fs-sm); }
.callout svg { width: 18px; height: 18px; margin-top: .2em; fill: var(--brand-600); flex: 0 0 auto; }
.callout p { margin: 0; }

/* "Apply now" dialog --------------------------------------------------------- */
.apply-modal {
  width: min(760px, calc(100% - 2rem)); max-height: min(92vh, 980px); max-height: min(92dvh, 980px);
  padding: 0; border: 0; border-radius: var(--r-lg); background: #fff; color: var(--text);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.apply-modal::backdrop { background: rgba(21, 18, 13, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.apply-modal[open] { animation: modal-in .32s var(--ease); }
.apply-modal[open]::backdrop { animation: fade-in .32s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.apply-modal__inner { display: flex; flex-direction: column; max-height: inherit; }
.apply-modal__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.5rem clamp(1.25rem, 1rem + 1.5vw, 2.25rem) 1.25rem; border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.apply-modal__head .eyebrow { margin-bottom: .5rem; }
.apply-modal__head h2 { margin: 0 0 .3rem; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); }
.apply-modal__sub { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.apply-modal__close {
  display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm);
  transition: background-color var(--t-fast);
}
.apply-modal__close:hover { background: var(--brand); }
.apply-modal__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.apply-modal__body { overflow-y: auto; overscroll-behavior: contain; padding: 1.5rem clamp(1.25rem, 1rem + 1.5vw, 2.25rem) 2rem; }
.apply-modal .form__group:last-of-type { margin-bottom: .5rem; }
@media (max-width: 640px) {
  .apply-modal { width: 100%; max-width: 100%; height: 100%; max-height: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .apply-modal__inner { height: 100%; }
  .apply-modal__body { flex: 1; }
}

/* Three pillars (home) ------------------------------------------------------- */
.pillars { counter-reset: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.pillar {
  position: relative; display: flex; flex-direction: column; margin: 0; padding: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.pillar::before {
  content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 48px; background: var(--brand);
  border-radius: 0 0 4px 0; transition: width .5s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar:hover::before { width: 100%; }
.pillar__num {
  display: block; margin-bottom: 1rem; font-size: clamp(2.5rem, 2rem + 1.5vw, 3.25rem); font-weight: 300;
  line-height: 1; letter-spacing: -.03em; color: var(--brand-ink); font-variant-numeric: lining-nums;
}
.pillar h3 { margin: 0 0 1rem; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); letter-spacing: -.015em; }
.pillar p { flex: 1; margin: 0 0 1.75rem; color: var(--muted); line-height: 1.7; }
.pillar__link {
  display: inline-flex; align-items: center; gap: .5em; align-self: flex-start;
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink);
  min-height: 44px; transition: color var(--t-fast);
}
.pillar__link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-fast); }
.pillar__link:hover { color: var(--ink); }
.pillar__link:hover svg { transform: translateX(4px); }
@media (max-width: 1024px) { .pillars { gap: 1rem; } }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; }
  .pillar__num { grid-row: span 3; margin: 0; }
  .pillar p { margin-bottom: 1rem; }
}
@media (max-width: 380px) {
  .pillar { display: flex; }
  .pillar__num { margin-bottom: .75rem; }
}
@media (hover: none) { .pillar:hover { transform: none; } }

/* Certifikimet page ---------------------------------------------------------- */
.certs-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem 3rem; margin-bottom: 2.25rem; }
.certs-head h2 { margin-bottom: .35em; }
.certs-head .lead { margin: 0; }
.certs-stats { display: flex; gap: 1rem; margin: 0; }
.certs-stats > div { min-width: 140px; padding: 1.1rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.certs-stats dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.certs-stats dd { margin: .2rem 0 0; font-size: 2rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }

.certs-tools { margin-bottom: 1.5rem; }
.certs-search { position: relative; max-width: 460px; }
.certs-search svg { position: absolute; left: 1rem; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.certs-search .form__control { padding-left: 2.85rem; background: #fff; border-color: var(--line); }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.cert-card {
  display: flex; flex-direction: column; margin: 0; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: box-shadow var(--t), transform var(--t);
}
.cert-card[hidden] { display: none; }
.cert-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.cert-card__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-3); }
.cert-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform var(--t-slow); }
.cert-card:hover .cert-card__photo img { transform: scale(1.04); }
.cert-card__body { padding: 1.1rem 1.25rem 1.35rem; }
.cert-card__badge {
  display: inline-flex; align-items: center; gap: .3rem; margin-bottom: .5rem;
  padding: .2rem .55rem; border-radius: var(--r-pill); background: #e8f3e9; color: var(--success);
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.cert-card__badge::before { content: '✓'; }
.cert-card h3 { margin: 0 0 .35rem; font-size: 1.1rem; line-height: 1.3; letter-spacing: -.01em; overflow-wrap: anywhere; }
.cert-card p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); }

.certs-empty { display: grid; justify-items: center; gap: .5rem; padding: clamp(2.5rem, 2rem + 3vw, 4rem) 1.5rem; text-align: center; background: #fff; border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); }
.certs-empty[hidden] { display: none; }
.certs-empty .icon-tile { margin-bottom: .5rem; }
.certs-empty h3 { margin: 0; font-size: 1.25rem; }
.certs-empty p { max-width: 52ch; margin: 0; color: var(--muted); }

.cert-note { padding: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); border-radius: var(--r-lg); background: var(--ink); color: var(--on-dark-muted); }
.cert-note h3 { margin: 1rem 0 .6rem; color: #fff; font-size: var(--fs-h3); }
.cert-note p { margin-bottom: 1.5rem; }
.cert-note .link-arrow { color: var(--brand); }

.aside-card__certs {
  display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; padding: .9rem 1rem;
  border-radius: 12px; background: #fff; border: 1px solid var(--line);
  font-size: var(--fs-sm); font-weight: 700; color: var(--ink); transition: border-color var(--t-fast);
}
.aside-card__certs:hover { border-color: var(--brand-600); }
.aside-card__certs svg { width: 18px; height: 18px; flex: 0 0 auto; }
.aside-card__certs svg:first-child { fill: var(--brand-ink); }
.aside-card__certs svg:last-child { margin-left: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1024px) {
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .certs-head { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 420px) {
  .cert-grid { grid-template-columns: 1fr; }
  .cert-card { display: grid; grid-template-columns: 110px 1fr; }
  .cert-card__photo { aspect-ratio: auto; height: 100%; min-height: 130px; }
}

/* page header with an illustration (Certifikimet) — lighter overlay, art pinned right */
.page-header--art .page-header__bg { object-position: right center; }
.page-header--art::before { background: linear-gradient(90deg, rgba(21, 18, 13, .92) 0%, rgba(21, 18, 13, .7) 38%, rgba(21, 18, 13, 0) 62%); }
@media (max-width: 860px) {
  .page-header--art .page-header__bg { object-position: 80% center; }
  .page-header--art::before { background: linear-gradient(180deg, rgba(21, 18, 13, .55), rgba(21, 18, 13, .85)); }
}

/* ---------- Video ---------- */
.video-frame { position: relative; max-width: 960px; margin-inline: auto; overflow: hidden; border-radius: var(--r-lg); background: var(--ink); box-shadow: var(--shadow); }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 832 / 464; object-fit: cover; }
.video-frame__play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; cursor: pointer; background: linear-gradient(180deg, rgba(21,18,13,.05), rgba(21,18,13,.35)); }
.video-frame__play svg { width: clamp(64px, 8vw, 88px); height: clamp(64px, 8vw, 88px); padding: 22px 18px 22px 26px; border-radius: 50%; fill: var(--ink); background: var(--brand); box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); transition: transform var(--t); }
.video-frame__play:hover svg, .video-frame__play:focus-visible svg { transform: scale(1.08); }
.video-frame__play:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.video-frame__play[hidden] { display: none; }
