/* PRO Анестезіологію — Bold Medical Authority */

@font-face {
  font-family: 'Akrobat';
  src: url('fonts/Akrobat-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
:root {
  --bg: #f5f8fd;
  --bg-tint: #edf1f8;
  --navy: #001d54;
  --navy-deep: #001040;
  --navy-mid: #0a2d6a;
  --gold: #b4872a;
  --gold-bright: #cf9e3a;
  --gold-glow: rgba(180, 135, 42, 0.1);
  --gold-ring: rgba(180, 135, 42, 0.3);
  --surface: #ffffff;
  --border: #c8d5e8;
  --border-subtle: #e0eaf5;
  --text: #0d1e3d;
  --text-muted: #5e718e;
  --text-on-dark: #ffffff;
  --error: #dc2626;
  --success: #0d9488;
  --radius: 10px;
  --radius-box: 14px;
  --shadow: 0 2px 18px rgba(0, 29, 84, 0.07);
  --shadow-lift: 0 6px 28px rgba(0, 29, 84, 0.13);
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(0, 29, 84, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

/* ─── Hero Section ────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 13, 40, 0.58);
  z-index: 1;
}

.hero-section .page {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  padding: 72px 15px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-section .header {
  border-bottom-color: rgba(255, 255, 255, 0.15);
  margin-bottom: 0;
}

.hero-section .header-logo {
  filter: brightness(0) invert(1);
}

.hero-section .subtitle {
  color: rgba(255, 255, 255, 0.92);
}

.hero-section .description {
  color: rgba(255, 255, 255, 0.72);
}

.hero-section .block-heading {
  color: rgba(255, 255, 255, 0.6);
}

.hero-section .venue-name {
  color: #ffffff;
}

/* ─── Header ─────────────────────────────────────────── */
.header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.title-block {
  display: flex;
  justify-content: center;
  margin-bottom: 0.6rem;
  animation: fadeUp 0.5s ease both;
}

.header-logo {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(10%) sepia(90%) saturate(4000%) hue-rotate(215deg) brightness(72%);
}

.title-pro {
  font-family: var(--font);
  font-size: clamp(4rem, 11vw, 6.5rem);
  font-weight: 900;
  font-style: normal;
  color: var(--navy);
  line-height: 0.88;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.title-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-bottom: 0.05em;
}

.title-sub {
  font-size: clamp(0.55rem, 1.6vw, 0.78rem);
  font-weight: 500;
  font-style: normal;
  color: rgba(0, 29, 84, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.35;
  margin: 0 0 0.2rem;
}

.title-main {
  font-family: var(--font);
  font-size: clamp(1.5rem, 4.5vw, 2.65rem);
  font-weight: 800;
  font-style: normal;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}

.section-bullet {
  color: var(--gold);
  margin-right: 0.35rem;
}

.subtitle {
  font-size: 0.73rem;
  color: var(--text-muted);
  margin: 0 0 0.2rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: fadeUp 0.6s ease 0.15s both;
}

.description {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0.875rem 0 0;
  line-height: 1.65;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border-subtle);
  animation: fadeUp 0.6s ease 0.3s both;
}

/* ─── Venue ───────────────────────────────────────────── */
.venue-block {
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border-radius: var(--radius-box);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  animation: fadeUp 0.6s ease 0.1s both;
}

.block-heading {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.75rem;
}

.venue-name {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  font-style: normal;
  color: var(--navy);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.venue-link {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.venue-link:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

/* ─── Lecturers Block ─────────────────────────────────── */
.lecturers-block {
  position: relative;
  width: 100%;
  margin-bottom: 2.5rem;
  overflow: hidden;
  background-image: url('background/fon-08.png');
  background-size: cover;
  background-position: center top;
  animation: fadeUp 0.6s ease 0.2s both;
}

.lecturers-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 8, 40, 0.58);
  z-index: 0;
}

.lecturers-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 2rem 2.5rem;
}

.lecturers-header {
  margin-bottom: 1.5rem;
}

.lecturers-logo {
  width: 100%;
  height: auto;
  display: block;
}


.lecturers-banner {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.93) 0%, rgba(195, 218, 255, 0.88) 100%);
  border-radius: 8px;
  padding: 0.8rem 1.25rem;
  margin-bottom: 1.75rem;
  text-align: center;
  font-family: 'Akrobat', Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(0.95rem, 3.5vw, 1.45rem);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lecturers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1rem;
}

.lecturer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.lecturer-info-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 0.5rem;
  height: 100%;
}

.lecturer-info-text {
  font-family: var(--font);
  text-align: right;
  width: 100%;
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.lecturer-info-sub {
  width: 100%;
  font-family: var(--font);
  text-align: right;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.25rem;
}

.lecturer-info-url {
  width: 100%;
  text-align: right;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.01em;
}

.lecturer-qr-block {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.lecturer-qr {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 12px;
  background: #fff;
  padding: 0.625rem;
}

.lecturer-photo {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  margin-bottom: -22px;
  flex-shrink: 0;
}

.lecturer-card-body {
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  width: 100%;
  flex: 1;
}

.lecturer-name {
  display: block;
  background: #1850b8;
  padding: 28px 0.75rem 0.6rem;
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-align: center;
}

.lecturer-desc {
  display: block;
  height: 100%;
  background: #ffffff;
  padding: 0.6rem 0.75rem 0.75rem;
  margin: 0;
  font-family: var(--font);
  font-size: 0.7rem;
  color: #0d1e3d;
  line-height: 1.5;
  text-align: center;
}

.lecturer-desc strong {
  color: #001d54;
  font-weight: 700;
}


/* ─── Shared Pro Block ───────────────────────────────── */
.pro-block {
  position: relative;
  width: 100%;
  margin-bottom: 2.5rem;
  overflow: hidden;
  background-image: url('background/fon-08.png');
  background-size: cover;
  background-position: center top;
}

.pro-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 8, 40, 0.58);
  z-index: 0;
}

.pro-block-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 2rem 2.5rem;
}

.pro-block-logo {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
}

/* ─── Program Block ──────────────────────────────────── */
.program-date-banner {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px 8px 0 0;
  padding: 0.9rem 1.5rem;
  text-align: center;
  font-family: 'Akrobat', Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 3.5vw, 1.5rem);
  color: var(--navy);
  letter-spacing: 0.02em;
}

.program-subtitle-banner {
  background: #1850b8;
  padding: 0.5rem 1.5rem;
  margin-bottom: 0;
  text-align: center;
  font-family: 'Akrobat', Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.program-list {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: none;
  margin-bottom: 1.5rem;
}

.program-row {
  display: grid;
  grid-template-columns: 150px 18px 1fr;
  gap: 0.4rem 0.6rem;
  align-items: center;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 8, 40, 0.2);
}

.program-row:nth-child(even) {
  background: rgba(0, 8, 40, 0.38);
}

.program-row:last-child {
  border-bottom: none;
}

.program-speaker {
  text-align: right;
  display: flex;
  flex-direction: column;
}

.program-name {
  font-family: var(--font);
  font-weight: 700;
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.3;
}

.program-city {
  font-family: var(--font);
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  line-height: 1.2;
}

.program-arrow {
  color: #5b9af0;
  font-size: 0.6rem;
  text-align: center;
}

.program-topic {
  font-family: var(--font);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  line-height: 1.45;
}

.program-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.program-footer-item {
  font-family: var(--font);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin: 0;
}

/* ─── Packages Visual Block ──────────────────────────── */
.packages-visual-title {
  font-family: 'Akrobat', Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(1.2rem, 4.5vw, 1.9rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
}

.pkg-visual-card {
  margin-bottom: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.pkg-visual-card:last-child {
  margin-bottom: 0;
}

.pkg-header-wrap {
  display: flex;
  align-items: stretch;
}

.pkg-name {
  flex: 1;
  background: linear-gradient(135deg, #dcdcdc 0%, #b8b8b8 100%);
  color: var(--navy);
  font-family: 'Akrobat', Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(1.15rem, 4vw, 1.7rem);
  text-align: center;
  padding: 0.75rem 1rem;
  letter-spacing: 0.06em;
}

.pkg-badge {
  background: #1850b8;
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.67rem;
  text-align: center;
  padding: 0.5rem 0.75rem;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
}

.pkg-meta {
  display: flex;
}

.pkg-price {
  flex: 1;
  background: #1850b8;
  color: #fff;
  font-family: 'Akrobat', Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  text-align: center;
  padding: 0.5rem 0.75rem;
  letter-spacing: 0.02em;
}

.pkg-days {
  flex: 1;
  background: #2a64e8;
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  text-align: center;
  padding: 0.5rem 0.75rem;
}

.pkg-body {
  background: rgba(255, 255, 255, 0.93);
  padding: 1rem 1.25rem;
}

.pkg-body-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}

.pkg-section-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.pkg-list {
  margin: 0;
  padding-left: 1.1rem;
  font-family: var(--font);
  font-size: 0.72rem;
  color: #1a2e55;
  line-height: 1.55;
}

.pkg-list li {
  margin-bottom: 0.2rem;
}

.pkg-elite-extras {
  background: rgba(0, 8, 40, 0.75);
  padding: 0.75rem 1.25rem;
}

.pkg-elite-extras .pkg-section-title {
  color: #fff;
}

.pkg-elite-extras .pkg-list {
  color: rgba(255, 255, 255, 0.85);
}

/* ─── Venue Slider Block ─────────────────────────────── */
.venue-slider-block .pro-block-inner {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.venue-swiper {
  border-radius: 10px;
  overflow: hidden;
}

.venue-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.venue-swiper .swiper-button-prev,
.venue-swiper .swiper-button-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 8, 40, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: background 0.2s, border-color 0.2s;
}

.venue-swiper .swiper-button-prev:hover,
.venue-swiper .swiper-button-next:hover {
  background: rgba(24, 80, 184, 0.85);
  border-color: rgba(255, 255, 255, 0.6);
}

.venue-swiper .swiper-button-prev::after,
.venue-swiper .swiper-button-next::after {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.venue-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
}

.venue-swiper .swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.25);
}

.venue-swiper .swiper-pagination {
  bottom: 8px;
}

/* ─── Venue Plan Block ───────────────────────────────── */
.venue-plan-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ─── Form steps ──────────────────────────────────────── */
.form {
  position: relative;
}

.form-step {
  display: none;
  animation: fadeUp 0.32s ease both;
}

.form-step.active {
  display: block;
}

.form-step.final-step {
  text-align: center;
  padding: 3rem 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── Section titles ──────────────────────────────────── */
.section-title {
  font-size: 0.7rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--border-subtle);
}

/* ─── Form fields ─────────────────────────────────────── */
.field {
  display: block;
  margin-bottom: 1.1rem;
}

.field .label {
  display: block;
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field .label em {
  color: var(--error);
  font-style: normal;
}

.field input,
.field select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.975rem;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.field input::placeholder {
  color: var(--text-muted);
  opacity: 0.55;
}

.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235e718e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 29, 84, 0.1);
}

.field input.error,
.field select.error {
  border-color: var(--error);
}

.field .error-msg {
  display: block;
  font-size: 0.77rem;
  color: var(--error);
  margin-top: 0.3rem;
  letter-spacing: 0.01em;
}

/* ─── Packages ────────────────────────────────────────── */
.packages {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.package-option {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-box);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.2s;
  box-shadow: var(--shadow);
}

.package-option:hover {
  border-color: rgba(180, 135, 42, 0.45);
  background: var(--gold-glow);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}

.package-option input {
  margin: 0 1rem 0 0;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.package-option:has(input:checked) {
  border-color: var(--gold);
  background: var(--gold-glow);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow);
}

.package-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}

.package-name {
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.875rem;
}

.package-price {
  font-family: var(--font);
  font-weight: 800;
  font-style: normal;
  color: var(--navy);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.package-badge {
  font-size: 0.75em;
  font-weight: 400;
  color: var(--text-muted);
}

.package-option-test {
  border-style: dashed;
}

.package-option-test:has(input:checked) {
  border-style: solid;
}

.package-error {
  color: var(--error);
  font-size: 0.84rem;
  margin: 0 0 1rem;
}

/* ─── Checkbox ────────────────────────────────────────── */
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  cursor: pointer;
}

.checkbox-field input {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  flex-shrink: 0;
}

.checkbox-field span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ─── Payment block ───────────────────────────────────── */
.payment-intro {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.975rem;
}

.payment-hint {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ─── Buttons ─────────────────────────────────────────── */
.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  font-style: normal;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn:active {
  transform: scale(0.97) !important;
}

.btn-primary {
  background: var(--navy);
  color: var(--text-on-dark);
  box-shadow: 0 2px 12px rgba(0, 29, 84, 0.22);
}

.btn-primary:hover {
  background: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(0, 29, 84, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--bg-tint);
}

.btn-pay {
  background: var(--gold);
  color: var(--text-on-dark);
  box-shadow: 0 2px 14px rgba(180, 135, 42, 0.28);
}

.btn-pay:hover {
  background: var(--gold-bright);
  box-shadow: 0 4px 22px rgba(180, 135, 42, 0.45);
  transform: translateY(-1px);
}

.btn-pay:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ─── Final screen ────────────────────────────────────── */
.final-content {
  padding: 2.5rem 0;
}

.final-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.final-title {
  font-family: var(--font);
  font-size: 1.75rem;
  font-weight: 800;
  font-style: normal;
  margin: 0 0 0.5rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.final-text {
  font-size: 0.975rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* ─── Success page ────────────────────────────────────── */
.success-block {
  text-align: center;
  padding: 2.5rem 0;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.success-title {
  font-family: var(--font);
  font-size: 1.75rem;
  font-weight: 800;
  font-style: normal;
  margin: 0 0 0.5rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.success-text {
  font-size: 1rem;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.6;
}

.success-hint {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  line-height: 1.6;
}

.success-back {
  text-decoration: none;
  display: inline-flex;
}

.failure-result .failure-icon {
  color: var(--error);
}

.failure-result .failure-title {
  color: var(--error);
}

/* ─── Footer ──────────────────────────────────────────── */
.site-footer {
  margin-top: 3rem;
  padding: 2rem 2rem 2rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  max-width: 100%;
}

.footer-title {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.75rem;
}

.footer-contacts {
  margin-bottom: 1.75rem;
}

.footer-item {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.footer-item a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-item a:hover {
  color: var(--gold);
}

.footer-refund {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: left;
  max-width: 32em;
  margin-left: auto;
  margin-right: auto;
}

.footer-refund p {
  margin: 0 0 0.75rem;
}

.footer-refund p:last-child {
  margin-bottom: 0;
}

.footer-refund-list {
  margin: 0 0 0.75rem 1.25rem;
  padding: 0;
}

.footer-refund-list li {
  margin-bottom: 0.25rem;
}

.footer-refund-list li:last-child {
  margin-bottom: 0;
}

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 600px) {
  .page {
    padding: 1.5rem 1rem 3rem;
  }

  .title-block {
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
  }

  .title-pro {
    font-size: clamp(3.5rem, 18vw, 5rem);
    line-height: 1;
  }

  .title-right {
    align-items: center;
    text-align: center;
  }

  .title-main {
    white-space: normal;
    text-align: center;
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .title-sub {
    text-align: center;
  }

  .lecturers-inner {
    padding: 1.5rem 1rem 2rem;
  }

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

  .lecturer-info-block {
    grid-column: span 1;
    grid-column-start: 1;
  }

  .lecturer-qr-block {
    grid-column: span 1;
  }

  .lecturer-qr {
    max-width: 130px;
  }

  .lecturer-name {
    font-size: 0.85rem;
    padding-top: 22px;
  }

  .lecturer-desc {
    font-size: 0.65rem;
  }

  .pro-block-inner {
    padding: 1.5rem 1rem 2rem;
  }

  .program-row {
    grid-template-columns: 100px 16px 1fr;
    padding: 0.5rem 0.75rem;
  }

  .program-name,
  .program-topic {
    font-size: 0.75rem;
  }

  .program-city {
    font-size: 0.72rem;
  }

  .program-footer {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .pkg-body-two-col {
    grid-template-columns: 1fr;
  }

  .pkg-badge {
    min-width: 80px;
    font-size: 0.6rem;
  }

  .step-actions {
    flex-direction: column;
  }

  .step-actions .btn {
    width: 100%;
  }
}
