:root {
  /* Colors */
  --main: #2222fc;
  --background: #FDFDFF;
  --text: #000000;
  --hover-text: #2222fc;
  --button-color: #04144F;
  --button-color-hover: #1877f2;
  --icon-phone: #ffffff;
  --shadow-main-buttons: 0 4px 4px #00000040;
  --text-alt: #04144F;

  /* Fonts */
  --font-inter: 'Inter', sans-serif;
  --fw-inter-regular: 400;
  --fw-inter-medium: 500;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-inter);
  color: var(--text);
  background-color: var(--background);
  line-height: 1.4;
}

/* Header styles */
/*.header {
  position: relative;
  height: clamp(80px, 5.2vw, 100px);
  background-color: var(--background);
  z-index: 1000;
}*/
.header {
  position: absolute;
  background-color: transparent;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(80px, 5.2vw, 100px);

  /*background: rgba(255, 255, 255, 0.12); /* полупрозрачное стекло */
  /*-webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);

  border-bottom: 1px solid rgba(255, 255, 255, 0.25); /* эффект стекла по краю */

  z-index: 1000;
}


.container {
  max-width: 100%;
  padding: 0 clamp(1rem, 2.6vw, 3rem);
  margin: 0 auto;
}

.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background: transparent;
}

/* Logo */
.logo {
  flex-shrink: 0;
}

.logo-bg {
  width: clamp(120px, 8.2vw, 176px);
  height: clamp(47px, 4vw, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.logo-bg img {
  width: clamp(109px, 6.3vw, 160px);
  height: auto;
  object-fit: contain;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4.2vw, 5rem);
  flex-grow: 1;
  /*justify-content: center;*/
  margin: 0 2rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px;
}

.nav-link {
  color: var(--text);
  font-size: clamp(1.125rem, 1.4vw, 1.375rem);
  font-family: var(--font-inter);
  font-weight: 300;
  line-height: clamp(1.5rem, 2.5vw, 3rem);
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

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

.dropdown-icon {
  width: clamp(16px, 1vw, 20px);
  height: clamp(16px, 1vw, 20px);
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

/* Contact button */
.contact-btn {
  width: clamp(200px, 15.16vw, 260px);
  height: clamp(44px, 2.6vw, 50px);
  padding: 0 20px;
  background: transparent;
  border: 1px solid #000;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.35s ease, transform 0.35s ease;
}

.btn-text {
  color: #000;
  font-size: 1.5rem;
  font-family: var(--font-inter);
  font-weight: var(--fw-inter-medium);
  line-height: 1.5;
  white-space: nowrap;
  transition: color 0.35s ease, transform 0.35s ease;
  z-index: 1;
  transform: translateX(15px); 
}

/* Левая иконка */
.phone-icon {
  position: absolute;
  left: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease;
}

.phone-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0);
}

/* Правая иконка */
.send-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}


.send-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Hover состояния */
.contact-btn:hover {
  background: #000;
  transform: translateY(-1px);
}

.contact-btn:hover .phone-icon {
  opacity: 0;
}

.contact-btn:hover .send-icon {
  opacity: 1;
}

.contact-btn:hover .btn-text {
  color: #fff;
  transform: translateX(-21px); /* при ховері зміщуємо вліво для центрування */
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--background);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.mobile-nav-link {
  color: var(--text);
  font-size: 1.2rem;
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-contact-btn {
  background: var(--button-color);
  color: var(--icon-phone);
  padding: 1rem;
  text-align: center;
  border-radius: 10px;
  margin-top: 1rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 950px) {
  .nav {
    display: none;
  }
  
  .contact-btn {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
}
/* Footer Styles - ОБНОВЛЕННАЯ КОМПАКТНАЯ ВЕРСИЯ */
.footer {
  background: radial-gradient( ellipse at 20% -70%, #000B34 35%, #000000 68% );
  padding: clamp(1.5rem, 3vw, 2.5rem) 0; /* Уменьшили padding */
  margin: 0;
}

.footer__container {
  max-width: clamp(320px, 95vw, 1820px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 3.125rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Уменьшили минимальную ширину */
  gap: clamp(1.5rem, 3vw, 2.5rem); /* Уменьшили gap */
  align-items: start;
}

/* Brand Section - ИСПРАВЛЕНО */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: flex-start; /* Выравнивание по левому краю */
}

.footer__logo {
  display: flex;
  flex-direction: column;
  align-items: center; /* ЦЕНТРИРУЕМ ЛОГОТИП И ПОДПИСЬ */
  gap: clamp(0.5rem, 1vw, 0.75rem);
  width: 100%; /* На всю ширину колонки */
}

.footer__logo-img {
  width: clamp(160px, 20vw, 220px);
  height: auto;
  object-fit: contain;
}

.footer__tagline {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  font-weight: 400;
  color: white;
  line-height: 1.25;
  text-align: center; /* ЦЕНТРИРУЕМ ТЕКСТ */
}

/* Social Icons - УВЕЛИЧЕНЫ И ПОД ЛОГОТИПОМ */
.footer__social {
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2rem); /* Увеличили gap между иконками */
  align-items: center;
  justify-content: flex-start; /* Выравнивание по левому краю */
  margin-top: clamp(0.5rem, 1vw, 0.75rem); /* Отступ от логотипа */
}

.footer__social-link {
  width: clamp(35px, 4vw, 40px); /* УВЕЛИЧИЛИ размер иконок */
  height: clamp(35px, 4vw, 40px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.footer__social-link:hover {
  transform: scale(1.1);
}

.footer__social-link--facebook {
  background-color: #1877f2;
}

.footer__social-link--linkedin {
  background-color: #0a66c2;
}

.footer__social-link--whatsapp {
  background: linear-gradient(0deg, #20b038 0%, #60d66a 100%);
}

.footer__social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Section Titles - УМЕНЬШИЛИ */
.footer__title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem); /* Уменьшили размер заголовков */
  font-family: var(--font-inter);
  font-weight: 400;
  line-height: 1.4;
  color: white;
  margin-bottom: clamp(0.75rem, 1.5vw, 1rem); /* Уменьшили отступ */
}

/* Lists - УМЕНЬШИЛИ */
.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1vw, 0.75rem); /* Уменьшили gap между пунктами */
}

.footer__link {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem); /* Уменьшили размер ссылок */
  font-family: var(--font-inter);
  font-weight: 300;
  line-height: 1.4;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--hover-text);
}

/* Contact Section - УМЕНЬШИЛИ */
.footer__description {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem); /* Уменьшили размер описания */
  font-family: var(--font-inter);
  font-weight: 300;
  line-height: 1.4;
  color: white;
  margin-bottom: clamp(0.75rem, 1.5vw, 1rem); /* Уменьшили отступ */
  max-width: 22rem; /* Уменьшили максимальную ширину */
}

.footer__email {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 0.8vw, 0.6rem); /* Уменьшили gap */
}

.footer__email-icon {
  width: clamp(18px, 2vw, 20px); /* Уменьшили иконку */
  height: clamp(18px, 2vw, 20px);
  filter: brightness(0) saturate(100%) invert(21%) sepia(11%) saturate(1076%) hue-rotate(201deg) brightness(95%) contrast(96%);
}

.footer__email-link {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem); /* Уменьшили размер email */
  font-family: var(--font-inter);
  font-weight: 400;
  line-height: 1.4;
  color: white;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer__email-link:hover {
  color: var(--hover-text);
}

/* Footer Bottom - ИСПРАВЛЕНО: 2024-2025 ПО ЦЕНТРУ */
.footer__bottom {
  margin-top: clamp(1.5rem, 2.5vw, 2rem);
  border-top: 1px solid #929292;
  padding-top: clamp(0.75rem, 1.5vw, 1rem);
  padding-bottom: 0;
  margin-bottom: 0;
}

.footer__bottom-container {
  max-width: clamp(320px, 95vw, 1820px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 3.125rem);
  display: flex;
  justify-content: center; /* ЦЕНТРИРУЕМ КОНТЕЙНЕР */
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding-bottom: 0;
  position: relative;
}

.footer__copyright {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-family: var(--font-inter);
  font-weight: 700;
  line-height: 1.4;
  color: white;
  order: 2; /* ЦЕНТРАЛЬНАЯ ПОЗИЦИЯ */
}

.footer__legal {
  display: flex;
  gap: clamp(1.5rem, 2.5vw, 2rem);
  align-items: center;
  order: 3; /* ПРАВАЯ ПОЗИЦИЯ */
  position: absolute;
  right: clamp(1rem, 3vw, 3.125rem); /* Прижимаем к правому краю */
}

.footer__legal-link {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem); /* Уменьшили размер */
  font-family: var(--font-inter);
  font-weight: 300;
  line-height: 1.4;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__legal-link:hover {
  color: var(--hover-text);
}

/* Mobile Responsive - ИСПРАВЛЕНО */
@media (max-width: 768px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2rem);
  }
  
  .footer__bottom-container {
    flex-direction: column;
    text-align: center;
    gap: clamp(0.75rem, 2vw, 1rem);
    position: static; /* Убираем абсолютное позиционирование на мобильных */
  }
  
  .footer__legal {
    position: static; /* Убираем абсолютное позиционирование на мобильных */
    order: 1; /* Правовые ссылки вверх */
  }
  
  .footer__copyright {
    order: 2; /* Copyright посередине */
  }
  
  .footer__social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer__social {
    gap: clamp(0.75rem, 3vw, 1rem);
  }
  
  .footer__legal {
    flex-direction: column;
    gap: clamp(0.5rem, 2vw, 0.75rem);
  }
}

/* Убираем отступ под футером */
html, body {
  margin: 0 !important;
  padding: 0 !important;
}

body {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.footer {
  margin-bottom: 0 !important;
}

/* Убираем возможный padding от темы WordPress */
#page,
.site,
.site-content {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.wp-block-group__inner-container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
 /* General Styles */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: auto; /* let body grow with content */
  background-color: #ffffff;  
}

/* The animated region */
/*canvas {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}*/

/* The main heading of the website in the centre of the animation */
/*.overlay-heading {
  font-family: "Segoe UI", "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: bold;
  margin: 0;
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(0, 0, 0);
  font-size: 75px;
  z-index: 1; /* above canvas */
  pointer-events: none; /* this is important as it ensures that the effect works under the heading */
}

/* Content below the animation canvas */
.page-content {
  padding: 20px;
  color: black;
  background-color: transparent;
}

.read_me {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.5); 
  color: #000000;
  font-family: "Segoe UI", "Open Sans", "Helvetica Neue", sans-serif;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  z-index: 1;
  position: fixed;
  bottom: 20px;          
  left: 20px;            
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Landscape orientation */
@media (orientation: landscape) {
  .overlay-heading {
    font-size: 6vw;
  }
}

/* Portrait orientation */
@media (orientation: portrait) {
  .overlay-heading {
    font-size: 12vw;
  }
}

.hero-container,
.hero-content,
.hero-title,
.hero-subtitle,
.hero-description,
.slider-container,
.slide {
  pointer-events: none;
}

.progress-indicators,
.indicator,
.hero-clients,
.clients-text,
.hero-cta,
.cta-button {	
  pointer-events: auto;
}

canvas, #fluid-canvas {
  pointer-events: auto !important;
}

.hero-background canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto !important;
}
/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #F5F5F5;
  overflow: hidden;
  display: flex;
  align-items: stretch; /* чтобы контейнер растянулся */
  justify-content: center;
  padding: 0; /* убираем 40px которые ломали высоту */
}

/* Канвас с фоном */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Главный контейнер */
.hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 1;

  display: flex;
  flex-direction: column;

  height: 100%; /* ← главное */
  padding: 40px 20px; /* переносим отступ сюда */
}

.hero-content {
  flex: 1; /* растягивается между верхом и футером */
  display: flex;
  flex-direction: column;
  justify-content: center; /* центр по Y */
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  text-align: center;
}

.hero-title {
  font-family: var(--font-inter);
  font-weight: var(--fw-inter-regular);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.2;
  color: #04144F;
  max-width: 1200px;
}

.hero-subtitle {
  font-family: var(--font-inter);
  font-weight: var(--fw-inter-medium);
  font-size: clamp(1.125rem, 2vw, 1.75rem);
  line-height: 1.4;
  color: var(--main);
  max-width: 800px;
}

.hero-cta {
  margin-top: clamp(20px, 3vw, 40px);
}

/* Кнопка */
.cta-button {
  width: clamp(200px, 14vw, 260px);
  height: clamp(44px, 2.6vw, 50px);
  padding: 0 20px;

  background: transparent;
  border: 1px solid #000;
  border-radius: 15px;

  position: relative;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;

  transition: background 0.35s ease, transform 0.35s ease;
}

/* Текст — строго по центру кнопки */
.cta-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
    color: #000;
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: 1.5rem;
  white-space: nowrap;

  transition: color 0.35s ease, transform 0.35s ease;
  z-index: 1;
}

/* Hover */
.cta-button:hover {
  background: #000;
  transform: translateY(-1px);
}

.cta-button:hover .cta-text {
  color: #fff;
  transform: translate(-50%, -50%) translateX(-16px);
}

.cta-button:hover .send-icon {
  opacity: 1;
}

/* Футер Хиро — всегда внизу */
.hero-footer {
  position: absolute; /* добавляем absolute */
  bottom: 30px; /* отступ снизу */
  left: 50%; /* центрируем по горизонтали */
  transform: translateX(-50%); /* центрируем по горизонтали */
  width: 100%; /* на всю ширину */
  max-width: 1400px; /* ограничиваем как у hero-container */
  
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
  flex-wrap: wrap;
  padding: 0 20px; /* горизонтальные отступы */
  z-index: 2; /* выше canvas */
}

.footer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  min-width: 200px;
}

.stars {
  display: flex;
  gap: 4px;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #FFD700;
}

.footer-text {
  font-family: var(--font-inter);
  font-size: clamp(0.813rem, 1vw, 1rem);
  color: #666;
  text-align: center;
}


/* Services Section */
.services {
  width: 100%;
  padding: clamp(2rem, 4vw, 5rem) clamp(1rem, 2.6vw, 3.125rem);
}

.services-container {
  max-width: 1920px;
  margin: 0 auto;
}

/* Title */
.services-label {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(5px, 0.36vw, 7px);
  margin-bottom: clamp(16px, 1.25vw, 24px);
}

.services-label-dot {
  width: clamp(12px, 0.78vw, 15px);
  height: clamp(12px, 0.78vw, 15px);
  background: #FF3D23;
  border-radius: 50%;
  flex-shrink: 0;
}

.services-label-text {
  color: #969696;
  font-size: clamp(12px, 0.73vw, 14px);
  font-family: Manrope, sans-serif;
  font-weight: 500;
  line-height: 1.43;
  white-space: nowrap;
}

.services-title {
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.125vw, 3.75rem);
  line-height: clamp(2rem, 3.65vw, 4.375rem);
  color: var(--text);
  margin: 0 0 clamp(0.5rem, 0.625vw, 0.75rem) 0;
}

/* Services Intro - Description + Button */
.services-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(1.5rem, 2.08vw, 2.5rem);
  margin-bottom: clamp(2rem, 4vw, 5rem);
}

.services-description {
  font-family: var(--font-manrope);
  font-weight: 500;
  font-size: clamp(1rem, 1.25vw, 1.5rem);
  line-height: clamp(1.5rem, 1.875vw, 2.25rem);
  color: #454545;
  max-width: clamp(300px, 69.6vw, 1336px);
  margin: 0;
  flex: 1;
}

/* Services Content */
.services-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(2rem, 4vw, 5rem);
}

/* Column */
.services-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.column-title {
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  line-height: clamp(2rem, 3.33vw, 4rem);
  color: var(--text);
  margin-bottom: clamp(0.75rem, 0.78vw, 0.938rem);
  margin-top: 0;
}

.column-title.brand-book-title {
  transform: translateY(clamp(0.5rem, 1vw, 1.5rem));
}

/* Service Item */
.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(0.5rem, 0.78vw, 0.938rem) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  position: relative;
  max-width: clamp(300px, 46.35vw, 890px);
}

.service-item::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: #1C2499;
  transition: width 0.6s ease;
}

.service-item:hover::before {
  width: 100%;
}

.service-item:hover {
  box-shadow: none;
}

.service-item:hover .service-arrow {
  transform: translateX(5px);
}

.service-text {
  font-family: var(--font-manrope);
  font-weight: 400;
  font-size: clamp(1rem, 1.667vw, 2rem);
  line-height: clamp(1.5rem, 2.5vw, 3rem);
  background: linear-gradient(90deg, #1C2499 0%, #1C2499 50%, var(--text) 50%, var(--text) 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.6s ease;
}

.service-item:hover .service-text {
  background-position: 0 0;
}

.service-arrow {
  width: clamp(20px, 1.667vw, 32px);
  height: clamp(20px, 1.667vw, 32px);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
/* Responsive */
@media (max-width: 768px) {
  .services-content {
    grid-template-columns: 1fr;
  }
  
  .service-item {
    max-width: 100%;
  }
  
  .services-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .view-all-btn {
    width: 100%;
  }
}

/* ============================================
   FIXED WIDGET (LEFT SIDE - HORIZONTAL)
   ============================================ */
.audit-widget {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #04144F 0%, #0a1f6e 100%);
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: 0 12px 12px 0;
  font-family: var(--font-inter);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  z-index: 10000;
  box-shadow: 3px 3px 15px rgba(0,0,0,0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  /* Gentle breathing animation */
  animation: widget-breathe 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes widget-breathe {
  0%, 100% {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25),
                0 0 0 rgba(4, 20, 79, 0),
                inset 0 0 0 rgba(255,255,255,0);
    transform: translateY(-50%) scale(1);
  }
  50% {
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.42),
                0 0 42px rgba(18, 45, 140, 0.55),
                inset 0 0 12px rgba(255,255,255,0.08);
    transform: translateY(-50%) scale(1.045);
  }
}

.audit-widget:hover {
  background: linear-gradient(135deg, #05186b 0%, #0d2589 100%);
  box-shadow: 3px 3px 25px rgba(0,0,0,0.35),
              0 0 30px rgba(79, 172, 254, 0.4);
  transform: translateY(-50%) translateX(3px);
}

/* Smooth click animation */
.audit-widget:active {
  transform: translateY(-50%) scale(0.96);
  transition: transform 0.15s ease;
}

/* Magic ripple on widget click */
.audit-widget::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0 12px 12px 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0);
  transition: all 0.6s ease-out;
}

.audit-widget.clicked::before {
  opacity: 1;
  transform: scale(2);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   POPUP OVERLAY & CONTAINER
   ============================================ */
.audit-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.audit-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.audit-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.audit-popup.is-open .audit-popup-overlay {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

/* ============================================
   AUDIT SECTION (INSIDE POPUP)
   ============================================ */
.audit-section {
  position: relative;
  z-index: 1;
  background: linear-gradient(155deg, #000B34 1%, #000000 68%);
  padding: clamp(25px, 3.5vw, 45px);
  border-radius: 10px;
  max-width: 1100px;
  width: 90vw;
  height: auto;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  /* Initial state - small and from left side */
  transform-origin: left center;
  transform: scale(0.3) translateX(-120%) rotate(-15deg);
  opacity: 0;
  filter: blur(10px);
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(380px, 1.3fr);
  gap: clamp(25px, 4vw, 40px);
  transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Open state - smooth expansion with multiple effects */
.audit-popup.is-open .audit-section {
  transform: scale(1) translateX(0) rotate(0deg);
  opacity: 1;
  filter: blur(0px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

/* Magical particle effect on background */
.audit-section::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 20% 30%, rgba(79, 172, 254, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(255, 61, 113, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 60%);
  opacity: 0;
  animation: particles 1.2s ease-out forwards;
  pointer-events: none;
  border-radius: 10px;
  filter: blur(40px);
}

@keyframes particles {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.5) rotate(180deg);
  }
}

/* Glow pulse effect */
.audit-section::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  background: linear-gradient(45deg, 
    rgba(79, 172, 254, 0.3),
    rgba(255, 61, 113, 0.3),
    rgba(168, 85, 247, 0.3)
  );
  opacity: 0;
  z-index: -1;
  filter: blur(20px);
  animation: glow 1s ease-out;
}

@keyframes glow {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
  }
}

.audit-popup.is-open .audit-section::after {
  animation: glow 1s ease-out;
}

/* Content fade in with stagger */
.audit-section > * {
  opacity: 0;
  transform: translateY(20px);
  animation: none;
}

.audit-popup.is-open .audit-section > *:nth-child(1) {
  animation: fadeInUp 0.6s ease-out 0.3s forwards;
}

.audit-popup.is-open .audit-section > *:nth-child(2) {
  animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

.audit-popup.is-open .audit-section > *:nth-child(3) {
  animation: fadeInUp 0.6s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.audit-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding-right: 10px;
}

.audit-header {
  position: relative;
  margin-bottom: auto;
}

.audit-header::before {
  content: '';
  position: absolute;
  left: -10px;
  top: -2px;
  width: 10px;
  height: 10px;
  background: #FF3D23;
  border-radius: 50%;
}

.audit-title {
  font-size: clamp(1.4rem, 2.8vw, 2.25rem);
  font-weight: 500;
  color: white;
  margin-bottom: clamp(10px, 1.5vw, 16px);
  line-height: 1.2;
  font-family: var(--font-inter);
}

.audit-description {
  font-size: clamp(0.8rem, 1.05vw, 1rem);
  color: white;
  line-height: 1.45;
  font-family: 'Manrope', var(--font-inter);
  font-weight: 600;
}

.audit-contacts {
  margin-top: auto;
  padding-top: 20px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vw, 14px);
}

.contact-title {
  color: white;
  font-size: clamp(1rem, 1.3vw, 1.35rem);
  font-family: var(--font-inter);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.contact-value {
  color: white;
  font-size: clamp(0.8rem, 1vw, 1rem);
  font-family: 'Manrope', var(--font-inter);
  font-weight: 600;
  line-height: 1.4;
}

.social-links {
  display: flex;
  gap: clamp(12px, 1.8vw, 20px);
  align-items: center;
}

.social-icon {
  width: clamp(30px, 2.8vw, 38px);
  height: clamp(30px, 2.8vw, 38px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
}

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

.social-icon:hover {
  transform: scale(1.1);
}

.social-icon.facebook {
  background: #1877F2;
}

.social-icon.linkedin {
  background: #0A66C2;
}

.social-icon.whatsapp {
  background: linear-gradient(0deg, #20B038 0%, #60D66A 100%);
}

.social-icon.instagram {
  background: white;
}

.audit-container {
  background: white;
  padding: clamp(20px, 3vw, 35px) clamp(20px, 3vw, 33px);
  border-radius: 10px;
  border: 1px solid white;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.audit-container::-webkit-scrollbar {
  width: 6px;
}

.audit-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
}

.audit-container::-webkit-scrollbar-thumb {
  background: rgba(4, 20, 79, 0.3);
  border-radius: 3px;
}

.audit-container::-webkit-scrollbar-thumb:hover {
  background: rgba(4, 20, 79, 0.5);
}

.audit-form {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vw, 18px);
  flex: 1;
}

/* ============================================
   FORM INPUTS
   ============================================ */
.form-input {
  background: transparent;
  border: none;
  border-bottom: 2px solid black;
  padding: clamp(7px, 1.1vw, 11px) clamp(5px, 0.7vw, 9px);
  font-size: clamp(0.75rem, 0.95vw, 1rem);
  color: black;
  font-family: var(--font-inter);
  font-weight: 300;
  transition: border-color 0.3s ease;
  outline: none;
}

.form-input::placeholder {
  color: black;
  opacity: 0.7;
}

.form-input:focus {
  border-bottom-color: #04144F;
}

.form-textarea {
  background: transparent;
  border: 2px solid black;
  border-radius: 5px;
  padding: clamp(9px, 1.2vw, 13px) clamp(7px, 0.9vw, 11px);
  font-size: clamp(0.75rem, 0.95vw, 1rem);
  color: black;
  font-family: var(--font-inter);
  font-weight: 300;
  min-height: clamp(70px, 9vw, 100px);
  max-height: 150px;
  resize: vertical;
  transition: border-color 0.3s ease;
  outline: none;
  flex-shrink: 0;
}

.form-textarea::placeholder {
  color: black;
  opacity: 0.7;
}

.form-textarea:focus {
  border-color: #04144F;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: clamp(7px, 0.9vw, 11px);
  flex-shrink: 0;
}

.checkbox-wrapper input[type="checkbox"] {
  width: clamp(13px, 1.2vw, 17px);
  height: clamp(13px, 1.2vw, 17px);
  border: 1px solid black;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-wrapper label {
  color: black;
  font-size: clamp(0.65rem, 0.8vw, 0.75rem);
  font-family: var(--font-inter);
  line-height: 1.4;
  cursor: pointer;
}

/* ============================================
   SUBMIT BUTTON
   ============================================ */
.submit-button {
  background: #04144F;
  color: white;
  border: none;
  padding: clamp(9px, 1.2vw, 13px) clamp(16px, 2vw, 24px);
  height: auto;
  min-height: clamp(42px, 5.2vw, 56px);
  font-size: clamp(0.95rem, 1.5vw, 1.5rem);
  font-weight: 500;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--font-inter);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  margin-top: auto;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 16px rgba(4, 20, 79, 0.4);
}

.submit-button:active {
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .audit-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 25px 20px;
    max-height: 88vh;
    overflow-y: auto;
  }

  .audit-container {
    padding: 20px 18px;
    max-height: none;
    overflow-y: visible;
    height: auto;
  }

  .audit-info {
    gap: 15px;
    height: auto;
    padding-right: 0;
  }

  .audit-header {
    margin-bottom: 20px;
  }

  .audit-contacts {
    margin-top: 0;
    padding-top: 15px;
  }
}

@media (max-width: 768px) {
  /* Widget moves to bottom on mobile - horizontal, no rotation */
  .audit-widget {
    left: 50%;
    top: auto;
    bottom: 0;
    transform: translateX(-50%);
    border-radius: 12px 12px 0 0;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    padding: 12px 32px;
  }

  @keyframes widget-breathe {
    0%, 100% {
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25),
                  0 0 0 rgba(4, 20, 79, 0),
                  inset 0 0 0 rgba(255,255,255,0);
      transform: translateX(-50%) scale(1);
    }
    50% {
      box-shadow: 0 10px 34px rgba(0, 0, 0, 0.42),
                  0 0 42px rgba(18, 45, 140, 0.55),
                  inset 0 0 12px rgba(255,255,255,0.08);
      transform: translateX(-50%) scale(1.045);
    }
  }

  .audit-widget:hover {
    transform: translateX(-50%) translateY(-3px);
  }

  .audit-widget:active {
    transform: translateX(-50%) scale(0.96);
  }

  .audit-widget::before {
    border-radius: 12px 12px 0 0;
  }

  .audit-section {
    padding: 20px 15px;
    width: 95vw;
    gap: 18px;
  }

  .audit-container {
    padding: 18px 15px;
  }

  .social-links {
    gap: 12px;
  }

  .social-icon {
    width: 30px;
    height: 30px;
  }

  .audit-form {
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .audit-section {
    padding: 18px 12px;
    max-height: 92vh;
  }

  .audit-header::before {
    width: 8px;
    height: 8px;
    left: -8px;
  }

  .audit-container {
    padding: 16px 12px;
  }

  .audit-form {
    gap: 12px;
  }
}

@media (min-width: 1400px) {
  .audit-section {
    max-width: 1150px;
  }
}

@media (max-height: 700px) {
  .audit-section {
    max-height: 85vh;
    padding: 20px;
  }

  .audit-container {
    padding: 18px 16px;
  }

  .audit-form {
    gap: 10px;
  }

  .form-textarea {
    min-height: 60px;
  }

  .submit-button {
    min-height: 40px;
  }
}

/* ============================================
   ERROR FIELDS
   ============================================ */
.form-input.error,
.form-textarea.error {
  border-color: #ff4d4d;
  box-shadow: 0 0 8px rgba(255,77,77,0.3);
  transition: all 0.3s ease;
}

/* ============================================
   LOADER BUTTON
   ============================================ */
.submit-button.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.submit-button.loading::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  transform: translateY(-50%);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* ============================================
   TOAST CONTAINER (CENTER)
   ============================================ */
#toast-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ============================================
   TOAST MESSAGE
   ============================================ */
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 26px;
  border-radius: 16px;
  color: #fff;
  min-width: 280px;
  max-width: 80vw;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25),
              0 0 12px rgba(255,255,255,0.1) inset;
  opacity: 0;
  transform: translateY(20px) scale(0.92);
  pointer-events: auto;
  position: relative;
  animation: toast-in 0.45s forwards,
             toast-out 0.45s 3.3s forwards;
}

/* ============================================
   TOAST ICONS
   ============================================ */
.toast::before {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  font-size: 20px;
}

.toast.success {
  background: linear-gradient(135deg, #4CF2AC, #12B76A);
}

.toast.success::before {
  content: "✅";
}

.toast.error {
  background: linear-gradient(135deg, #FF6B6B, #D32F2F);
}

.toast.error::before {
  content: "❌";
}

.toast.warning {
  background: linear-gradient(135deg, #FFD166, #F2994A);
}

.toast.warning::before {
  content: "⚠️";
}

/* ============================================
   TOAST ANIMATIONS
   ============================================ */
@keyframes toast-in {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.85);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toast-out {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
}

.toast.pulse {
  animation: pulse 1.3s infinite alternate;
}

@keyframes pulse {
  from {
    box-shadow: 0 0 18px rgba(255,255,255,0.35),
                0 0 8px rgba(255,255,255,0.2) inset;
  }
  to {
    box-shadow: 0 0 28px rgba(255,255,255,0.55),
                0 0 12px rgba(255,255,255,0.25) inset;
  }
}

/* ============================================
   CLOSE BUTTON (OPTIONAL)
   ============================================ */
.popup-close {
  position: absolute;
  top: clamp(15px, 2vw, 20px);
  right: clamp(15px, 2vw, 20px);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: clamp(30px, 3vw, 36px);
  height: clamp(30px, 3vw, 36px);
  border-radius: 50%;
  cursor: pointer;
  font-size: clamp(18px, 2vw, 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* Why Us Section */
/* ========================================
   ARGUMENTS SECTION - BEAUTIFUL STACK
   Красивий стек без blur, з тінями
   ======================================== */

/* ========================================
   WRAPPER
   ======================================== */

.arguments-wrapper {
  position: relative;
  height: 400vh;
}

/* ========================================
   STICKY КОНТЕЙНЕР
   ======================================== */

.arguments {
  position: sticky;
  top: 0;
  height: 100vh;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  width: 100%;
  padding: clamp(2rem, 4vw, 5rem) clamp(1rem, 2.6vw, 3.125rem);
  background: #fff;
  overflow: hidden;
}

.arguments__container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 3.5vw, 50px);
}

/* ========================================
   ЗАГОЛОВОК СЕКЦІЇ
   ======================================== */

.arguments__header {
  display: flex;
  flex-direction: column;
  gap: clamp(15px, 1.5vw, 20px);
  max-width: clamp(600px, 50vw, 701px);
}

.arguments__label {
  display: flex;
  align-items: center;
  gap: 7px;
}

.arguments__dot {
  width: 15px;
  height: 15px;
  background: #FF3D23;
  border-radius: 50%;
  flex-shrink: 0;
}

.arguments__label-text {
  color: #969696;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  line-height: 1.4;
}

.arguments__title {
  color: #000;
  font-size: clamp(36px, 4.2vw, 60px);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 1.16;
}

.arguments__subtitle {
  color: #454545;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 500;
  line-height: 1.5;
}

/* ========================================
   ОСНОВНИЙ КОНТЕНТ
   ======================================== */

.arguments__main {
  display: grid;
  grid-template-columns: clamp(400px, 46.35vw, 890px) 1fr;
  gap: clamp(30px, 4.17vw, 80px);
  align-items: start;
}

/* ========================================
   ВІДЕО ЗЛІВА
   ======================================== */

.arguments__media {
  position: relative;
  border-radius: clamp(12px, 1.4vw, 20px);
  overflow: hidden;
  background: #f0f0f0;
  aspect-ratio: 890 / 450;
}

.arguments__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.arguments__media-caption {
  position: absolute;
  bottom: clamp(15px, 1.6vw, 22px);
  left: clamp(15px, 1.6vw, 22px);
  color: #fff;
  font-size: clamp(13px, 1vw, 15px);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.33;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ========================================
   КОНТЕНТ СПРАВА (АНІМОВАНИЙ)
   ======================================== */

.arguments__content {
  position: relative;
  height: 450px;
  min-height: 400px;
  /* Додаємо перспективу для глибини */
  perspective: 1200px;
}

/* ========================================
   BEAUTIFUL STACK: ЕЛЕМЕНТИ
   ======================================== */

.arguments__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 3.125vw, 45px);
  
  /* Білий фон та тінь для карткового ефекту */
  background: #ffffff;
  border-radius: clamp(16px, 1.5vw, 24px);
  padding: clamp(30px, 3vw, 40px);
  
  /* Красива тінь, яка змінюється залежно від позиції */
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  
  --progress: 0;
  
  /* JS керує transform та opacity напряму */
  opacity: 0;
  
  /* Плавні переходи для всього */
  transition: 
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  will-change: transform, opacity;
  pointer-events: none;
}

/* Активний блок має більшу тінь */
.arguments__item.active {
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  pointer-events: auto;
}

/* ========================================
   ЗАГОЛОВОК БЛОКУ
   ======================================== */

.arguments__item-header {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.04vw, 15px);
  
  transform: translateY(15px);
  opacity: 0;
  
  transition: 
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.arguments__item.active .arguments__item-header {
  transform: translateY(0);
  opacity: 1;
}

.arguments__icon {
  width: clamp(40px, 3.64vw, 52px);
  height: clamp(40px, 3.64vw, 52px);
  flex-shrink: 0;
  object-fit: contain;
}

.arguments__item-title {
  color: #000;
  font-size: clamp(28px, 3.33vw, 48px);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.33;
  flex: 1;
}

/* ========================================
   ТАБИ
   ======================================== */

.arguments__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 1.67vw, 24px);
  align-items: center;
  
  transform: translateY(12px);
  opacity: 0;
  
  transition: 
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.18s,
    opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1) 0.18s;
}

.arguments__item.active .arguments__tabs {
  transform: translateY(0);
  opacity: 1;
}

.arguments__tab {
  padding: 8px;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  
  color: #949494;
  font-size: clamp(16px, 1.67vw, 24px);
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  line-height: 1.5;
  
  transition: 
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.arguments__tab:hover {
  color: #454545;
  transform: translateY(-2px);
}

.arguments__tab.active {
  color: #000;
  border-bottom-color: #042394;
}

/* ========================================
   ОПИС
   ======================================== */

.arguments__description {
  color: #454545;
  font-size: clamp(16px, 1.39vw, 20px);
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  line-height: 2;
  max-width: 100%;
  
  transform: translateY(10px);
  opacity: 0;
  
  transition: 
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.25s;
}

.arguments__item.active .arguments__description {
  transform: translateY(0);
  opacity: 1;
}

/* ========================================
   АДАПТИВ: ПЛАНШЕТИ (< 1024px)
   ======================================== */

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

  .arguments__media {
    max-width: 100%;
  }
  
  .arguments__item {
    padding: clamp(24px, 2.5vw, 32px);
  }
}

/* ========================================
   АДАПТИВ: МОБІЛКИ (< 768px)
   ======================================== */

@media (max-width: 767px) {
  
  .arguments-wrapper {
    height: auto;
  }
  
  .arguments {
    position: static;
    height: auto;
    padding: 60px 20px;
  }

  .arguments__content {
    position: static;
    min-height: auto;
    height: auto;
    perspective: none;
  }

  .arguments__item {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-bottom: 24px;
    box-shadow: 
      0 4px 20px rgba(0, 0, 0, 0.08),
      0 0 0 1px rgba(0, 0, 0, 0.04);
  }

  .arguments__item:last-child {
    margin-bottom: 0;
  }
  
  .arguments__item-header,
  .arguments__tabs,
  .arguments__description {
    transform: none;
    opacity: 1;
    transition: none;
  }

  .arguments__tabs {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .arguments__tab {
    width: 100%;
    text-align: left;
    padding: 12px 8px;
  }
}

/* ========================================
   АДАПТИВ: МАЛІ МОБІЛКИ (< 480px)
   ======================================== */

@media (max-width: 479px) {
  .arguments__item {
    padding: 20px;
  }

  .arguments__item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .arguments__description {
    line-height: 1.6;
  }
}

/* ========================================
   ОПТИМІЗАЦІЯ ПРОДУКТИВНОСТІ
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  .arguments__item,
  .arguments__item-header,
  .arguments__tabs,
  .arguments__description {
    transition: none !important;
  }
}

/* Portfolio Section */
body {
  font-family: 'Manrope', sans-serif;
}

.portfolio-section {
  width: 100%;
  background: radial-gradient(ellipse at 20% -70%, #000B34 35%, #000000 68%);
  padding:
    clamp(50px, 5.2vw, 100px)
    clamp(20px, 2.6vw, 50px)
    clamp(80px, 10.4vw, 200px);
  overflow: hidden;
}

.portfolio-header {
  max-width: clamp(300px, 44.69vw, 858px);
  margin-bottom: clamp(30px, 4.17vw, 80px);
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.04vw, 20px);
}

.portfolio-label {
  display: flex;
  align-items: center;
  gap: clamp(5px, 0.36vw, 7px);
}

.portfolio-label-dot {
  width: clamp(10px, 0.78vw, 15px);
  height: clamp(10px, 0.78vw, 15px);
  background: #FF3D23;
  border-radius: 50%;
}

.portfolio-label-text {
  color: #969696;
  font-size: clamp(12px, 0.73vw, 14px);
  font-weight: 500;
  line-height: clamp(16px, 1.04vw, 20px);
}

.portfolio-title {
  color: #ffffff;
  font-size: clamp(32px, 3.125vw, 60px);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: clamp(38px, 3.65vw, 70px);
}

.portfolio-description {
  color: #ffffff;
  font-size: clamp(14px, 0.83vw, 16px);
  font-weight: 500;
  line-height: clamp(20px, 1.25vw, 24px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, clamp(300px, 38.28vw, 735px)), 1fr)
  );
  gap:
    clamp(30px, 4.17vw, 80px)
    clamp(15px, 1.09vw, 21px);
  margin-bottom: clamp(40px, 5.21vw, 100px);
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 0.89vw, 17px);
}

.portfolio-card-image {
  width: 100%;
  height: clamp(200px, 23.8vw, 457px);
  border-radius: clamp(5px, 0.52vw, 10px);
  overflow: hidden;
  position: relative;
  background: #1a1a2e;
}

.portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-hotel-logo {
  position: absolute;
  top: clamp(20px, 1.56vw, 30px);
  right: clamp(20px, 1.56vw, 30px);
  max-width: clamp(140px, 9.79vw, 188px);
  background: rgba(255, 255, 255, 0.95);
  padding: clamp(8px, 0.52vw, 10px);
  border-radius: 5px;
}

.portfolio-bewell-logo,
.portfolio-sales-logo,
.portfolio-jetstream-logo {
  position: absolute;
  top: clamp(20px, 1.56vw, 30px);
  left: clamp(20px, 1.56vw, 30px);
  max-width: clamp(140px, 14.44vw, 277px);
}

.portfolio-card-header {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.52vw, 10px);
}

.portfolio-flag {
  width: clamp(24px, 1.67vw, 32px);
  height: clamp(18px, 1.25vw, 24px);
  flex-shrink: 0;
}

.portfolio-flag-poland {
  background: linear-gradient(180deg, #fff 50%, #C51918 50%);
  border: 0.5px solid #DBDBDB;
}

.portfolio-flag-usa {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.portfolio-flag-usa::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 54%;
  background: #2E42A5;
}

.portfolio-flag-usa::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent,
    transparent calc(100% / 13),
    #E31D1C calc(100% / 13),
    #E31D1C calc(200% / 13)
  );
}

.portfolio-card-title {
  color: #ffffff;
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 600;
  line-height: clamp(26px, 1.875vw, 36px);
  flex: 1;
}

.portfolio-card-text {
  color: #F3F3F3;
  font-size: clamp(14px, 0.83vw, 16px);
  font-weight: 500;
  line-height: clamp(20px, 1.25vw, 24px);
}

.portfolio-tags {
  display: flex;
  gap: clamp(15px, 1.09vw, 21px);
  flex-wrap: wrap;
}

.portfolio-tag {
  height: clamp(28px, 1.77vw, 34px);
  min-width: clamp(90px, 5.99vw, 115px);
  padding: 0 clamp(10px, 0.78vw, 15px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: clamp(3px, 0.26vw, 5px);
  border: 1px solid #ffffff;
  color: #EAEAEA;
  font-size: clamp(14px, 0.83vw, 16px);
  font-weight: 500;
  line-height: clamp(20px, 1.25vw, 24px);
}

.portfolio-button-container {
  display: flex;
  justify-content: center;
  margin-top: clamp(20px, 2.6vw, 50px);
}

.portfolio-button {
  padding:
    clamp(10px, 0.78vw, 15px)
    clamp(20px, 1.56vw, 30px);
  border-radius: clamp(5px, 0.52vw, 10px);
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-size: clamp(20px, 1.82vw, 35px);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: clamp(28px, 2.5vw, 48px);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.portfolio-button:hover {
  background: #ffffff;
  color: #000;
}

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

  .portfolio-card-title {
    font-size: clamp(16px, 4vw, 20px);
  }
}