/* ========================================
   ТОО «Центр технической экспертизы и диагностики»
   Основной файл стилей
   ======================================== */

/* CSS Variables */
:root {
  --primary: #1a365d;
  --primary-dark: #0f2942;
  --primary-light: #2c5282;
  --accent: #c9a227;
  --accent-hover: #b8941f;
  --text: #1a202c;
  --text-light: #4a5568;
  --text-muted: #718096;
  --bg: #ffffff;
  --bg-light: #f7fafc;
  --bg-dark: #edf2f7;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 6px;
  --radius-lg: 10px;
  --transition: all 0.3s ease;
  --header-height: 80px;
  --header-height-mobile: 70px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 900px;
}

/* Section */
.section {
  padding: 80px 0;
}

.section-sm {
  padding: 50px 0;
}

.section-bg {
  background: var(--bg-light);
}

.section-dark {
  background: var(--primary);
  color: #fff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.85);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  margin-bottom: 15px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  background: var(--bg-light);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo-main {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-list {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.phone-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

.phone-link:hover {
  color: var(--accent-hover);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
  padding: calc(var(--header-height) + 60px) 0 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.hero-feature-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-feature-text strong {
  display: block;
  color: #fff;
  font-size: 1rem;
}

/* Stats Section */
.stats {
  background: var(--bg-light);
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span {
  color: var(--accent);
}

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

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-footer {
  margin-top: auto;
}

/* Service Cards */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleY(1);
}

/* Features List */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.feature-content h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.feature-content p {
  font-size: 0.875rem;
  margin: 0;
}

/* Steps */
.steps {
  display: flex;
  gap: 20px;
  counter-reset: step;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 15px;
}

.step::after {
  content: '';
  position: absolute;
  top: 25px;
  left: 60%;
  width: 80%;
  height: 2px;
  background: var(--border);
}

.step:last-child::after {
  display: none;
}

.step h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.875rem;
  margin: 0;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.pricing-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  border: 2px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.pricing-card.featured {
  border-color: var(--accent);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Популярный';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--primary-dark);
  padding: 4px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 25px;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Cities Grid */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.city-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.city-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.city-card h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.city-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Cases */
.case-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.case-image {
  background: var(--bg-dark);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.case-content {
  padding: 30px;
}

.case-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.case-results {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

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

.case-result-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

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

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: var(--transition);
  font-size: 0.95rem;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-file {
  padding: 30px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.form-file:hover {
  border-color: var(--primary);
  background: var(--bg-light);
}

/* Contact Info */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-info-content h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.contact-info-content p {
  margin: 0;
  font-size: 0.95rem;
}

.contact-info-content a {
  color: var(--primary);
}

.contact-info-content a:hover {
  color: var(--accent-hover);
}

/* Offices */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.office-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 25px;
}

.office-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.office-card address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 10px;
}

.office-card .note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 20px 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.breadcrumbs-list {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.875rem;
}

.breadcrumbs-list li:not(:last-child)::after {
  content: '/';
  margin-left: 10px;
  color: var(--text-muted);
}

.breadcrumbs-list a {
  color: var(--text-muted);
}

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

.breadcrumbs-list li:last-child {
  color: var(--text);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: var(--transition);
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-answer.active {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-answer p {
  margin: 0;
  color: var(--text-light);
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.cta h2 {
  color: #fff;
  margin-bottom: 15px;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Sticky Buttons */
.sticky-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.sticky-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.sticky-btn:hover {
  transform: scale(1.1);
}

.sticky-btn-phone {
  background: var(--accent);
  color: var(--primary-dark);
}

.sticky-btn-form {
  background: var(--primary);
  color: #fff;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(-20px);
  transition: var(--transition);
}

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

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--border);
}

.modal-title {
  margin-bottom: 10px;
}

.modal-subtitle {
  color: var(--text-muted);
  margin-bottom: 25px;
  font-size: 0.95rem;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 25px;
}

.success-message h3 {
  margin-bottom: 15px;
}

.success-message p {
  margin-bottom: 25px;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact {
  margin-bottom: 15px;
}

.footer-contact strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.footer-contact span {
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.footer-bottom a {
  margin-left: 20px;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* Verify Page */
.verify-box {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  text-align: center;
}

.verify-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.verify-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  text-align: center;
  letter-spacing: 2px;
}

.verify-input:focus {
  outline: none;
  border-color: var(--primary);
}

.verify-hint {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Tags */
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-light);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  margin-right: 8px;
  margin-bottom: 8px;
}

.tag-primary {
  background: var(--primary);
  color: #fff;
}

.tag-accent {
  background: var(--accent);
  color: var(--primary-dark);
}

/* List Styles */
.list-check {
  list-style: none;
}

.list-check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.list-check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
}

/* Table */
.table-responsive {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.table th {
  font-weight: 600;
  color: var(--primary);
  background: var(--bg-light);
}

.table tr:hover {
  background: var(--bg-light);
}

/* Language Selector */
.lang-selector {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.lang-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: var(--transition);
}

.lang-link:hover {
  border-color: var(--primary);
  background: var(--bg-light);
}

.lang-link.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Industries Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}

.industry-item {
  text-align: center;
  padding: 25px 15px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.industry-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.industry-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
}

.industry-item span {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .nav-list {
    gap: 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: var(--header-height-mobile);
  }
  
  .section {
    padding: 50px 0;
  }
  
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 30px;
    transform: translateX(100%);
    transition: var(--transition);
    overflow-y: auto;
  }
  
  .nav.active {
    transform: translateX(0);
  }
  
  .nav-list {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 10px 0;
  }
  
  .header-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
    gap: 15px;
  }
  
  .header-actions .btn {
    width: 100%;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero {
    padding: calc(var(--header-height) + 40px) 0 50px;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .step::after {
    display: none;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .case-card {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .verify-input-group {
    flex-direction: column;
  }
  
  .pricing-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .modal {
    padding: 25px;
  }
  
  .sticky-buttons {
    bottom: 15px;
    right: 15px;
  }
  
  .sticky-btn {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .sticky-buttons,
  .cta {
    display: none;
  }
  
  .section {
    padding: 20px 0;
  }
  
  body {
    font-size: 12pt;
  }
}

/* Utility Classes */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
