/* Style for Образовательный Центр ИП Шубиной Н.П. (IQ007 Кемерово) */

:root {
  --primary: #0099D4;
  --primary-hover: #0082b5;
  --primary-light: #e6f5fa;
  --primary-accent: #0099D4;
  --dark: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-100: #f1f5f9;
  --slate-50: #f0fdfa;
  --white: #ffffff;
  --border-color: #cbd5e1;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 30px rgba(0, 153, 212, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #0f172a;
  background-color: #f0fdf4;
  background-image:
    radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.25) 0px, transparent 50%),
    radial-gradient(at 100% 10%, rgba(52, 211, 153, 0.28) 0px, transparent 50%),
    radial-gradient(at 50% 40%, rgba(253, 224, 71, 0.22) 0px, transparent 55%),
    radial-gradient(at 10% 85%, rgba(16, 185, 129, 0.22) 0px, transparent 50%),
    radial-gradient(at 90% 90%, rgba(14, 165, 233, 0.25) 0px, transparent 50%),
    linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 50%, #f0fdf4 100%);
  background-attachment: fixed;
  line-height: 1.5;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f0fdf4;
  background-image:
    radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.25) 0px, transparent 50%),
    radial-gradient(at 100% 10%, rgba(52, 211, 153, 0.28) 0px, transparent 50%),
    radial-gradient(at 50% 40%, rgba(253, 224, 71, 0.22) 0px, transparent 55%),
    radial-gradient(at 10% 85%, rgba(16, 185, 129, 0.22) 0px, transparent 50%),
    radial-gradient(at 90% 90%, rgba(14, 165, 233, 0.25) 0px, transparent 50%),
    linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 50%, #f0fdf4 100%);
  background-attachment: fixed;
  color: #0f172a;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

/* TOP INFOBAR */
.top-bar {
  background-color: var(--dark);
  color: #cbd5e1;
  font-size: 12px;
  padding: 8px 16px;
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-info {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.top-phone {
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.top-phone:hover {
  color: var(--primary);
}

/* MAIN HEADER */
.main-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 153, 212, 0.15);
  box-shadow: 0 4px 20px rgba(0, 153, 212, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  width: 42px;
  height: 42px;
  background-color: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 21px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 153, 212, 0.35);
}

.brand-title {
  font-weight: 800;
  font-size: 19px;
  color: #0f172a;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-weight: 700;
  font-size: 16px;
  color: #1e293b;
  letter-spacing: 0.2px;
}

.nav-links a {
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 4px 0;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 4px 12px rgba(0, 153, 212, 0.25);
}

.btn-header:hover {
  background-color: var(--primary-hover);
}

/* HERO SECTION */
.hero {
  background-color: #0f172a;
  background-image:
    linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.55) 10%),
    url('../images/hero_bg.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 90px 16px;
  text-align: center;
  position: relative;
  color: #ffffff;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  background: rgba(0, 153, 212, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 20px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 0, 0, 0.7);
}

.hero-sub {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 32px;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.btn-lg {
  background-color: var(--primary);
  color: var(--white);
  padding: 16px 36px;
  border-radius: var(--radius-lg);
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(0, 153, 212, 0.3);
  transition: all 0.2s;
}

.btn-lg:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* SECTION STYLES */
.section {
  padding: 70px 16px;
  border-bottom: none;
}

.section-bg {
  background: transparent;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-tag {
  color: #0082b5;
  background-color: rgba(0, 153, 212, 0.12);
  border: 1px solid rgba(0, 153, 212, 0.25);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
}

.section-title {
  font-size: 32px;
  font-weight: 900;
  margin-top: 10px;
  color: #0f172a;
}

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text {
  font-size: 15.5px;
  color: #334155;
  line-height: 1.7;
}

.about-text p {
  margin-bottom: 16px;
}

.about-highlight {
  font-weight: 700;
  color: #0f172a;
}

.about-card {
  background-color: #f8fafc;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(224, 242, 254, 0.45) 100%),
    url('../images/stats_bg_neurons.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #0f172a;
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 40px rgba(0, 153, 212, 0.18);
  border: 1px solid rgba(0, 153, 212, 0.3);
  position: relative;
  overflow: hidden;
}

.about-card h3 {
  position: relative;
  z-index: 1;
  color: #0f172a;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

.about-card ul {
  position: relative;
  z-index: 1;
  padding-left: 0;
  /* Чтобы убрать стандартный отступ слева у ul */
}

.about-card ul li {
  /* Снизили прозрачность белого фона с 0.88 до 0.55 */
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 12px 20px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  /* Светлая рамка для контраста прозрачности */
  box-shadow: 0 4px 16px rgba(0, 153, 212, 0.08);
  color: #0f172a;
  font-weight: 700;
  transition: all 0.3s ease;
}

.about-card ul li:hover {
  /* При наведении делаем чуть более плотным */
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 153, 212, 0.4);
  transform: translateX(4px);
}

/* PROGRAM CARDS GRID */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.program-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(240, 253, 250, 0.50) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s, box-shadow 0.25s, background-color 0.25s, border-color 0.25s;
  color: #0f172a;
  box-shadow: 0 8px 32px rgba(0, 153, 212, 0.06);
}

.program-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.75) 100%);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 153, 212, 0.14);
  border-color: rgba(0, 153, 212, 0.35);
}

.program-icon-svg {
  width: 48px;
  height: 48px;
  background-color: rgba(0, 153, 212, 0.12);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.program-card-title {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
  color: #0f172a;
}

.program-card-desc {
  font-size: 13.5px;
  color: #475569;
  margin-bottom: 24px;
  line-height: 1.6;
}

.btn-group {
  display: flex;
  gap: 10px;
}

.btn-secondary {
  flex: 1;
  background-color: rgba(0, 153, 212, 0.08);
  color: #0082b5;
  border: 1px solid rgba(0, 153, 212, 0.2);
  padding: 10px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background-color: rgba(0, 153, 212, 0.16);
  color: #0082b5;
}

.btn-primary {
  flex: 1;
  background-color: var(--primary);
  color: var(--white);
  padding: 10px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

/* ADVANTAGES */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.advantage-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(240, 253, 250, 0.50) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.88);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 153, 212, 0.06);
  transition: transform 0.25s, box-shadow 0.25s, background-color 0.25s, border-color 0.25s;
  position: relative;
  color: #0f172a;
}

.advantage-item:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.75) 100%);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 153, 212, 0.14);
  border-color: rgba(0, 153, 212, 0.35);
}

.advantage-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  display: inline-block;
}

.advantage-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.35;
}

.advantage-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

/* REGISTRATION FORM */
.form-card {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(240, 253, 250, 0.65) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 40px rgba(0, 153, 212, 0.08);
  color: #0f172a;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.form-group label {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.form-control {
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  background-color: #ffffff;
  color: #0f172a;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

select.form-control {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  appearance: auto;
}

select.form-control option {
  padding: 8px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 153, 212, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #475569;
  margin-bottom: 20px;
}

.checkbox-group input {
  margin-top: 2px;
}

.checkbox-group a {
  color: #0082b5;
  font-weight: 700;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 900;
  font-size: 16px;
  transition: background-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(0, 153, 212, 0.35);
}

.btn-submit:hover:not(:disabled) {
  background-color: var(--primary-hover);
}

.btn-submit:disabled {
  background-color: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.8;
}

.alert-success {
  background-color: #d1fae5;
  border: 1px solid #34d399;
  color: #065f46;
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
}

/* CONTACTS SECTION */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contacts-info-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78) 0%, rgba(240, 253, 250, 0.60) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 153, 212, 0.06);
  color: #0f172a;
}

.requisites-box {
  background: rgba(0, 153, 212, 0.06);
  border: 1px solid rgba(0, 153, 212, 0.2);
  padding: 22px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.7;
  margin-top: 24px;
  color: #1e293b;
  box-shadow: 0 4px 16px rgba(0, 153, 212, 0.05);
}

.requisites-title {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 153, 212, 0.15);
  color: #0082b5;
}

/* FOOTER */
.footer {
  background-color: var(--dark);
  color: #94a3b8;
  padding: 60px 16px 30px 16px;
  font-size: 13px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer-title {
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-req {
  font-size: 11px;
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-content {
  background: #ffffff;
  border: 1px solid rgba(0, 153, 212, 0.2);
  box-shadow: 0 20px 50px rgba(0, 153, 212, 0.15);
  color: #0f172a;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 32px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

/* MODAL DOCUMENT ATTACHMENT BOX */
.modal-doc-box {
  background: linear-gradient(135deg, #e6f5fa 0%, #f0fdf4 100%);
  border: 1px solid #b3e5f7;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.doc-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 153, 212, 0.25);
}

.doc-details {
  flex: 1;
  min-width: 200px;
}

.doc-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #0082b5;
  letter-spacing: 0.5px;
}

.doc-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2px;
}

.doc-meta {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

.doc-download-btn {
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.1s;
}

.doc-download-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.doc-download-btn.btn-doc-disabled {
  background: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
  transform: none;
  opacity: 0.85;
}

.doc-download-btn.btn-doc-disabled:hover {
  background: #e2e8f0;
  color: #64748b;
  transform: none;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  font-size: 24px;
  color: #64748b;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle-btn {
  display: none;
  background: rgba(0, 153, 212, 0.08);
  border: 1px solid rgba(0, 153, 212, 0.2);
  color: var(--dark);
  font-size: 22px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.mobile-toggle-btn:hover {
  background: rgba(0, 153, 212, 0.16);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 153, 212, 0.15);
  padding: 16px;
  gap: 10px;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav-link {
  font-weight: 700;
  font-size: 15px;
  color: #334155;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 153, 212, 0.15);
  transition: all 0.2s;
}

.mobile-nav-link:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: #b3e5f7;
}

/* HORIZONTAL QUICK NAV BAR FOR MOBILE */
.mobile-subnav {
  display: none;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0, 153, 212, 0.15);
  overflow-x: auto;
  white-space: nowrap;
  padding: 8px 12px;
  gap: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mobile-subnav::-webkit-scrollbar {
  display: none;
}

.mobile-subnav-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-700);
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 50px;
  transition: all 0.2s;
  touch-action: manipulation;
}

.mobile-subnav-link:hover,
.mobile-subnav-link:active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* FLOATING MOBILE STICKY BAR */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(0, 153, 212, 0.2);
  padding: 10px 14px;
  box-shadow: 0 -6px 20px rgba(0, 153, 212, 0.12);
  gap: 10px;
  align-items: center;
}

.btn-sticky-call {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(0, 153, 212, 0.1);
  color: #0082b5;
  border: 1px solid rgba(0, 153, 212, 0.3);
  padding: 12px 8px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  min-height: 48px;
}

.btn-sticky-call:active {
  background: rgba(0, 153, 212, 0.2);
}

.btn-sticky-enroll {
  flex: 1.3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 10px;
  border-radius: var(--radius-md);
  font-weight: 900;
  font-size: 14px;
  min-height: 48px;
  box-shadow: 0 4px 12px rgba(0, 153, 212, 0.3);
}

.btn-sticky-enroll:active {
  background: var(--primary-hover);
}

/* RESPONSIVE & MOBILE ADAPTATIONS */
html,
body {
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 992px) {
  .programs-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {

  /* Header & Top Bar */
  .top-bar {
    padding: 6px 12px;
    font-size: 11px;
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .top-info {
    gap: 10px;
    font-size: 11px;
  }

  .header-inner {
    padding: 10px 14px;
  }

  .brand-badge {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .brand-title {
    font-size: 15px;
  }

  .brand-subtitle {
    font-size: 11px;
  }

  .nav-links,
  .btn-header {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .mobile-subnav {
    display: flex;
  }

  /* Show Sticky Action Bar on Mobile */
  .mobile-sticky-bar {
    display: flex;
  }

  /* Add extra bottom padding to footer so it doesn't get overlapped by sticky bar */
  .footer {
    padding-bottom: 85px;
  }

  /* Hero Section */
  .hero {
    padding: 50px 16px 40px 16px;
  }

  .hero-title {
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 14px;
  }

  .hero-sub {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .btn-lg {
    width: 100%;
    max-width: 100%;
    padding: 15px 20px;
    font-size: 15px;
    min-height: 48px;
  }

  /* Sections Spacing */
  .section {
    padding: 44px 14px;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-title {
    font-size: 24px;
  }

  /* Grids */
  .about-grid,
  .contacts-grid,
  .form-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-card {
    padding: 22px 16px;
  }

  .about-card h3 {
    font-size: 18px;
  }

  .about-card ul li {
    font-size: 13.5px;
    padding: 10px 14px;
    margin-bottom: 8px;
  }

  /* Program Cards */
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .program-card {
    padding: 20px 16px;
  }

  .program-card-title {
    font-size: 18px;
  }

  .program-card-desc {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .btn-group {
    flex-direction: row;
    gap: 8px;
  }

  .btn-secondary,
  .btn-primary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    font-size: 13px;
  }

  /* Advantages */
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .advantage-item {
    padding: 20px 16px;
  }

  .advantage-num {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .advantage-title {
    font-size: 16px;
  }

  /* Form & Inputs */
  .form-card {
    padding: 22px 16px;
    border-radius: var(--radius-md);
  }

  /* Font size 16px prevents iOS Safari from auto-zooming on focus */
  .form-control {
    font-size: 16px;
    padding: 12px 14px;
    min-height: 46px;
  }

  select.form-control option {
    font-size: 15px;
  }

  .btn-submit {
    padding: 15px;
    font-size: 15px;
    min-height: 48px;
  }

  .checkbox-group {
    font-size: 12.5px;
    line-height: 1.5;
  }

  .checkbox-group input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    flex-shrink: 0;
  }

  /* Contacts & Map */
  .contacts-info-card {
    padding: 20px 16px;
  }

  .requisites-box {
    padding: 16px 12px;
    font-size: 12.5px;
  }

  /* Modal Mobile */
  .modal-content {
    padding: 20px 16px;
    border-radius: var(--radius-md);
    max-height: 90vh;
  }

  .modal-doc-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
  }

  .doc-download-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 22px;
  }

  .hero-sub {
    font-size: 13.5px;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-secondary,
  .btn-primary {
    width: 100%;
  }

  .brand-title {
    font-size: 14px;
  }

  .brand-subtitle {
    font-size: 10px;
  }
}

/* PROTECTED PDF MODAL STYLES (СВЕТЛАЯ ФИРМЕННАЯ ТЕМА) */
.protected-pdf-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.protected-pdf-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.protected-pdf-container {
  position: relative;
  z-index: 1;
  width: 95%;
  max-width: 1050px;
  height: 90vh;
  background: #ffffff;
  border: 1px solid rgba(0, 153, 212, 0.25);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 153, 212, 0.2);
  overflow: hidden;
}

.protected-pdf-header {
  background: linear-gradient(135deg, #e6f5fa 0%, #f0fdf4 100%);
  padding: 16px 24px;
  border-bottom: 1px solid #b3e5f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.protected-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 153, 212, 0.12);
  color: #0082b5;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 4px;
  border: 1px solid rgba(0, 153, 212, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.protected-title {
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
}

.protected-subtitle {
  color: #64748b;
  font-size: 12px;
}

.protected-close-btn {
  background: #ffffff;
  color: #475569;
  border: 1px solid #cbd5e1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.protected-close-btn:hover {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
  transform: scale(1.05);
}

.protected-pdf-body {
  flex: 1;
  background: #f1f5f9;
  position: relative;
  overflow-y: auto;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.protected-pdf-pages {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.protected-pdf-footer {
  background: #ffffff;
  padding: 12px 20px;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 12px;
  text-align: center;
  font-weight: 600;
  user-select: none;
}
