:root {
  --font-main: 'Golos Text', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Golos Text', 'Inter', sans-serif;

  /* Colors */
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-dark: #090f1d;
  --bg-dark-card: #131c31;
  --bg-dark-border: #1e2d4d;
  
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-light: #eff6ff;
  --primary-glow: rgba(29, 78, 216, 0.25);

  --accent-gold: #d97706;
  --accent-gold-light: #fef3c7;
  --accent-gold-glow: rgba(217, 119, 6, 0.25);

  --accent-green: #059669;
  --accent-green-light: #ecfdf5;

  --text-main: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  --text-inverse-muted: #94a3b8;

  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.18);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Typography Helpers */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  border: 1px solid rgba(29, 78, 216, 0.15);
}

.section-badge--dark {
  background-color: rgba(29, 78, 216, 0.18);
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.25);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title--inverse {
  color: var(--text-inverse);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 40px;
}

.section-subtitle--inverse {
  color: var(--text-inverse-muted);
}

.section {
  padding: 80px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
}

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

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  user-select: none;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-light);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--bg-primary);
  border-color: var(--text-muted);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
}

/* Topbar */
.header-topbar {
  background-color: var(--bg-dark);
  color: #94a3b8;
  font-size: 0.8rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #34d399;
  font-weight: 500;
  white-space: nowrap;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  font-size: 0.78rem;
}

.topbar-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Header Container */
.header-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1d4ed8 0%, #0f172a 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(29, 78, 216, 0.28);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--bg-dark);
  line-height: 1;
  white-space: nowrap;
}

.logo-title span {
  color: var(--primary);
}

.logo-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  margin-top: 3px;
}

/* Desktop Nav Menu - Modern Pill Capsule Style */
.nav-menu-wrapper,
.nav-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  margin: 0 10px;
}

.nav-menu {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 4px;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
}

.nav-link {
  display: inline-block;
  font-weight: 600;
  font-size: 0.85rem;
  color: #475569;
  padding: 7px 13px;
  border-radius: var(--radius-full);
  white-space: nowrap !important;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1.2;
}

.nav-link:hover {
  color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Dropdown Menu in Desktop Navigation */
.nav-item-dropdown {
  position: relative;
}

button.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 7px 13px;
  border-radius: var(--radius-full);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

button.dropdown-toggle:hover,
.nav-item-dropdown.open button.dropdown-toggle,
.nav-item-dropdown:hover button.dropdown-toggle {
  color: var(--primary);
  background-color: var(--bg-primary);
}

.dropdown-arrow {
  transition: transform var(--transition-fast);
  margin-top: 1px;
  pointer-events: none;
}

.nav-item-dropdown:hover .dropdown-arrow,
.nav-item-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 290px;
  padding-top: 6px; /* Safe hover zone connecting button and card */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 1000;
}

/* Invisible bridge so mouse never leaves hover bounds */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown.open .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background-color var(--transition-fast);
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.nav-dropdown-item:hover {
  background-color: var(--bg-primary);
}

.nav-dropdown-item.highlight-item,
.nav-dropdown-item.active-page {
  background-color: var(--primary-light);
}

.nav-dropdown-item.highlight-item:hover,
.nav-dropdown-item.active-page:hover {
  background-color: #dbeafe;
}

.dropdown-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.nav-dropdown-item.highlight-item .dropdown-item-title,
.nav-dropdown-item.active-page .dropdown-item-title {
  color: var(--primary);
}

.dropdown-item-desc {
  font-size: 0.725rem;
  color: var(--text-muted);
  margin-top: 2px;
  pointer-events: none;
}

.nav-dropdown-divider {
  height: 1px;
  background-color: var(--border-light);
  margin: 4px 0;
}

.nav-dropdown-all {
  padding: 7px 12px;
  font-size: 0.785rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background-color var(--transition-fast);
  cursor: pointer;
}

.nav-dropdown-all:hover {
  background-color: var(--primary-light);
}


/* Header Action Contacts */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.contact-quick {
  display: flex;
  flex-direction: column;
  text-align: right;
  flex-shrink: 0;
}

.contact-phone {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.15;
  white-space: nowrap !important;
  letter-spacing: -0.01em;
}

.contact-phone:hover {
  color: var(--primary);
}

.contact-status {
  font-size: 0.72rem;
  color: var(--accent-green);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  white-space: nowrap !important;
  margin-top: 2px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-green);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

.btn-header {
  white-space: nowrap !important;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

/* Mobile Hamburger Button */
.mobile-burger-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 8px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: space-around;
  flex-shrink: 0;
}

.mobile-burger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-burger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-burger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - 75px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  padding: 18px 20px 24px;
  z-index: 999;
}

@media (max-width: 1220px) {
  .mobile-nav-drawer.active {
    display: block !important;
  }
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.mobile-nav-link {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

.mobile-nav-link:hover {
  background-color: var(--bg-primary);
  color: var(--primary);
}

.mobile-nav-group {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  margin-bottom: 6px;
}

.mobile-group-title {
  font-size: 0.725rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px 8px;
}

.mobile-subnav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
  margin: 0;
}

.mobile-subnav .mobile-nav-link {
  font-size: 0.9rem;
  padding: 7px 10px;
  background-color: transparent;
}

.mobile-subnav .mobile-nav-link:hover {
  background-color: #ffffff;
}

.mobile-nav-link.active-page,
.mobile-subnav .mobile-nav-link.active-page {
  color: var(--primary) !important;
  font-weight: 700 !important;
  background-color: rgba(18, 53, 91, 0.08) !important;
}

.mobile-nav-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-phone {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #090f1d 0%, #131c31 100%);
  color: var(--text-inverse);
  padding: 70px 0 90px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-title span {
  background: linear-gradient(90deg, #60a5fa 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc,
.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 32px;
}

.hero-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #f1f5f9;
  font-weight: 500;
}

.hero-feature-item svg {
  flex-shrink: 0;
  color: #38bdf8;
}

.hero-cta-group,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-security-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  max-width: 580px;
}

.hero-security-note svg {
  flex-shrink: 0;
  color: #38bdf8;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.hero-stat-text {
  font-size: 0.8rem;
  color: var(--text-inverse-muted);
}

/* Document Mockup Visual in Hero */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.doc-mockup-card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(145deg, #1c2742 0%, #121a2d 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 35px rgba(37, 99, 235, 0.2);
  position: relative;
  overflow: hidden;
}

.doc-mockup-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1d4ed8, #f59e0b, #38bdf8);
}

.doc-header-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.doc-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(5, 150, 105, 0.2);
  border: 1px solid rgba(5, 150, 105, 0.4);
  color: #34d399;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.doc-year-tag {
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Realistic SVG Diploma Placeholder Box */
.diploma-preview-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  color: #0f172a;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.05), 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

/* Guilloche watermark pattern simulation */
.diploma-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.06;
  pointer-events: none;
  width: 200px;
  height: 200px;
}

.diploma-emblem {
  text-align: center;
  margin-bottom: 12px;
}

.diploma-emblem svg {
  margin: 0 auto;
  color: #991b1b;
}

.diploma-inner-title {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1e293b;
  margin-bottom: 6px;
}

.diploma-inner-sub {
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
}

.diploma-skeleton-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.skeleton-line {
  height: 6px;
  background-color: #f1f5f9;
  border-radius: 3px;
}

.skeleton-line.w-80 { width: 80%; margin: 0 auto; }
.skeleton-line.w-60 { width: 60%; margin: 0 auto; }
.skeleton-line.w-90 { width: 90%; margin: 0 auto; }

.diploma-footer-seal {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 8px;
}

.seal-stamp {
  width: 48px;
  height: 48px;
  border: 2px dashed #0284c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  font-size: 0.55rem;
  font-weight: 800;
  text-align: center;
  transform: rotate(-10deg);
  opacity: 0.85;
}

.seal-signature {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.sig-line {
  font-family: 'Brush Script MT', cursive, sans-serif;
  font-size: 1.1rem;
  color: #1e3a8a;
}

.sig-title {
  font-size: 0.65rem;
  color: #94a3b8;
}

/* Security tags around preview card */
.security-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.sec-chip {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #cbd5e1;
}

.sec-chip svg {
  color: #f59e0b;
  flex-shrink: 0;
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */
.trust-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
}

.trust-grid,
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.trust-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   5-Step Order Process Section
   ========================================================================== */
.process-section {
  padding: 80px 0;
  background-color: var(--bg-surface);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}

.process-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.process-step-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: #cbd5e1;
  line-height: 1;
  margin-bottom: 14px;
  transition: color var(--transition-fast);
}

.process-card:hover .process-step-num {
  color: var(--primary);
}

.process-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.process-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.process-card-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Catalog & Pricing Section (30 Positions)
   ========================================================================== */
.catalog-section {
  padding: 90px 0;
  background-color: var(--bg-primary);
}

/* Tabs */
.catalog-tabs-wrapper {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 36px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 4px 12px;
  box-sizing: border-box;
}

.catalog-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.catalog-tabs {
  display: inline-flex;
  background-color: #e2e8f0;
  padding: 5px;
  border-radius: var(--radius-full);
  gap: 4px;
  flex-shrink: 0;
  margin: 0 auto;
}

.tab-btn {
  background: none;
  border: none;
  padding: 10px 22px;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  background-color: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Catalog Grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.doc-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.doc-card:hover {
  transform: translateY(-5px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-xl);
}

/* Card Visual Header */
.doc-card-thumb {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.thumb-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.725rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.15);
  margin-bottom: 10px;
  backdrop-filter: blur(4px);
}

.thumb-tag.gold {
  background-color: var(--accent-gold);
  color: #ffffff;
}

.doc-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
  color: #ffffff;
}

.doc-card-years {
  font-size: 0.85rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Card Body */
.doc-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doc-features-mini {
  list-style: none;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doc-features-mini li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.doc-features-mini li svg {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Price Box */
.doc-price-box {
  margin-top: auto;
  padding: 16px;
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}

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

.price-row:not(:last-child) {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border-light);
}

.price-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price-val-wrap {
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

.price-old {
  font-size: 0.8rem;
  color: #94a3b8;
  text-decoration: line-through;
  margin-right: 6px;
}

.price-current {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.price-current.highlight {
  color: var(--primary);
  font-size: 1.25rem;
}

.doc-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* ==========================================================================
   Security & Legitimacy Section (ГОЗНАК)
   ========================================================================== */
.security-section {
  padding: 90px 0;
  background-color: var(--bg-dark);
  color: var(--text-inverse);
  position: relative;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.security-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sec-item {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  gap: 18px;
  transition: all var(--transition-normal);
  min-width: 0;
  box-sizing: border-box;
}

.sec-item:hover {
  border-color: #3b82f6;
  transform: translateX(6px);
}

.sec-icon-wrap,
.sec-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-md);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.sec-item-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sec-item-text h4,
.sec-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.sec-item-text p,
.sec-desc {
  font-size: 0.9rem;
  color: var(--text-inverse-muted);
  line-height: 1.5;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Security Visual Preview */
.sec-visual-card {
  background: radial-gradient(circle at center, #1e293b 0%, #0a0f1d 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 40px rgba(29, 78, 216, 0.15);
}

.sec-visual-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.sec-visual-desc {
  font-size: 0.95rem;
  color: var(--text-inverse-muted);
  margin-bottom: 30px;
}

.sec-elements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sec-badge-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
}

.sec-badge-card strong {
  display: block;
  font-size: 0.95rem;
  color: #38bdf8;
  margin-bottom: 4px;
}

.sec-badge-card p {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0;
}

/* ==========================================================================
   Guarantees & Safety
   ========================================================================== */
.guarantees-section {
  padding: 90px 0;
  background-color: var(--bg-surface);
}

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

.guarantees-grid--2col {
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.guarantee-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.guarantee-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.guarantee-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.1) 0%, rgba(37, 99, 235, 0.2) 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.guarantee-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.guarantee-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Delivery & Payment
   ========================================================================== */
.delivery-section {
  padding: 80px 0;
  background-color: var(--bg-primary);
}

.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.delivery-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.delivery-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.delivery-card-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.delivery-card-title {
  font-size: 1.3rem;
  font-weight: 800;
}

.delivery-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.delivery-features li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  align-items: flex-start;
}

.delivery-features li svg {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Reviews / Testimonials
   ========================================================================== */
.reviews-section {
  padding: 90px 0;
  background-color: var(--bg-surface);
}

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

.review-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.author-city {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-stars {
  color: #f59e0b;
  display: flex;
  gap: 3px;
}

.review-doc-type {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.review-text {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.review-date {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-section {
  padding: 90px 0;
  background-color: var(--bg-primary);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--primary-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding-bottom: 22px;
}

/* ==========================================================================
   Lead Capture Section / Feedback Form
   ========================================================================== */
.cta-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #090f1d 0%, #1e293b 100%);
  color: var(--text-inverse);
  position: relative;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
}

.cta-info {
  min-width: 0;
}

.cta-info h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cta-info p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 30px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.cta-guarantee-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #f1f5f9;
  font-weight: 500;
  min-width: 0;
}

.cta-bullet span {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cta-bullet svg {
  color: #34d399;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Form Card */
.form-card {
  background-color: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.form-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-card-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  background-color: #f8fafc;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-privacy-note {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-inverse-muted);
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo-title {
  color: #ffffff;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 14px;
  margin-bottom: 20px;
  color: #94a3b8;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.footer-contact-item svg {
  color: #60a5fa;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-tg-link {
  color: #38bdf8 !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.footer-tg-link:hover {
  color: #7dd3fc !important;
  text-decoration-color: #7dd3fc;
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #64748b;
}

/* ==========================================================================
   Modal Dialogs
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(9, 15, 29, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.modal-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 4px 0 0;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  color: var(--text-main);
  background-color: var(--bg-primary);
}

.modal-body {
  padding: 28px;
}

/* Success Modal View */
.success-view {
  text-align: center;
  padding: 20px 10px;
}

.success-icon-wrap {
  width: 68px;
  height: 68px;
  background-color: var(--accent-green-light);
  color: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.success-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Floating Mobile Action Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 10px 16px;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  z-index: 99;
  justify-content: space-between;
  gap: 10px;
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Adaptation
   ========================================================================== */
@media (max-width: 1260px) {
  .header-container {
    padding: 10px 14px;
    gap: 8px;
  }
  .nav-menu-wrapper {
    margin: 0 4px;
  }
  .nav-menu {
    gap: 1px;
    padding: 2px;
  }
  .nav-link {
    padding: 5px 8px;
    font-size: 0.785rem;
  }
  .header-actions {
    gap: 8px;
  }
  .contact-phone {
    font-size: 0.88rem;
  }
  .btn-header {
    padding: 7px 11px;
    font-size: 0.78rem;
  }
}

@media (max-width: 1220px) {
  .nav-menu-wrapper {
    display: none;
  }
  .mobile-burger-btn {
    display: flex;
  }
  .topbar-info {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-visual {
    order: 2;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-grid,
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .security-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .catalog-tabs-wrapper {
    justify-content: flex-start;
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 768px) {
  .header-topbar {
    padding: 6px 12px;
  }
  .topbar-content {
    justify-content: center;
    padding: 0;
  }
  .topbar-badge {
    white-space: normal;
    font-size: 0.72rem;
    text-align: center;
    justify-content: center;
    line-height: 1.35;
  }
  .topbar-info {
    display: none;
  }
  .header-container {
    padding: 10px 16px;
  }
  .contact-quick {
    display: none;
  }
  .btn-header {
    display: none;
  }
  .hero {
    padding: 40px 0 60px;
  }
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
  }
  .hero-desc,
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .hero-features-list {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 28px;
  }
  .hero-cta-group,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 24px;
  }
  .hero-cta-group .btn,
  .hero-actions .btn {
    width: 100%;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
    padding-top: 20px;
  }
  .hero-stat-num {
    font-size: 1.45rem;
  }
  .hero-stat-text {
    font-size: 0.72rem;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid,
  .trust-bar-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .guarantees-grid,
  .guarantees-grid--2col {
    grid-template-columns: 1fr;
  }
  .delivery-grid {
    grid-template-columns: 1fr;
  }
  .delivery-card {
    padding: 24px 20px;
  }
  .sec-visual-card {
    padding: 24px 16px;
  }
  .sec-elements-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sec-item {
    padding: 16px;
    gap: 14px;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .form-card {
    padding: 24px 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .mobile-sticky-bar {
    display: flex;
  }
  body {
    padding-bottom: 65px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }
  .hero-title {
    font-size: 1.75rem;
    word-break: break-word;
  }
  .doc-mockup-card {
    padding: 18px 12px;
    border-radius: var(--radius-lg);
  }
  .diploma-preview-box {
    padding: 18px 12px;
  }
  .diploma-inner-title {
    font-size: 0.95rem;
  }
  .security-chips {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .sec-chip {
    padding: 6px 8px;
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   Category Page Styles (Bachelor, Master, Specialist, etc.)
   ========================================================================== */

/* Breadcrumbs */
.breadcrumbs {
  padding: 12px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.breadcrumbs-item {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs-item a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.breadcrumbs-item a:hover {
  color: var(--primary);
}

.breadcrumbs-item.active {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumbs-separator {
  color: #cbd5e1;
  font-size: 0.75rem;
}

/* Comparison Section */
.comparison-section {
  padding: 85px 0;
  background-color: var(--bg-surface);
}

.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background-color: #ffffff;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  min-width: 600px;
}

.comparison-table th, 
.comparison-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  background-color: var(--bg-primary);
  font-weight: 800;
  color: var(--text-main);
  font-size: 0.95rem;
}

.comparison-table tr.highlight-row {
  background-color: var(--primary-light);
}

.comparison-table tr.highlight-row td {
  font-weight: 700;
  color: var(--primary-hover);
}

/* Specialties Section */
.specialties-section {
  padding: 85px 0;
  background-color: var(--bg-primary);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.specialty-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: all var(--transition-normal);
  min-width: 0;
  box-sizing: border-box;
}

.specialty-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.specialty-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.specialty-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.specialty-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.specialty-sub {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
  overflow-wrap: break-word;
  word-break: break-word;
}

.specialty-code {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-top: auto;
  border: 1px solid rgba(29, 78, 216, 0.15);
}

/* Situations Section */
.situations-section {
  padding: 85px 0;
  background-color: var(--bg-surface);
}

.situations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.situation-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
}

.situation-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.situation-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.situation-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  overflow-wrap: break-word;
}

/* Category Responsive Overrides */
@media (max-width: 1080px) {
  .specialties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .situations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .specialties-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .situations-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .specialty-card {
    padding: 18px 16px;
  }
}

/* Category Page Periods Grid (2 columns on desktop, 1 column on mobile) */
.catalog-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .catalog-grid-2col {
    grid-template-columns: 1fr;
    max-width: 560px;
    gap: 20px;
  }
}

@media (max-width: 540px) {
  .catalog-grid-2col {
    max-width: 100%;
    gap: 18px;
  }
  .doc-card-thumb {
    padding: 20px 18px;
  }
  .doc-card-body {
    padding: 20px 18px;
  }
  .doc-card-title {
    font-size: 1.15rem;
  }
  .thumb-tag {
    white-space: nowrap;
    padding: 4px 12px;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   Delivery & Payment Page Styles
   ========================================================================== */
.delivery-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.delivery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.delivery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: var(--shadow-md);
}

.delivery-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.delivery-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.delivery-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.delivery-badge.gold {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.delivery-badge.green {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.delivery-badge.blue {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.delivery-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.3;
}

.delivery-card-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 22px;
}

.delivery-card-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.delivery-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  gap: 12px;
}

.delivery-spec-label {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.delivery-spec-value {
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
}

.delivery-spec-value.highlight-green {
  color: #059669;
}

.delivery-spec-value.highlight-blue {
  color: var(--primary);
}

/* Payment Methods Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.payment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.payment-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.payment-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.payment-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.payment-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Warning / Alert Callout Banner */
.callout-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.callout-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(239, 68, 68, 0.15);
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.callout-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #b91c1c;
  margin-bottom: 4px;
}

.callout-text {
  font-size: 0.9rem;
  color: #7f1d1d;
  line-height: 1.5;
}

/* Inspection Checklist Grid */
.inspection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.inspection-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.inspection-card:hover {
  transform: translateY(-3px);
  border-color: #3b82f6;
  box-shadow: var(--shadow-sm);
}

.inspection-step-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(37, 99, 235, 0.2);
  line-height: 1;
  margin-bottom: 12px;
}

.inspection-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.inspection-card-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Packaging & Anonymity Section */
.packaging-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-top: 36px;
}

.safe-package-mockup {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: radial-gradient(circle at top right, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.safe-package-seal {
  position: absolute;
  top: 18px;
  right: -32px;
  background: #dc2626;
  color: #ffffff;
  padding: 4px 40px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.safe-package-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  border-left: 3px solid #34d399;
}

.safe-package-row-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.safe-package-row-desc {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* City Delivery Calculator */
.calc-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  margin-top: 36px;
}

.city-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}

.city-pill-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-primary);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.city-pill-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.city-pill-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.calc-result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border-light);
}

.calc-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calc-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.calc-stat-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.calc-stat-value.green {
  color: #059669;
}

@media (max-width: 992px) {
  .delivery-methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .payment-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .inspection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .packaging-grid {
    grid-template-columns: 1fr;
  }
  .calc-result-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }
  .inspection-grid {
    grid-template-columns: 1fr;
  }
  .calc-box {
    padding: 24px 18px;
  }
  .calc-result-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .callout-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 18px;
  }
}

/* ==========================================================================
   Hero Guarantee Badges & Card (garantii.html)
   ========================================================================== */
.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-badge-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #f1f5f9;
  font-weight: 500;
  line-height: 1.45;
}

.hero-badge-item .badge-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-badge-item span {
  flex: 1;
}

.hero-pricing-card {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background: radial-gradient(circle at top right, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  color: #ffffff;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 30px rgba(37, 99, 235, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #38bdf8, #f59e0b);
}

.card-pretitle {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 6px;
}

.card-main-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.card-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 20px;
  line-height: 1.4;
}

.guarantee-mini-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mini-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.3);
}

.mini-num {
  font-size: 1rem;
  font-weight: 800;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  min-width: 65px;
  text-align: center;
  flex-shrink: 0;
  line-height: 1.3;
}

.mini-content {
  flex: 1;
  min-width: 0;
}

.mini-content strong {
  display: block;
  font-size: 0.925rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.mini-content p {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   Reviews Page Styling (otzyvy.html)
   ========================================================================== */
.reviews-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.review-filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.review-filter-btn:hover,
.review-filter-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.review-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.review-quote-icon {
  font-size: 2rem;
  line-height: 1;
  color: rgba(37, 99, 235, 0.2);
  margin-bottom: -10px;
  font-family: Georgia, serif;
}

.review-card--featured {
  border-color: rgba(37, 99, 235, 0.4);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.review-card--featured::before {
  content: '★ ТОП КЕЙС';
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.12);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

/* Reviews stats banner */
.reviews-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  margin-top: 40px;
  box-shadow: var(--shadow-sm);
}

.review-stat-col {
  text-align: center;
  padding: 0 10px;
}

.review-stat-col:not(:last-child) {
  border-right: 1px solid var(--border-light);
}

.review-stat-big {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.review-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 900px) {
  .reviews-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .review-stat-col:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 540px) {
  .reviews-stats-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 16px;
  }
  .review-stat-col:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 16px;
  }
}

/* ==========================================================================
   Contacts Page Styling (kontakty.html)
   ========================================================================== */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-channel-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.contact-channel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.contact-channel-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.contact-channel-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.contact-channel-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  text-decoration: none;
  display: inline-block;
  word-break: break-word;
}

.contact-channel-value:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.contact-channel-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.hub-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.hub-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  align-self: flex-start;
}

.hub-city {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.hub-details-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.hub-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.hub-detail-item svg {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 3px;
}

@media (max-width: 1080px) {
  .contacts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hubs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Catalog Page Specific Styles (katalog.html)
   ========================================================================== */
.catalog-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 32px 0 24px;
  padding: 16px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.catalog-search-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 520px;
}

.catalog-search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.catalog-search-input:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
  outline: none;
}

.catalog-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.view-switcher {
  display: inline-flex;
  background: var(--bg-primary);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  gap: 4px;
}

.view-btn {
  border: none;
  background: transparent;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Table View for Catalog */
.catalog-table-view {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.catalog-full-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
  min-width: 820px;
}

.catalog-full-table th {
  background: var(--bg-primary);
  padding: 14px 18px;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 2px solid var(--border-light);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.catalog-full-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  vertical-align: middle;
}

.catalog-full-table tr:hover {
  background: rgba(248, 250, 252, 0.8);
}

.badge-level {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge-level-vuz { background: rgba(37, 99, 235, 0.12); color: #1d4ed8; }
.badge-level-spo { background: rgba(147, 51, 234, 0.12); color: #7e22ce; }
.badge-level-school { background: rgba(245, 158, 11, 0.15); color: #b45309; }
.badge-level-ussr { background: rgba(220, 38, 38, 0.12); color: #b91c1c; }

.price-badge-goznak {
  display: inline-flex;
  flex-direction: column;
}

.price-badge-goznak .price-now {
  font-size: 1.05rem;
  font-weight: 800;
  color: #059669;
}

.price-badge-goznak .price-was {
  font-size: 0.775rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.price-badge-tipo {
  display: inline-flex;
  flex-direction: column;
}

.price-badge-tipo .price-now {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.price-badge-tipo .price-was {
  font-size: 0.75rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

/* Calculator in Catalog */
.catalog-calc-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
}

@media (max-width: 768px) {
  .catalog-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-search-wrap {
    max-width: 100%;
  }
  .view-switcher {
    width: 100%;
    justify-content: center;
  }
  .catalog-calc-box {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   Pricing Page Specific Styles (tseny.html)
   ========================================================================== */
.pricing-packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.pricing-package-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.pricing-package-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.pricing-package-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, rgba(29, 78, 216, 0.02) 0%, #ffffff 100%);
  box-shadow: 0 10px 25px -5px rgba(29, 78, 216, 0.12);
}

.package-top-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-gold), #b45309);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.package-tier-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.package-tier-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 20px;
  min-height: 38px;
}

.package-price-wrap {
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.package-price-main {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.package-price-main.highlight {
  color: #059669;
}

.package-price-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.package-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.package-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.package-feature-item svg {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Price Factors Grid */
.price-factors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.price-factor-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition-normal);
}

.price-factor-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.price-factor-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(29, 78, 216, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.price-factor-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.price-factor-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Discounts Grid */
.discounts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.discount-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-primary) 100%);
  border: 1px dashed rgba(29, 78, 216, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  position: relative;
  transition: all var(--transition-fast);
}

.discount-card:hover {
  border-color: var(--primary);
  border-style: solid;
}

.discount-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #059669;
  font-family: var(--font-heading);
  margin-bottom: 6px;
}

.discount-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.discount-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1200px) {
  .pricing-packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .price-factors-grid,
  .discounts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pricing-packages-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Legal Document Styles (polzovatelskoe-soglashenie.html & politika-konfidencialnosti.html)
   ========================================================================== */
.legal-page-wrap {
  padding: 60px 0 90px;
  background-color: var(--bg-primary);
}

.legal-container {
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  box-shadow: var(--shadow-sm);
}

.legal-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.legal-section {
  margin-bottom: 36px;
}

.legal-h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-h2-num {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 800;
}

.legal-h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 18px 0 10px;
}

.legal-p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
}

.legal-notice-box {
  background: var(--bg-primary);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin: 22px 0;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.65;
}

.legal-nav-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.legal-tab-link {
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.legal-tab-link.active {
  background: rgba(29, 78, 216, 0.1);
  color: var(--primary);
  font-weight: 700;
}

.legal-tab-link:hover:not(.active) {
  color: var(--text-main);
  background: var(--bg-primary);
}

.legal-signature-box {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .legal-container {
    padding: 28px 20px;
  }
  .legal-signature-box {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   404 Error Page Styles (404.html)
   ========================================================================== */
.error-hero {
  position: relative;
  padding: 85px 0 95px;
  text-align: center;
  background: linear-gradient(180deg, #090f1d 0%, #131c31 100%);
  color: var(--text-inverse);
  overflow: hidden;
}

.error-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.22) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.error-code-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 8px;
}

.error-code {
  font-family: var(--font-heading);
  font-size: clamp(6.5rem, 16vw, 11.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 45%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  filter: drop-shadow(0 12px 24px rgba(29, 78, 216, 0.35));
}

.error-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.error-desc {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 34px;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.error-suggestions-section {
  padding: 65px 0 85px;
  background: var(--bg-primary);
}

.error-suggestions-header {
  text-align: center;
  margin-bottom: 36px;
}

.error-suggestions-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.error-suggestions-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
}

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

.error-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.error-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.error-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(29, 78, 216, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.error-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.35;
}

.error-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.error-card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.error-help-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.error-help-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.error-help-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.error-help-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.error-help-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.error-help-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .error-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .error-help-box {
    flex-direction: column;
    text-align: center;
  }
  .error-help-info {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .error-grid {
    grid-template-columns: 1fr;
  }
  .error-actions {
    flex-direction: column;
    width: 100%;
  }
  .error-actions .btn {
    width: 100%;
  }
  .error-help-actions {
    flex-direction: column;
    width: 100%;
  }
  .error-help-actions .btn {
    width: 100%;
  }
}

/* Floating Telegram Widget */
.floating-tg-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.floating-tg-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.45);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  position: relative;
}
.floating-tg-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(42, 171, 238, 0.5);
  animation: tgPulse 2s infinite ease-out;
}
@keyframes tgPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}
.floating-tg-widget:hover .floating-tg-btn {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 30px rgba(34, 158, 217, 0.6);
}
.floating-tg-tooltip {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
@media (max-width: 768px) {
  .floating-tg-widget {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 80px);
    right: 18px;
  }
  .floating-tg-tooltip {
    display: none;
  }
  .floating-tg-btn {
    width: 50px;
    height: 50px;
  }
}
