/* =========================================================================
   Take Action Training — site stylesheet
   Rebuilt from the Wix Studio site (adveramediapotch.wixstudio.com/my-site-13).
   Reference design width: 1440px. Page-specific styles: /assets/css/pages/*.css
   ========================================================================= */

@font-face { font-family: Poppins; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-style: normal; font-display: swap; src: url(/assets/fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-style: normal; font-display: swap; src: url(/assets/fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-style: normal; font-display: swap; src: url(/assets/fonts/poppins-700.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 800; font-style: normal; font-display: swap; src: url(/assets/fonts/poppins-800.woff2) format("woff2"); }
@font-face { font-family: Rubik; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/rubik-400.woff2) format("woff2"); }
@font-face { font-family: Rubik; font-weight: 500; font-style: normal; font-display: swap; src: url(/assets/fonts/rubik-500.woff2) format("woff2"); }

:root {
  --cream: #F3F0EA;
  --navy: #010217;
  --lime: #E3FF00;
  --green: #25B52E;
  --red: #C0010A;
  --ink: #000;
  --ink-2: #343434;
  --line: #CCCCCC;
  --slate: #5F738C;
  --shadow: 0 1px 9px rgba(0, 0, 0, .4);
  --shadow-soft: 0 1px 4.5px rgba(0, 0, 0, .2);
  --radius: 20px;
  --wrap: 1340px;
  --pad: clamp(20px, 3.6vw, 52px);
  --font: Poppins, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-alt: Rubik, Poppins, Arial, sans-serif;
  --accent: var(--lime);           /* overridden per page (green / red) */
  --header-h: 104px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.section { position: relative; padding: 72px 0; }
.section--dark { background: var(--navy); color: var(--cream); }
.section--lime { background: var(--lime); }
.section--tight { padding: 48px 0; }
.center { text-align: center; }
.justify { text-align: justify; }

/* inline icon fallbacks: icons keep their own width/height unless a container sizes them */
.icon-card__icon svg, .feat-card__icon svg { width: 100%; height: 100%; }

/* ---------- typography ---------- */
.h1 { font-weight: 400; font-size: clamp(38px, 4.41vw, 64px); line-height: 1; letter-spacing: -.04em; }
.cap { text-transform: capitalize; }
.icon-rot90 { transform: rotate(90deg); }
.h2 { font-weight: 700; font-size: clamp(28px, 2.77vw, 40px); line-height: 1; letter-spacing: -.05em; }
.h2--loose { letter-spacing: -.01em; }
.h3 { font-weight: 400; font-size: clamp(22px, 1.98vw, 28.5px); line-height: 1; letter-spacing: -.03em; }
.h4 { font-weight: 400; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.h5 { font-weight: 500; font-size: 20.5px; line-height: 1; letter-spacing: -.03em; }
.lead { font-size: clamp(17px, 1.67vw, 24px); line-height: 1.4; }
.small { font-size: 14px; line-height: 1.6; }
.xsmall { font-size: 12px; line-height: 1.6; }
.prose p + p { margin-top: 1.3em; }
.prose strong { font-weight: 700; }

/* eyebrow / tag label: small arrow marker + uppercase Rubik */
.eyebrow { display: flex; align-items: center; gap: 9px; font: 400 16px/1.3 var(--font-alt); text-transform: uppercase; letter-spacing: -.02em; }
.eyebrow--lg { font-size: 18.3px; }
.eyebrow svg { width: 16px; height: 16px; flex: none; }
.eyebrow--light { color: var(--cream); }
.marker { display: inline-block; width: 16px; height: 16px; flex: none; background: var(--accent); clip-path: polygon(0 0, 50% 0, 100% 50%, 50% 100%, 0 100%); }
.marker--chev { clip-path: polygon(0 0, 45% 0, 100% 50%, 45% 100%, 0 100%, 40% 50%); }
.marker--dark { background: var(--ink); }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 8px; min-height: 37px; padding: 9px 18px; border: 0; border-radius: 0;
  background: var(--lime); color: var(--navy); font: 500 14px/1.3 var(--font); text-transform: uppercase; text-decoration: none; transition: filter .2s, background-color .2s, color .2s, transform .2s; }
.btn:hover { filter: brightness(.93); }
.btn--hero { width: 149px; min-height: 60px; font-size: 16px; padding: 8px 14px; }
.btn--lg { min-height: 42px; font-size: 14px; padding: 10px 28px; }
.btn--black { background: #000; color: var(--lime); font-weight: 400; font-size: 13px; }
.btn--black:hover { filter: none; background: #222; }
.btn--outline { background: transparent; color: #000; box-shadow: inset 0 0 0 1.5px #000; }
.btn--outline:hover { background: #000; color: var(--cream); filter: none; }
.btn--green { background: var(--green); color: #000; }
.btn--red { background: var(--red); color: #fff; }
.btn--slate { background: var(--slate); color: #fff; text-transform: none; font-size: 16px; font-weight: 400; min-width: 207px; min-height: 41px; }
.btn--elearn { width: 105px; height: 42px; min-height: 0; padding: 0; font-size: 12px; font-weight: 400; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px 37px; }

.link-arrow { display: inline-flex; align-items: center; gap: 9px; font: 400 14px/1.3 var(--font-alt); text-transform: uppercase; }
.link-arrow a { text-decoration: underline; text-underline-offset: 2px; }
.link-arrow .marker { background: var(--ink); }
.link-arrow--light { color: var(--cream); }
.link-arrow--light .marker { background: var(--lime); }

.arrow-cta { display: inline-flex; align-items: center; gap: 18px; font: 500 16px/1.3 var(--font); text-transform: uppercase; color: var(--navy); }
.arrow-cta__box { width: 48px; height: 48px; display: grid; place-items: center; background: var(--lime); flex: none; transition: transform .2s; }
.arrow-cta a { text-decoration: underline; text-underline-offset: 3px; }
.arrow-cta:hover .arrow-cta__box { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--cream) url(/assets/img/aa30fc_39a91b5c9c1f4646a.webp) center / cover no-repeat; transition: transform .35s ease; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 54px; display: flex; align-items: center; }
.brand { display: flex; align-items: center; gap: 0; text-decoration: none; color: #000; flex: none; }
.brand__logo { width: 129px; height: 86px; object-fit: cover; }
.brand__name { font: italic 700 20.8px/1.2 var(--font); letter-spacing: -.03em; margin-left: -2px; }
.main-nav { margin-left: auto; margin-right: 34px; }
.main-nav__list { display: flex; align-items: center; gap: 0; }
.main-nav__list > li { position: relative; display: flex; align-items: center; }
.main-nav a { display: block; padding: 10px 14px; font-size: 16px; text-decoration: none; color: #000; text-underline-offset: 3px; }
.main-nav a:hover, .main-nav a[aria-current] { text-decoration: underline; }
.main-nav .has-sub > a { padding-right: 4px; }
.sub-toggle { background: none; border: 0; padding: 10px 14px 10px 2px; display: grid; place-items: center; }
.sub-toggle svg { transition: transform .2s; }
.has-sub:hover .sub-toggle svg, .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.sub-menu { position: absolute; top: 100%; right: -20px; min-width: 228px; padding: 8px 0; background: var(--cream); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .2s, visibility .2s; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { padding: 13px 31px; text-align: right; letter-spacing: .06em; color: var(--ink-2); white-space: nowrap; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; padding: 8px 6px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: #222; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(13px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-13px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; background: var(--cream); overflow-y: auto; padding: 28px var(--pad) 40px; z-index: 49; }
.mobile-menu > ul > li { border-bottom: 1px solid rgba(0,0,0,.12); }
.mobile-menu a { display: block; padding: 14px 0; font-size: 20px; text-decoration: none; }
.mobile-menu a[aria-current] { text-decoration: underline; }
.mobile-menu li ul { padding: 0 0 10px 18px; }
.mobile-menu li ul a { font-size: 17px; padding: 8px 0; color: var(--ink-2); }
.mobile-menu .btn { margin-top: 26px; width: 100%; min-height: 48px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 760px; overflow: hidden; color: var(--cream); background: var(--navy); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__body { position: relative; width: 100%; padding-top: 80px; padding-bottom: 80px; }
.hero__content { max-width: 771px; }
.hero .eyebrow { margin-bottom: 26px; color: var(--cream); font-size: 16px; }
.hero__title { margin-bottom: 20px; }
.hero__text { max-width: 731px; text-align: justify; font-size: clamp(17px, 1.67vw, 24px); line-height: 1.4; }
.hero .btn-row { margin-top: 26px; }
.hero__title--upper { text-transform: uppercase; }

/* ---------- cards ---------- */
.card { background: var(--cream); border-radius: var(--radius); box-shadow: var(--shadow); }
.card--dark { background: var(--navy); color: var(--cream); }
.grid { display: grid; gap: 34px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* image-top service card (home "Workplace safety training", training-courses, certification) */
.svc-card { display: flex; flex-direction: column; border-radius: 17px; overflow: hidden; background: var(--cream); box-shadow: var(--shadow); }
.svc-card__img { width: 100%; aspect-ratio: 417 / 239; object-fit: cover; }
.svc-card__body { display: flex; flex-direction: column; flex: 1; padding: 28px 12px 34px; }
.svc-card__head { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; min-height: 53px; }
.svc-card__head svg { width: 53px; height: 53px; flex: none; }
.svc-card__text { text-align: justify; margin-bottom: 14px; }
.svc-card .link-arrow { margin-top: auto; }

/* centred icon card (home courses, "why businesses choose" etc.) */
.icon-card { padding: 17px 34px 34px; text-align: center; border-radius: 22.8px; background: var(--cream); box-shadow: var(--shadow); }
.icon-card__icon { width: 53px; height: 53px; margin: 0 auto 25px; }
.icon-card__title { font-weight: 700; font-size: 18.2px; line-height: 1; letter-spacing: -.03em; margin-bottom: 23px; color: var(--navy); }
.icon-card__text { font-size: 16px; line-height: 1.6; letter-spacing: .05em; color: var(--navy); }

/* feature card: icon, medium title, small centred text (why choose / approach rows) */
.feat-card { padding: 28px 22px 34px; text-align: center; border-radius: var(--radius); background: var(--cream); box-shadow: var(--shadow); }
.feat-card__icon { height: 53px; width: auto; max-width: 70px; margin: 0 auto 18px; }
.feat-card__title { font-weight: 400; font-size: 20px; line-height: 1.5; letter-spacing: -.01em; margin-bottom: 14px; }
.feat-card__text { font-size: 14px; line-height: 1.75; }
.section--dark .feat-card { background: transparent; box-shadow: none; border: 1px solid rgba(243,240,234,.75); color: var(--cream); }

/* dark "learn" cards: photo, round icon overlapping, title + text */
.learn-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(243,240,234,.35); background: var(--navy); color: var(--cream); }
.learn-card__img { width: 100%; aspect-ratio: 316 / 230; object-fit: cover; }
.learn-card__badge { position: absolute; left: 0; top: calc((100% * 0) + 0px); width: 100px; height: 100px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); }
.learn-card__media { position: relative; }
.learn-card__media .learn-card__badge { top: auto; bottom: -50px; left: 0; width: 100px; height: 100px; }
.learn-card__badge svg { width: 52px; height: 52px; }
.learn-card__body { padding: 70px 0 30px; }
.learn-card__title { font-weight: 400; font-size: 20px; line-height: 1.5; letter-spacing: -.02em; margin-bottom: 26px; }
.learn-card__text { font-size: 14px; line-height: 1.75; }

/* ---------- course list (lines with marker) ---------- */
.course-list { display: grid; column-gap: 28px; }
.course-list--2 { grid-template-columns: repeat(2, 1fr); }
.course-list--3 { grid-template-columns: repeat(3, 1fr); }
.course-list--4 { grid-template-columns: repeat(4, 1fr); }
.course-list li { display: flex; align-items: center; gap: 30px; min-height: 84px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.3; color: var(--ink-2); }
.course-list__mark { width: 24px; height: 24px; flex: none; background: var(--accent); clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%); filter: drop-shadow(0 1px 2px rgba(0,0,0,.2)); }
.course-list--check li { min-height: 54px; gap: 42px; }
.course-list--check .course-list__mark { background: none; clip-path: none; filter: none; width: 26px; height: 22px; }

/* ---------- carousel ---------- */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--pad); scroll-padding: 0 var(--pad); }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { margin: 0; position: relative; flex: 0 0 auto; width: 339px; height: 563px; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; background: #222; }
.carousel__item img { width: 100%; height: 100%; object-fit: cover; }
.carousel__item figcaption { position: absolute; left: 0; right: 0; top: 0; padding: 22px 26px 40px; font-size: 12px; color: #fff; background: linear-gradient(rgba(0,0,0,.35), transparent); }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #333; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.25); z-index: 2; }
.carousel__btn--prev { left: 20px; }
.carousel__btn--next { right: 20px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 638fr 638fr; gap: 47px; align-items: start; }
.faq__img { width: 100%; aspect-ratio: 638 / 671; object-fit: cover; }
.faq__img--short { aspect-ratio: 638 / 450; }
.faq .eyebrow { margin-bottom: 48px; }
.faq h2 { margin-bottom: 38px; }
.faq__intro { font-size: 14px; line-height: 1.3; margin: -10px 0 40px; }
.acc { border: 0; }
.acc__item { border-bottom: 1px solid #000; }
.acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7px 0 4px; background: none; border: 0; text-align: left; font: 400 18px/1.3 Arial, Helvetica, sans-serif; color: #000; }
.acc__q svg { width: 14px; flex: none; transition: transform .25s; }
.acc__q[aria-expanded="true"] svg { transform: rotate(180deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc__a > div { overflow: hidden; }
.acc__a.open { grid-template-rows: 1fr; }
.acc__a p { font-size: 16px; line-height: 1.6; padding-bottom: 4px; }
.acc__a > div > :first-child { padding-top: 10px; }
.acc__a > div > :last-child { padding-bottom: 16px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--lime); padding: 30px 0 45px; text-align: center; }
.cta-band h2 { font-size: 36px; letter-spacing: -.03em; margin-bottom: 26px; }
.cta-band p { max-width: 830px; margin: 0 auto 18px; font-size: 16px; line-height: 1.6; }
.cta-band .btn { min-width: 142px; min-height: 42px; }

/* ---------- dark info boxes ---------- */
.dark-box { background: var(--navy); color: var(--cream); border-radius: 22px; padding: 30px 32px; }
.dark-box h3 { font-size: 26px; line-height: 1.2; letter-spacing: -.03em; font-weight: 400; margin-bottom: 18px; }

/* ---------- forms ---------- */
.tat-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #000; }
.fld--full { grid-column: 1 / -1; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid #6b6b6b; border-radius: 0; background: transparent; color: #000; font-size: 16px; }
.fld textarea { resize: vertical; min-height: 92px; }
.fld input::placeholder, .fld textarea::placeholder { color: #7a7a7a; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: #000; box-shadow: inset 0 0 0 1px #000; }
.fld select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23333' stroke-width='1.3'/%3E%3C/svg%3E") right 14px center no-repeat; padding-right: 36px; }
.tat-form .btn { margin-top: 24px; }
.form-status { margin-top: 12px; font-size: 14px; min-height: 1.4em; }
.form-status.lf-ok { color: #1c7a23; }
.form-status.lf-err { color: var(--red); }

/* ---------- popups ---------- */
.popup { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.popup__backdrop { position: absolute; inset: 0; background: rgba(30, 30, 30, .62); }
.popup__panel { position: relative; width: 100%; max-width: 536px; max-height: calc(100vh - 40px); overflow-y: auto; background: var(--cream); padding: 30px 24px 34px; animation: pop .25s ease; }
.popup__panel--sm { max-width: 486px; }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.popup__close { position: absolute; top: 24px; right: 22px; background: none; border: 0; padding: 4px; color: #000; }
.popup__kicker { font-size: 12px; margin-bottom: 44px; }
.popup__title { font-size: 16px; margin-bottom: 22px; }
.popup__intro { font-size: 16px; line-height: 1.5; margin-bottom: 26px; padding-right: 8px; }
body.no-scroll { overflow: hidden; }

/* ---------- floating buttons ---------- */
.fab-call { position: fixed; right: 58px; bottom: 54px; z-index: 60; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.25); transition: transform .2s; }
.fab-call:hover { transform: scale(1.06); }

/* ---------- footer ---------- */
.site-footer { position: relative; }
.site-footer__top { position: relative; padding: 31px 0 34px; background: var(--cream) url(/assets/img/aa30fc_39a91b5c9c1f4646a.webp) 98% 0 / cover no-repeat; }
.site-footer__grid { display: grid; grid-template-columns: 406px 381px 292px 1fr; align-items: start; }
.site-footer__logo img { width: 218px; height: 196px; object-fit: contain; }
.site-footer__col p { font-size: 16px; line-height: 1.3; }
.site-footer__col p + p { margin-top: 33px; }
.site-footer__nav p + p { margin-top: 12px; }
.site-footer__nav .site-footer__head + p { margin-top: 29px; }
.site-footer__col:last-child p + p { margin-top: 15px; }
.site-footer__col:last-child .site-footer__head + p { margin-top: 24px; }
.site-footer__col a { text-decoration: none; }
.site-footer__col a:hover { text-decoration: underline; }
.to-top { position: absolute; right: 14px; top: 14px; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid #c7c7c7; display: grid; place-items: center; color: #000; z-index: 2; }
.site-footer__bottom { background: var(--navy); color: var(--cream); padding-top: 26px; }
.site-footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 2px solid var(--line); padding-top: 31px; padding-bottom: 32px; position: relative; }
.site-footer__bottom .wrap { border-top: 0; }
.site-footer__bottom .site-footer__bar { border-top: 0; }
.site-footer__bottom .site-footer__bar::before { content: ""; position: absolute; left: var(--pad); right: var(--pad); top: 0; height: 2px; background: var(--line); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer__legal a, .site-footer__bar p { font-size: 16px; line-height: 1.6; text-decoration: none; }
.site-footer__legal a:hover { text-decoration: underline; }
.site-footer__bar p a { text-decoration: underline; }

/* ---------- legal pages (same layout as the Wix template pages) ---------- */
.legal { padding: 58px 0 110px; }
.legal .wrap { max-width: calc(970px + 2 * var(--pad)); margin-left: max(0px, calc((100vw - 1440px) / 2)); padding-left: max(var(--pad), 55px); }
.legal h1 { font-weight: 400; font-size: clamp(44px, 5.97vw, 86px); line-height: 1; letter-spacing: -.035em; color: #174E57; margin-bottom: 72px; }
.legal h2 { font-weight: 400; font-size: 23px; line-height: 1; color: var(--ink-2); margin: 54px 0 15px; }
.legal h1 + h2, .legal .legal__updated + h2 { margin-top: 0; }
.legal p, .legal li { font-size: 16px; line-height: 1.56; color: var(--ink-2); }
.legal p + p { margin-top: 25px; }
.legal ul { list-style: disc; padding-left: 24px; margin: 14px 0; }
.legal li + li { margin-top: 4px; }
.legal a { color: #174E57; }
.legal__updated { margin-bottom: 40px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
  .main-nav a { padding: 10px 9px; font-size: 15px; }
  .main-nav { margin-right: 18px; }
  .brand__logo { width: 105px; height: 70px; }
  .brand__name { font-size: 18px; }
  .site-header__inner { padding: 0 28px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .course-list--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 34px; }
  .site-footer__logo { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  :root { --header-h: 84px; }
  .main-nav, .site-header__inner > .btn--elearn { display: none; }
  .burger { display: flex; }
  .site-header__inner { padding: 0 20px; }
  .brand__logo { width: 90px; height: 60px; }
  .brand__name { font-size: 16px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .course-list--3 { grid-template-columns: repeat(2, 1fr); }
  .faq { grid-template-columns: 1fr; }
  .faq__img { aspect-ratio: 16 / 10; }
  .hero { min-height: 620px; }
  .section { padding: 56px 0; }
}
@media (max-width: 680px) {
  body { font-size: 15px; }
  .grid { gap: 22px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .course-list--2, .course-list--3, .course-list--4 { grid-template-columns: 1fr; }
  .course-list li { min-height: 64px; }
  .hero { min-height: 0; }
  .hero__body { padding-top: 64px; padding-bottom: 56px; }
  .hero__text { text-align: left; }
  .tat-form__grid { grid-template-columns: 1fr; }
  .carousel__item { width: 78vw; height: 129vw; max-height: 520px; }
  .carousel__btn { display: none; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bar { flex-direction: column; align-items: flex-start; }
  .fab-call { right: 18px; bottom: 18px; }
  .cta-band h2 { font-size: 28px; }
}
