/* fonts */

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/material-symbols.woff2') format('woff2');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter.ttf') format('truetype-variations'),
    url('../fonts/inter.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-italic.ttf') format('truetype-variations'),
    url('../fonts/inter-italic.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* fonts */


/* ==========================================================================
   Design Tokens & Variables
   ========================================================================== */
:root {
  /* Colors - Modern Corporate & Neo-Bento */
  --bg-lowest: #ffffff;
  --bg-low: #f8fafc;
  --bg-base: #f1f5f9;
  --bg-high: #e2e8f0;

  --text-main: #0f172a;
  --text-variant: #64748b;
  --text-inverse: #ffffff;

  --primary: #ea580c;
  --primary-hover: #da520b;
  --primary-dim: #ffedd5;

  --outline: rgba(15, 23, 42, 0.08);
  --outline-hover: rgba(15, 23, 42, 0.15);

  --error: #ef4444;
  --success: #10b981;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 24px;
  --sp-lg: 48px;
  --sp-xl: 80px;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 20px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 8px 24px -4px rgba(234, 88, 12, 0.3);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}




/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-lowest);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

/* Focus Rings for A11y */
:focus-visible {
  outline: 3px solid rgba(234, 88, 12, 0.4);
  outline-offset: 2px;
}

/* ==========================================================================
   Typography
   ========================================================================== */
.display-lg {
  font-family: var(--font-body);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.headline-md {
  font-family: var(--font-body);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.headline-sm {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.body-lg {
  font-size: 18px;
  line-height: 1.6;
}

.body-md {
  font-size: 16px;
  line-height: 1.6;
}

.label-md {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.caption {
  font-size: 12px;
  line-height: 1.4;
}

.text-variant {
  color: var(--text-variant);
}

.text-inverse {
  color: var(--text-inverse);
}

.text-primary {
  color: var(--primary);
}

.font-semibold {
  font-weight: 600;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.uppercase {
  text-transform: uppercase;
}

/* Utilities */
.mb-xs {
  margin-bottom: var(--sp-xs);
}

.mb-sm {
  margin-bottom: var(--sp-sm);
}

.mb-md {
  margin-bottom: var(--sp-md);
}

.mb-lg {
  margin-bottom: var(--sp-lg);
}

.mb-xl {
  margin-bottom: var(--sp-xl);
}

.mt-xs {
  margin-top: var(--sp-xs);
}

.mt-sm {
  margin-top: var(--sp-sm);
}

.mt-md {
  margin-top: var(--sp-md);
}

.mt-lg {
  margin-top: var(--sp-lg);
}

.mt-xl {
  margin-top: var(--sp-xl);
}

.mt-md {
  margin-top: var(--sp-md);
}

.mt-lg {
  margin-top: var(--sp-lg);
}

.mt-auto {
  margin-top: auto;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-90 {
  opacity: 0.9;
}

/* ==========================================================================
   Layout & Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.section {
  padding: var(--sp-xl) 0;
}

.bg-surface {
  background-color: var(--bg-lowest);
}

.bg-surface-low {
  background-color: var(--bg-low);
}

.border-top {
  border-top: 1px solid var(--outline);
}

.border-bottom {
  border-bottom: 1px solid var(--outline);
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  padding: 10px var(--sp-md);
  min-height: 44px;
  text-align: center;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-lg {
  min-height: 52px;
  padding: 14px 32px;
  font-size: 16px;
}

.btn-sm {
  min-height: 36px;
  padding: 8px 16px;
  font-size: 13px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: none;
  z-index: 1;
}

@media (hover: hover) {
  .btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    animation: none;
  }

  .btn-primary:hover::before {
    animation: shine 0.7s forwards;
  }
}

@keyframes shine {
  100% {
    left: 200%;
  }
}

@keyframes pulse-shadow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (hover: hover) {
  .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
  }
}


.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--outline);
}

@media (hover: hover) {
  .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
  }
}


.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-variant);
  transition: background var(--transition-fast);
}

@media (hover: hover) {
  .icon-btn:hover {
    background-color: var(--bg-low);
    color: var(--text-main);
  }
}


.link-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

@media (hover: hover) {
  .link-with-icon:hover {
    color: var(--primary);
  }
}


.link-with-icon .material-symbols-outlined {
  transition: transform var(--transition-fast);
}

@media (hover: hover) {
  .link-with-icon:hover .material-symbols-outlined {
    transform: translateX(4px);
  }
}


.text-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main);
  border-bottom: 1px solid var(--text-main);
  padding-bottom: 2px;
  transition: all var(--transition-fast);
}

@media (hover: hover) {
  .text-link:hover {
    color: var(--primary);
    border-color: var(--primary);
  }
}


/* ==========================================================================
   Header (Glassmorphism)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--outline);
}

.navbar-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.logo-img {
  height: 80px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-main);
}

.logo-subtitle {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-variant);
  margin-top: 4px;
}

.nav-links {
  display: none;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    gap: 40px;
  }
}

.nav-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-variant);
  transition: color var(--transition-fast);
}

@media (hover: hover) {
  .nav-link:hover {
    color: var(--primary);
  }
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-actions .btn-primary {
  display: none;
}

@media (min-width: 640px) {
  .header-actions .btn-primary {
    display: inline-flex;
  }
}

.mobile-menu-btn {
  background: var(--primary);
  color: white;
}

@media (hover: hover) {
  .mobile-menu-btn:hover {
    background: var(--primary-hover);
    color: white;
  }
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.user-avatar {
  display: none;
}

@media (min-width: 1024px) {
  .user-avatar {
    display: flex;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: 1px solid var(--outline);
    align-items: center;
    justify-content: center;
    background: var(--bg-lowest);
    color: var(--text-main);
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 60%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: -1;
}

@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
  }
}

.hero-content {
  max-width: 700px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--sp-md);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.badge-icon {
  font-size: 18px;
}

.hero-text {
  color: #475569;
  margin-bottom: var(--sp-lg);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* ==========================================================================
   Neo-Bento Grid
   ========================================================================== */
.section-header {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--sp-lg);
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  /* Desktop precise spans */
  .bento-col-3 {
    grid-column: span 3;
  }

  .bento-col-4 {
    grid-column: span 4;
  }

  .bento-col-5 {
    grid-column: span 5;
  }

  .bento-col-6 {
    grid-column: span 6;
  }

  .bento-col-7 {
    grid-column: span 7;
  }

  .bento-col-8 {
    grid-column: span 8;
  }

  .bento-col-9 {
    grid-column: span 9;
  }
}

.bento-card {
  background: var(--bg-lowest);
  border: 1px solid var(--outline);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

@media (hover: hover) {
  .bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}


.bento-image-wrapper {
  height: 200px;
  overflow: hidden;
  position: relative;
}

@media (max-width: 1023px) {
  #services .bento-image-wrapper {
    display: none;
  }
}

@media (min-width: 768px) {
  .bento-card:not(.bento-horizontal) .bento-image-wrapper {
    height: 240px;
  }
}

.bento-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}

@media (hover: hover) {
  .bento-card:hover .bento-image {
    transform: scale(1.05);
  }
}


.bento-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (min-width: 768px) {
  .bento-content {
    padding: 32px;
  }
}

.bento-content-full {
  justify-content: space-between;
}

.bento-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-dim);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Primary Dark Bento */
.bento-primary {
  background-color: var(--text-main);
  color: var(--bg-lowest);
  position: relative;
}

.bento-primary .text-variant {
  color: #94a3b8;
}

.bento-primary .decorative-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: var(--primary);
  filter: blur(60px);
  opacity: 0.3;
  border-radius: 50%;
  pointer-events: none;
}

.stat-number {
  font-family: var(--font-body);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cbd5e1;
}

.large-icon {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 16px;
}

/* Horizontal Bento */
@media (min-width: 1024px) {
  .bento-horizontal {
    flex-direction: row;
  }

  .bento-horizontal .w-half {
    width: 50%;
  }

  .bento-horizontal .border-left {
    border-left: 1px solid var(--outline);
  }

  .bento-horizontal .bento-image-wrapper {
    height: auto;
  }
}

.chip {
  display: inline-block;
  width: max-content;
  padding: 4px 12px;
  background-color: #dbeafe;
  color: #1e40af;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
}

/* ==========================================================================
   Timeline / Process
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--outline);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--sp-lg);
  gap: 16px;
  position: relative;
}

@media (min-width: 768px) {
  .timeline-item {
    flex-direction: row;
    gap: 0;
  }
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  background: var(--bg-lowest);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-sm);
  width: 100%;
}

@media (min-width: 768px) {
  .timeline-content {
    flex: none;
    width: calc(50% - 44px);
  }
}

.timeline-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

@media (hover: hover) {
  .timeline-item:hover .timeline-icon {
    transform: scale(1.1);
  }
}


.timeline-spacer {
  flex: 1;
}

@media (min-width: 768px) {
  .timeline-spacer {
    flex: none;
    width: calc(50% - 44px);
  }

  .timeline-icon {
    margin: 0 16px;
  }
}

@media (max-width: 767px) {
  .hidden-mobile {
    display: none;
  }

  .timeline-item {
    text-align: center;
    margin-bottom: 48px;
  }

  .timeline-content {
    text-align: center;
    padding-top: 40px;
  }

  .timeline-icon {
    order: -1;
    margin-bottom: -28px;
    box-shadow: 0 0 0 8px var(--bg-low);
    z-index: 3;
  }
}

/* ==========================================================================
   Table (Pricing)
   ========================================================================== */
.table-container {
  overflow-x: auto;
  background: var(--bg-lowest);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.data-table th {
  background: var(--bg-low);
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  color: var(--text-variant);
  border-bottom: 1px solid var(--outline);
}

.data-table th.text-right {
  text-align: right;
}

.data-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--outline);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr {
  transition: background var(--transition-fast);
}

@media (hover: hover) {
  .data-table tbody tr:hover {
    background-color: var(--bg-low);
  }
}


.flex-align-center {
  display: flex;
  align-items: center;
}

.gap-sm {
  gap: 12px;
}

/* ==========================================================================
   Accordion (FAQ)
   ========================================================================== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: var(--bg-lowest);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  text-align: left;
  transition: background var(--transition-fast);
}

.accordion-trigger:focus-visible {
  background: var(--bg-base);
}

@media (hover: hover) {
  .accordion-trigger:hover {
    background: var(--bg-base);
  }
}


.accordion-icon {
  color: var(--text-variant);
  transition: transform var(--transition-normal);
}

.accordion-trigger[aria-expanded="true"] {
  background: var(--bg-base);
  /* Highlight the opened question with a light grey background, same as hover */
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
  color: var(--primary);
  /* Optional: make icon primary color when open */
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-normal);
}

.accordion-trigger[aria-expanded="true"]+.accordion-content {
  grid-template-rows: 1fr;
}

.accordion-body {
  overflow: hidden;
  padding: 0 24px;
  transition: padding var(--transition-normal);
}

.accordion-trigger[aria-expanded="true"]+.accordion-content .accordion-body {
  padding-top: 0px;
  padding-bottom: 24px;
}

[aria-labelledby="faq-title"] .accordion-trigger[aria-expanded="true"]+.accordion-content .accordion-body {
  padding-top: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-base);
  padding-top: var(--sp-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-logo {
  height: 100px;
  filter: grayscale(1) opacity(0.8);
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: var(--text-variant);
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

@media (hover: hover) {
  .footer-link:hover {
    color: var(--primary);
  }
}


.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-variant);
}

.contact-item .material-symbols-outlined {
  font-size: 18px;
  margin-top: 2px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-high);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

@media (hover: hover) {
  .social-btn:hover {
    background: var(--primary);
    color: var(--text-inverse);
  }
}


.footer-bottom {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

@media (max-width:767px) {
  .footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
  }

  .footer-legal a {
    padding: 10px 0px;
    display: block;
  }
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 0;
  margin: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--bg-lowest);
  width: 100%;
  max-width: 640px;
  margin: 16px;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  border: 1px solid var(--outline);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 32px);
}

.modal-content.modal-sm {
  max-width: 480px;
}

.modal.is-open .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--outline);
  background: var(--bg-low);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

.modal-footer {
  padding: 24px;
  border-top: 1px solid var(--outline);
  background: var(--bg-low);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.modal-image-wrapper {
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
}

.modal-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Forms */
.form-group {
  margin-bottom: 16px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-sm);
  background: var(--bg-lowest);
  color: var(--text-main);
  font-family: inherit;
  font-size: 16px;
  transition: all var(--transition-fast);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.25);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #94a3b8;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay for bento grid items */
.bento-stagger:nth-child(1) {
  transition-delay: 0.1s;
}

.bento-stagger:nth-child(2) {
  transition-delay: 0.2s;
}

.bento-stagger:nth-child(3) {
  transition-delay: 0.3s;
}

.bento-stagger:nth-child(4) {
  transition-delay: 0.4s;
}

.bento-stagger:nth-child(5) {
  transition-delay: 0.5s;
}

.bento-stagger:nth-child(6) {
  transition-delay: 0.6s;
}

/* ==========================================================================
   Advantages & Certificates & Service Area
   ========================================================================== */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}

@media (min-width: 768px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.advantage-card {
  background: var(--bg-lowest);
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(234, 88, 12, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .certificates-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.certificate-card {
  aspect-ratio: 3/4;
  background: var(--bg-lowest);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  cursor: pointer;
  transition: box-shadow var(--transition-fast);
}

@media (hover: hover) {
  .certificate-card:hover {
    box-shadow: var(--shadow-md);
  }
}


.service-area-layout {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .service-area-layout {
    flex-direction: row;
  }

  .service-area-content,
  .service-area-map {
    flex: 1;
  }
}

.service-area-map {
  width: 100%;
}

.map-placeholder {
  aspect-ratio: 16/9;
  background: var(--bg-low);
  border: 1px solid var(--outline);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-label {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

@media (hover: hover) {
  .contact-item a:hover {
    color: var(--primary);
  }
}


/* Added Utilities */
.mt-auto {
  margin-top: auto;
}

.mb-auto {
  margin-bottom: auto;
}

.w-max {
  width: max-content;
}

.display-block {
  display: block;
}

@media (min-width: 992px) {
  .about-grid {
    flex-direction: row !important;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--outline);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mobile-nav-link {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--outline);
}

@media (hover: hover) {
  .mobile-nav-link:hover {
    color: var(--primary);
  }
}

.mobile-menu-footer {
  margin-top: auto;
  padding-bottom: 24px;
}

/* Swiper Overrides */
.certificates-swiper {
  width: 100%;
  overflow: hidden;
  padding-bottom: 40px;
  /* Space for pagination bullets */
}

.certificates-grid.swiper-wrapper {
  display: flex;
  gap: 0;
  overflow: visible;
}

.certificate-card.swiper-slide {
  width: 280px;
  height: auto;

}

@media (min-width: 768px) {
  .certificate-card.swiper-slide {
    width: 320px;
  }
}

.swiper-pagination-bullet-active {
  background: var(--primary) !important;
}

/* Responsive Grids for new sections */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}

@media (min-width: 768px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-area-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

@media (min-width: 992px) {
  .service-area-layout {
    grid-template-columns: 1fr 1fr;
  }
}

/* Pricing Table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;

}

.pricing-table th,
.pricing-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--outline);
  color: var(--text-main);
  font-size: 14px;
}

.pricing-table th {
  font-weight: 600;
  color: var(--text-variant);
  background: var(--bg-lowest);
  position: sticky;
  top: 0;
}

@media (hover: hover) {
  .pricing-table tr:hover td {
    background-color: var(--bg-low);
  }
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

@media (min-width: 768px) {
  .section-header.text-center {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px;
}

.mobile-menu-header .logo-wrapper {
  display: flex;
  align-items: center;
  margin: 0;
}

/* Mobile Contacts */
.mobile-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 16px;
  font-family: var(--font-body);
  transition: color var(--transition-fast);
}

@media (hover: hover) {
  .mobile-contact-item:hover {
    color: var(--primary);
  }
}

.mobile-contact-item span.material-symbols-outlined {
  font-size: 24px;
}

/* Responsive Pricing Table (Card Layout for Mobile) */
@media (max-width: 767px) {

  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table td {
    display: block;
    width: 100%;
  }

  .pricing-table thead {
    display: none;
  }

  .pricing-table tr {
    margin-bottom: 12px;
    border: 1px solid var(--outline);
    border-radius: var(--radius-md);
    background: var(--bg-lowest);
    overflow: hidden;
  }

  .pricing-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--outline);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right !important;
  }

  .pricing-table td:last-child {
    border-bottom: none;
  }

  .pricing-table td:first-child {
    text-align: left !important;
    font-weight: 600;
    justify-content: flex-start;
    background: var(--bg-low);
    color: var(--text-main);
  }

  .pricing-table td:nth-child(2)::before {
    content: "Ед. изм.:";
    font-weight: 400;
    color: var(--text-variant);
  }

  .pricing-table td:nth-child(3)::before {
    content: "Цена:";
    font-weight: 400;
    color: var(--text-variant);
  }
}

/* Responsive Spacing */
@media (max-width: 767px) {
  :root {
    --sp-xl: 48px;
    --sp-lg: 32px;
  }
}

@media (max-width: 767px) {
  .section-header {
    margin-bottom: var(--sp-md);
    gap: var(--sp-sm);
    /* Add some gap between title and "All services" link */
  }

  .section-header.text-center {
    gap: 0;
  }
}

/* Fixes from user feedback */
.cta-section .btn {
  margin-top: var(--sp-md);
  color: var(--text-inverse) !important;
}

.cta-section .btn .material-symbols-outlined {
  color: var(--text-inverse) !important;
}

/* Footer text size */
@media (max-width: 767px) {
  .footer-col .body-sm {
    font-size: 16px !important;
    line-height: 1.5;
  }
}

/* ==========================================================================
   Portfolio Slider
   ========================================================================== */
.portfolio-slider-container {
  padding: 0;
  position: relative;
}

.portfolio-slider {
  padding-bottom: 50px;
  /* Space for pagination */
  overflow: hidden;
}

.portfolio-slider .swiper-slide {
  height: auto;
  /* Allow cards to stretch */
}

/* Custom Navigation Buttons */
.portfolio-nav-btn {
  position: absolute;
  top: calc(50% - 25px);
  /* Center vertically, offset by pagination space */
  width: 48px;
  height: 48px;
  background: var(--bg-surface);
  border: 1px solid var(--outline);
  border-radius: 50%;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  z-index: 10;
  transition: all var(--transition-fast);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (hover: hover) {
  .portfolio-nav-btn:hover {
    background: var(--bg-hover);
    box-shadow: var(--shadow-md);
    color: var(--primary);
  }
}


.portfolio-nav-btn::after {
  font-family: 'Material Symbols Outlined';
  font-size: 24px;
  font-weight: 400;
}

.portfolio-nav-btn.swiper-button-prev {
  left: -20px;
  z-index: 100;
  background-color: #ffffff;
}

.portfolio-nav-btn.swiper-button-prev::after {
  content: "arrow_back";
}

.portfolio-nav-btn.swiper-button-next {
  right: -20px;
  z-index: 100;
  background-color: #ffffff;
}

.portfolio-nav-btn.swiper-button-next::after {
  content: "arrow_forward";
}

@media (max-width: 767px) {
  .portfolio-nav-btn {
    display: none;
    /* Hide arrows on mobile, rely on touch swipe */
  }
}

.portfolio-slider .swiper-pagination-bullet {
  background: var(--text-variant);
  opacity: 0.5;
}

.portfolio-slider .swiper-pagination-bullet-active {
  background: var(--primary);
  opacity: 1;
}

/* Force white background for portfolio descriptions as requested */
#portfolio .bento-card {
  background-color: #ffffff;
}

/* Custom Checkbox */
.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-top: 16px;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  top: 2px;
  min-width: 20px;
  height: 20px;
  background-color: var(--surface);
  border: 2px solid var(--border);
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (hover: hover) {
  .custom-checkbox:hover input~.checkmark {
    border-color: var(--primary);
  }
}


.custom-checkbox input:checked~.checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.custom-checkbox input:checked~.checkmark::after {
  display: block;
}

.consent-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-variant);
}

.consent-text a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .consent-text a:hover {
    text-decoration: underline;
  }
}



/* Validation & Toast */
.custom-checkbox.has-error .checkmark {
  border-color: var(--error);
  background-color: rgba(239, 68, 68, 0.1);
}

.toast-container {
  position: fixed;
  bottom: 84px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--bg-lowest);
  color: var(--text-main);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  transform: translateY(100%) opacity(0);
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.fade-out {
  animation: toastFadeOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-icon {
  color: var(--success);
  font-size: 20px;
}

@keyframes toastSlideIn {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes toastFadeOut {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(100%);
    opacity: 0;
  }
}


/* Mobile Typography Adjustments */
@media (max-width: 768px) {
  .display-lg {
    font-size: clamp(28px, 6vw, 32px) !important;
  }

  .headline-md {
    font-size: clamp(22px, 5vw, 26px) !important;
  }

  .headline-sm {
    font-size: 18px !important;
  }

  .body-lg {
    font-size: 15px !important;
  }

  .body-md {
    font-size: 14px !important;
  }

  .label-md {
    font-size: 13px !important;
  }

  .caption {
    font-size: 11px !important;
  }
}


/* Timeline Mobile Overrides */
@media (max-width: 767px) {
  .timeline-item {
    background: var(--bg-lowest) !important;
    border: 1px solid var(--outline) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-sm) !important;
    padding: 16px !important;
    margin-bottom: 16px !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
  }

  .timeline-icon {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    width: 48px !important;
    height: 48px !important;
    flex-shrink: 0;
    order: 1 !important;
  }

  .timeline-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    text-align: left !important;
    flex: 1;
    order: 2 !important;
  }

  .timeline-spacer {
    display: none !important;
  }
}


/* Special map button with absolute icon */
.btn-map-check {
  position: relative;
  padding-left: 64px !important;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .btn-map-check {
    font-size: 13px !important;
    padding-left: 54px !important;
    padding-right: 16px !important;
    width: 100%;
  }
}

.btn-map-check .icon-left {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--bg-lowest);
  color: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

@media (max-width: 767px) {
  .btn-map-check .icon-left {
    width: 36px;
    height: 36px;
    font-size: 20px;
    left: 8px;
  }
}

@media (hover: hover) {
  .btn-map-check:hover .icon-left {
    transform: translateY(-50%) scale(1.1);
  }
}


/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 9000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

@media (max-width: 767px) {
  .back-to-top-btn {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (hover: hover) {
  .back-to-top-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-4px);
  }
}

/* Mobile CTA Styling */
@media (max-width: 767px) {
  .cta-text {
    margin-bottom: var(--sp-lg) !important;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px !important;
  }

  .cta-buttons .btn,
  .cta-buttons a.btn {
    width: 100%;
    margin-bottom: 0;
    justify-content: center;
  }
}


/* Auto-extracted inline styles */
.bg-img-hero {
  background-image: url('../img/hero.jpg');
}

.hidden {
  display: none;
}

.bg-img-bento1 {
  background-image: url('../img/bento1.jpg');
}

.custom-style-4 {
  align-self: flex-start;
}

.delay-200 {
  transition-delay: 200ms;
}

.bg-img-bento4 {
  background-image: url('../img/bento4.jpg');
}

.bg-img-lighting {
  background-image: url('../img/lighting.jpg');
}

.delay-100 {
  transition-delay: 100ms;
}

.custom-style-9 {
  padding: 0;
  overflow-x: auto;
  max-height: 400px;
  overflow-y: auto;
}

.w-pct-70 {
  width: 70%;
}

.custom-style-11 {
  width: 15%;
  text-align: center;
}

.custom-style-12 {
  width: 15%;
  text-align: right;
}

.custom-style-13 {
  text-align: center;
}

.custom-style-14 {
  text-align: right;
  font-weight: 600;
  color: var(--primary);
}

.custom-style-15 {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
  align-items: center;
}

.custom-style-16 {
  flex: 1;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

.custom-style-19 {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.custom-style-20 {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.custom-style-21 {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
  transition-delay: 500ms;
}

.custom-style-22 {
  flex: 1;
  width: 100%;
  transition-delay: 300ms;
}

.custom-style-23 {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}

.custom-style-24 {
  position: absolute;
  inset: 0;
  background-image: url('../img/about_company.jpg');
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.custom-style-25 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: var(--primary);
  border-top-right-radius: var(--radius-xl);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-style-26 {
  color: #ffffff;
  font-size: 40px;
}

.delay-200-27 {
  transition-delay: 200ms;
  position: relative;
}

.custom-style-28 {
  height: 100%;
}

.custom-style-29 {
  height: 250px;
}

.bg-img-work-1 {
  background-image: url('../img/work-1.jpg');
}

.custom-style-31 {
  padding: 24px;
}

.bg-img-work-2 {
  background-image: url('../img/work-2.jpg');
}

.bg-img-work-3 {
  background-image: url('../img/work-3.jpg');
}

.bg-img-work-4 {
  background-image: url('../img/work-4.jpg');
}

.bg-img-work-5 {
  background-image: url('../img/work-5.jpg');
}

.bg-img-work-6 {
  background-image: url('../img/work-6.jpg');
}

.bg-img-work-7 {
  background-image: url('../img/work-7.jpg');
}

.delay-500 {
  transition-delay: 500ms;
}

.custom-style-39 {
  font-size: 32px;
}

.delay-100-40 {
  transition-delay: 100ms;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

.custom-style-41 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.delay-200-42 {
  transition-delay: 200ms;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

.delay-300-43 {
  transition-delay: 300ms;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

.custom-style-44 {
  font-size: 48px;
}

.delay-600 {
  transition-delay: 600ms;
}

.delay-700 {
  transition-delay: 700ms;
}

.custom-style-47 {
  position: absolute;
  inset: 0;
  border: none;
  width: 100%;
  height: 100%;
}

.custom-style-48 {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.custom-style-49 {
  position: absolute;
  inset: 0;
  background-image: url('../img/cta_bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.custom-style-50 {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  z-index: 1;
}

.custom-style-51 {
  position: relative;
  z-index: 10;
}

.custom-style-52 {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--sp-xl) var(--sp-md);
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.text-white {
  color: #ffffff;
}

.custom-style-54 {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  transition-delay: 100ms;
}

.custom-style-55 {
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  transition-delay: 200ms;
}

.custom-style-56 {
  background: var(--primary);
  color: #ffffff;
  border: none;
  font-weight: 600;
  padding: 0 32px;
  box-shadow: var(--shadow-glow);
}

.custom-style-57 {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  padding: 0 32px;
  text-decoration: none;
  backdrop-filter: blur(4px);
}

.text-main {
  color: var(--text-main);
}

.bg-img-modal {
  background-image: url('../img/modal.jpg');
}

.bg-img-lightning {
  background-image: url('../img/lightning.jpg');
}

.custom-style-61 {
  display: none;
  color: var(--error);
  font-size: 12px;
  margin-top: 4px;
  padding-left: 32px;
}

.custom-style-62 {
  display: flex;
  justify-content: center;
}

.custom-style-63 {
  max-width: 90vw;
  max-height: 95vh;
  background: transparent;
  box-shadow: none;
  padding: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
}

.custom-style-64 {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  z-index: 10;
}

.custom-style-65 {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  background: white;
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.preloader-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  width: 100vw;
  height: 100vh;
}

.preloader-block {
  background: var(--bg-lowest);
  /* solid dark color matching the theme */
  filter: blur(0px);
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1), opacity 1.2s ease, filter 1.2s ease;
}

body.preloader-animate .preloader-block {
  filter: blur(20px);
}

/* Scattering Animation Directions */
body.preloader-animate .preloader-block:nth-child(1) {
  transform: translate(-100%, -100%) rotate(-15deg);
  opacity: 0;
}

body.preloader-animate .preloader-block:nth-child(2) {
  transform: translate(0, -150%) rotate(-5deg);
  opacity: 0;
}

body.preloader-animate .preloader-block:nth-child(3) {
  transform: translate(0, -150%) rotate(5deg);
  opacity: 0;
}

body.preloader-animate .preloader-block:nth-child(4) {
  transform: translate(100%, -100%) rotate(15deg);
  opacity: 0;
}

body.preloader-animate .preloader-block:nth-child(5) {
  transform: translate(-150%, 0) rotate(-10deg);
  opacity: 0;
}

body.preloader-animate .preloader-block:nth-child(6) {
  transform: translate(-50%, -50%) rotate(-20deg) scale(0.5);
  opacity: 0;
}

body.preloader-animate .preloader-block:nth-child(7) {
  transform: translate(50%, -50%) rotate(20deg) scale(0.5);
  opacity: 0;
}

body.preloader-animate .preloader-block:nth-child(8) {
  transform: translate(150%, 0) rotate(10deg);
  opacity: 0;
}

body.preloader-animate .preloader-block:nth-child(9) {
  transform: translate(-100%, 100%) rotate(-15deg);
  opacity: 0;
}

body.preloader-animate .preloader-block:nth-child(10) {
  transform: translate(0, 150%) rotate(-5deg);
  opacity: 0;
}

body.preloader-animate .preloader-block:nth-child(11) {
  transform: translate(0, 150%) rotate(5deg);
  opacity: 0;
}

body.preloader-animate .preloader-block:nth-child(12) {
  transform: translate(100%, 100%) rotate(15deg);
  opacity: 0;
}

.preloader-logo-wrapper {
  position: relative;
  z-index: 2;
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.8s ease;
  transform: scale(1);
}

.preloader-logo {
  height: 120px;
  filter: drop-shadow(0 0 20px rgba(255, 102, 0, 0.5));
  animation: pulseLogo 1.5s ease-in-out infinite alternate;
}

@keyframes pulseLogo {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.05);
    opacity: 1;
  }
}

body.preloader-animate .preloader-logo-wrapper {
  transform: scale(3);
  opacity: 0;
}

body.preloader-animate .preloader {
  animation: hidePreloader 0s ease 1.5s forwards;
}

@keyframes hidePreloader {
  to {
    display: none;
    visibility: hidden;
    z-index: -1;
  }
}

/* Scroll lock classes */
body.preloader-locked {
  overflow: hidden;
}

/* ==========================================================================
   Hero Sequential Animation
   ========================================================================== */
.hero-content .badge,
.hero-content h1,
.hero-content p,
.hero-content .hero-buttons {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* If preloader skipped, start immediately with stagger */
body.preloader-skipped .hero-content .badge {
  animation-delay: 0.1s;
}

body.preloader-skipped .hero-content h1 {
  animation-delay: 0.25s;
}

body.preloader-skipped .hero-content p {
  animation-delay: 0.4s;
}

body.preloader-skipped .hero-content .hero-buttons {
  animation-delay: 0.55s;
}

/* If preloader plays, wait for it to explode (approx 0.8s), then stagger */
body:not(.preloader-skipped) .hero-content .badge {
  animation-delay: 1.0s;
}

body:not(.preloader-skipped) .hero-content h1 {
  animation-delay: 1.15s;
}

body:not(.preloader-skipped) .hero-content p {
  animation-delay: 1.3s;
}

body:not(.preloader-skipped) .hero-content .hero-buttons {
  animation-delay: 1.45s;
}

/* ==========================================================================
   Partners Marquee
   ========================================================================== */
.partners-marquee {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.partners-slider .swiper-wrapper {
  /* This prevents swiper from jumping on linear scroll */
  transition-timing-function: linear !important;
  /* align-items: center; */
}

.partner-slide {
  width: 250px !important;
  /* Fixed width for consistent loop */
  height: 125px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 24px;
  margin: 10px 0;
  /* Space for shadow */
  cursor: grab;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--outline);
  transition: all var(--transition-normal);
}

.partner-slide:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.partner-slide:active {
  cursor: grabbing;
}

.partner-logo {
  max-width: 100%;
  max-height: 85px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.8);
  transition: all 0.4s ease;
}

@media (hover: hover) {
  .partner-slide:hover .partner-logo {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
  }
}

/* ==========================================================================
   Parallax Effects
   ========================================================================== */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
  will-change: transform;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.parallax-overlay.light-overlay {
  background: rgba(248, 250, 252, 0.75);
  /* Light overlay to make dark text readable */
}

.position-relative {
  position: relative;
  z-index: 10;
}

.bg-img-advantages {
  background-image: url('../img/advantages_bg.jpg');
}

/* Soft parallax prep for Hero and CTA */
.hero,
.custom-style-48 {
  overflow: hidden;
  position: relative;
}

.bg-img-hero,
.custom-style-49 {
  top: -20% !important;
  height: 140% !important;
  bottom: auto !important;
  will-change: transform;
  background-attachment: scroll !important;
}

/* Stats Cards in About Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.stat-card {
  background: var(--surface-main);
  border: 1px solid var(--outline);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: all var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-light, #ffecd1);
}

.stat-icon-wrapper {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-low);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.stat-icon {
  font-size: 32px;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number-wrapper {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.contact-item .body-sm {
  white-space: nowrap;
}


/* Scroll Progress */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--primary);
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* Mobile Fixes (Task 578) */
@media (max-width: 767px) {

  /* About Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .stat-card:first-child {
    grid-column: 1 / -1;
  }

  /* About Image Badge */
  .custom-style-25 {
    width: 60px !important;
    height: 60px !important;
  }

  .custom-style-26 {
    font-size: 28px !important;
  }

  /* Bento Header */
  .bento-header {
    margin-bottom: 12px;
  }

  /* Fix Card 2 Text Squish */
  .bento-primary .stat-number {
    font-size: 36px;
  }

  .bento-primary .stat-label {
    font-size: 12px;
  }

  .bento-primary .body-md {
    font-size: 14px;
    line-height: 1.4;
  }
}

@media (min-width: 578px) and (max-width: 767px) {

  /* Timeline Grid */
  .timeline {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .timeline-line {
    display: none !important;
  }

  .timeline-item {
    margin-bottom: 0 !important;
  }

  .timeline-content {
    padding: 16px !important;
  }
}

/* Mobile Fixes Part 2 */
@media (max-width: 767px) {

  /* Smaller Certificates */
  .certificate-card.swiper-slide {
    width: 220px !important;
  }

  /* Footer Layout */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px 16px !important;
  }

  .footer-col:first-child {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .footer-logo {
    height: 60px !important;
    margin-bottom: 0 !important;
  }

  .footer-col:first-child .body-sm {
    margin: 0;
    font-size: 12px;
  }

  .footer-col:nth-child(2) {
    grid-column: span 1;
  }

  .footer-col:nth-child(3) {
    grid-column: span 1;
  }

  .footer-col:nth-child(4) {
    grid-column: 1 / -1;
  }
}

/* Mobile Fixes Part 3 - Font Size for feature list */
@media (max-width: 768px) {
  .feature-list li {
    font-size: 14px !important;
    line-height: 1.5;
  }

  .feature-list .material-symbols-outlined {
    font-size: 18px !important;
    /* Make icon match the text size proportionally */
  }
}

/* Tablet/Desktop footer fix (>=768px) */
@media (min-width: 768px) {
  .footer-col:first-child {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .footer-col:first-child a,
  .footer-logo {
    flex-shrink: 0 !important;
  }

  .footer-col:first-child .body-sm {
    font-size: 14px !important;
    margin: 0 !important;
  }
}

/* Restored Mobile Tweaks */
@media (max-width: 767px) {

  /* 1. 15+ and text in a row */
  .bento-primary .mt-auto {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-top: 24px !important;
  }

  .bento-primary .stat-label {
    margin-top: 0 !important;
    text-align: left;
  }
}

/* Global Footer Logo Fix (applies to all sizes) */
.footer-col:first-child {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.footer-col:first-child a,
.footer-logo {
  flex-shrink: 0 !important;
}

.footer-col:first-child .body-sm {
  font-size: 14px !important;
  margin: 0 !important;
}

/* Stack footer columns on very small screens */
@media (max-width: 577px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-col:nth-child(2),
  .footer-col:nth-child(3) {
    grid-column: 1 / -1 !important;
  }
}

/* Center everything in footer on very small screens */
@media (max-width: 577px) {
  .footer-col {
    text-align: center !important;
    align-items: center !important;
  }

  .footer-col:first-child {
    justify-content: center !important;
  }

  .social-links {
    justify-content: center !important;
  }
}

/* Center contact items specifically */
@media (max-width: 577px) {
  .contact-item {
    justify-content: center !important;
    text-align: center !important;
  }
}

.swiper-wrapper {
  height: unset;
}



/* СТРАНИЦЫ ПОЛИТИК */
/* СТРАНИЦЫ ПОЛИТИК */


.new-privacy {
  background: white;
  font-size: 18px;
  margin-top: 30px;
}

.new-privacy h1 {
  margin-bottom: 20px;
}

.new-privacy strong {
  margin-bottom: 30px;
}

.new-privacy p {
  margin-bottom: 20px !important;
}


.new-privacy table {
  border-collapse: collapse;
  margin-bottom: 30px;
  min-width: 100%;
}

.new-privacy table td {
  padding: 15px;
  font-size: 14px;
  border: 1px solid lightgray;
}

.new-privacy ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.new-privacy ul li {
  list-style: disc;
}


.new-policy__table {
  max-width: 100%;
  overflow: auto;
}

.new-privacy a {
  text-decoration: underline;
}


@media (max-width:992px) {
  .new-privacy table td {
    font-size: 14px;
  }

}

@media (max-width:767px) {
  .new-privacy {
    font-size: 16px;
  }
}

@media (max-width:577px) {
  .new-privacy {
    font-size: 14px;
  }

  .new-privacy p {
    margin-bottom: 15px;
  }
}

/* cookies */

.popup_cookie {
  position: fixed;
  bottom: 0px;
  left: 0;
  padding: 30px 0 20px 0;

  background: linear-gradient(0deg, rgba(0, 0, 0, .15), transparent);
  z-index: 10;
  display: none;
  width: 100%;

}

.window_cookie {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1600px;
  width: 100%;
  background: white;
  position: relative;
  padding: 21px 40px;
  border-radius: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: showCookies .75s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding-right: 80px;


  color: var(--black-color);
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.16px;
}

.window_cookie a {
  color: var(--blue);

  font-size: 16px;
  line-height: 130%;
  text-decoration: underline;
}

.close_pop {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  cursor: pointer;
}

.window_cookie__btn {
  min-width: unset;
  cursor: pointer;
  min-width: 250px;
}

.window_cookie__btn.button-yellow .button-inner {
  width: 100%;
  padding-inline: 60px;
}

@keyframes showCookies {
  0% {
    transform: translateY(100px) translateX(-50%);
  }

  100% {
    transform: translateY(0) translateX(-50%);
  }
}

@media (max-width:1800px) {
  .window_cookie {
    max-width: 1400px;
    width: 95%;
  }
}

@media (max-width:1600px) {
  .window_cookie {
    max-width: 1400px;
    width: 80%;
  }
}

@media (max-width:1199px) {
  .window_cookie {
    flex-direction: column;
    padding-right: 60px;
  }

  .close_pop {
    position: absolute;
    top: 10px;
    transform: translateY(0);
    right: 10px;
  }
}

@media (max-width:991px) {

  .popup_cookie {
    padding-bottom: 0;
  }

  .window_cookie {
    flex-direction: column;
    padding-right: 60px;
    left: 0;
    transform: translateX(0);
    border-radius: 0 30px 0px 0;
  }

  @keyframes showCookies {
    0% {
      transform: translateX(-100px);
    }

    100% {
      transform: translateX(0px);
    }
  }

  .close_pop {
    position: absolute;
    top: 10px;
    transform: translateY(0);
    right: 10px;
  }
}

@media (max-width:767px) {
  .window_cookie {
    gap: 20px;
    padding: 20px;
  }
}

@media (max-width:577px) {
  .close_pop {
    background: var(--white);
    border-radius: 50%;
    padding: 10px;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
  }

  .window_cookie p {
    font-size: 14px;
  }

  .window_cookie a {
    font-size: 14px;
  }

  .button.button-header {
    padding: 15px;
  }
}

/* cookies */