/* ==========================================================================
   Online Dentistry — shared styles
   1. Fonts & tokens   2. Base   3. Buttons & helpers   4. Header
   5. Mobile menu      6. Footer 7. Floating buttons
   Page-specific styles live in /assets/css/pages/<page>.css
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------ */
@font-face { font-family: Sora; font-weight: 400; font-display: swap; src: url(../fonts/sora-400.ttf) format("truetype"); }
@font-face { font-family: Sora; font-weight: 500; font-display: swap; src: url(../fonts/sora-500.ttf) format("truetype"); }
@font-face { font-family: Sora; font-weight: 600; font-display: swap; src: url(../fonts/sora-600.ttf) format("truetype"); }
@font-face { font-family: Sora; font-weight: 700; font-display: swap; src: url(../fonts/sora-700.ttf) format("truetype"); }
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(../fonts/manrope-400.ttf) format("truetype"); }
@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url(../fonts/manrope-500.ttf) format("truetype"); }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(../fonts/manrope-600.ttf) format("truetype"); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(../fonts/manrope-700.ttf) format("truetype"); }

:root {
  --font-body: Manrope, Arial, Helvetica, sans-serif;
  --font-heading: Sora, Arial, Helvetica, sans-serif;
  --bg: #1f1f1f;
  --text: #f2f2f2;
  --teal: #45d0bd;
  --sky: #44b6e9;
  --purple: #8258c8;
  --blue: #2c84c8;
  --coral: #ef6464;
  --grad-teal: linear-gradient(108deg, #45d0bd 0%, #44b6e9 100%);
  --grad-purple: linear-gradient(108deg, #8258c8 0%, #2c84c8 100%);
  --container: 1340px;
}

/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font: 500 16px/30px var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body.has-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(../img/page-top-glow.png) top center / 100% auto no-repeat;
  pointer-events: none;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-heading); font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
main { display: block; overflow-x: clip; }
:focus-visible { outline: 3px solid #65c5d5; outline-offset: 4px; }
[hidden] { display: none !important; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100001; padding: 10px 18px; border-radius: 10px; background: #fff; color: #111; }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3. Buttons & helpers --------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; }

/* Gradient outline button used for "Learn More" and similar links. */
.btn-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 23px;
  padding: 13px 25px 15px;
  border-radius: 15px;
  color: #fff;
  font-size: 14px;
  line-height: 27px;
  letter-spacing: .01em;
  isolation: isolate;
  transition: color .3s;
}
.btn-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: var(--grad-purple);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: padding .3s;
}
.btn-outline:hover::before { padding: 30px; }
.btn-outline .icon { width: 10px; height: 10px; }

/* 4. Header -------------------------------------------------------------- */
.site-header { position: relative; z-index: 20; padding: 8px 20px 0; }
.site-header--overlay { position: absolute; top: 0; left: 0; right: 0; padding-top: 18px; }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  padding: 0 41px;
  border-radius: 15px;
  background: #1f1f1f;
  color: #7e7e7e;
  font-size: 14px;
  line-height: 27px;
}
.topbar a { color: #fff; }
.topbar__contacts { display: flex; gap: 45px; }
.topbar__social { display: flex; align-items: center; gap: 20px; }
.topbar__social span { margin-right: 1px; }
.topbar__social .icon { display: block; width: 13px; height: 13px; }
.topbar__social a:hover { color: #9c9c9c; }

.header {
  position: relative;
  display: flex;
  align-items: center;
  height: 136px;
  margin-top: 10px;
  padding: 0 29px 0 39px;
  border: 1px solid #454545;
  border-radius: 25px;
}
.site-header--overlay .header { margin-top: 0; border-color: #1a1a1a; }
.header__logo { flex: none; display: block; }
.header__logo img { display: block; width: 185px; height: 66px; }
.header__nav { flex: 1; display: flex; justify-content: center; gap: 2px; margin: 0 43px 0 40px; }
.header__nav a {
  padding: 0 21px;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 40px;
  text-transform: uppercase;
  transition: background-color .2s linear;
}
.header__nav a:hover, .header__nav a.is-active { background: #1f1f1f; }

.btn-call {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 188px;
  height: 61px;
  border-radius: 9999px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: uppercase;
  isolation: isolate;
}
.btn-call::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 2px;
  border-radius: inherit;
  background: var(--grad-teal);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.btn-call:hover::before { padding: 31px; }
.btn-call:hover { color: #111; }

.header__toggle { display: none; position: relative; width: 34px; height: 31px; margin-left: auto; padding: 0; border: 0; background: none; }
.header__toggle span { position: absolute; right: 4px; width: 26px; height: 2px; background: #fff; }
.header__toggle span:nth-child(1) { top: 8px; }
.header__toggle span:nth-child(2) { top: 14px; }
.header__toggle span:nth-child(3) { top: 20px; width: 10px; }

/* Sticky state: the header detaches once the page scrolls past it. */
.site-header.is-sticky { min-height: var(--header-height); }
.site-header.is-sticky .header {
  position: fixed;
  top: 0;
  left: 20px;
  right: 20px;
  z-index: 1000;
  height: 110px;
  margin: 0;
  padding: 0 39px;
  border: 0;
  border-radius: 0 0 25px 25px;
  background: #202020;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .13);
  animation: header-drop .45s ease both;
}
.site-header.is-sticky .topbar { visibility: hidden; }
@keyframes header-drop { from { transform: translateY(-100%); } }

@media (max-width: 1364px) {
  .site-header { padding: 0; }
  .topbar, .header__nav, .header .btn-call { display: none; }
  .header { height: 98px; margin: 0; padding: 0 20px; border: 0; border-radius: 0; }
  .header__toggle { display: block; margin-right: -4px; }
  .site-header.is-sticky .header { left: 0; right: 0; height: 98px; padding: 0 20px; border-radius: 0; }
}

/* 5. Mobile menu --------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(460px, 90vw);
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 80px 40px 40px;
  border: 0;
  background: #202020;
  color: #fff;
  overflow-y: auto;
}
.mobile-menu::backdrop { background: rgba(0, 0, 0, .7); }
.mobile-menu nav a { display: block; padding: 12px 0; font-size: 24px; font-weight: 600; line-height: 1.4; }
.mobile-menu nav a:hover { color: var(--teal); }
.mobile-menu__close {
  position: absolute;
  top: 22px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #2c2c2c;
  color: #fff;
}
.mobile-menu__close .icon { width: 16px; height: 16px; }
.mobile-menu__contacts { display: grid; margin: 40px 0 32px; padding-top: 30px; border-top: 1px solid #454545; font-size: 15px; font-weight: 600; }
.mobile-menu__title { margin-bottom: 8px; color: #958c8c; font-size: 12px; font-weight: 700; text-transform: uppercase; }

/* 6. Footer -------------------------------------------------------------- */
.footer {
  position: relative;
  z-index: 5;
  overflow: hidden;
  isolation: isolate;
  padding-top: 130px;
  background: #18191b;
  color: #9e9fa0;
  font-size: 18px;
  line-height: 1.8;
}
.footer::before, .footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 261px;
  height: 261px;
  filter: blur(80px);
  pointer-events: none;
}
.footer::before { top: -150px; left: -150px; background: rgba(155, 254, 79, .5); }
.footer::after { right: -150px; bottom: -150px; background: rgba(202, 186, 231, .6); }
.footer a { transition: color .25s; }
.footer p { line-height: 1.875; }
.footer__inner { max-width: 1290px; margin-inline: auto; padding-inline: 20px; }
.footer__grid { display: grid; grid-template-columns: 4fr 3fr 5fr; gap: 40px; padding-bottom: 80px; }
.footer__logo { display: inline-block; margin-bottom: 25px; }
.footer__logo img { display: block; width: 185px; }
.footer__tagline { max-width: 383px; margin-bottom: 28px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  transition: color .25s, background-color .25s, border-color .25s, transform .25s;
}
.footer__social .icon { width: 20px; height: 20px; }
.footer__social a:hover { color: #0f1011; background: var(--teal); border-color: var(--teal); transform: translateY(-3px); }
.footer__title { margin-bottom: 1em; color: #fff; font-size: 24px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.footer__contact p { margin-bottom: 25px; }
.footer__contact p:last-child { margin-bottom: 0; }
.footer__contact a:hover { color: var(--teal); }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer__links li { margin-bottom: 13px; }
.footer__links li:last-child { margin-bottom: 0; }
.footer__links a { position: relative; display: inline-block; }
.footer__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--teal); transition: width .3s; }
.footer__links a:hover { color: var(--teal); }
.footer__links a:hover::after { width: 100%; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 17px; line-height: 1.875; }
.footer__bottom .footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 30px; padding-block: 26px; }
.footer__bottom p a { color: #fff; }
.footer__bottom a:hover { color: var(--teal); }

/* 7. Floating buttons ---------------------------------------------------- */
.whatsapp { position: fixed; right: 30px; bottom: 80px; z-index: 9999; display: flex; align-items: center; gap: 8px; }
.whatsapp span { padding: 10px; border-radius: 4px; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .13); color: #222; font: 12px/1.15 Arial, sans-serif; }
.whatsapp .icon { width: 80px; height: 80px; padding: 12px; border-radius: 50%; background: #2ac44a; box-shadow: 0 2px 12px rgba(0, 0, 0, .13); fill: #fff; }

.to-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 999;
  display: grid;
  place-items: center;
  width: 50px;
  height: 70px;
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: var(--teal);
  color: #111;
  transform: translateY(calc(100% + 20px));
  transition: transform .3s;
}
.to-top.is-visible { transform: none; }
.to-top .icon { width: 10px; height: 6px; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .footer__grid > * { animation: footer-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}
@keyframes footer-reveal { from { opacity: 0; transform: translateY(45px); } }

@media (max-width: 991px) {
  .footer { padding-top: 90px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 30px; padding-bottom: 55px; }
  .footer__links { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .whatsapp { right: 20px; bottom: 24px; }
  .whatsapp span { display: none; }
}
@media (max-width: 575px) {
  .footer { padding-top: 70px; font-size: 17px; }
  .footer::before, .footer::after { display: none; }
  .footer__title { font-size: 21px; }
  .footer__logo img { width: 170px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom .footer__inner { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 8. Shared components --------------------------------------------------- */

/* Theme list style: small ↘ arrow before each item. */
.arrow-list > li { position: relative; padding-left: 2.125em; }
.arrow-list > li::before {
  content: "";
  position: absolute;
  top: .625em;
  left: 0;
  width: .625em;
  height: .625em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cpath transform='matrix(1 0 0 -1 0 850)' d='M46 850a46 46 0 0 1-33-13 46 46 0 0 1 0-65l832-831h-496a46 46 0 0 1-46-46 46 46 0 0 1 46-45h606a46 46 0 0 1 32 13 46 46 0 0 1 13 32v607a46 46 0 0 1-45 45 46 46 0 0 1-46-45v-497l-831 832a46 46 0 0 1-32 13z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cpath transform='matrix(1 0 0 -1 0 850)' d='M46 850a46 46 0 0 1-33-13 46 46 0 0 1 0-65l832-831h-496a46 46 0 0 1-46-46 46 46 0 0 1 46-45h606a46 46 0 0 1 32 13 46 46 0 0 1 13 32v607a46 46 0 0 1-45 45 46 46 0 0 1-46-45v-497l-831 832a46 46 0 0 1-32 13z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Page banner: rounded image panel with notched corners and breadcrumb tab.
   Markup: .page-banner > h1 + [.page-banner__outline] + nav.page-banner__crumbs */
@font-face { font-family: "Manrope Alt"; font-weight: 700; font-display: swap; src: url(../fonts/manrope-alt-700.ttf) format("truetype"); }
.page-banner {
  --notch: #1f1f1f;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
  margin: 21px 20px 0;
  padding: 70px 20px;
  overflow: hidden;
  border-radius: 25px;
  background: #171717 url(../img/page-banner.jpg) center / cover no-repeat;
  color: #fff;
  font-size: 30px;
}
.page-banner h1 { font-size: 1em; line-height: 1.125; letter-spacing: -.03em; text-align: center; overflow-wrap: break-word; }
.page-banner h1::before { content: "/ "; white-space: pre; }
.page-banner h1::after { content: " /"; white-space: pre; }
.page-banner__outline {
  display: none;
  position: absolute;
  right: 120px;
  bottom: 20px;
  font: 700 1em/.75em "Manrope Alt", Arial, Helvetica, sans-serif;
  letter-spacing: -.03em;
  white-space: nowrap;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px currentColor;
  transform-origin: right bottom;
  transform: rotate(-90deg) translateX(100%);
}
.page-banner__crumbs {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 100%;
  padding: 15px 30px 16px 38px;
  border-radius: 0 25px 0 23px;
  background: var(--notch);
  font-size: 14px;
  font-weight: 600;
  line-height: 27px;
  white-space: nowrap;
}
.page-banner__crumbs a { position: relative; display: inline-block; }
.page-banner__crumbs a::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: currentColor; }
.page-banner__crumbs a:hover { color: var(--teal); }
.page-banner__crumbs span { margin: 0 3px; color: #c5c5c5; }
/* Inverse rounded corners around the notches, drawn with offset shadows. */
.page-banner__crumbs::before, .page-banner__crumbs::after,
.page-banner::before, .page-banner::after { content: ""; position: absolute; width: 20px; height: 40px; }
.page-banner__crumbs::before { left: 0; top: -40px; border-bottom-left-radius: 20px; box-shadow: 0 20px 0 0 var(--notch); }
.page-banner__crumbs::after { right: -20px; bottom: 0; border-bottom-left-radius: 20px; box-shadow: 0 20px 0 0 var(--notch); }
.page-banner::before, .page-banner::after { display: none; }

@media (min-width: 576px) { .page-banner { font-size: 45px; } }
@media (min-width: 768px) { .page-banner { min-height: 400px; padding-inline: 30px; font-size: 50px; } }
@media (min-width: 992px) {
  .page-banner { min-height: 540px; padding-inline: 110px; font-size: 60px; }
  .page-banner--outline { padding-inline: 180px; }
  .page-banner__outline { display: block; }
  .page-banner__crumbs { padding: 35px 82px 26px; }
  /* Top-left and bottom-right notches */
  .page-banner::before, .page-banner::after { display: block; width: auto; height: auto; background: var(--notch); }
  .page-banner::before { top: 0; left: 0; width: 102px; height: 65px; border-radius: 23px 0 25px; box-shadow: none; }
  .page-banner::after { right: 0; bottom: 0; width: 90px; height: 14.21vw; border-radius: 25px 0 23px; }
  .page-banner__notch { position: absolute; width: 20px; height: 40px; }
  .page-banner__notch--tl-a { top: 65px; left: 0; border-top-left-radius: 20px; box-shadow: 0 -20px 0 0 var(--notch); }
  .page-banner__notch--tl-b { top: 0; left: 102px; border-top-left-radius: 20px; box-shadow: 0 -20px 0 0 var(--notch); }
  .page-banner__notch--br-a { right: 90px; bottom: 0; border-bottom-right-radius: 20px; box-shadow: 0 20px 0 0 var(--notch); }
  .page-banner__notch--br-b { right: 0; bottom: 14.21vw; border-bottom-right-radius: 20px; box-shadow: 0 20px 0 0 var(--notch); }
}
@media (max-width: 991px) { .page-banner__notch { display: none; } }
@media (min-width: 1440px) {
  .page-banner { font-size: 80px; }
  .page-banner--outline { padding-inline: 220px; }
  .page-banner__outline { font-size: 1.25em; }
}
@media (min-width: 1830px) { .page-banner, .page-banner--outline { padding-inline: 40px; } }

/* Section title with gradient word: <h2 class="section-title">Online <span>Courses</span></h2> */
.section-title {
  padding-inline: 20px;
  color: #fff;
  font-size: 60px;
  line-height: 70px;
  letter-spacing: -.05em;
  text-align: center;
}
.section-title span { background: var(--grad-purple); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 767px) { .section-title { font-size: 32px; line-height: 40px; } }

/* Tilted gradient band with scrolling text */
.marquee {
  display: flex;
  overflow: hidden;
  margin-inline: -5px;
  padding: 42px 0;
  background: linear-gradient(92deg, #45d0bd 0%, #44b6e9 100%);
  transform: rotate(-2.07deg);
}
.marquee span {
  flex: none;
  color: #fff;
  font: 400 60px/1 var(--font-heading);
  letter-spacing: -.03em;
  white-space: pre;
  animation: marquee 28s linear infinite;
}
.marquee:hover span { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Course cards: image link + "Learn More" button */
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; row-gap: 60px; max-width: 1340px; margin-inline: auto; }
.course-card { padding: 10px; }
.course-card > a:first-child { display: block; }
.course-card img { display: block; width: 100%; }
.course-card .btn-outline { margin-top: 20px; }
.course-grid--online-last { margin-top: 61px; }
.course-grid--rounded { column-gap: 24px; }
.course-grid--rounded .course-card { padding: 12px; }
.course-grid--rounded img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
@media (max-width: 767px) {
  .course-grid { grid-template-columns: 1fr; row-gap: 0; }
  .course-grid--rounded { row-gap: 24px; }
  .course-grid--online-last { margin-top: 0; }
  .course-grid--online .course-card:nth-child(3n) { margin-bottom: 60px; }
}

/* Single trainer spotlight used on course pages:
   <section class="speaker"><article class="speaker__card"><h2>…</h2><img><h3>…</h3><p>…</p></article></section> */
.speaker { padding: 56px 24px; background: #142238; color: #e8f0f7; }
.speaker__card {
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  padding: 24px;
  border: 1px solid rgba(105, 131, 156, .333);
  border-radius: 18px;
  background: #22344c;
  text-align: center;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.speaker__card h2 { margin-bottom: 14px; font-size: 42px; line-height: 49px; letter-spacing: -.05em; }
.speaker__card h2 span { background: var(--grad-purple); -webkit-background-clip: text; background-clip: text; color: transparent; }
.speaker__card img { display: block; width: 300px; height: 300px; margin-inline: auto; border-radius: 12px; object-fit: cover; object-position: center 25%; }
.speaker__card h3 { margin: 27px 0 10px; color: #97e9d4; font-size: 23px; font-weight: 900; line-height: 1.4; letter-spacing: -.05em; }
.speaker__card p { color: #e2eaf4; font-size: 17px; font-weight: 300; line-height: 1.8; letter-spacing: 2.2px; text-transform: uppercase; }
@media (hover: hover) and (pointer: fine) {
  .speaker__card:hover { border-color: #83e5ce; box-shadow: 0 12px 28px rgba(0, 0, 0, .2), 0 0 0 1px rgba(131, 229, 206, .27); transform: translateY(-4px); }
}
@media (max-width: 767px) {
  .speaker { padding: 44px 20px; }
  .speaker__card h2 { font-size: 30px; line-height: 37.5px; }
  .speaker__card img { width: calc(100% - 28px); height: auto; aspect-ratio: 1; }
}

/* Single trainer profile: photo on the left, details on the right */
.trainer-profile { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: center; gap: 44px; max-width: 900px; margin-inline: auto; padding: 32px; border: 1px solid rgba(105, 131, 156, .333); border-radius: 22px; background: linear-gradient(135deg, #22344c, #1a2a40); transition: border-color .25s, box-shadow .25s; }
.trainer-profile img { display: block; width: 100%; aspect-ratio: 1; border-radius: 16px; object-fit: cover; object-position: center 25%; }
.trainer-profile__eyebrow { display: inline-block; margin-bottom: 14px; background: var(--grad-purple); -webkit-background-clip: text; background-clip: text; color: transparent; font: 600 15px/1.4 var(--font-heading); letter-spacing: 2.5px; text-transform: uppercase; }
.trainer-profile h2 { color: #97e9d4; font-size: clamp(28px, 3vw, 38px); font-weight: 600; line-height: 1.15; letter-spacing: -1px; }
.trainer-profile__degree { margin-top: 8px; color: #fcdb66; font-size: 16px; font-weight: 700; letter-spacing: 1.5px; }
.trainer-profile__roles { display: grid; gap: 12px; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.trainer-profile__roles li { position: relative; padding-left: 22px; color: #e2eaf4; font-size: 17px; line-height: 1.55; }
.trainer-profile__roles li::before { content: ""; position: absolute; top: 10px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #77e5d1; }
@media (hover: hover) and (pointer: fine) {
  .trainer-profile:hover { border-color: #83e5ce; box-shadow: 0 12px 28px rgba(0, 0, 0, .2); }
}
@media (max-width: 767px) {
  .trainer-profile { grid-template-columns: 1fr; gap: 24px; padding: 22px; text-align: center; }
  .trainer-profile img { max-width: 280px; margin-inline: auto; }
  .trainer-profile__roles { text-align: left; }
}

/* Plain (untilted, transparent) scrolling tagline */
.marquee--plain { margin: 0; padding: 50px 0; background: none; transform: none; }
.marquee--plain span { color: #fff9f9; font-size: 57px; line-height: 57px; letter-spacing: -1.71px; }

/* Dotted accent divider: three dots and a short bar */
.dot-divider { position: relative; display: block; width: 100px; height: 4px; margin-left: 27px; border-radius: 2px; background: #2575fc; }
.dot-divider::before { content: ""; position: absolute; top: 0; left: -27px; width: 4px; height: 4px; border-radius: 50%; background: #0c5adb; box-shadow: 8px 0 #0c5adb, 16px 0 #0c5adb; }

/* Limited-time offer block: offer image, GST note, red "Buy Now" button */
.offer-block { position: relative; isolation: isolate; padding: 171px 10px 130px; background-position: center; background-size: cover; text-align: center; }
.offer-block img { display: block; width: 425px; margin-inline: auto; box-shadow: 0 0 10px rgba(0, 0, 0, .5); }
.offer-block p { margin: 20px 0 30px; color: #fff; font: 600 24px/28px Roboto, sans-serif; letter-spacing: -1.2px; }
.offer-block__button { display: inline-block; padding: 12px 24px; border-radius: 17px; background: #ee2d2d; color: #fff; font: 400 37px/37px Roboto, sans-serif; }
@media (max-width: 767px) {
  .offer-block p { line-height: 30px; }
  .offer-block img { width: 315px; }
}

/* Speaker section intro and multi-trainer grid */
.speaker__intro { max-width: 760px; margin: 5px auto 25px; text-align: center; }
.speaker__intro h2 { margin-bottom: 14px; color: #fff; font-size: 42px; line-height: 49px; letter-spacing: -.05em; }
.speaker__intro p { color: #e2eaf4; font-size: 18px; line-height: 1.8; }
.speaker__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; max-width: 1280px; margin-inline: auto; }
.speaker__grid .speaker__card { margin: 0; }

/* Two or more trainer cards */
.speaker--team { padding-block: 64px 69px; }
.speaker__heading { margin: 5px 0 32px; color: #fff; font: 600 42px/49px "Roboto Flex", sans-serif; letter-spacing: -.05em; text-align: center; }
.speaker--team .speaker__grid { align-items: flex-start; margin-top: 96px; }
.speaker--team .speaker__card { max-width: 431px; min-height: 526px; }
.speaker--team .speaker__card img { width: calc(100% - 46px); }
.speaker--team .speaker__card h3 { margin-top: 42px; }
.speaker--team .speaker__card + .speaker__card { min-height: 534px; margin-top: -8px; }
.speaker--team .speaker__card + .speaker__card img { width: calc(100% - 37px); }
.speaker--team .speaker__card + .speaker__card h3 { margin-top: 27px; }
@media (max-width: 767px) {
  .speaker--team { padding-block: 44px 49px; }
  .speaker__heading { font-size: 30px; line-height: 37.5px; }
  .speaker--team .speaker__card { max-width: 340px; min-height: 511px; }
  .speaker--team .speaker__card img { width: 255px; }
  .speaker--team .speaker__card + .speaker__card { min-height: 505px; }
  .speaker--team .speaker__card + .speaker__card img { width: 264px; }
}

/* Image lightbox (gallery, upcoming sessions) */
.lightbox { max-width: 94vw; max-height: 95dvh; padding: 16px; border: 0; background: #141414; color: #fff; }
.lightbox::backdrop { background: rgba(0, 0, 0, .73); }
.lightbox img { display: block; max-width: 85vw; max-height: 77dvh; margin: auto; object-fit: contain; }
.lightbox header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 12px; }
.lightbox footer { display: flex; justify-content: center; gap: 24px; margin-top: 12px; }
.lightbox button { border: 0; background: #ef6267; color: #fff; }
.lightbox__close { width: 44px; height: 44px; border-radius: 50%; font-size: 28px; }
.lightbox footer button { padding: 10px 20px; border-radius: 8px; }

/* Page title banner (Contact Us, Privacy Policy) */
.title-banner { position: relative; isolation: isolate; padding: 70px 32px 65px; border-bottom: 1px solid rgba(255, 255, 255, .07); background: radial-gradient(ellipse at 75% 10%, rgba(36, 85, 87, .5), transparent 60%), radial-gradient(ellipse at 20% 90%, rgba(52, 53, 91, .5), transparent 60%), #111921; color: #fff; text-align: center; }
.title-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 45%, rgba(255, 255, 255, .01) 45%, rgba(255, 255, 255, .01) 46%, transparent 46%); }
.title-banner__label { display: block; margin-bottom: 22px; color: #ffe066; font-size: 12px; font-weight: 600; letter-spacing: 2px; }
.title-banner h1 { font-size: clamp(48px, 5.5vw, 78px); font-weight: 500; line-height: 1.13; letter-spacing: -2.5px; }
.title-banner__crumbs { display: flex; justify-content: center; gap: 18px; margin-top: 25px; font-size: 15px; }
.title-banner__crumbs [aria-current] { color: #ffe066; }
@media (max-width: 767px) { .title-banner { padding: 50px 20px; } }
