/*
Theme Name: Dental Guru Kazakhstan
Author: Dental Guru
Description: Адаптивная тема лендинга Dental Guru Kazakhstan с курсами, услугами и формой обратного звонка.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: dental-guru
*/

:root {
  --cyan: #00ADE1;
  --cyan-dark: #009bc8;
  --ink: #23282d;
  --muted: #66727a;
  --line: #dce3e7;
  --pale: #eafaff;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: auto;
}

.site-header {
  height: 90px;
  box-shadow: 0 10px 35px rgb(19 97 122 / 10%);
  border-bottom: 1px solid #c6eff9;
  background: #fff;
  display: flex;
  align-items: center;
  position: static;
  top: 0;
  z-index: 20;
}

/* Two permanent course products */
.course-grid--products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 940px;
  gap: 34px;
  margin: 0 auto;
}

.course-grid--products .course-card {
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.course-grid--products .course-card:hover {
  border-color: rgb(0 173 225 / 42%);
  box-shadow: 0 20px 50px rgb(20 75 92 / 13%);
  transform: translateY(-5px);
}

.course-grid--products .course-card img {
  background: linear-gradient(145deg, #effcff, #c9f5ff);
}

.course-grid--products .course-card--expert img {
  background: linear-gradient(145deg, #152b34, #00ade1);
}

.course-grid--products .course-card p {
  min-height: 42px;
  margin: 0 0 18px;
  color: var(--muted);
}

.course-grid--products .course-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.course-grid--products .course-card footer b {
  color: var(--cyan-dark);
  font-size: 23px;
}

/* Individual course pages */
.course-detail-page {
  background: #fff;
}

.course-detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  padding: 72px 0 112px;
  background: linear-gradient(135deg, #f7fdff 0%, #e7faff 58%, #c9f4ff 100%);
}

.course-detail--expert .course-detail-hero {
  background: linear-gradient(130deg, #112835 0%, #1f4755 62%, #087f9e 100%);
  color: #fff;
}

.course-detail-glow {
  position: absolute;
  top: -220px;
  right: -140px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(97 223 255 / 42%) 0%, rgb(0 173 225 / 0%) 70%);
  pointer-events: none;
}

.course-detail-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .8fr);
  gap: 70px;
  align-items: center;
}

.course-back-link {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--cyan-dark);
  font-size: 14px;
  font-weight: 700;
}

.course-detail--expert .course-back-link,
.course-detail--expert .course-detail-hero .eyebrow {
  color: #69dcfa;
}

.course-detail-hero .eyebrow {
  margin-bottom: 16px;
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
}

.course-detail-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(48px, 5.8vw, 78px);
  line-height: 1.02;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.course-detail-subtitle {
  max-width: 690px;
  margin: 26px 0 0;
  color: #53646c;
  font-size: 19px;
  line-height: 1.55;
}

.course-detail--expert .course-detail-subtitle {
  color: rgb(255 255 255 / 72%);
}

.course-detail-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 34px;
}

.course-detail-actions .btn {
  min-height: 54px;
  padding-inline: 30px;
}

.course-detail-price small,
.course-detail-price b {
  display: block;
}

.course-detail-price small {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.course-detail-price b {
  margin-top: 2px;
  color: var(--cyan-dark);
  font-size: 27px;
}

.course-detail--expert .course-detail-price small {
  color: rgb(255 255 255 / 55%);
}

.course-detail--expert .course-detail-price b {
  color: #69dcfa;
}

.course-hero-points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.course-hero-points li {
  padding: 9px 13px;
  border: 1px solid rgb(0 173 225 / 18%);
  border-radius: 999px;
  background: rgb(255 255 255 / 58%);
  color: #3d515a;
  font-size: 12px;
  font-weight: 700;
}

.course-detail--expert .course-hero-points li {
  border-color: rgb(255 255 255 / 14%);
  background: rgb(255 255 255 / 7%);
  color: rgb(255 255 255 / 78%);
}

.course-detail-hero-visual {
  position: relative;
}

.course-detail-implant-scene {
  position: relative;
  display: grid;
  min-height: 455px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 64%);
  border-radius: 34px;
  place-items: center;
  background: linear-gradient(145deg, rgb(255 255 255 / 78%), rgb(165 235 252 / 36%));
  box-shadow: 0 34px 80px rgb(26 104 127 / 19%);
  backdrop-filter: blur(12px);
}

.course-detail--expert .course-detail-implant-scene {
  border-color: rgb(255 255 255 / 16%);
  background: linear-gradient(145deg, rgb(255 255 255 / 10%), rgb(0 173 225 / 12%));
  box-shadow: 0 34px 80px rgb(0 0 0 / 28%);
}

.course-detail-implant-scene img {
  position: relative;
  z-index: 1;
  width: 92%;
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgb(16 71 87 / 20%));
}

.course-detail-rings,
.course-detail-rings i {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 1px solid rgb(0 173 225 / 20%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.course-detail-rings {
  width: 320px;
  height: 320px;
}

.course-detail-rings i:nth-child(1) { width: 210px; height: 210px; }
.course-detail-rings i:nth-child(2) { width: 440px; height: 440px; }
.course-detail-rings i:nth-child(3) { width: 560px; height: 560px; }

.course-detail-level {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  padding: 9px 13px;
  border-radius: 10px;
  background: #fff;
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgb(16 71 87 / 12%);
}

.course-detail-audience {
  position: absolute;
  z-index: 3;
  right: -18px;
  bottom: -64px;
  width: min(90%, 390px);
  padding: 20px 23px;
  border-radius: 17px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 48px rgb(17 69 84 / 20%);
}

.course-detail-audience small {
  color: var(--cyan-dark);
  font-weight: 800;
  text-transform: uppercase;
}

.course-detail-audience p {
  margin: 5px 0 0;
  color: #53646c;
  font-size: 13px;
}

.course-detail-stats {
  margin-top: -42px;
}

.course-detail-outcomes {
  padding-top: 96px;
}

.course-detail-program {
  background: #f6fbfd;
}

.course-module-list {
  display: grid;
  gap: 14px;
}

.course-module {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(20 75 92 / 4%);
}

.course-module summary {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 44px;
  gap: 24px;
  align-items: center;
  padding: 25px 28px;
  cursor: pointer;
  list-style: none;
}

.course-module summary::-webkit-details-marker {
  display: none;
}

.course-module-day {
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.course-module-heading b,
.course-module-heading small {
  display: block;
}

.course-module-heading b {
  font-size: 21px;
}

.course-module-heading small {
  margin-top: 4px;
  color: var(--muted);
}

.course-module-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--pale);
}

.course-module-toggle::before,
.course-module-toggle::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 12px;
  width: 16px;
  height: 2px;
  background: var(--cyan-dark);
}

.course-module-toggle::after {
  transform: rotate(90deg);
  transition: transform .2s ease;
}

.course-module[open] .course-module-toggle::after {
  transform: rotate(0);
}

.course-module-content {
  padding: 0 28px 28px 142px;
}

.course-module-content ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 30px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.course-module-content li {
  position: relative;
  padding-left: 20px;
  color: #4c5d65;
  font-size: 14px;
}

.course-module-content li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.course-practice-band {
  padding: 70px 0;
  background: #182126;
  color: #fff;
}

.course-practice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 80px;
  align-items: center;
}

.course-practice-grid .eyebrow {
  margin-bottom: 12px;
  color: #68dcfa;
}

.course-practice-grid h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.05;
  text-transform: uppercase;
}

.course-practice-grid div > p:last-child {
  max-width: 660px;
  color: rgb(255 255 255 / 66%);
  font-size: 17px;
}

.course-practice-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-practice-grid li {
  position: relative;
  padding: 15px 0 15px 34px;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  color: rgb(255 255 255 / 82%);
}

.course-practice-grid li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: #68dcfa;
  font-weight: 800;
}

.course-other-section {
  padding: 34px 0;
  background: var(--pale);
}

.course-other-card {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding: 30px 36px;
  border: 1px solid rgb(0 173 225 / 18%);
  border-radius: 22px;
  background: #fff;
}

.course-other-card small {
  color: var(--cyan-dark);
  font-weight: 800;
  text-transform: uppercase;
}

.course-other-card h2 {
  margin: 5px 0 0;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.08;
}

.course-registration-summary {
  display: grid;
  max-width: 600px;
  grid-template-columns: 1fr auto;
  gap: 5px 20px;
  margin-top: 28px;
  padding: 20px;
  border-radius: 15px;
  background: var(--pale);
}

.course-registration-summary span {
  color: var(--cyan-dark);
  font-weight: 800;
}

.course-registration-summary b {
  color: var(--cyan-dark);
  font-size: 20px;
}

.course-registration-summary small {
  grid-column: 1 / -1;
  color: var(--muted);
}

@media (max-width: 1020px) {
  .course-detail-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr);
    gap: 35px;
  }

  .course-detail-hero h1 {
    font-size: clamp(43px, 6vw, 62px);
  }

  .course-detail-implant-scene {
    min-height: 390px;
  }

  .course-detail-audience {
    right: 0;
  }

  .course-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-expert-card {
    grid-template-columns: 1fr 320px;
  }
}

@media (max-width: 760px) {
  .course-grid--products,
  .course-detail-hero-grid,
  .course-practice-grid,
  .course-module-content ul {
    grid-template-columns: 1fr;
  }

  .course-grid--products {
    gap: 18px;
  }

  .course-grid--products .course-card p {
    min-height: 0;
  }

  .course-detail-hero {
    min-height: 0;
    padding: 48px 0 94px;
  }

  .course-detail-hero-grid {
    gap: 46px;
  }

  .course-back-link {
    margin-bottom: 24px;
  }

  .course-detail-hero h1 {
    font-size: clamp(40px, 12vw, 57px);
  }

  .course-detail-subtitle {
    font-size: 16px;
  }

  .course-detail-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .course-detail-implant-scene {
    min-height: 340px;
  }

  .course-detail-audience {
    bottom: -35px;
  }

  .course-detail-stats {
    margin-top: -25px;
  }

  .course-detail-outcomes {
    padding-top: 78px;
  }

  .course-module summary {
    grid-template-columns: 1fr 40px;
    gap: 12px;
    padding: 21px;
  }

  .course-module-day {
    grid-column: 1 / -1;
  }

  .course-module-toggle {
    grid-column: 2;
    grid-row: 2;
  }

  .course-module-content {
    padding: 0 21px 24px;
  }

  .course-practice-band {
    padding: 55px 0;
  }

  .course-practice-grid {
    gap: 30px;
  }

  .course-other-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .course-shell {
    padding: 10px;
  }

  .course-grid--products .course-card {
    padding: 14px;
  }

  .course-detail-hero-visual {
    margin-inline: -4px;
  }

  .course-detail-implant-scene {
    min-height: 300px;
    border-radius: 24px;
  }

  .course-detail-audience {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 22px);
    margin: -26px auto 0;
  }

  .course-benefit-grid {
    grid-template-columns: 1fr;
  }

  .course-benefit-grid article {
    padding: 23px;
  }

  .course-other-card,
  .course-application-card {
    padding: 24px;
  }

  .course-other-card .btn {
    width: 100%;
  }
}

/* Bitrix popup forms opened by buttons on the homepage. */
.b24-form-popup .b24-form-wrapper,
.b24-window-popup .b24-form-wrapper {
  overflow: hidden !important;
  border: 1px solid rgb(0 173 225 / 12%) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 30px 90px rgb(12 52 64 / 24%) !important;
}

.b24-form-popup .b24-form-header,
.b24-window-popup .b24-form-header {
  padding-bottom: 18px !important;
  background: linear-gradient(180deg, #f0fbfe, #fff) !important;
}

.b24-form-popup .b24-form-header-title,
.b24-window-popup .b24-form-header-title {
  color: var(--ink) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 25px !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
}

.b24-form-popup .b24-form-control,
.b24-window-popup .b24-form-control {
  min-height: 54px !important;
  border: 1px solid #dce6e9 !important;
  border-radius: 12px !important;
  background: #f7fafb !important;
  color: var(--ink) !important;
  font-family: Inter, Arial, sans-serif !important;
  box-shadow: none !important;
}

.b24-form-popup .b24-form-control:focus,
.b24-window-popup .b24-form-control:focus {
  border-color: var(--cyan) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgb(0 173 225 / 11%) !important;
}

.b24-form-popup .b24-form-btn,
.b24-window-popup .b24-form-btn {
  min-height: 54px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #00ade1, #00c4e7) !important;
  color: #fff !important;
  font-family: Inter, Arial, sans-serif !important;
  font-weight: 700 !important;
  box-shadow: 0 12px 24px rgb(0 173 225 / 22%) !important;
}


.admin-bar .site-header {
  top: 32px;
}




.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: grid;
  color: #17252c;
}
.logo .logo-img{
    width: 190px;
    height: 65px;
    background-size: contain;
}
.logo span {
  grid-row: 1/3;
  font-size: 28px;
  color: var(--cyan);
}

.logo b {
  font-size: 16px;
}

.logo small {
  font-size: 7px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 72px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.main-nav-list {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav-list li {
  display: contents;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}

.menu-toggle i {
  display: block;
  width: 24px;
  height: 2px;
  background: #222;
  margin: 5px;
}
.hero-gradient{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(90deg, #ffffff00 0%, #36d0ff70);
}
.hero {
  
  padding: 54px 0 42px;
  position: relative;
  min-height: 60vh;
}
.hero::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 500px);
    height: 100%;
    z-index: 0;
    background: linear-gradient(90deg, #ffffff 60%, #ffffff00);
}
.hero::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(0deg, #ffffff00 90%, #98eaff40);
}
.hero-grid {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 385px;
}

.eyebrow {
  text-transform: uppercase;
  margin: 0 0 20px;
}

.hero h1 {
  font-size: 4em;
  line-height: 1.02;
  margin: 0 0 18px;
  letter-spacing: -1.5px;
}

.hero h1 span,.title span {
  display: block;
  color: var(--cyan);
}

.hero-copy>p:not(.eyebrow) {
  margin: 0 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 12px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--cyan);
  color: #fff;
  font: 600 1em Inter;
  cursor: pointer;
  transition: .2s;
}

.btn:hover {
  background: var(--cyan-dark);
  transform: translateY(-1px);
}


.hero-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* background: linear-gradient(0deg, #ffffff 2%, #ffffff00 30%); */
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url(/wp-content/themes/dental-guru/assets/bg.jpg);
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
}
.hero-visual>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right;
}

.hero-stat {
    position: absolute;
    background: #00a8d34f;
    backdrop-filter: blur(3px);
    padding: 8px 28px;
    text-align: center;
    border-radius: 12px;
    line-height: 1;
    
}

.hero-stat b {
  font-size: 32px;
}

.hero-stat small {
  display: block;
  font-size: 14px;
  margin-top: 5px;
}

.hero-stat.clients {
  left: 4%;
  bottom: 14%;
  min-width: 170px;
  z-index: 10;
}

.hero-stat.years {
  right: -12%;
  top: 13%;
}

.section {
  padding: 54px 0;
}

.section-heading h2,.title,.doctor-card h2,.planning-card h2,.together h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: 42px;
  line-height: 1.12;
}

.section-heading p {
  max-width: 690px;
  margin: 24px 0 26px;
  font-size: 18px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.solution-grid a {
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
  padding: 17px;
  font-size: 24px;
}

.solution-grid b {
  display: block;
}

.solution-grid span {
  display: inline-block;
  margin-top: 4px;
  background: var(--cyan);
  color: #fff;
  border-radius: 8px;
  padding: 6px 28px;
  font-size: 16px;
  font-weight: 700;
}

.courses {
  padding-top: 24px;
}

.title span {
  display: inline;
  color: var(--cyan);
}

.course-shell {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.course-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 18px;
}

.course-tabs button {
  border: 0;
  background: #EEE;
  padding: 12px 16px;
  font: 700 14px Inter;
  cursor: pointer;
  border-radius: 8px;
}

.course-tabs button.active {
  background: var(--cyan);
  color: #fff;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.course-card {
  min-width: 0;
  padding: 8px 0;
}

.course-card[hidden] {
  display: none;
}

.course-card .card-date-city{
    display: flex;
    justify-content: space-between;
}

.course-card em {
  font-size: 15px;
  color: var(--cyan);
  font-style: normal;
  font-weight: 700;
}

.course-card img {
  width: 100%;
  aspect-ratio: 6/2;
  object-fit: cover;
  border-radius: 10px;
  margin: 14px 0;
  border: 1px solid var(--line);
}

.course-card h3 {
    max-width: 90%;
  font-size: 1.35em;
  line-height: 1.2;
  margin: 0 0 9px;
}

.course-card p {
  font-size: 0.875em;
}

.course-card footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--cyan);
  font-size: 1.5em;
}

.course-card:hover .course-arrow {
  background-color: var(--cyan-dark);
}

.course-card footer .course-arrow {
  display: grid;
  cursor: pointer;
  outline: 0;
  border: 0;
  place-items: center;
  background-color: var(--cyan);
  background-image: url(assets/arrow.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 45%;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  transition: 200ms background-color;
}

.company {
  background: linear-gradient(115deg, #fff 55%, #caf6ff);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.stats div {
  background: var(--cyan);
  border-radius: 12px;
  color: #fff;
  text-align: center;
  padding: 12px;
}

.stats b {
  display: block;
  font-size: 36px;
  line-height: 1;
}

.stats small {
  font-size: 13px;
}

.feature-card,.doctor-card,.planning-card,.career-card,.contact-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.clinic-card {
  display: grid;
  grid-template-columns: 55% 45%;
}

.clinic-card>div {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.clinic-card h2 {
  font-size: 37px;
  text-transform: uppercase;
  margin: 0;
}

.clinic-card h3,.planning-card h3 {
  font-size: 19px;
  text-transform: uppercase;
  margin: 0px 0 25px;
}

.clinic-card p {
  color: #333;
  font-size: 14px;
  margin-top: 0;
}

.clinic-card img {
  width: calc(100% - 56px);
  height: calc(100% - 56px);
  margin: 28px;
  border-radius: 10px;
  min-height: 330px;
  object-fit: cover;
  aspect-ratio: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.service-grid article {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 20px;
}

.service-grid h3 {
  color: var(--cyan);
  text-transform: uppercase;
  margin: 0 0 10px;
  font-size: 26px;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.doctor-section {
  background: linear-gradient(270deg, #fff 65%, #d6f8ff);
}

.doctor-card {
  display: grid;
  grid-template-columns: 65% 35%;
  min-height: 455px;
}

.doctor-card>div {
  padding: 34px;
}

.doctor-card h3 {
  font-size: 16px;
  margin: 12px 0 12px;
  font-weight: 400;
}

.doctor-card p,.doctor-card li {
  font-size: 12px;
  color: var(--muted);
}

.doctor-card li::marker {
  color: var(--cyan);
}

.doctor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.impro {
  padding-top: 28px;
}

.impro-box {
  height: 360px;
  border-radius: 18px;
  background: linear-gradient(#0006, #0006), url('assets/hero-img.png') center/cover;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.impro-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgb(5 19 25 / 70%), rgb(3 28 37 / 42%));
  pointer-events: none;
}

.background-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.impro-box h2 {
  font-size: 28px;
  margin: 0;
}

.impro-box p {
  margin: 10px 0 52px;
}

.planning-card {
  display: grid;
  grid-template-columns: 65% 35%;
  padding: 32px;
}

.planning-card p {
  color: var(--muted);
  font-size: 13px;
}

.button-row {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.secondary {
  background: #25c9ed;
}

.book {
  margin: auto;
  width: 320px;
  height: 270px;
  background-image: url('assets/reki.png');
  background-size: contain;
  background-repeat: no-repeat;
}

.book i {
  display: block;
  width: 160px;
  height: 90px;
  margin: 30px auto 0;
  background: linear-gradient(120deg, #edc660, #9b7628);
  clip-path: polygon(0 60%, 14% 25%, 28% 65%, 42% 15%, 58% 66%, 72% 24%, 86% 63%, 100% 25%, 94% 100%, 6% 100%);
}

.reviews {
  background: linear-gradient(90deg, #fff 55%, #c9f5ff);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.review-grid blockquote {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: #fff;
}

.review-grid blockquote>p {
  min-height: 200px;
  font-size: 15px;
  margin-top: 0;
}

.review-grid footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-grid footer>span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #d9f6fc;
  color: var(--cyan);
  font-weight: 800;
  overflow: hidden;
}

.review-grid footer b {
  font-size: 14px;
  color: var(--cyan);
}

.review-grid footer small {
  display: block;
  color: #111;
  font-size: 13px;
  font-weight: 400;
}

.together p {
  color: var(--muted);
  max-width: 640px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.event-video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #10161b;
}

.event-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.brands {
  padding-top: 22px;
}

.brand-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 28px;
}

.brand-item {
  display: grid;
  min-width: 0;
  min-height: 122px;
  padding: 24px;
  place-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-item:nth-child(5n) {
  border-right: 0;
}

.brand-item:nth-child(n + 6) {
  border-bottom: 0;
}

.brand-item img {
  width: auto;
  max-width: 150px;
  height: auto;
  max-height: 66px;
  object-fit: contain;
}

.career-card {
  display: grid;
  grid-template-columns: 55% 45%;
  margin-top: 25px;
}

.career-card>div {
  padding: 28px;
}

.career-card h3 {
  font-size: 17px;
  text-transform: uppercase;
  margin-top: 0;
}

.career-card p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}

.career-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.contacts {
  background: linear-gradient(105deg, #fff 45%, #cef6ff);
}

.contact-card {
  display: grid;
  grid-template-columns: 58% 42%;
  padding: 28px;
}

.contact-card .contact-title {
  text-transform: uppercase;
  font-size: 25px;
  margin: 0;
}

.contact-card h3 {
  text-transform: uppercase;
  font-size: 14px;
}

.contact-card ul {
  padding-left: 17px;
  font-size: 12px;
  color: var(--muted);
}

.contact-card li::marker {
  color: var(--cyan);
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.contact-form h3 {
  margin-top: 0;
}

.contact-form label {
  font-size: 11px;
}

.contact-form input {
  width: 100%;
  height: 38px;
  margin: 7px 0 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 10px;
}

.contact-form small {
  margin-top: 10px;
  color: var(--muted);
}

.form-notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.form-notice--success {
  color: #12663d;
  background: #e5f8ee;
}

.form-notice--error {
  color: #8c2727;
  background: #fff0f0;
}

.footer {
  background: var(--cyan);
  color: #fff;
  padding: 42px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 70px;
  font-size: 12px;
}

.footer-grid b {
  text-transform: uppercase;
  padding-bottom: 6px;
  display: block;
}

.footer-grid p {
  opacity: .9;
  margin-top: 0;
}

.copyright {
  font-size: 10px;
  margin-top: 26px;
  opacity: .8;
}

@media(max-width:760px) {
    
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    height: 62px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 14px;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 10px 20px #0001;
  }

  .hero-gradient{
    display: none;
  }
  .logo .logo-img{
    width: 140px;
    height: 45px;
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 35px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-visual {
    height: 300px;
    margin-top: 20px;
  }

  .section {
    padding: 38px 0;
  }

  .solution-grid,.course-grid,.review-grid {
    grid-template-columns: 1fr;
  }

  .course-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    gap: 6px;
  }

  .stats b {
    font-size: 20px;
  }

  .clinic-card,.doctor-card,.planning-card,.career-card,.contact-card {
    grid-template-columns: 1fr;
  }

  .clinic-card>div,.doctor-card>div,.planning-card,.career-card>div,.contact-card {
    padding: 20px;
  }

  .doctor-card img {
    height: 430px;
    object-position: 50% 15%;
  }

  .planning-card {
    gap: 28px;
  }

  .book {
    width: 190px;
    height: 230px;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .career-card img {
    height: 240px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .section-heading h2,.title,.doctor-card h2,.planning-card h2,.together h2 {
    font-size: 23px;
  }
}

/* Visual normalization: one scale for type, spacing and surfaces */
:root {
  --ink: #182126;
  --muted: #5f6d75;
  --line: #d8e3e8;
  --surface: #fff;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px rgb(20 75 92 / 8%);
  --container: 1240px;
}

body {
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgb(0 173 225 / 28%);
  outline-offset: 3px;
}



.logo .logo-img {
  width: 185px;
  height: 58px;
  background-repeat: no-repeat;
  background-position: left center;
}

.main-nav {
  gap: clamp(30px, 4vw, 68px);
  font-size: 15px;
  z-index: 3;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  min-height: 650px;
  padding: 78px 0 70px;
}

.hero-grid {
  grid-template-columns: minmax(0, .8fr) minmax(520px, 1.1fr);
  min-height: 500px;
  align-items: center;
  row-gap: 30px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin-bottom: 24px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .04em;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(54px, 5.15vw, 76px);
  line-height: .98;
  letter-spacing: -.045em;
}

.hero-copy > p:not(.eyebrow) {
  margin-bottom: 38px;
  font-size: 20px;
}

.hero-visual {
  height: 500px;
  position: relative;
  right: -20px;
}

.hero-stat {
  padding: 14px 32px;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: var(--radius-sm);
  background: rgb(64 203 235 / 34%);
  box-shadow: 0 12px 30px rgb(0 133 173 / 12%);
  backdrop-filter: blur(8px);
}

.hero-stat b {
  font-size: 38px;
}

.btn {
  min-height: 50px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 22px rgb(0 173 225 / 18%);
}

.section {
  padding: 82px 0;
}

.section-heading h2,
.title,
.doctor-card h2,
.planning-card h2,
.together h2 {
  font-size: clamp(38px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.planning-card h2{
  font-size: clamp(36px, 3.7vw, 45px);
}

.section-heading p,
.together > .container > p {
  max-width: 780px;
  font-size: 19px;
}

.solution-grid {
  gap: 24px;
}

.solution-grid a {
  min-height: 142px;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.solution-grid a:hover {
  border-color: rgb(0 173 225 / 45%);
  box-shadow: 0 22px 55px rgb(20 75 92 / 12%);
  transform: translateY(-3px);
}

.solution-grid span {
  margin-top: 12px;
  padding: 8px 30px;
  border-radius: 10px;
}

.courses {
  padding-top: 42px;
}

.course-shell {
  margin-top: 34px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.course-tabs {
  gap: 14px;
  margin-bottom: 28px;
}

.course-tabs button {
  min-height: 48px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: background .2s ease, color .2s ease;
}

.course-grid {
  gap: 28px;
}

.course-card {
  padding: 0;
}

.course-card img {
  margin: 16px 0 20px;
  border-radius: 16px;
}

.course-card h3 {
  max-width: none;
  font-size: 22px;
}

.course-card p {
  min-height: 52px;
  color: var(--muted);
  font-size: 15px;
}

.course-card footer .course-arrow {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.stats {
  gap: 24px;
  margin-bottom: 28px;
}

.stats div {
  min-height: 112px;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 15px 32px rgb(0 173 225 / 18%);
}

.stats b {
  font-size: 44px;
}

.stats small {
  font-size: 15px;
}

.feature-card,
.doctor-card,
.planning-card,
.career-card,
.contact-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.clinic-card > div,
.doctor-card > div,
.career-card > div {
  padding: 42px;
}

.clinic-card h2 {
  font-size: clamp(36px, 3.4vw, 45px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.clinic-card h3,
.planning-card h3 {
  margin: 10px 0 28px;
  font-size: 23px;
  line-height: 1.3;
}

.clinic-card p,
.service-grid p {
  font-size: 16px;
}

.clinic-card img {
  width: calc(100% - 64px);
  height: calc(100% - 64px);
  margin: 32px;
  border-radius: var(--radius);
}

.service-grid {
  gap: 20px;
  margin-top: 20px;
}

.service-grid article {
  min-height: 230px;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-grid h3 {
  font-size: 29px;
}

.doctor-card {
  min-height: 550px;
}

.doctor-card h3 {
  margin: 22px 0;
  font-size: 18px;
  line-height: 1.5;
}

.doctor-card p,
.doctor-card li {
  font-size: 15px;
}

.doctor-card ul {
  padding-left: 22px;
}

.doctor-card li + li {
  margin-top: 7px;
}

.impro-box {
  height: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.impro-box h2 {
  font-size: 42px;
}

.impro-box p {
  margin: 12px 0 42px;
  font-size: 19px;
}

.planning-card {
  padding: 42px;
  align-items: center;
}

.planning-card p {
  max-width: 660px;
  font-size: 17px;
}

.book {
  width: min(100%, 420px);
  height: 350px;
  background-position: center;
}

.review-grid {
  gap: 24px;
  margin-top: 38px;
}

.review-grid blockquote {
  display: flex;
  min-height: 360px;
  padding: 30px;
  flex-direction: column;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-grid blockquote > p {
  min-height: 0;
  margin-bottom: 28px;
  flex: 1;
  font-size: 16px;
}

.event-grid {
  gap: 24px;
  margin-top: 34px;
}

.event-video {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.brand-row {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.career-card {
  margin-top: 34px;
}

.career-card h3 {
  font-size: 23px;
  line-height: 1.25;
}

.career-card p {
  font-size: 16px;
}

.career-card img {
  height: 410px;
}

.contact-card {
  padding: 42px;
  gap: 38px;
}

.contact-card .contact-title {
  font-size: 40px;
  line-height: 1.08;
}

.contact-card h3 {
  font-size: 20px;
}

.contact-card ul {
  font-size: 16px;
}

.contact-card li + li {
  margin-top: 7px;
}

.contact-form {
  padding: 30px;
  border-radius: var(--radius);
}

.contact-form label {
  font-size: 14px;
}

.contact-form input {
  height: 52px;
  margin: 9px 0 16px;
  border-radius: 10px;
  padding: 0 15px;
}

.footer {
  padding: 58px 0 24px;
}

.footer-grid {
  font-size: 14px;
}

.copyright {
  font-size: 12px;
}
.b24-form-btn{
  background-color: var(--cyan) !important;
  border-radius: 12px !important;
}
@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  }

  .hero h1 {
    font-size: clamp(48px, 6vw, 62px);
  }

  .main-nav {
    gap: 24px;
  }

  .clinic-card,
  .doctor-card {
    grid-template-columns: 58% 42%;
  }

  .clinic-card > div,
  .doctor-card > div,
  .career-card > div {
    padding: 30px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .site-header {
    height: 72px;
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .logo .logo-img {
    width: 154px;
    height: 52px;
  }
  .main-nav {
    top: 72px;
    gap: 10px;
    padding: 20px;
    border-bottom: 1px solid var(--line);
  }
  
  .admin-bar .site-header .main-nav{
    top: 112px;
  }
  .main-nav a {
    width: 100%;
    padding: 12px 8px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 30px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 54px);
  }

  .hero-copy > p:not(.eyebrow) {
    margin-bottom: 28px;
    font-size: 18px;
  }

  .hero-visual {
    height: 330px;
    margin-top: 12px;
  }

  .hero-stat {
    padding: 10px 18px;
  }

  .hero-stat b {
    font-size: 28px;
  }

  .hero-stat.clients {
    left: 0;
  }

  .hero-stat.years {
    right: 0;
  }

  .section {
    padding: 56px 0;
  }

  .section-heading h2,
  .title,
  .doctor-card h2,
  .planning-card h2,
  .together h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .section-heading p {
    font-size: 17px;
  }

  .solution-grid a {
    min-height: 0;
  }

  .course-shell {
    padding: 16px;
  }

  .course-tabs {
    gap: 8px;
  }

  .course-tabs button {
    padding: 10px 8px;
    font-size: 13px;
  }

  .course-grid {
    gap: 34px;
  }

  .course-card p {
    min-height: 0;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stats div {
    min-height: 0;
  }

  .clinic-card,
  .doctor-card,
  .planning-card,
  .career-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .clinic-card > div,
  .doctor-card > div,
  .career-card > div,
  .contact-card,
  .planning-card {
    padding: 24px;
  }

  .clinic-card h2 {
    font-size: 34px;
  }

  .clinic-card img {
    width: calc(100% - 32px);
    height: auto;
    min-height: 280px;
    margin: 16px;
  }

  .service-grid article {
    min-height: 0;
    padding: 24px;
  }

  .service-grid h3 {
    font-size: 25px;
  }

  .doctor-card {
    min-height: 0;
  }

  .doctor-card h3 {
    font-size: 16px;
  }

  .doctor-card img {
    height: 430px;
  }

  .impro-box {
    height: 390px;
    padding: 24px;
  }

  .impro-box h2 {
    font-size: 32px;
  }

  .impro-box p {
    font-size: 16px;
  }

  .book {
    width: 100%;
    height: 260px;
  }

  .review-grid blockquote {
    min-height: 0;
    padding: 24px;
  }

  .event-video {
    border-radius: 16px;
  }

  .brand-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-item {
    min-height: 110px;
    padding: 20px 16px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .brand-item:nth-child(5n) {
    border-right: 1px solid var(--line);
  }

  .brand-item:nth-child(n + 6) {
    border-bottom: 1px solid var(--line);
  }

  .brand-item:nth-child(2n) {
    border-right: 0;
  }

  .brand-item:nth-child(n + 9) {
    border-bottom: 0;
  }

  .brand-item img {
    max-width: 135px;
    max-height: 58px;
  }

  .career-card img {
    height: 280px;
  }

  .contact-card {
    gap: 26px;
  }

  .contact-card .contact-title {
    font-size: 34px;
  }

  .contact-form {
    padding: 22px;
  }
}

@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}

/* Courses landing page */
.course-page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 104px;
  background:
    radial-gradient(circle at 78% 18%, rgb(50 211 255 / 24%), transparent 30%),
    linear-gradient(135deg, #f8fdff 0%, #e6faff 58%, #fff 100%);
}

.course-page-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.course-page-orb--one {
  top: -180px;
  right: -120px;
  width: 460px;
  height: 460px;
  background: rgb(0 173 225 / 10%);
}

.course-page-orb--two {
  bottom: -210px;
  left: 34%;
  width: 380px;
  height: 380px;
  border: 1px solid rgb(0 173 225 / 20%);
}

.course-page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, .92fr);
  gap: 68px;
  align-items: center;
}

.course-page-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(54px, 5.4vw, 78px);
  line-height: .98;
  letter-spacing: -.05em;
  text-transform: uppercase;
}

.course-page-hero-copy h1 span {
  display: block;
  color: var(--cyan);
}

.course-page-lead {
  max-width: 650px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 20px;
}

.course-page-actions {
  display: flex;
  gap: 26px;
  align-items: center;
}

.course-text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-weight: 700;
}

.course-text-link span {
  color: var(--cyan);
  font-size: 24px;
  transition: transform .2s ease;
}

.course-text-link:hover span {
  transform: translateX(4px);
}

.course-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.course-hero-points li {
  padding: 8px 14px;
  border: 1px solid rgb(0 173 225 / 22%);
  border-radius: 999px;
  background: rgb(255 255 255 / 70%);
  color: #30505b;
  font-size: 14px;
  font-weight: 600;
}

.course-page-visual {
  position: relative;
  min-height: 480px;
}

.course-page-image-wrap {
  height: 480px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 28px 80px rgb(26 108 132 / 16%);
  transform: rotate(1.5deg);
}

.course-page-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-floating-card {
  position: absolute;
  display: flex;
  padding: 15px 20px;
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 16px;
  flex-direction: column;
  background: rgb(255 255 255 / 84%);
  box-shadow: 0 16px 42px rgb(29 91 108 / 15%);
  backdrop-filter: blur(12px);
}

.course-floating-card small {
  color: var(--muted);
  font-size: 12px;
}

.course-floating-card b {
  font-size: 20px;
}

.course-floating-card--date {
  bottom: 34px;
  left: -42px;
}

.course-floating-card--format {
  top: 38px;
  right: -24px;
}

.course-trust-bar {
  position: relative;
  z-index: 2;
  margin-top: -42px;
}

.course-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.course-trust-grid > div {
  min-width: 0;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

.course-trust-grid > div:last-child {
  border-right: 0;
}

.course-trust-grid b,
.course-trust-grid span {
  display: block;
}

.course-trust-grid b {
  color: var(--cyan);
  font-size: 30px;
  line-height: 1;
}

.course-trust-grid span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.course-section-heading {
  display: flex;
  gap: 40px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 38px;
}

.course-section-heading .eyebrow,
.course-program .eyebrow,
.course-expert-card .eyebrow,
.course-faq .eyebrow,
.course-application .eyebrow {
  margin-bottom: 12px;
  color: var(--cyan);
}

.course-section-heading h2,
.course-program h2,
.course-expert-card h2,
.course-faq h2,
.course-application .course-form-title {
  margin: 0;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.course-section-heading > p {
  max-width: 510px;
  margin: 0 0 5px;
  color: var(--muted);
}

.landing-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.landing-course-card {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex-direction: column;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.landing-course-card:hover {
  border-color: rgb(0 173 225 / 40%);
  box-shadow: 0 25px 58px rgb(20 75 92 / 13%);
  transform: translateY(-5px);
}

.landing-course-card--accent {
  border-color: rgb(0 173 225 / 48%);
}

.course-card-badge {
  position: absolute;
  z-index: 2;
  top: 58px;
  left: 34px;
  padding: 7px 11px;
  border-radius: 8px;
  background: var(--cyan);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.landing-course-meta {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
}

.landing-course-image {
  overflow: hidden;
  aspect-ratio: 1.42;
  margin-bottom: 20px;
  border-radius: 15px;
  background: var(--pale);
}

.landing-course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.landing-course-card:hover .landing-course-image img {
  transform: scale(1.035);
}

.landing-course-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
}

.landing-course-card > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.landing-course-card > ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.landing-course-card > ul li {
  position: relative;
  padding-left: 21px;
  color: #45555d;
  font-size: 14px;
}

.landing-course-card > ul li + li {
  margin-top: 7px;
}

.landing-course-card > ul li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.landing-course-card > footer {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.landing-course-card > footer small,
.landing-course-card > footer b {
  display: block;
}

.landing-course-card > footer small {
  color: var(--muted);
  font-size: 12px;
}

.landing-course-card > footer b {
  color: var(--cyan);
  font-size: 22px;
}

.landing-course-card .btn {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 14px;
}

.course-benefits {
  background: linear-gradient(120deg, #f8fdff 0%, #e7faff 100%);
}

.course-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.course-benefit-grid article {
  padding: 28px;
  border: 1px solid rgb(0 173 225 / 14%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 80%);
}

.course-benefit-grid article > span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: 13px;
  place-items: center;
  background: var(--cyan);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.course-benefit-grid h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.course-benefit-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.course-program-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .55fr);
  gap: 62px;
  align-items: start;
}

.course-program-intro {
  max-width: 740px;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 18px;
}

.course-day-list {
  display: grid;
  gap: 14px;
}

.course-day-list article {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 22px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.course-day-number {
  display: grid;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  place-items: center;
  background: var(--pale);
  color: var(--cyan);
  font-weight: 800;
}

.course-day-list small {
  color: var(--cyan);
  font-weight: 700;
}

.course-day-list h3 {
  margin: 3px 0 7px;
  font-size: 21px;
}

.course-day-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.course-included-card {
  position: sticky;
  top: 110px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: #182126;
  color: #fff;
  box-shadow: 0 24px 60px rgb(12 39 48 / 20%);
}

.course-included-label {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 7px;
  background: rgb(0 173 225 / 20%);
  color: #67ddff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.course-included-card h3 {
  margin: 18px 0 22px;
  font-size: 28px;
  line-height: 1.15;
}

.course-included-card ul {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.course-included-card li {
  position: relative;
  padding: 11px 0 11px 27px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  color: rgb(255 255 255 / 78%);
  font-size: 15px;
}

.course-included-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #67ddff;
  font-weight: 800;
}

.course-included-card .btn {
  width: 100%;
}

.course-expert-section {
  background: linear-gradient(270deg, #fff 38%, #eafaff 100%);
}

.course-expert-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(350px, .85fr);
  min-height: 570px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.course-expert-copy {
  padding: 50px;
}

.course-expert-role {
  max-width: 690px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 18px;
}

.course-expert-copy ul {
  margin: 0 0 30px;
  padding-left: 22px;
  color: #42535b;
}

.course-expert-copy li + li {
  margin-top: 8px;
}

.course-expert-copy li::marker {
  color: var(--cyan);
}

.course-expert-copy blockquote {
  margin: 0;
  padding: 20px 24px;
  border-left: 4px solid var(--cyan);
  border-radius: 0 14px 14px 0;
  background: var(--pale);
  font-size: 17px;
  font-weight: 600;
}

.course-expert-photo {
  min-height: 570px;
  background: linear-gradient(145deg, #6edcf5, #08afd9);
}

.course-expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}

.course-faq-grid {
  display: grid;
  grid-template-columns: minmax(300px, .7fr) minmax(0, 1.3fr);
  gap: 70px;
  align-items: start;
}

.course-faq-grid > div:first-child > p:last-child {
  max-width: 430px;
  color: var(--muted);
  font-size: 17px;
}

.course-accordion {
  border-top: 1px solid var(--line);
}

.course-accordion details {
  border-bottom: 1px solid var(--line);
}

.course-accordion summary {
  position: relative;
  padding: 24px 48px 24px 0;
  cursor: pointer;
  font-size: 19px;
  font-weight: 700;
  list-style: none;
}

.course-accordion summary::-webkit-details-marker {
  display: none;
}

.course-accordion summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 0;
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  place-items: center;
  background: var(--pale);
  color: var(--cyan);
  font-size: 23px;
}

.course-accordion details[open] summary::after {
  content: "−";
}

.course-accordion details p {
  max-width: 760px;
  margin: -5px 50px 24px 0;
  color: var(--muted);
}

.course-application {
  padding-top: 40px;
  background: linear-gradient(105deg, #f9fdff 35%, #c9f5ff 100%);
}

.course-application-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .72fr);
  gap: 60px;
  padding: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.course-application-card > div > p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 18px;
}

.course-application-note {
  display: flex;
  max-width: 600px;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 14px;
  flex-direction: column;
  background: var(--pale);
}

.course-application-note b {
  color: var(--cyan-dark);
}

.course-application-note span {
  color: var(--muted);
  font-size: 14px;
}

.course-lead-form {
  display: flex;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex-direction: column;
  background: #fff;
}

.course-lead-form label {
  color: #43525a;
  font-size: 13px;
  font-weight: 600;
}

.course-lead-form label + label {
  margin-top: 14px;
}

.course-lead-form .b24-form-control {
  width: 100% !important;
  height: 50px !important;
  padding: 0 14px !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  outline: 0 !important;
  background: #fff !important;
  color: var(--ink) !important;
}

.course-lead-form .b24-form-control:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgb(0 173 225 / 12%);
}

.course-lead-form .btn {
  width: 100%;
  margin-top: 20px;
}

.course-lead-form > small {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

@media (max-width: 1020px) {
  .course-page-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr);
    gap: 38px;
  }

  .course-page-image-wrap,
  .course-page-visual {
    min-height: 420px;
    height: 420px;
  }

  .landing-course-grid {
    gap: 14px;
  }

  .landing-course-card {
    padding: 16px;
  }

  .landing-course-card > footer {
    align-items: stretch;
    flex-direction: column;
  }

  .course-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-program-grid {
    gap: 30px;
  }

  .course-expert-copy {
    padding: 36px;
  }

  .course-application-card {
    gap: 30px;
    padding: 36px;
  }
}

@media (max-width: 760px) {
  .course-page-hero {
    padding: 54px 0 76px;
  }

  .course-page-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .course-page-hero-copy h1 {
    font-size: clamp(40px, 13vw, 54px);
  }

  .course-page-lead {
    margin: 22px 0 28px;
    font-size: 17px;
  }

  .course-page-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .course-hero-points {
    margin-top: 26px;
  }

  .course-page-visual,
  .course-page-image-wrap {
    min-height: 330px;
    height: 330px;
  }

  .course-page-image-wrap {
    border-radius: 24px;
    transform: none;
  }

  .course-floating-card--date {
    bottom: 16px;
    left: -5px;
  }

  .course-floating-card--format {
    top: 16px;
    right: -4px;
  }

  .course-trust-bar {
    margin-top: -30px;
  }

  .course-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-trust-grid > div {
    padding: 20px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .course-trust-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .course-trust-grid > div:nth-child(n + 3) {
    border-bottom: 0;
  }

  .course-section-heading {
    gap: 18px;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .course-section-heading h2,
  .course-program h2,
  .course-expert-card h2,
  .course-faq h2,
  .course-application .course-form-title {
    font-size: clamp(31px, 9vw, 40px);
  }

  .landing-course-grid,
  .course-program-grid,
  .course-expert-card,
  .course-faq-grid,
  .course-application-card {
    grid-template-columns: 1fr;
  }

  .landing-course-grid {
    gap: 20px;
  }

  .landing-course-card > footer {
    align-items: flex-end;
    flex-direction: row;
  }

  .course-benefit-grid {
    grid-template-columns: 1fr;
  }

  .course-benefit-grid article {
    padding: 24px;
  }

  .course-program-grid,
  .course-faq-grid {
    gap: 36px;
  }

  .course-day-list article {
    grid-template-columns: 48px 1fr;
    gap: 15px;
    padding: 20px;
  }

  .course-day-number {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .course-included-card {
    position: static;
    padding: 26px;
  }

  .course-expert-copy {
    padding: 26px;
  }

  .course-expert-photo {
    min-height: 430px;
  }

  .course-expert-copy blockquote {
    font-size: 15px;
  }

  .course-application-card {
    gap: 28px;
    padding: 24px;
  }

  .course-lead-form {
    padding: 22px;
  }
}

@media (max-width: 430px) {
  .course-trust-grid b {
    font-size: 25px;
  }

  .course-trust-grid span {
    font-size: 12px;
  }

  .landing-course-card > footer {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Interactive 404 page */
.error-page {
  position: relative;
  display: flex;
  min-height: calc(100vh - 82px - 58px);
  overflow: hidden;
  padding: 72px 0 82px;
  align-items: center;
  background:
    radial-gradient(circle at 12% 20%, rgb(0 173 225 / 12%), transparent 28%),
    radial-gradient(circle at 88% 82%, rgb(54 208 255 / 18%), transparent 30%),
    linear-gradient(135deg, #fff 0%, #f1fcff 52%, #dff8ff 100%);
}

.error-page-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.error-page-orb--one {
  top: -210px;
  right: -170px;
  width: 520px;
  height: 520px;
  border: 1px solid rgb(0 173 225 / 18%);
}

.error-page-orb--two {
  bottom: -230px;
  left: -130px;
  width: 430px;
  height: 430px;
  background: rgb(0 173 225 / 7%);
}

.error-page-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  gap: 72px;
  align-items: center;
}

.error-code {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--pale);
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.error-page-copy h1 {
  margin: 0;
  font-size: clamp(52px, 5.6vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.error-page-copy h1 span {
  display: block;
  color: var(--cyan);
}

.error-page-copy > p:not(.error-code) {
  max-width: 600px;
  margin: 26px 0 32px;
  color: var(--muted);
  font-size: 18px;
}

.error-page-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}

.error-courses-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
}

.error-courses-link span {
  color: var(--cyan);
  font-size: 23px;
  transition: transform .2s ease;
}

.error-courses-link:hover span {
  transform: translateX(4px);
}

.error-help-card {
  max-width: 490px;
  margin-top: 38px;
  padding: 16px 18px;
  border: 1px solid rgb(0 173 225 / 14%);
  border-radius: 14px;
  background: rgb(255 255 255 / 65%);
}

.error-help-card > span {
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.error-help-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.error-help-card b {
  color: var(--ink);
}

.implant-game {
  padding: 26px;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 30px;
  background: rgb(255 255 255 / 78%);
  box-shadow: 0 30px 85px rgb(28 109 132 / 16%);
  backdrop-filter: blur(16px);
}

.implant-game-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.implant-game-header .eyebrow {
  margin-bottom: 4px;
  color: var(--cyan);
  font-size: 12px;
}

.implant-game-header h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.1;
  text-transform: uppercase;
}

.implant-game-score {
  display: flex;
  gap: 7px;
}

.implant-game-score span {
  display: flex;
  min-width: 68px;
  padding: 8px 10px;
  border-radius: 10px;
  flex-direction: column;
  background: var(--pale);
  color: var(--muted);
  font-size: 10px;
  text-align: center;
  text-transform: uppercase;
}

.implant-game-score b {
  color: var(--cyan-dark);
  font-size: 18px;
  line-height: 1.1;
}

.implant-game-instruction {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.implant-game-stage {
  position: relative;
  height: 340px;
  overflow: hidden;
  border: 1px solid rgb(0 173 225 / 14%);
  border-radius: 20px;
  outline: 0;
  background:
    radial-gradient(circle at 50% -10%, rgb(255 255 255 / 95%), transparent 42%),
    linear-gradient(180deg, #dff8ff 0%, #f8fdff 66%, #d5e7e9 66%, #c0d7d9 100%);
}

.implant-game-stage:focus-visible {
  box-shadow: 0 0 0 4px rgb(0 173 225 / 18%);
}

.game-depth-lines {
  position: absolute;
  inset: 0;
  opacity: .5;
  pointer-events: none;
}

.game-depth-lines i {
  position: absolute;
  top: 0;
  bottom: 112px;
  width: 1px;
  background: linear-gradient(transparent, rgb(0 173 225 / 22%));
}

.game-depth-lines i:nth-child(1) { left: 25%; }
.game-depth-lines i:nth-child(2) { left: 50%; }
.game-depth-lines i:nth-child(3) { left: 75%; }

.game-implant {
  position: absolute;
  z-index: 5;
  top: 30px;
  left: 50%;
  width: 54px;
  height: 110px;
  transform: translateX(-50%);
  transition: left .16s ease;
  filter: drop-shadow(0 10px 10px rgb(26 74 87 / 18%));
}

.game-implant-crown,
.game-implant-abutment,
.game-implant-screw {
  position: absolute;
  left: 50%;
  display: block;
  transform: translateX(-50%);
}

.game-implant-crown {
  top: 0;
  width: 50px;
  height: 38px;
  border: 1px solid #ccdadd;
  border-radius: 45% 45% 36% 36%;
  background: linear-gradient(135deg, #fff, #dce8eb 58%, #fff);
  box-shadow: inset -7px -6px 12px rgb(91 122 131 / 12%);
  clip-path: polygon(9% 0, 91% 0, 100% 58%, 80% 100%, 20% 100%, 0 58%);
}

.game-implant-abutment {
  top: 35px;
  width: 24px;
  height: 18px;
  border-radius: 3px 3px 7px 7px;
  background: linear-gradient(90deg, #83979d, #eef5f6 45%, #8ca0a6);
}

.game-implant-screw {
  top: 50px;
  width: 25px;
  height: 59px;
  border-radius: 4px 4px 12px 12px;
  background:
    repeating-linear-gradient(170deg, transparent 0 6px, rgb(75 98 105 / 38%) 7px 9px),
    linear-gradient(90deg, #748990, #ecf4f5 44%, #778c93);
  clip-path: polygon(4% 0, 96% 0, 86% 83%, 50% 100%, 14% 83%);
}

.game-implant.is-success {
  filter: drop-shadow(0 0 12px rgb(20 202 137 / 65%));
}

.game-implant.is-miss {
  filter: drop-shadow(0 0 12px rgb(231 95 95 / 65%));
}

.game-target {
  position: absolute;
  z-index: 4;
  top: 210px;
  left: 67%;
  width: 52px;
  height: 52px;
  border: 3px dashed var(--cyan);
  border-radius: 50%;
  transform: translateX(-50%);
  transition: left .25s ease;
  animation: game-target-pulse 1.8s ease-in-out infinite;
}

.game-target span {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: rgb(0 173 225 / 16%);
}

@keyframes game-target-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgb(0 173 225 / 18%); }
  50% { box-shadow: 0 0 0 12px rgb(0 173 225 / 0%); }
}

.game-jaw {
  position: absolute;
  right: -4%;
  bottom: -45px;
  left: -4%;
  height: 135px;
  border-radius: 50% 50% 0 0;
  background:
    linear-gradient(180deg, rgb(237 183 178 / 65%), rgb(218 151 145 / 75%)),
    #e8b2ad;
  box-shadow: inset 0 12px 25px rgb(147 74 69 / 12%);
}

.game-teeth {
  position: absolute;
  top: -19px;
  right: 8%;
  left: 8%;
  display: flex;
  justify-content: space-between;
}

.game-teeth i {
  display: block;
  width: 10%;
  height: 40px;
  border: 1px solid #d8e2e4;
  border-radius: 8px 8px 13px 13px;
  background: linear-gradient(135deg, #fff, #e6eff0);
  box-shadow: 0 5px 10px rgb(107 68 65 / 10%);
}

.game-result-burst {
  position: absolute;
  z-index: 8;
  top: 48%;
  left: 50%;
  padding: 10px 18px;
  border-radius: 999px;
  background: #19c98a;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.5);
  transition: opacity .2s ease, transform .25s ease;
  pointer-events: none;
}

.game-result-burst.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.implant-game-stage.is-success {
  box-shadow: inset 0 0 0 3px rgb(25 201 138 / 28%);
}

.implant-game-stage.is-miss {
  animation: game-stage-shake .35s ease;
}

@keyframes game-stage-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.implant-game-controls {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  gap: 10px;
  margin-top: 14px;
}

.implant-game-controls button,
.implant-game-restart {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .15s ease, background .15s ease;
}

.implant-game-controls button:not(.implant-game-drop) {
  background: var(--pale);
  color: var(--cyan-dark);
  font-size: 22px;
}

.implant-game-controls button:hover,
.implant-game-restart:hover {
  transform: translateY(-1px);
}

.implant-game-controls button:disabled {
  cursor: default;
  opacity: .55;
  transform: none;
}

.implant-game-drop {
  background: var(--cyan);
  color: #fff;
}

.implant-game-status {
  min-height: 20px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.implant-game-restart {
  width: 100%;
  margin-top: 8px;
  background: #182126;
  color: #fff;
}

.implant-game-restart[hidden] {
  display: none;
}

.error-footer {
  padding: 20px 0;
}

.error-footer .copyright {
  margin-top: 0;
}

@media (max-width: 1020px) {
  .error-page-grid {
    grid-template-columns: minmax(0, .75fr) minmax(460px, 1.25fr);
    gap: 38px;
  }

  .implant-game {
    padding: 20px;
  }
}

@media (max-width: 760px) {
  .error-page {
    min-height: 0;
    padding: 54px 0 62px;
  }

  .error-page-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .error-page-copy h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .error-page-copy > p:not(.error-code) {
    font-size: 16px;
  }

  .error-page-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .implant-game {
    border-radius: 22px;
  }

  .implant-game-stage {
    height: 320px;
  }

  .game-target {
    top: 190px;
  }
}

@media (max-width: 430px) {
  .implant-game-header {
    align-items: stretch;
    flex-direction: column;
  }

  .implant-game-score {
    width: 100%;
  }

  .implant-game-score span {
    flex: 1;
  }

  .implant-game-stage {
    height: 300px;
  }

  .game-target {
    top: 170px;
  }
}

/* Keep the homepage product choice at exactly two cards. */
.course-grid.course-grid--products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .course-grid.course-grid--products {
    grid-template-columns: 1fr;
  }
}

/* 404 implant air hockey */
.implant-game .implant-game-stage {
  height: 390px;
  border-color: rgb(105 220 250 / 24%);
  background: #112c36;
  box-shadow: inset 0 0 35px rgb(0 0 0 / 28%);
  touch-action: none;
  user-select: none;
}

.implant-hockey-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.implant-game-overlay {
  position: absolute;
  z-index: 8;
  inset: 0;
  display: flex;
  padding: 28px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgb(8 29 36 / 72%);
  color: #fff;
  text-align: center;
  backdrop-filter: blur(7px);
  opacity: 1;
  transition: opacity .22s ease, visibility .22s ease;
}

.implant-game-overlay.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.implant-game-kicker {
  margin-bottom: 10px;
  color: #69dcfa;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.implant-game-overlay strong {
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1;
  text-transform: uppercase;
}

.implant-game-overlay p {
  margin: 12px 0 22px;
  color: rgb(255 255 255 / 70%);
  font-size: 14px;
}

.implant-game-overlay button {
  min-height: 46px;
  padding: 11px 24px;
  border: 0;
  border-radius: 12px;
  background: var(--cyan);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}

.implant-game-overlay button:hover {
  background: #14c2f1;
  transform: translateY(-2px);
}

.implant-goal-flash {
  position: absolute;
  z-index: 7;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.implant-goal-flash.is-visible {
  animation: implant-goal-flash .48s ease;
}

.implant-goal-flash.is-player {
  background: radial-gradient(circle at 50% 0%, rgb(64 229 171 / 78%), transparent 58%);
}

.implant-goal-flash.is-ai {
  background: radial-gradient(circle at 50% 100%, rgb(255 116 103 / 72%), transparent 58%);
}

@keyframes implant-goal-flash {
  0% { opacity: 0; }
  28% { opacity: 1; }
  100% { opacity: 0; }
}

.implant-game .implant-game-controls {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
}

.implant-game-controls > span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.implant-game-controls > span i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgb(0 173 225 / 12%);
}

.implant-game-controls .implant-game-controls__hint {
  margin-right: auto;
  font-weight: 500;
}

.implant-game .implant-game-restart {
  width: auto;
  min-height: 38px;
  margin: 0;
  padding: 7px 16px;
  border-radius: 10px;
  font-size: 12px;
}

@media (max-width: 760px) {
  .implant-game .implant-game-stage {
    height: 370px;
  }
}

@media (max-width: 430px) {
  .implant-game .implant-game-stage {
    height: 345px;
  }

  .implant-game .implant-game-controls {
    flex-wrap: wrap;
  }

  .implant-game-controls .implant-game-controls__hint {
    display: none;
  }

  .implant-game .implant-game-restart {
    margin-left: auto;
  }
}

/* Course hero alignment */
.course-detail-hero-copy,
.course-detail-hero-visual {
  min-width: 0;
}

.course-detail-page .course-detail-hero h1 {
  max-width: 100%;
  font-size: clamp(42px, 4.4vw, 62px);
  letter-spacing: -.02em;
}

.course-detail-page .course-detail-implant-scene {
  min-height: 0;
  aspect-ratio: 3 / 2;
}

.course-detail-page .course-detail-implant-scene img {
  width: 85%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 12px;
}

@media (max-width: 1020px) and (min-width: 761px) {
  .course-detail--fundamental .course-detail-hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr);
    gap: 38px;
  }

}

/* Bitrix24 forms: override the widget's inline theme. */
.b24-form,
.b24-form-wrapper,
.b24-form-content,
.b24-form-padding-side {
  font-family: Inter, Arial, sans-serif !important;
}

.contact-form .b24-form,
.course-lead-form .b24-form {
  min-height: 0 !important;
  background: transparent !important;
}

.contact-form .b24-form-wrapper,
.course-lead-form .b24-form-wrapper {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.contact-form .b24-form-content,
.course-lead-form .b24-form-content {
  padding: 0 !important;
}

.contact-form .b24-form-padding-side,
.course-lead-form .b24-form-padding-side {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.contact-form .b24-form-header,
.course-lead-form .b24-form-header {
  padding: 0 0 20px !important;
  border-bottom: 0 !important;
}

.contact-form .b24-form-header-title,
.course-lead-form .b24-form-header-title {
  margin: 0 !important;
  color: var(--ink) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-align: left !important;
}

.contact-form .b24-form-header-description,
.course-lead-form .b24-form-header-description {
  margin-top: 8px !important;
  color: var(--muted) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  text-align: left !important;
}

.contact-form .b24-form-field,
.course-lead-form .b24-form-field {
  margin-bottom: 14px !important;
}

.contact-form .b24-form-control-container,
.course-lead-form .b24-form-control-container {
  margin-bottom: 0 !important;
}

.contact-form .b24-form-control,
.course-lead-form .b24-form-control {
  width: 100% !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 17px 15px 5px !important;
  border: 1px solid var(--line) !important;
  border-radius: 11px !important;
  outline: 0 !important;
  background: #fff !important;
  color: var(--ink) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 15px !important;
  box-shadow: none !important;
  transition: border-color .2s ease, box-shadow .2s ease !important;
}

.contact-form textarea.b24-form-control,
.course-lead-form textarea.b24-form-control {
  height: 112px !important;
  min-height: 112px !important;
  padding-top: 23px !important;
  resize: vertical !important;
}

.contact-form .b24-form-control:focus,
.course-lead-form .b24-form-control:focus {
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 4px rgb(0 173 225 / 12%) !important;
}

.contact-form .b24-form-control-label,
.course-lead-form .b24-form-control-label {
  top: 17px !important;
  left: 15px !important;
  color: #748188 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 13px !important;
}

.contact-form .b24-form-control-not-empty + .b24-form-control-label,
.contact-form .b24-form-control:focus + .b24-form-control-label,
.course-lead-form .b24-form-control-not-empty + .b24-form-control-label,
.course-lead-form .b24-form-control:focus + .b24-form-control-label {
  top: 6px !important;
  color: var(--cyan-dark) !important;
  font-size: 10px !important;
}

.contact-form .b24-form-btn-block,
.course-lead-form .b24-form-btn-block {
  padding: 4px 0 0 !important;
}

.contact-form .b24-form-btn,
.course-lead-form .b24-form-btn,
.b24-window-popup .b24-form-btn {
  width: 100% !important;
  min-height: 52px !important;
  padding: 12px 22px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: var(--cyan) !important;
  color: #fff !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  transition: background .2s ease, transform .2s ease !important;
}

.contact-form .b24-form-btn:hover,
.course-lead-form .b24-form-btn:hover,
.b24-window-popup .b24-form-btn:hover {
  background: var(--cyan-dark) !important;
  transform: translateY(-1px) !important;
}

.contact-form .b24-form-state-container,
.course-lead-form .b24-form-state-container {
  border-radius: 14px !important;
}

.contact-form .b24-form-sign,
.course-lead-form .b24-form-sign,
.contact-form .b24-form-recaptcha,
.course-lead-form .b24-form-recaptcha {
  color: var(--muted) !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 10px !important;
  line-height: 1.4 !important;
}

.course-lead-form .b24-form-header {
  display: none !important;
}

.course-lead-form .b24-form-sign {
  margin-top: 12px !important;
}

.b24-window-popup,
.b24-window-popup-wrapper {
  font-family: Inter, Arial, sans-serif !important;
}

.b24-window-popup .b24-form-wrapper {
  border-radius: 22px !important;
  box-shadow: 0 28px 80px rgb(13 55 68 / 22%) !important;
}

@media (max-width: 760px) {
  .course-detail-page .course-detail-hero h1 {
    font-size: clamp(40px, 10vw, 52px);
  }

  .course-detail-page .course-detail-implant-scene img {
    width: 82%;
  }
}

/* Refined Bitrix form composition */
.contacts {
  background: linear-gradient(135deg, #f8fdff 0%, #e8faff 100%);
}

.contacts .contact-card {
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  gap: 54px;
  padding: 42px;
  border: 0;
  border-radius: 30px;
  background: radial-gradient(circle at 12% 8%, rgb(54 208 255 / 22%), transparent 34%), linear-gradient(135deg, #1b3d4d 0%, #173944 100%);
  color: #fff;
  box-shadow: 0 28px 70px rgb(22 88 108 / 16%);
}

.contact-copy {
  display: flex;
  min-width: 0;
  padding: 12px 0;
  flex-direction: column;
  justify-content: center;
}

.contacts .contact-card .contact-title {
  max-width: 600px;
  color: #fff;
  font-size: clamp(40px, 4.2vw, 58px);
  line-height: 1;
  letter-spacing: -.045em;
}

.contacts .contact-card .contact-copy h3 {
  margin: 24px 0 12px;
  color: #6bdcf8;
  font-size: 14px;
  letter-spacing: .1em;
}

.contacts .contact-card .contact-copy ul {
  display: grid;
  max-width: 590px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 24px;
  margin: 12px 0 0;
  padding: 0;
  color: rgb(255 255 255 / 72%);
  font-size: 14px;
  list-style: none;
}

.contacts .contact-card .contact-copy li {
  position: relative;
  padding-left: 20px;
}

.contacts .contact-card .contact-copy li::before {
  content: "";
  position: absolute;
  top: .58em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #61d9f7;
  box-shadow: 0 0 0 4px rgb(97 217 247 / 10%);
}

.contacts .contact-form {
  display: block;
  min-width: 0;
  padding: 34px;
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 54px rgb(0 0 0 / 18%);
}

.contact-form-intro {
  margin-bottom: 24px;
}

.contact-form-intro .eyebrow {
  margin: 0 0 7px;
  color: var(--cyan-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.contacts .contact-form-intro h3 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.contact-form-intro > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact-form .b24-form-header,
.course-lead-form .b24-form-header {
  display: none !important;
}

.contact-form .b24-form,
.contact-form .b24-form-wrapper,
.contact-form .b24-form-content,
.contact-form .b24-form-padding-side,
.course-lead-form .b24-form,
.course-lead-form .b24-form-wrapper,
.course-lead-form .b24-form-content,
.course-lead-form .b24-form-padding-side {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.contact-form .b24-form-field,
.course-lead-form .b24-form-field {
  margin: 0 0 12px !important;
  padding: 0 !important;
}

.contact-form .b24-form-control-container,
.course-lead-form .b24-form-control-container {
  min-height: 56px !important;
  margin: 0 !important;
}

.contact-form .b24-form-control,
.course-lead-form .b24-form-control {
  height: 56px !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 19px 16px 5px !important;
  border: 1px solid #dce6e9 !important;
  border-radius: 12px !important;
  background: #f7fafb !important;
  color: #1d282d !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}

.contact-form .b24-form-control:hover,
.course-lead-form .b24-form-control:hover {
  border-color: #c5d9df !important;
  background: #fff !important;
}

.contact-form .b24-form-control:focus,
.course-lead-form .b24-form-control:focus {
  border-color: var(--cyan) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgb(0 173 225 / 11%) !important;
}

.contact-form .b24-form-control-label,
.course-lead-form .b24-form-control-label {
  top: 18px !important;
  left: 16px !important;
  max-width: calc(100% - 32px) !important;
  color: #718087 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

.contact-form .b24-form-control:focus + .b24-form-control-label,
.contact-form .b24-form-control-not-empty + .b24-form-control-label,
.course-lead-form .b24-form-control:focus + .b24-form-control-label,
.course-lead-form .b24-form-control-not-empty + .b24-form-control-label {
  top: 7px !important;
  color: var(--cyan-dark) !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: .03em !important;
}

.contact-form .b24-form-field-agreement,
.course-lead-form .b24-form-field-agreement {
  margin: 2px 0 14px !important;
}

.contact-form .b24-form-control-desc,
.course-lead-form .b24-form-control-desc {
  color: #77848a !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 10px !important;
  line-height: 1.4 !important;
  text-align: left !important;
}

.contact-form .b24-form-control-desc a,
.course-lead-form .b24-form-control-desc a {
  color: var(--cyan-dark) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

.contact-form .b24-form-btn-block,
.course-lead-form .b24-form-btn-block {
  margin: 2px 0 0 !important;
  padding: 0 !important;
}

.contact-form .b24-form-btn,
.course-lead-form .b24-form-btn {
  width: 100% !important;
  height: 54px !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #00ade1, #00c4e7) !important;
  color: #fff !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  letter-spacing: .01em !important;
  line-height: 54px !important;
  box-shadow: 0 12px 24px rgb(0 173 225 / 22%) !important;
}

.contact-form .b24-form-btn:hover,
.course-lead-form .b24-form-btn:hover {
  background: linear-gradient(135deg, #009bc8, #00b8db) !important;
  box-shadow: 0 15px 28px rgb(0 155 200 / 27%) !important;
  transform: translateY(-1px) !important;
}

.contact-form .b24-form-sign,
.course-lead-form .b24-form-sign {
  margin: 12px 0 0 !important;
  padding: 0 !important;
  opacity: .65 !important;
}

.contact-form .b24-form-state-container,
.course-lead-form .b24-form-state-container {
  overflow: hidden !important;
  border-radius: 16px !important;
  background: #f7fafb !important;
}

@media (max-width: 1020px) {
  .contacts .contact-card {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    gap: 34px;
    padding: 40px;
  }

  .contacts .contact-card .contact-copy ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .contacts .contact-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
    border-radius: 24px;
  }

  .contacts .contact-card .contact-copy ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contacts .contact-form {
    padding: 26px;
  }
}

@media (max-width: 520px) {
  .contacts .contact-card {
    padding: 22px;
  }

  .contacts .contact-card .contact-copy ul {
    grid-template-columns: 1fr;
  }

  .contacts .contact-form {
    padding: 22px;
    border-radius: 18px;
  }
}

.b24-form-popup .b24-form-btn,
.b24-window-popup .b24-form-btn {
  min-height: 54px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #00ade1, #00c4e7) !important;
  color: #fff !important;
  font-family: Inter, Arial, sans-serif !important;
  font-weight: 700 !important;
  box-shadow: 0 12px 24px rgb(0 173 225 / 22%) !important;
}

/* Course schedule grouped by city */
.courses .course-shell {
  padding: 22px;
  border-radius: 24px;
  background: #f6fbfd;
}

.course-city-list {
  display: grid;
  gap: 24px;
}

.course-city-group {
  display: grid;
  min-width: 0;
  overflow: hidden;
  grid-template-columns: 265px minmax(0, 1fr);
  border: 1px solid #dbe7ea;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 42px rgb(22 76 92 / 7%);
}

.course-city-heading {
  position: relative;
  display: flex;
  min-height: 310px;
  overflow: hidden;
  padding: 28px;
  justify-content: space-between;
  flex-direction: column;
  background:
    linear-gradient(145deg, rgb(11 31 39 / 94%), rgb(9 100 126 / 68%)),
    var(--course-city-image) center / cover no-repeat;
  color: #fff;
}

.course-city-heading::after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -65px;
  width: 170px;
  height: 170px;
  border: 1px solid rgb(105 220 250 / 28%);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgb(105 220 250 / 5%);
}

.course-city-heading > * {
  position: relative;
  z-index: 1;
}

.course-city-heading div > span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 30px;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 11px;
  place-items: center;
  background: rgb(255 255 255 / 10%);
  color: #72e1fb;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.course-city-heading p {
  margin: 0 0 5px;
  color: #72e1fb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.course-city-heading h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.course-city-heading > small {
  max-width: 190px;
  color: rgb(255 255 255 / 66%);
  font-size: 12px;
  line-height: 1.4;
}

.course-city-cards {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
}

.course-city-card {
  position: relative;
  min-width: 0;
  min-height: 260px;
  overflow: hidden;
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgb(13 33 41 / 95%) 12%, rgb(13 48 60 / 82%) 72%, rgb(0 137 174 / 65%)),
    var(--course-city-image) center / cover no-repeat;
  color: #fff;
  box-shadow: 0 12px 28px rgb(10 48 59 / 14%);
  transition: transform .25s ease, box-shadow .25s ease;
}

.course-city-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 55%, rgb(103 220 249 / 12%));
  pointer-events: none;
}

.course-city-card:hover {
  box-shadow: 0 20px 38px rgb(10 48 59 / 22%);
  transform: translateY(-4px);
}

.course-city-card > a {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 260px;
  padding: 24px;
  flex-direction: column;
}

.course-city-card__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.course-city-card__meta em {
  color: #72e1fb;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.course-city-card__meta span {
  padding: 5px 8px;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 7px;
  background: rgb(255 255 255 / 8%);
  color: rgb(255 255 255 / 68%);
  font-size: 10px;
  font-weight: 700;
}

.course-city-card h4 {
  max-width: 370px;
  margin: 35px 0 10px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.course-city-card p {
  margin: 0;
  color: rgb(255 255 255 / 62%);
  font-size: 12px;
}

.course-city-card footer {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 12%);
}

.course-city-card footer b {
  color: #fff;
  font-size: 21px;
}

.course-city-card footer span {
  color: #72e1fb;
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 1020px) {
  .course-city-group {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .course-city-cards {
    grid-template-columns: 1fr;
  }

  .course-city-card,
  .course-city-card > a {
    min-height: 235px;
  }
}

@media (max-width: 760px) {
  .courses .course-shell {
    padding: 12px;
    border-radius: 18px;
  }

  .course-city-group {
    grid-template-columns: 1fr;
  }

  .course-city-heading {
    min-height: 210px;
  }

  .course-city-heading div > span {
    margin-bottom: 20px;
  }

  .course-city-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
  }
}

@media (max-width: 650px) {
  .course-city-cards {
    grid-template-columns: 1fr;
  }

  .course-city-card h4 {
    font-size: 24px;
  }
}

/* Classic course cards, separated only by city. */
.courses .course-shell {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.course-location-list {
  display: grid;
  gap: 48px;
}

.course-location + .course-location {
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.course-location-heading {
  display: flex;
  gap: 24px;
  margin-bottom: 22px;
}

.course-location-heading p {
  margin: 0 0 5px;
  color: var(--cyan-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.course-location-heading h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.course-grid.course-location-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
  gap: 28px;
  margin: 0;
}

.course-location-grid .course-card {
  display: flex;
}

.course-location-grid .course-card > a {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.course-location-grid .course-card p {
  min-height: 42px;
}

.course-location-grid .course-card footer {
  margin-top: auto;
}

.course-location-grid .course-card--expert img {
  object-position: center;
}

.course-location-grid .course-card--fundamental img {
  background: linear-gradient(145deg, #f4fcfe, #dff7fc);
}

@media (max-width: 1020px) {
  .course-grid.course-location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .course-location-list {
    gap: 34px;
  }

  .course-location + .course-location {
    padding-top: 30px;
  }

  .course-grid.course-location-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .course-location-grid .course-card p {
    min-height: 0;
  }
}

/* 404 dental breakout */
.dental-404-page .implant-game-stage {
  height: 430px;
}

.dental-404-page .implant-game-score span {
  min-width: 60px;
  padding-inline: 8px;
}

@media (max-width: 760px) {
  .dental-404-page .implant-game-stage {
    height: 405px;
  }
}

@media (max-width: 430px) {
  .dental-404-page .implant-game-stage {
    height: 370px;
  }
}

/* IMPRO Implantem landing page */
.impro-page {
  --impro-blue: #009fe3;
  --impro-blue-dark: #007fb6;
  --impro-black: #0a1116;
  --impro-graphite: #131d24;
  --impro-silver: #e8edf0;
  background: #fff;
  color: #141c21;
}

.impro-page .site-header {
  position: relative;
  box-shadow: none;
  border-bottom-color: #dce4e8;
}

.impro-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 690px;
  padding: 88px 0 78px;
  color: #fff;
  background: var(--impro-black);
}

.impro-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 78% 48%, rgb(0 159 227 / 17%), transparent 34%),
    linear-gradient(110deg, #091015 0%, #0d171d 55%, #101b21 100%);
}

.impro-hero-grid-lines {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .2;
  background-image:
    linear-gradient(rgb(255 255 255 / 13%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 13%) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: linear-gradient(90deg, transparent 3%, #000 56%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 3%, #000 56%, transparent 100%);
}

.impro-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
  gap: 56px;
  align-items: center;
}

.impro-back-link {
  display: inline-flex;
  margin-bottom: 54px;
  color: rgb(255 255 255 / 56%);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: color .2s ease;
}

.impro-back-link:hover,
.impro-text-link:hover {
  color: var(--impro-blue);
}

.impro-kicker {
  margin: 0 0 17px;
  color: var(--impro-blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.impro-hero .impro-kicker {
  color: #64ccef;
}

.impro-hero h1 {
  margin: 0;
  font-size: 56px;
  font-weight: 500;
  line-height: .86;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.impro-hero h1 span {
  display: block;
  color: var(--impro-blue);
  font-size: 103px;
  font-weight: 800;
}

.impro-hero-lead {
  max-width: 620px;
  margin: 32px 0 0;
  color: rgb(255 255 255 / 68%);
  font-size: 18px;
  line-height: 1.6;
}

.impro-hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 38px;
}

.impro-page .impro-btn {
  min-height: 54px;
  padding-inline: 28px;
  border-radius: 3px;
  background: var(--impro-blue);
}

.impro-page .impro-btn:hover {
  background: #16afea;
}

.impro-text-link {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: rgb(255 255 255 / 74%);
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease;
}

.impro-text-link span {
  color: var(--impro-blue);
  font-size: 18px;
}

.impro-hero-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 590px;
  margin-top: 60px;
  border-top: 1px solid rgb(255 255 255 / 16%);
}

.impro-hero-specs > div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 22px 18px 0 0;
}

.impro-hero-specs > div + div {
  padding-left: 18px;
  border-left: 1px solid rgb(255 255 255 / 16%);
}

.impro-hero-specs b {
  color: #fff;
  font-size: 29px;
  line-height: 1;
  letter-spacing: -.05em;
}

.impro-hero-specs span {
  color: rgb(255 255 255 / 48%);
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
}

.impro-hero-visual {
  position: relative;
  display: flex;
  min-height: 480px;
  align-items: center;
  justify-content: center;
  padding: 52px 18px 64px;
  border-left: 1px solid rgb(255 255 255 / 14%);
}

.impro-hero-visual::before,
.impro-hero-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgb(0 159 227 / 28%);
  border-radius: 50%;
}

.impro-hero-visual::before {
  width: 390px;
  height: 390px;
}

.impro-hero-visual::after {
  width: 510px;
  height: 510px;
}

.impro-hero-logo {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 138px;
  padding: 12px 14px;
  background: #fff;
}

.impro-implant-family {
  position: relative;
  z-index: 2;
  width: min(100%, 610px);
  filter: drop-shadow(0 30px 28px rgb(0 0 0 / 38%));
}

.impro-hero-caption {
  position: absolute;
  z-index: 3;
  right: 10px;
  bottom: 0;
  display: grid;
  grid-template-columns: auto 180px;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid rgb(255 255 255 / 16%);
  background: rgb(8 15 20 / 82%);
  backdrop-filter: blur(8px);
}

.impro-hero-caption span {
  color: var(--impro-blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.impro-hero-caption p {
  margin: 0;
  color: rgb(255 255 255 / 68%);
  font-size: 11px;
  line-height: 1.45;
}

.impro-fact-bar {
  border-bottom: 1px solid #dce4e8;
  background: #fff;
}

.impro-fact-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.impro-fact-bar-grid > div {
  display: flex;
  min-height: 92px;
  gap: 17px;
  align-items: center;
  padding: 20px 24px;
  border-left: 1px solid #dce4e8;
}

.impro-fact-bar-grid > div:last-child {
  border-right: 1px solid #dce4e8;
}

.impro-fact-bar-grid span {
  color: #9ba7ad;
  font-size: 10px;
  font-weight: 800;
}

.impro-fact-bar-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.impro-page .section {
  padding-block: 112px;
}

.impro-section-heading h2,
.impro-stability h2,
.impro-platform h2,
.impro-consult h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.055em;
}

.impro-section-heading--row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 58px;
}

.impro-section-heading--row > p {
  max-width: 390px;
  margin: 0 0 3px;
  color: #637079;
  font-size: 15px;
  line-height: 1.65;
}

.impro-intro-grid {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  gap: 56px 90px;
  align-items: start;
}

.impro-intro-copy {
  padding-top: 30px;
  border-top: 1px solid #cfd9de;
}

.impro-intro-copy p {
  max-width: 650px;
  margin: 0;
  color: #66727a;
  font-size: 15px;
  line-height: 1.75;
}

.impro-intro-copy .impro-intro-lead,
.impro-intro-lead {
  margin-bottom: 22px;
  color: #1e282e;
  font-size: 20px;
  line-height: 1.5;
}

.impro-intro-figure {
  position: relative;
  overflow: hidden;
  height: 470px;
  margin: 0;
  border: 1px solid #dce4e8;
  background: #f4f6f7;
}

.impro-intro-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  filter: grayscale(1) contrast(1.05);
}

.impro-intro-figure figcaption,
.impro-clinical-feature figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  color: #fff;
  background: rgb(8 15 20 / 88%);
}

.impro-intro-figure figcaption span,
.impro-clinical-feature figcaption span {
  color: #65ccef;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.impro-intro-figure figcaption b,
.impro-clinical-feature figcaption b {
  max-width: 230px;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.impro-intro-note {
  min-height: 470px;
  padding: 54px;
  color: #fff;
  background: var(--impro-graphite);
}

.impro-intro-note strong {
  display: block;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.impro-intro-note p {
  max-width: 470px;
  margin: 150px 0 0;
  padding-top: 25px;
  border-top: 1px solid rgb(255 255 255 / 22%);
  color: rgb(255 255 255 / 62%);
  font-size: 16px;
  line-height: 1.65;
}

.impro-core {
  background: #f4f7f8;
}

.impro-core-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #cfd9de;
  border-bottom: 1px solid #cfd9de;
}

.impro-core-grid article {
  min-height: 340px;
  padding: 30px 27px 32px;
  border-left: 1px solid #cfd9de;
}

.impro-core-grid article:last-child {
  border-right: 1px solid #cfd9de;
}

.impro-core-grid img {
  width: 64px;
  height: 64px;
  margin-bottom: 54px;
  object-fit: contain;
}

.impro-core-grid article > span,
.impro-product-grid article > span {
  color: #89969c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.impro-core-grid h3,
.impro-product-grid h3 {
  margin: 12px 0 14px;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.impro-core-grid p,
.impro-product-grid p {
  margin: 0;
  color: #66727a;
  font-size: 13px;
  line-height: 1.65;
}

.impro-advantages {
  color: #fff;
  background: var(--impro-black);
}

.impro-section-heading--light {
  margin-bottom: 62px;
}

.impro-section-heading--light .impro-kicker {
  color: #64ccef;
}

.impro-advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgb(255 255 255 / 17%);
  border-left: 1px solid rgb(255 255 255 / 17%);
}

.impro-advantage-grid article {
  min-height: 220px;
  padding: 26px 28px 30px;
  border-right: 1px solid rgb(255 255 255 / 17%);
  border-bottom: 1px solid rgb(255 255 255 / 17%);
  transition: background .2s ease;
}

.impro-advantage-grid article:hover {
  background: rgb(0 159 227 / 8%);
}

.impro-advantage-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--impro-blue);
  font-size: 10px;
  font-weight: 800;
}

.impro-advantage-grid h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
}

.impro-advantage-grid p {
  margin: 0;
  color: rgb(255 255 255 / 54%);
  font-size: 13px;
  line-height: 1.6;
}

.impro-stability-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  gap: 76px;
  align-items: center;
}

.impro-stability-copy > .impro-intro-lead {
  max-width: 550px;
  margin-top: 29px;
}

.impro-stability-flow {
  margin-top: 48px;
  border-top: 1px solid #ced9de;
}

.impro-stability-flow > div {
  display: grid;
  grid-template-columns: 74px minmax(150px, .7fr) minmax(180px, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #ced9de;
}

.impro-stability-flow span {
  color: var(--impro-blue-dark);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.impro-stability-flow b {
  font-size: 14px;
}

.impro-stability-flow p {
  margin: 0;
  color: #66727a;
  font-size: 12px;
  line-height: 1.55;
}

.impro-clinical-feature {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  margin: 0;
  background: #e4e9ec;
}

.impro-clinical-feature > img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.impro-cases {
  border-top: 1px solid #dce4e8;
  background: #f5f7f8;
}

.impro-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.impro-case-grid article {
  overflow: hidden;
  border: 1px solid #d4dde1;
  background: #fff;
}

.impro-case-grid article > img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: grayscale(.12);
}

.impro-case-grid article > div {
  position: relative;
  min-height: 156px;
  padding: 26px 27px;
}

.impro-case-grid span {
  position: absolute;
  top: 29px;
  right: 27px;
  color: var(--impro-blue-dark);
  font-size: 10px;
  font-weight: 800;
}

.impro-case-grid h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -.03em;
}

.impro-case-grid p {
  max-width: 430px;
  margin: 0;
  color: #66727a;
  font-size: 13px;
  line-height: 1.6;
}

.impro-case-grid .impro-case-wide {
  display: grid;
  grid-template-columns: 1.45fr .55fr;
  grid-column: 1 / -1;
}

.impro-case-grid .impro-case-wide > img {
  height: 420px;
}

.impro-case-grid .impro-case-wide > div {
  display: flex;
  min-height: auto;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  color: #fff;
  background: var(--impro-graphite);
}

.impro-case-grid .impro-case-wide span {
  top: 36px;
  right: 36px;
  color: #64ccef;
}

.impro-case-grid .impro-case-wide p {
  color: rgb(255 255 255 / 58%);
}

.impro-platform {
  overflow: hidden;
}

.impro-platform-grid {
  display: grid;
  grid-template-columns: minmax(390px, .9fr) minmax(0, 1.1fr);
  gap: 90px;
  align-items: center;
}

.impro-platform-visual {
  position: relative;
  display: flex;
  min-height: 620px;
  align-items: center;
  justify-content: center;
  background: #eef2f4;
}

.impro-platform-visual::before {
  content: "";
  position: absolute;
  inset: 35px;
  border: 1px solid #cdd8dd;
}

.impro-platform-visual img {
  position: relative;
  z-index: 1;
  width: 82%;
  mix-blend-mode: multiply;
}

.impro-platform-visual > span {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  padding: 16px 24px;
  color: #fff;
  background: var(--impro-black);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.impro-platform-copy > p:not(.impro-kicker) {
  max-width: 620px;
  margin: 30px 0 0;
  color: #66727a;
  font-size: 16px;
  line-height: 1.7;
}

.impro-check-list {
  margin: 45px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #cfd9de;
}

.impro-check-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: center;
  padding: 19px 0;
  border-bottom: 1px solid #cfd9de;
}

.impro-check-list b {
  color: var(--impro-blue-dark);
  font-size: 23px;
  letter-spacing: -.04em;
}

.impro-check-list span {
  color: #4f5e66;
  font-size: 13px;
  line-height: 1.5;
}

.impro-products {
  background: #f4f7f8;
}

.impro-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.impro-product-grid article {
  padding: 12px 12px 28px;
  border: 1px solid #d2dce0;
  background: #fff;
}

.impro-product-image {
  display: flex;
  height: 265px;
  align-items: center;
  justify-content: center;
  margin-bottom: 23px;
  overflow: hidden;
  background: #f4f5f6;
}

.impro-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .3s ease;
}

.impro-product-grid article:hover .impro-product-image img {
  transform: scale(1.035);
}

.impro-product-grid article > span,
.impro-product-grid article > h3,
.impro-product-grid article > p {
  margin-right: 12px;
  margin-left: 12px;
}

.impro-guarantee {
  color: #fff;
  background: var(--impro-graphite);
}

.impro-guarantee-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(440px, 1.15fr);
  gap: 90px;
}

.impro-guarantee-title > span {
  display: inline-block;
  margin-bottom: 34px;
  padding: 7px 11px;
  border: 1px solid rgb(100 204 239 / 45%);
  color: #64ccef;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.impro-guarantee-title h2 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.04;
  letter-spacing: -.05em;
}

.impro-guarantee-points {
  border-top: 1px solid rgb(255 255 255 / 17%);
}

.impro-guarantee-points article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 23px;
  padding: 25px 0;
  border-bottom: 1px solid rgb(255 255 255 / 17%);
}

.impro-guarantee-points article > b {
  color: var(--impro-blue);
  font-size: 11px;
}

.impro-guarantee-points h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.impro-guarantee-points p {
  margin: 0;
  color: rgb(255 255 255 / 53%);
  font-size: 13px;
  line-height: 1.6;
}

.impro-consult {
  background: #eaf2f5;
}

.impro-consult-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, .82fr);
  gap: 70px;
  align-items: start;
  padding: 64px;
  color: #fff;
  background: var(--impro-black);
}

.impro-consult-copy {
  padding-top: 18px;
}

.impro-consult-copy .impro-kicker {
  color: #64ccef;
}

.impro-consult-copy > p:not(.impro-kicker) {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgb(255 255 255 / 57%);
  font-size: 16px;
  line-height: 1.7;
}

.impro-contact-links {
  display: flex;
  gap: 24px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 18%);
}

.impro-contact-links a {
  color: #7fd8f4;
  font-size: 14px;
  font-weight: 700;
}

.impro-consult-card .impro-lead-form {
  width: auto;
  min-width: 0;
  padding: 34px !important;
  border-radius: 2px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.impro-consult-card .contact-form-intro {
  color: var(--impro-black);
}

.impro-consult-card .contact-form-intro h3 {
  margin: 0;
  color: var(--impro-black);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.impro-footer {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .impro-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .8fr);
    gap: 32px;
  }

  .impro-hero-visual::after {
    width: 430px;
    height: 430px;
  }

  .impro-intro-grid,
  .impro-platform-grid {
    gap: 54px;
  }

  .impro-stability-grid,
  .impro-guarantee-grid {
    gap: 54px;
  }

  .impro-product-image {
    height: 225px;
  }
}

@media (max-width: 900px) {
  .impro-hero {
    padding-top: 68px;
  }

  .impro-hero-grid {
    grid-template-columns: 1fr;
  }

  .impro-hero-visual {
    min-height: 410px;
    border-top: 1px solid rgb(255 255 255 / 14%);
    border-left: 0;
  }

  .impro-fact-bar-grid,
  .impro-core-grid,
  .impro-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impro-fact-bar-grid > div:nth-child(3) {
    border-top: 1px solid #dce4e8;
  }

  .impro-fact-bar-grid > div:nth-child(4) {
    border-top: 1px solid #dce4e8;
    border-right: 1px solid #dce4e8;
  }

  .impro-intro-grid,
  .impro-stability-grid,
  .impro-platform-grid,
  .impro-guarantee-grid,
  .impro-consult-card {
    grid-template-columns: 1fr;
  }

  .impro-intro-figure,
  .impro-intro-note {
    min-height: 410px;
    height: 410px;
  }

  .impro-intro-note p {
    margin-top: 100px;
  }

  .impro-core-grid article:nth-child(2) {
    border-right: 1px solid #cfd9de;
  }

  .impro-core-grid article:nth-child(n + 3) {
    border-top: 1px solid #cfd9de;
  }

  .impro-advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impro-platform-visual {
    min-height: 510px;
  }

  .impro-guarantee-title h2 {
    max-width: 690px;
  }

  .impro-consult-card {
    padding: 50px;
  }
}

@media (max-width: 650px) {
  .impro-page .section {
    padding-block: 76px;
  }

  .impro-hero {
    min-height: 0;
    padding: 50px 0 54px;
  }

  .impro-back-link {
    margin-bottom: 38px;
  }

  .impro-hero h1 {
    font-size: clamp(50px, 17vw, 75px);
  }

  .impro-hero-lead {
    font-size: 16px;
  }

  .impro-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .impro-hero-specs {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .impro-hero-specs > div {
    padding: 17px 0;
    border-bottom: 1px solid rgb(255 255 255 / 16%);
  }

  .impro-hero-specs > div + div {
    padding-left: 0;
    border-left: 0;
  }

  .impro-hero-visual {
    min-height: 330px;
    padding-inline: 0;
  }

  .impro-hero-visual::before {
    width: 280px;
    height: 280px;
  }

  .impro-hero-visual::after {
    width: 350px;
    height: 350px;
  }

  .impro-hero-logo {
    width: 110px;
  }

  .impro-hero-caption {
    right: 0;
    grid-template-columns: auto 150px;
  }

  .impro-fact-bar-grid,
  .impro-core-grid,
  .impro-advantage-grid,
  .impro-product-grid,
  .impro-case-grid,
  .impro-section-heading--row {
    grid-template-columns: 1fr;
  }

  .impro-fact-bar-grid > div {
    min-height: 76px;
    border-top: 1px solid #dce4e8;
    border-right: 1px solid #dce4e8;
  }

  .impro-section-heading--row {
    gap: 25px;
    margin-bottom: 40px;
  }

  .impro-section-heading h2,
  .impro-stability h2,
  .impro-platform h2,
  .impro-consult h2 {
    font-size: clamp(35px, 11vw, 48px);
  }

  .impro-intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .impro-intro-figure,
  .impro-intro-note {
    min-height: 360px;
    height: 360px;
  }

  .impro-intro-note {
    padding: 34px;
  }

  .impro-intro-note p {
    margin-top: 82px;
  }

  .impro-core-grid {
    border-bottom: 0;
  }

  .impro-core-grid article,
  .impro-core-grid article:nth-child(2) {
    min-height: 0;
    padding: 26px;
    border-top: 0;
    border-right: 1px solid #cfd9de;
    border-bottom: 1px solid #cfd9de;
  }

  .impro-core-grid img {
    margin-bottom: 34px;
  }

  .impro-advantage-grid article {
    min-height: 190px;
  }

  .impro-stability-flow > div {
    grid-template-columns: 62px 1fr;
  }

  .impro-stability-flow p {
    grid-column: 2;
  }

  .impro-clinical-feature,
  .impro-clinical-feature > img {
    min-height: 340px;
    height: 340px;
  }

  .impro-case-grid .impro-case-wide {
    display: block;
    grid-column: auto;
  }

  .impro-case-grid .impro-case-wide > img {
    height: 330px;
  }

  .impro-case-grid .impro-case-wide > div {
    min-height: 210px;
  }

  .impro-platform-visual {
    min-height: 400px;
  }

  .impro-product-grid {
    gap: 14px;
  }

  .impro-product-image {
    height: 280px;
  }

  .impro-consult-card {
    width: min(calc(100% - 24px), var(--container));
    gap: 42px;
    padding: 34px 24px;
  }

  .impro-contact-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .impro-consult-card .impro-lead-form {
    padding: 26px 18px !important;
  }
}

@media (max-width: 420px) {
  .impro-hero-caption {
    display: none;
  }

  .impro-hero-visual {
    min-height: 285px;
  }

  .impro-intro-figure figcaption,
  .impro-clinical-feature figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .impro-intro-figure figcaption b,
  .impro-clinical-feature figcaption b {
    text-align: left;
  }

  .impro-product-image {
    height: 240px;
  }
}

/* Rounded IMPRO styling aligned with the main landing page */
.impro-page .impro-btn {
  border-radius: var(--radius-sm);
}

.impro-hero-visual {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius-lg);
}

.impro-hero-logo,
.impro-hero-caption {
  border-radius: var(--radius-sm);
}

.impro-fact-bar {
  border-bottom: 0;
}

.impro-fact-bar-grid {
  gap: 12px;
  padding-block: 18px;
}

.impro-fact-bar-grid > div,
.impro-fact-bar-grid > div:last-child,
.impro-fact-bar-grid > div:nth-child(3),
.impro-fact-bar-grid > div:nth-child(4) {
  border: 1px solid #dce4e8;
  border-radius: var(--radius-sm);
}

.impro-intro-figure,
.impro-intro-note,
.impro-clinical-feature,
.impro-platform-visual {
  border-radius: var(--radius-lg);
}

.impro-intro-figure figcaption,
.impro-clinical-feature figcaption {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.impro-core-grid {
  gap: 16px;
  border: 0;
}

.impro-core-grid article,
.impro-core-grid article:last-child,
.impro-core-grid article:nth-child(2),
.impro-core-grid article:nth-child(n + 3) {
  overflow: hidden;
  border: 1px solid #cfd9de;
  border-radius: var(--radius);
  background: #fff;
}

.impro-advantage-grid {
  gap: 14px;
  border: 0;
}

.impro-advantage-grid article {
  border: 1px solid rgb(255 255 255 / 17%);
  border-radius: var(--radius);
}

.impro-stability-flow,
.impro-check-list {
  overflow: hidden;
  border: 1px solid #ced9de;
  border-radius: var(--radius);
}

.impro-stability-flow > div,
.impro-check-list li {
  padding-right: 22px;
  padding-left: 22px;
}

.impro-stability-flow > div:last-child,
.impro-check-list li:last-child {
  border-bottom: 0;
}

.impro-case-grid article {
  border-radius: var(--radius-lg);
}

.impro-case-grid article > img {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.impro-case-grid .impro-case-wide > img {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.impro-case-grid .impro-case-wide > div {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.impro-platform-visual::before {
  border-radius: var(--radius);
}

.impro-platform-visual > span {
  border-radius: var(--radius-sm) 0 var(--radius-lg) 0;
}

.impro-product-grid article {
  overflow: hidden;
  border-radius: var(--radius);
}

.impro-product-image {
  border-radius: 14px;
}

.impro-guarantee-title > span {
  border-radius: 999px;
}

.impro-consult-card {
  border-radius: var(--radius-lg);
}

.impro-consult-card .impro-lead-form {
  border-radius: var(--radius) !important;
}

@media (max-width: 650px) {
  .impro-case-grid .impro-case-wide > img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .impro-case-grid .impro-case-wide > div {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .impro-stability-flow > div,
  .impro-check-list li {
    padding-right: 16px;
    padding-left: 16px;
  }

}
