/* ==========================================================================
   RICALIN Design System — Dark Industrial Marketing CSS
   Company: ООО РИКАЛИН (Conveyor Belt Company)
   Version: 1.0.0
   ========================================================================== */

/* --------------------------------------------------------------------------
   Google Fonts Import
   -------------------------------------------------------------------------- */
/* Font loaded via <link> in HTML head for better performance */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  color-scheme: dark;
  --bg-primary: #0F1117;
  --bg-section: #141720;
  --bg-card: #1A1D27;
  --bg-card-hover: #222632;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --accent: #F97316;
  --accent-hover: #EA580C;
  --accent-light: #FB923C;
  --accent-glow: rgba(249, 115, 22, 0.25);
  --accent-gradient: linear-gradient(135deg, #F97316, #DC2626);
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --white: #FFFFFF;
  --success: #22C55E;
  --surface-light: #F8FAFC;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-primary);
  color-scheme: dark;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

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

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2.5rem;
  font-weight: 800;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Selection & Scrollbar
   -------------------------------------------------------------------------- */
::selection {
  background: var(--accent);
  color: var(--white);
}

::-moz-selection {
  background: var(--accent);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-primary);
}

/* --------------------------------------------------------------------------
   2. Container
   -------------------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}

/* --------------------------------------------------------------------------
   3. Grid Utilities
   -------------------------------------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

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

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

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--accent-gradient);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 0 30px var(--accent-glow), 0 8px 32px rgba(249, 115, 22, 0.3);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  background: transparent;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--accent);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-secondary:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
  border-radius: 10px;
}

/* --------------------------------------------------------------------------
   5. Cards
   -------------------------------------------------------------------------- */
.card-glass {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.card-glass:hover {
  transform: translateY(-4px);
  border-color: var(--accent-glow);
  box-shadow: 0 8px 40px rgba(249, 115, 22, 0.1), 0 0 0 1px var(--accent-glow);
}

.card-product {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card-product:hover {
  transform: translateY(-4px);
  border-color: var(--accent-glow);
  box-shadow: 0 8px 40px rgba(249, 115, 22, 0.1), 0 0 0 1px var(--accent-glow);
}

.card-product .card-product-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.card-product .card-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-product:hover .card-product-image img {
  transform: scale(1.05);
}

.card-product .card-product-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg-card), transparent);
  pointer-events: none;
}

.card-product .card-product-content {
  padding: 24px 32px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* --------------------------------------------------------------------------
   6. Badges
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
}

.badge-green {
  background: var(--success);
  color: var(--white);
}

.badge-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   7. Section Styles
   -------------------------------------------------------------------------- */
.section {
  padding: 100px 0;
}

.section-light {
  background-color: var(--surface-light);
  color: #1E293B;
}

.section-light h2,
.section-light h3,
.section-light .section-heading {
  color: #0F172A;
}

.section-light p,
.section-light .section-subtitle {
  color: #475569;
}

.section-light .text-secondary,
.section-light .stat-label,
.section-light .service-desc,
.section-light .advantage-desc {
  color: #64748B;
}

.section-heading {
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 24px;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 64px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   8. Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(15, 17, 23, 0.85);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-scrolled {
  background: rgba(15, 17, 23, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
  height: 72px;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.header-cta {
  padding: 10px 20px;
  font-size: 0.875rem;
  border-radius: 10px;
}

.header-phone {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.nav-open .mobile-toggle span:nth-child(2) {
  opacity: 0;
}

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

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--bg-primary);
  border-left: 1px solid var(--glass-border);
  z-index: 49;
  padding: 96px 32px 32px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
}

.mobile-menu a {
  display: block;
  color: var(--text-secondary);
  font-size: 1.125rem;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.3s ease;
  text-decoration: none;
}

.mobile-menu a:hover {
  color: var(--text-primary);
}

.nav-open .mobile-menu {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 48;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-open .mobile-overlay {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.hero-trust-item svg,
.hero-trust-item .checkmark {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
}

.hero-visual {
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(249, 115, 22, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  border-radius: 50%;
  mask-image: radial-gradient(circle, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, black 30%, transparent 70%);
}

/* Hero two-column layout */
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.conveyor-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* Belt lines moving animation */
.belt-lines {
  animation: beltMove 2s linear infinite;
}
@keyframes beltMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(30px); }
}

/* Boxes sliding on belt */
.boxes-on-belt {
  animation: boxSlide 4s linear infinite;
}
@keyframes boxSlide {
  0% { transform: translateX(-40px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(40px); opacity: 0; }
}

/* Rollers spinning */
.roller-1 { animation: spin 3s linear infinite; transform-origin: 105px 210px; }
.roller-2 { animation: spin 3s linear infinite; transform-origin: 250px 245px; }
.roller-3 { animation: spin 3s linear infinite; transform-origin: 395px 210px; }
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Floating badges gentle bob */
.float-badge { animation: floatBob 3s ease-in-out infinite; }
.badge-1 { animation-delay: 0s; }
.badge-2 { animation-delay: 1s; }
.badge-3 { animation-delay: 2s; }
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  .hero-illustration {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   10. Stats Bar
   -------------------------------------------------------------------------- */
.stats-bar {
  position: relative;
  z-index: 10;
  margin-top: -60px;
}

.stats-grid {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   11. Product Catalog
   -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-glow);
  box-shadow: 0 8px 40px rgba(249, 115, 22, 0.1), 0 0 0 1px var(--accent-glow);
}

.product-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(26, 29, 39, 0.9), transparent);
  pointer-events: none;
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
}

.product-content,
.product-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

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

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: gap 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.product-cta:hover {
  gap: 10px;
  color: var(--accent-light);
}

.product-cta svg {
  flex-shrink: 0;
}

.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--success);
  margin-bottom: 12px;
}

.product-stock::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   12. Services
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  text-align: center;
  padding: 40px 24px;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-glow);
  box-shadow: 0 8px 40px rgba(249, 115, 22, 0.1), 0 0 0 1px var(--accent-glow);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

/* --------------------------------------------------------------------------
   13. Why Choose Us / Advantages
   -------------------------------------------------------------------------- */
.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.advantage-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.advantage-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--accent-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.advantage-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.advantage-icon img {
  width: 24px;
  height: 24px;
}

.advantage-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

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

/* --------------------------------------------------------------------------
   14. Comparison Table
   -------------------------------------------------------------------------- */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table thead th {
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-align: left;
  white-space: nowrap;
}

.comparison-table thead th:first-child {
  border-radius: 16px 0 0 0;
}

.comparison-table thead th:last-child {
  border-radius: 0 16px 0 0;
}

.comparison-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.9375rem;
  color: #334155;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 16px;
}

.comparison-table tbody tr:last-child td:last-child {
  border-radius: 0 0 16px 0;
}

.comparison-table .col-ricalin {
  background: rgba(249, 115, 22, 0.05);
  font-weight: 700;
  color: #0F172A;
}

.comparison-table .check {
  color: var(--success);
  font-weight: 700;
  font-size: 1.125rem;
}

.comparison-table .cross {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   15. Testimonials
   -------------------------------------------------------------------------- */
.testimonials-carousel {
  overflow: hidden;
  position: relative;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 40px;
  min-width: 100%;
  flex-shrink: 0;
}

.testimonial-quote {
  color: var(--accent);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.6;
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 4px;
}

.testimonial-company {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg,
.testimonial-stars span {
  color: var(--accent);
  font-size: 1.125rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.carousel-dot,
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--glass-border);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  padding: 0;
}

.carousel-dot:hover,
.testimonial-dot:hover {
  background: var(--text-muted);
}

.carousel-dot.active,
.testimonial-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* Desktop: show multiple cards */
@media (min-width: 1025px) {
  .testimonial-card {
    min-width: calc(33.333% - 16px);
    margin-right: 24px;
  }
}

/* --------------------------------------------------------------------------
   16. Client Logos
   -------------------------------------------------------------------------- */
.clients-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 8px 16px;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.6;
  transition: all 0.4s ease;
}

.client-logo:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

.client-logo img {
  max-height: 40px;
  max-width: 140px;
  object-fit: contain;
}

.clients-names {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 4px;
}

.client-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.client-name:hover {
  color: var(--accent);
}

.client-divider {
  color: var(--text-muted);
  opacity: 0.3;
  font-size: 1.25rem;
  font-weight: 300;
  margin: 0 8px;
}

@media (max-width: 768px) {
  .client-name { font-size: 1rem; }
  .client-divider { margin: 0 4px; }
}

.client-placeholder {
  width: 140px;
  height: 60px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  padding: 8px;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.4s ease, opacity 0.4s ease, border-color 0.4s ease;
}

.client-placeholder:hover {
  filter: grayscale(0%);
  opacity: 1;
  border-color: var(--accent-glow);
}

/* --------------------------------------------------------------------------
   17. How We Work Timeline
   -------------------------------------------------------------------------- */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 0 24px;
}

.timeline-line {
  position: absolute;
  top: 24px;
  left: 60px;
  right: 60px;
  height: 2px;
  border-top: 2px dashed var(--text-muted);
  z-index: 1;
}

.timeline-step {
  text-align: center;
  position: relative;
  z-index: 10;
  flex: 1;
  max-width: 200px;
}

.timeline-number {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.125rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px var(--accent-glow);
}

.timeline-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 16px;
  font-size: 0.9375rem;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.5;
  max-width: 180px;
  margin: 8px auto 0;
}

/* --------------------------------------------------------------------------
   18. Urgency CTA
   -------------------------------------------------------------------------- */
.urgency-section {
  background: var(--accent-gradient);
  position: relative;
  text-align: center;
  padding: 80px 24px;
  overflow: hidden;
}

.urgency-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.urgency-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.urgency-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.urgency-section .btn-primary {
  background: var(--white);
  color: var(--accent-hover);
  animation: pulse-glow 2s ease-in-out infinite;
  position: relative;
}

.urgency-section .btn-primary:hover {
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.5), 0 0 60px rgba(255, 255, 255, 0.2);
  }
}

/* --------------------------------------------------------------------------
   19. FAQ
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
  padding: 24px 0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-primary);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.4s ease;
  color: var(--text-muted);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding-top 0.4s ease;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 16px;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   20. Contacts
   -------------------------------------------------------------------------- */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  color: var(--accent);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-label {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.contact-value {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
}

a.contact-value {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.contact-map {
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
  border: 1px solid var(--glass-border);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 48px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-top: 24px;
}

.footer-disclaimer {
  color: var(--text-muted);
  font-size: 0.6875rem;
  margin-top: 8px;
  line-height: 1.5;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   22. Floating Elements
   -------------------------------------------------------------------------- */
.floating-telegram {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.floating-telegram:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(249, 115, 22, 0.5);
}

.floating-telegram svg {
  width: 28px;
  height: 28px;
}

.floating-telegram::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulse-ring 2s ease-in-out infinite;
  pointer-events: none;
}

.floating-viber {
  position: fixed;
  bottom: 104px;
  right: 24px;
  z-index: 50;
  width: 56px;
  height: 56px;
  background: #7360f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(115, 96, 242, 0.4);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.floating-viber:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(115, 96, 242, 0.5);
}

.floating-viber svg,
.floating-viber img {
  width: 28px;
  height: 28px;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 96px;
  z-index: 50;
  width: 44px;
  height: 44px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.back-to-top:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   23. Animations
   -------------------------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 var(--accent-glow);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--accent-glow);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes counter-pop {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   24. Responsive — 1024px
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .hero-title {
    font-size: 2.75rem;
  }

  .section {
    padding: 80px 0;
  }

  h2 {
    font-size: 2rem;
  }

  .stats-grid {
    padding: 32px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .testimonial-card {
    min-width: 100%;
    margin-right: 0;
  }
}

/* --------------------------------------------------------------------------
   24. Responsive — 768px
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-6 {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  /* Header mobile */
  .nav-links {
    display: none;
  }

  .header-cta.desktop-only {
    display: none;
  }

  .header-phone.desktop-only {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.0625rem;
  }

  .hero-visual {
    display: none;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-trust {
    flex-direction: column;
    gap: 12px;
  }

  /* Stats mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px;
    gap: 16px;
  }
  .stats-bar {
    margin-top: -30px;
  }

  .stat-number {
    font-size: 2rem;
  }

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

  .section-subtitle {
    margin-bottom: 40px;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  /* Timeline vertical */
  .timeline {
    flex-direction: column;
    gap: 32px;
    padding: 0;
  }

  .timeline-line {
    top: 24px;
    bottom: 24px;
    left: 23px;
    right: auto;
    width: 2px;
    height: auto;
    border-top: none;
    border-left: 2px dashed var(--text-muted);
  }

  .timeline-step {
    text-align: left;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    max-width: 100%;
  }

  .timeline-number {
    margin: 0;
    flex-shrink: 0;
  }

  .timeline-desc {
    max-width: 100%;
    margin: 4px 0 0;
  }

  .timeline-step-content {
    flex: 1;
  }

  /* Comparison table scroll */
  .comparison-table-wrapper {
    margin: 0 -24px;
    padding: 0 24px;
    border-radius: 0;
  }

  /* Cards */
  .card-glass {
    padding: 24px;
  }

  .testimonial-card {
    padding: 28px;
  }

  /* Footer */
  .footer-links {
    gap: 16px;
  }

  /* Urgency */
  .urgency-section {
    padding: 60px 24px;
  }

  .urgency-title {
    font-size: 1.5rem;
  }

  /* Floating */
  .back-to-top {
    right: 88px;
    width: 40px;
    height: 40px;
  }

  .floating-telegram {
    width: 48px;
    height: 48px;
  }
  .floating-viber {
    width: 48px;
    height: 48px;
    bottom: 96px;
    right: 24px;
  }
}

/* --------------------------------------------------------------------------
   24. Responsive — 480px
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding: 48px 0;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stats-grid {
    padding: 20px;
    gap: 12px;
  }

  h2 {
    font-size: 1.5rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 14px 24px;
    font-size: 0.9375rem;
    width: 100%;
    justify-content: center;
  }

  .product-image {
    height: 200px;
  }

  .product-content {
    padding: 20px;
  }

  .service-card {
    padding: 28px 20px;
  }

  .faq-question {
    font-size: 1rem;
  }

  .urgency-title {
    font-size: 1.375rem;
  }

  .urgency-text {
    font-size: 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .clients-grid {
    gap: 20px;
  }

  .client-placeholder {
    width: 120px;
    height: 50px;
  }
}

/* --------------------------------------------------------------------------
   25. Prefers Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll,
  .animate-left,
  .animate-right,
  .animate-scale {
    opacity: 1;
    transform: none;
  }

  .floating-telegram::after {
    animation: none;
  }

  .card-glass:hover,
  .product-card:hover,
  .service-card:hover {
    transform: none;
  }
}

/* ==========================================================================
   ADDITIONS — Classes used in HTML but missing from original CSS
   ========================================================================== */

/* Section alternating background */
.section-alt {
  background: var(--bg-section);
}

/* Advantages two-column layout */
.advantages-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.advantages-visual {
  position: relative;
}

.advantages-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.advantages-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.advantages-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--accent-gradient);
  color: var(--white);
  border-radius: 12px;
  padding: 16px 24px;
  text-align: center;
  line-height: 1.2;
}

.advantages-image-badge strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
}

.advantages-image-badge span {
  font-size: 0.8rem;
  opacity: 0.9;
}

.advantages-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section-header-left {
  text-align: left;
}

.section-header-left .section-heading::after {
  margin-left: 0;
}

.section-header-left .section-subtitle {
  margin-left: 0;
}

@media (max-width: 1024px) {
  .advantages-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Section heading dark (for light bg sections) */
.section-heading-dark {
  color: #1E293B;
}

.section-heading-dark::after {
  background: var(--accent);
}

.section-subtitle-dark {
  color: #64748B;
}

/* Fix comparison table wrapper name mismatch */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  -webkit-overflow-scrolling: touch;
}

/* Badge variants */
.badge-orange {
  background: var(--accent);
  color: var(--white);
}

.badge-blue {
  background: #3B82F6;
  color: var(--white);
}

/* Urgency section additions */
.urgency-content {
  position: relative;
  z-index: 1;
}

.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
}

.urgency-badge svg {
  flex-shrink: 0;
}

.urgency-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.urgency-hours {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.btn-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn-secondary-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-secondary-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
}

/* Contact additions */
.contact-company {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.contact-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-value {
  display: block;
}

.contact-value small {
  color: var(--text-muted);
  font-weight: 400;
}

.contact-hours {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-top: 4px;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: var(--bg-card);
  color: var(--text-muted);
  gap: 12px;
  font-size: 0.875rem;
}

/* Mobile menu (HTML structure variant) */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-open .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--bg-primary);
  border-left: 1px solid var(--glass-border);
  z-index: 99;
  padding: 32px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow-y: auto;
}

.nav-open .mobile-menu-panel {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-close:hover {
  color: var(--text-primary);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
}

.mobile-menu-nav a {
  display: block;
  color: var(--text-secondary);
  font-size: 1.125rem;
  font-weight: 500;
  padding: 12px 0;
  transition: color 0.3s ease;
  border-bottom: 1px solid var(--glass-border);
}

.mobile-menu-nav a:hover {
  color: var(--accent);
}

.mobile-menu-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-phone {
  color: var(--accent) !important;
  font-weight: 600;
  font-size: 1rem;
}

.mobile-menu-email {
  color: var(--text-secondary) !important;
  font-size: 0.875rem;
}

/* Footer structured layout */
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  text-align: left;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contacts a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

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

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .urgency-ctas {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .advantages-image-badge strong {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   Client Logos (real images)
   ========================================================================== */
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 8px 16px;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.6;
  transition: all 0.4s ease;
}

.client-logo:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

.client-logo img {
  max-height: 40px;
  max-width: 140px;
  object-fit: contain;
}

/* ==========================================================================
   Blog / Resources Section
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-glow);
  box-shadow: 0 8px 40px rgba(249, 115, 22, 0.1);
}

.blog-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  z-index: 2;
}

.blog-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-excerpt {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 600;
  transition: gap 0.3s ease;
}

.blog-link:hover {
  gap: 8px;
}

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

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

/* ==========================================================================
   Testimonials Grid (under hero, replaces stats)
   ========================================================================== */
.testimonials-under-hero {
  padding-top: 60px;
}

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

.testimonial-grid-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-grid-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-glow);
}

.testimonial-quote-icon {
  opacity: 0.5;
}

.tg-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}

.tg-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
  margin-top: auto;
}

.tg-footer strong {
  font-size: 0.875rem;
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.tg-footer span {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.tg-stars {
  color: var(--accent);
  font-size: 0.875rem;
  white-space: nowrap;
  flex-shrink: 0;
}

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

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

/* ==========================================================================
   Project Gallery Mosaic
   ========================================================================== */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-label {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

.gallery-item-tall {
  grid-row: span 2;
}

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-cta {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .gallery-mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }
}

@media (max-width: 768px) {
  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .gallery-item-wide {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }
  .gallery-item-tall {
    grid-row: span 1;
  }
}

/* ==========================================================================
   Mobile Menu Product Links
   ========================================================================== */
.mobile-menu-products {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
}

.mobile-menu-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.mobile-menu-products a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--glass-border);
  transition: color 0.3s ease;
  display: block;
}

.mobile-menu-products a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Catalog Links Grid (SEO section on main page)
   ========================================================================== */
.catalog-subheading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  margin: 48px 0 24px;
}

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

.catalog-link-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.catalog-link-card:hover {
  border-color: var(--accent-glow);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.08);
}

.catalog-link-icon {
  color: var(--accent);
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-link-thumb {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.catalog-link-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-link-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.catalog-link-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
}

.catalog-link-arrow {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: auto;
}

.catalog-link-card:hover .catalog-link-arrow {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .catalog-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .catalog-links-grid {
    grid-template-columns: 1fr;
  }
}
