* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange: #f97316;
  --orange-light: #fff7ed;
  --orange-dark: #ea580c;
  --text: #1a1a2e;
  --text-secondary: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --card-shadow-hover: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.06);
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.5;
  background: var(--bg);
  -webkit-tap-highlight-color: transparent;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  background: white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 24px;
}

.header-logos {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-logo-link {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 6px 16px;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}

.header-logo-link:hover {
  background: rgba(255,255,255,0.25);
}

.header-logo-link img {
  height: 36px;
  max-width: 130px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}

.header.scrolled .header-logo-link {
  background: var(--bg-alt);
}

.header.scrolled .header-logo-link:hover {
  background: var(--border);
}

.header.scrolled .header-logo-link img {
  filter: brightness(0);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
  transition: color 0.3s;
}

.header.scrolled .header-phone {
  color: var(--text);
}

.header-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: var(--orange);
  color: white;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  touch-action: manipulation;
}

.header-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.header-btn:active {
  transform: translateY(0);
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  align-items: center;
  justify-content: center;
  overscroll-behavior: contain;
}

.modal-overlay.active {
  display: flex;
  will-change: opacity;
}

.modal {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  max-width: 520px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-secondary);
}

.modal h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.modal p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

.modal form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.modal form input,
.modal form select {
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: var(--bg-alt);
  width: 100%;
}

.modal form input:focus,
.modal form select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
  background: white;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  cursor: pointer;
}

.form-checkbox input {
  margin-top: 2px;
  width: auto;
  height: auto;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}

.form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 32px;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.form-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.form-btn:active {
  transform: translateY(0);
}

.form-or {
  font-size: 13px;
  color: var(--text-secondary);
}

.form-social {
  display: flex;
  gap: 10px;
}

.form-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.form-social-link svg {
  width: 18px;
  height: 18px;
}

.form-social-link:hover {
  border-color: var(--orange);
  background: var(--orange-light);
  color: var(--orange);
}

/* Doc modal */
.modal--doc {
  max-width: 720px;
  max-height: 80vh;
  padding: 32px 40px;
  overflow-y: auto;
}

.modal--doc h1 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.modal--doc h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 8px;
  color: var(--text);
}

.modal--doc h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 16px 0 6px;
  color: var(--text);
}

.modal--doc p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.modal--doc ul,
.modal--doc ol {
  padding-left: 20px;
  margin-bottom: 8px;
}

.modal--doc li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.modal--doc strong {
  color: var(--text);
  font-weight: 600;
}

.modal--doc a {
  color: var(--orange);
  text-decoration: underline;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.doc-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
  vertical-align: top;
}

.doc-table td:first-child {
  width: 40%;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding-top: 88px;
  margin-top: -88px;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  contain: strict;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1a1a2e;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero h1 span {
  color: #fbbf24;
}

.hero p {
  font-size: 20px;
  opacity: 0.9;
  margin: 0 auto 36px;
  max-width: 650px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
}

.hero-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #fbbf24;
}

.hero-stat-label {
  font-size: 15px;
  opacity: 0.8;
}

/* Filters */
.filters {
  padding: 24px 0;
  background: white;
  border-bottom: 1px solid var(--border);
  contain: layout paint;
}

.filters-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.filter-select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: white;
  color: var(--text);
  cursor: pointer;
  min-width: 140px;
}

.filter-select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.filter-reset {
  padding: 8px 16px;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-left: auto;
}

.filter-reset:hover {
  background: var(--orange-dark);
}

.filter-select, .filter-reset, .card-button, .cta-btn, .cta-social-link { touch-action: manipulation; }

/* Results bar */
.results-bar {
  padding: 16px 0 8px;
  font-size: 15px;
  color: var(--text-secondary);
}

.results-bar strong {
  color: var(--text);
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  padding: 16px 0 60px;
  content-visibility: auto;
  contain-intrinsic-size: 440px;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  will-change: transform;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.card:active {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

.card-image-wrap {
  width: 100%;
  padding-top: 66.67%;
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
}

.card-image-wrap .card-image {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 8px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-location {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.card-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: var(--orange-light);
  color: var(--orange-dark);
}

.card-tag.direction {
  background: #fae8ff;
  color: #a21caf;
}

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.card-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-secondary);
}

.card-meta-item strong {
  color: var(--text);
  font-weight: 600;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.card-feature {
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-alt);
  padding: 3px 8px;
  border-radius: 6px;
}

.card-sessions {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.card-sessions summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.card-sessions ul {
  list-style: none;
  padding: 4px 0 0 12px;
}

.card-sessions li {
  padding: 2px 0;
  font-size: 12px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
}

.card-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--orange);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.card-button:hover {
  background: var(--orange-dark);
}

/* No results */
.no-results {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
  color: var(--text-secondary);
}

.no-results h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text);
}

/* CTA section */
.cta-section {
  position: relative;
  background: #0f0f1a;
  color: white;
  overflow: hidden;
  padding: 80px 0;
  contain: layout paint;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.cta-content {
  flex: 1;
  min-width: 0;
}

.cta-image {
  flex: 1;
  min-width: 0;
}

.cta-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.cta-subtitle {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}

.cta-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-title span {
  color: #fbbf24;
}

.cta-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  max-width: 500px;
  line-height: 1.6;
}

.cta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.cta-badges span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.cta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.cta-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.cta-form-grid label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
}

.cta-form-grid input,
.cta-form-grid select {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: white;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.cta-form-grid input::placeholder {
  color: rgba(255,255,255,0.25);
}

.cta-form-grid select option {
  background: #1a1a2e;
  color: #fff;
}

.cta-form-grid input:focus,
.cta-form-grid select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
  background: rgba(255,255,255,0.1);
}

.cta-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
  cursor: pointer;
  margin-bottom: 16px;
}

.cta-checkbox input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  accent-color: var(--orange);
  flex-shrink: 0;
}

.cta-form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 4px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 32px;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.cta-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.cta-btn:active {
  transform: translateY(0);
}

.cta-or {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.cta-social {
  display: flex;
  gap: 12px;
}

.cta-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  text-decoration: none;
  transition: background 0.2s;
}

.cta-social-link svg {
  width: 18px;
  height: 18px;
}

.cta-social-link:hover {
  background: rgba(255,255,255,0.2);
}

.cta-social-link[aria-label="Telegram"]:hover {
  background: #0088cc;
}

.cta-social-link[aria-label="VK"]:hover {
  background: #4680C2;
}

.cta-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.cta-glow--tl {
  top: -120px;
  right: -120px;
  background: rgba(249,115,22,0.12);
  filter: blur(100px);
}

.cta-glow--br {
  bottom: -120px;
  left: -120px;
  background: rgba(249,115,22,0.08);
  filter: blur(100px);
}

/* Footer */
.site-footer {
  background: #141414;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0;
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-label {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2px;
}

.footer-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-all;
}

.footer-link:hover {
  color: white;
}

.footer-text {
  color: rgba(255,255,255,0.7);
  word-break: break-all;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  text-decoration: none;
  transition: background 0.2s;
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}

.footer-social-link:hover {
  background: rgba(255,255,255,0.2);
}

.footer-docs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-doc-link {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-doc-link:hover {
  color: rgba(255,255,255,0.7);
}

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  text-align: center;
}

.footer-bar p {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

/* Programs section — horizontal accordion */
.prog-section {
  padding: 80px 0;
  background: var(--bg-alt);
}

.prog-header {
  text-align: center;
  margin-bottom: 48px;
}

.prog-subtitle {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 8px;
}

.prog-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.prog-title span {
  color: var(--orange);
}

.prog-accordion {
  display: flex;
  gap: 12px;
  height: 460px;
}

.prog-panel {
  flex: 1;
  position: relative;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  padding: 0;
  text-align: left;
  background: #1a1a2e;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-width: 0;
}

.prog-panel.is-active {
  flex: 3;
}

.prog-panel-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.prog-panel:hover .prog-panel-img {
  transform: scale(1.05);
}

.prog-panel-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

.prog-panel-num {
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 40px;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  z-index: 2;
  letter-spacing: -0.03em;
}

.prog-panel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 28px 24px;
  color: white;
}

.prog-panel-word {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
  line-height: 1.1;
}

.prog-panel-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.prog-panel-details {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.prog-panel.is-active .prog-panel-details {
  max-height: 120px;
  opacity: 1;
}

.prog-panel-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin: 8px 0 12px;
}

.prog-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: gap 0.2s;
}

.prog-panel-link svg {
  transition: transform 0.2s;
}

.prog-panel:hover .prog-panel-link {
  gap: 10px;
}

.prog-panel:hover .prog-panel-link svg {
  transform: translateX(2px);
}

@media (max-width: 992px) {
  .prog-accordion {
    height: 380px;
  }
  .prog-panel.is-active {
    flex: 2.5;
  }
  .prog-panel-word {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .prog-section {
    padding: 48px 0;
  }
  .prog-header {
    margin-bottom: 32px;
  }
  .prog-title {
    font-size: 28px;
  }
  .prog-accordion {
    height: 320px;
    gap: 8px;
  }
  .prog-panel-content {
    padding: 20px 16px;
  }
  .prog-panel-num {
    font-size: 32px;
    top: 16px;
    left: 18px;
  }
  .prog-panel-word {
    font-size: 20px;
  }
  .prog-panel-title {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .prog-accordion {
    height: 280px;
    gap: 6px;
  }
  .prog-panel.is-active {
    flex: 2;
  }
  .prog-panel-num {
    font-size: 24px;
    top: 12px;
    left: 14px;
  }
  .prog-panel-content {
    padding: 16px 14px;
  }
  .prog-panel-title {
    font-size: 15px;
  }
  .prog-panel-desc {
    font-size: 11px;
    margin: 6px 0 8px;
  }
  .prog-panel-link {
    font-size: 12px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    background: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  }
  .header .header-logo-link {
    background: var(--bg-alt);
    backdrop-filter: none;
  }
  .header .header-logo-link img {
    filter: brightness(0);
  }
  .header .header-phone {
    color: var(--text);
  }

  .hero { min-height: 400px; padding-top: 80px; margin-top: -80px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; margin: 0 auto 28px; }
  .hero-stats { gap: 24px; }
  .hero-stat-value { font-size: 24px; }

  .header-logos { gap: 16px; }
  .header-logo-link img { height: 28px; }
  .header-phone { font-size: 15px; }
  .header-right { gap: 10px; }
  .header-btn { padding: 10px 18px; font-size: 14px; }
  .header-inner { height: 64px; gap: 10px; }

  .filters-inner { flex-direction: column; align-items: stretch; }
  .filter-select { min-width: 100%; }
  .filter-reset { margin-left: 0; }

  .cards-grid { grid-template-columns: 1fr; }

  .card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 4.5em;
  }

  .modal {
    margin: 16px;
    padding: 32px 24px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .form-row { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: stretch; text-align: center; }
  .form-btn { width: 100%; }
  .form-social { justify-content: center; }

  .cta-inner { flex-direction: column; gap: 40px; }
  .cta-title { font-size: 28px; }
  .cta-desc { font-size: 15px; max-width: none; }
  .cta-form-grid { grid-template-columns: 1fr; }
  .cta-form-footer { flex-direction: column; align-items: stretch; }
  .cta-btn { width: 100%; }
  .cta-social { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  }

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { min-height: 360px; padding-top: 72px; margin-top: -72px; }
  .hero h1 { font-size: 26px; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .hero-stat-value { font-size: 22px; }
  .hero-stat { min-width: 80px; }

  .card-body { padding: 16px; }
  .card-image-wrap { padding-top: 55%; }
  .card-title { font-size: 16px; }
  .card-meta { flex-direction: column; gap: 6px; }
  .card-features { gap: 4px; }
  .card-feature { font-size: 11px; padding: 2px 6px; }
  .card-price { font-size: 16px; }
  .card-button { padding: 8px 16px; font-size: 13px; }

  .filter-group { gap: 2px; }
  .filter-select { padding: 10px 12px; font-size: 16px; min-height: 44px; }
  .filter-reset { padding: 10px 16px; min-height: 44px; }
  .cta-section { padding: 48px 0; }
  .cta-title { font-size: 26px; }
  .cta-desc { font-size: 14px; }
  .cta-form-grid { gap: 14px; }
  .cta-btn { white-space: normal; padding: 0 20px; }
  .cta-badges { gap: 8px; }
  .header-btn { min-height: 44px; }

  .header-phone { font-size: 13px; }
  .header-logos { gap: 8px; }
  .header-logo-link { padding: 4px 10px; }
  .header-logo-link img { height: 24px; max-width: 80px; }
  .header-logo-link:nth-child(3) { display: none; }

  .cta-section { padding: 48px 0; }
  .cta-title { font-size: 24px; }
}

@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .hero { min-height: 320px; padding-top: 64px; margin-top: -64px; }
  .hero h1 { font-size: 22px; }
  .hero p { font-size: 14px; margin: 0 auto 20px; }
  .hero-stat-value { font-size: 18px; }
  .hero-stat-label { font-size: 12px; }

  .header-logos { gap: 6px; }
  .header-logo-link { padding: 3px 8px; }
  .header-logo-link img { height: 18px; max-width: 70px; }
  .header-phone { font-size: 11px; }
  .header-btn { padding: 6px 10px; font-size: 11px; min-height: 32px; }
  .header-inner { height: 44px; gap: 4px; }

  .card-body { padding: 12px; }
  .card-image-wrap { padding-top: 50%; }
  .card-title { font-size: 15px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }

  .cta-section { padding: 40px 0; }
  .cta-title { font-size: 22px; }
  .cta-subtitle { font-size: 11px; }
  .cta-desc { font-size: 14px; }
  .cta-badges { gap: 8px; flex-wrap: wrap; }
  .cta-badges span { font-size: 12px; }
  .cta-form-grid { gap: 12px; margin-bottom: 12px; }
  .cta-form-grid input, .cta-form-grid select { height: 44px; font-size: 16px; }
  .cta-btn { height: 44px; font-size: 14px; white-space: normal; }
  .cta-checkbox { font-size: 11px; gap: 8px; margin-bottom: 12px; }
  .cta-form-footer { gap: 10px; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translate(0) !important;
}

.reveal-up {
  transform: translateY(50px);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal-fade {
  transform: none;
}

/* Cookie consent */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1a1a2e;
  color: #fff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-text {
  margin: 0;
  max-width: 640px;
  color: #ccc;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.cookie-btn:hover {
  transform: translateY(-1px);
}

.cookie-accept {
  background: #ff6b2b;
  color: #fff;
}

.cookie-accept:hover {
  background: #e55a1f;
}

.cookie-decline {
  background: transparent;
  color: #999;
  border: 1px solid #444;
}

.cookie-decline:hover {
  background: #333;
  color: #fff;
}
