/* ========== ROOT VARIABLES ========== */
:root {
  --navy: #1f3348;
  --teal: #48bdb2;
  --teal-dark: #239e99;
  --aqua: #e3f7f4;
  --paper: #fbfcfc;
  --muted: #5f707a;
  --line: #d9ebe9;
  --white: #ffffff;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ========== GLOBAL ========== */
/* ========== ВИПРАВЛЕННЯ ГОРИЗОНТАЛЬНОГО СКРОЛУ ========== */

/* Базові налаштування */
html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}



.badge {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* SECTIONS */
section {
  width: 100%;
  overflow-x: hidden;
  padding: 40px 4% !important; /* На мобільних */
}

/* КАРТКИ */
.category-card,
.benefit-card,
.service-card,
.before-after-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.category-card img,
.equipment-card img,
.portfolio-card img {
  width: 100%;
  height: auto;
  display: block;
}
/* ======================================================
   CATEGORY INFO
====================================================== */

.category-info,
.category-faq {
    padding: 90px 0;
}

.category-info__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 55px;
}

.category-info-card {
    position: relative;
    background: #fff;
    border: 1px solid #e7edf3;
    border-radius: 24px;
    padding: 30px;
    transition: .35s ease;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(18, 38, 63, .05);
}

.category-info-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg,#43d0cb,#3ea8ff);
    transform: scaleY(0);
    transform-origin: top;
    transition: .35s ease;
}

.category-info-card:hover {
    transform: translateY(-8px);
    border-color: rgba(67,208,203,.4);
    box-shadow: 0 20px 45px rgba(18,38,63,.12);
}

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

.category-info-card h3 {
    margin: 0 0 18px;
    color: #16314d;
    font-size: 1.25rem;
    font-weight: 700;
}

.category-info-card p {
    margin: 0;
    color: #5d7187;
    line-height: 1.8;
    font-size: .98rem;
}

.category-info-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-info-card li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    color: #5d7187;
    line-height: 1.7;
}

.category-info-card li:last-child {
    margin-bottom: 0;
}

.category-info-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg,#43d0cb,#3ea8ff);
    box-shadow: 0 0 0 4px rgba(67,208,203,.12);
}

/* ВИРІВНЮВАННЯ КОНТЕЙНЕРІВ */
.header-container,
.footer-content,
.calculator,
.application-form {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* На мобільні: всі гриди повинні бути 1 колона */
@media (max-width: 768px) {
  section {
    padding: 40px 4% !important;
  }

  .benefits-grid,
  .categories-grid,
  .cards {
    width: 100%;
    overflow-x: hidden;
  }

  /* Картинки в контейнерах */
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
}
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: 60px;
  margin: 0;
  color: var(--navy);
  background: var(--paper);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ========================================
   HERO SECTION
======================================== */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 600px;

    overflow: hidden;
    isolation: isolate;
}


/* ========================================
   HERO VIDEO
======================================== */

.hero-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    max-width: none;

    z-index: 0;

    pointer-events: none;

    background-color: #1f3348;
}


/* ========================================
   HERO OVERLAY
======================================== */

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        135deg,
        rgba(31, 51, 72, 0.3) 0%,
        rgba(31, 51, 72, 0.5) 100%
    );

    z-index: 1;

    pointer-events: none;
}


/* ========================================
   HERO CONTENT
======================================== */

.hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    gap: 24px;

    width: 100%;
    max-width: 600px;

    padding: 80px 5%;
}


/* ========================================
   HERO TITLE
======================================== */

.hero-content h1 {
    margin: 0;

    font-size: clamp(40px, 5vw, 56px);
    line-height: 1.1;

    color: white;

    text-shadow:
        0 2px 4px rgba(31, 51, 72, 0.3);
}


/* ========================================
   HERO DESCRIPTION
======================================== */

.hero-description {
    margin: 0;

    font-size: 18px;
    line-height: 1.6;

    color: rgba(255, 255, 255, 0.95);

    text-shadow:
        0 1px 2px rgba(31, 51, 72, 0.2);
}


/* ========================================
   HERO BUTTONS
======================================== */

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

    margin-top: 8px;
}


/* ========================================
   HERO BADGES
======================================== */

.hero-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    width: 100%;

    gap: 20px;

    margin-top: 20px;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 768px) {

    .hero {
        min-height: 500px;
    }

    .hero-content {
        max-width: 100%;
        padding: 60px 5%;
        gap: 18px;
    }

    .hero-content h1 {
        font-size: clamp(32px, 4vw, 42px);
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 16px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 480px) {

    .hero {
        min-height: 420px;
    }

    .hero-content {
        padding: 50px 4%;
        gap: 16px;
    }

    .hero-content h1 {
        font-size: clamp(26px, 7vw, 32px);
        line-height: 1.2;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.5;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-top: 4px;
    }

    .hero-badges {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 12px;
    }

}
/* ========== LAYOUT CONTAINERS ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: transparent;
    transition: .3s;
}

.site-header[data-sticky="true"] {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 25px rgba(0,0,0,.08);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 4%;
  height: 72px;
  max-width: 1400px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
  transition: var(--transition);
  flex-shrink: 0;
}

.brand:hover {
  opacity: 0.7;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand b {
  color: var(--teal-dark);
  font-family: 'Georgia', serif;
  font-size: 22px;
  white-space: nowrap;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: normal;
  white-space: nowrap;
}

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

.header-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 15px;
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--teal-dark);
}

.header-nav .button {
  margin-left: 12px;
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px;
  margin-left: 16px;
  flex-shrink: 0;
}

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

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* ===== МОБІЛЬНА ВЕРСІЯ (до 768px) ===== */
@media (max-width: 768px) {
  .header-container {
    padding: 10px 16px;
    height: 60px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand span {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 8px rgba(31, 51, 72, 0.08);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }

  .header-nav.active {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
  }

  .header-nav a {
    display: block;
    padding: 12px 16px;
    font-size: 16px;
    border-bottom: 1px solid rgba(31, 51, 72, 0.05);
  }

  .header-nav a:last-child {
    border-bottom: none;
  }

  .header-nav .button {
    margin: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(31, 51, 72, 0.05);
  }

  .header-nav .button.primary {
    background: var(--teal);
    color: white;
    border-color: var(--teal);
  }
}

@media (max-width: 600px) {
  .header-container {
    gap: 8px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .header-nav a {
    font-size: 15px;
    padding: 10px 16px;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    margin-left: 8px;
  }

  .mobile-menu-toggle span {
    width: 20px;
  }
}

/* ========== BUTTONS ========== */
.button, button {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 15px;
  text-align: center;
}

.button.primary, button.primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 4px 12px rgba(72, 189, 178, 0.25);
}

.button.primary:hover, button.primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 6px 16px rgba(35, 158, 153, 0.35);
  transform: translateY(-2px);
}

.button.secondary {
  background: transparent;
  color: var(--teal-dark);
  border: 2px solid var(--teal-dark);
}

.button.secondary:hover {
  background: var(--aqua);
  border-color: var(--teal-dark);
}

.button.small {
  padding: 9px 16px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .button, button {
    padding: 11px 20px;
    font-size: 14px;
  }

  .button.small {
    padding: 8px 14px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .button, button {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
  }

  .button.small {
    width: auto;
    padding: 8px 12px;
    font-size: 13px;
  }
}



.badge {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  backdrop-filter: blur(10px);
}

.badge-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--teal-dark);
}

.badge-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* HERO АДАПТИВНІСТЬ ДЛЯ ПЛАНШЕТІВ */
@media (max-width: 768px) {
  .badge {
    padding: 12px;
    border-radius: 10px;
  }

  .badge-number {
    font-size: 20px;
  }

  .badge-label {
    font-size: 12px;
  }
}

/* HERO АДАПТИВНІСТЬ ДЛЯ МОБІЛЬНИХ */
@media (max-width: 480px) {

  .badge {
    flex-direction: row;
    gap: 12px;
    padding: 10px;
    text-align: left;
  }

  .badge-number {
    font-size: 18px;
  }

  .badge-label {
    font-size: 11px;
  }
}

/* ========== SECTIONS ========== */
section {
  padding: 80px 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.eyebrow {
  display: inline-block;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  margin: 12px 0 16px;
  font-size: 40px;
  line-height: 1.2;
  color: var(--navy);
}

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

h1, h2, h3 {
  margin: 0;
}

/* SECTION АДАПТИВНІСТЬ */
@media (max-width: 768px) {
  section {
    padding: 50px 5%;
  }

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

  .section-header h2 {
    font-size: 32px;
  }

  .section-header p {
    font-size: 16px;
  }

  .eyebrow {
    font-size: 11px;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  section {
    padding: 40px 4%;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-header h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .section-header p {
    font-size: 15px;
  }

  .eyebrow {
    font-size: 10px;
  }
}

/* ========== WHY US SECTION ========== */
.why-us {
  background: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}

.benefit-card {
  padding: 32px;
  background: var(--paper);
  border-radius: 16px;
  border: 1px solid var(--line);
  transition: var(--transition);
  animation: fadeInUp 0.8s ease-out both;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.1s; }
.benefit-card:nth-child(5) { animation-delay: 0.2s; }
.benefit-card:nth-child(6) { animation-delay: 0.3s; }

.benefit-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 24px rgba(72, 189, 178, 0.15);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--aqua);
  border-radius: 12px;
  color: var(--teal-dark);
  margin-bottom: 16px;
  font-size: 28px;
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
  background: var(--teal);
  color: white;
  transform: rotate(10deg) scale(1.1);
}

.benefit-card h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 12px;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

/* BENEFITS АДАПТИВНІСТЬ */
@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 50px;
  }

  .benefit-card {
    padding: 20px;
  }

  .benefit-card h3 {
    font-size: 18px;
  }

  .benefit-card p {
    font-size: 14px;
  }

  .benefit-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
  }

  .benefit-card {
    padding: 16px;
  }

  .benefit-card h3 {
    font-size: 16px;
  }

  .benefit-card p {
    font-size: 13px;
  }

  .benefit-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
    margin-bottom: 10px;
  }
}
Ось стилі саме для блоку статистики — витримані в тому ж стилі, що й benefit-card (ті самі змінні, transition, hover-ефект, анімація появи):

css
/* ========== WHY US STATISTICS ========== */
.why-us-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-us-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 28px 16px;

  background: var(--teal-dark);
  border-radius: 16px;

  text-align: center;

  transition: var(--transition);
  animation: fadeInUp 0.8s ease-out both;
}

.why-us-badge:nth-child(1) { animation-delay: 0.1s; }
.why-us-badge:nth-child(2) { animation-delay: 0.2s; }
.why-us-badge:nth-child(3) { animation-delay: 0.3s; }
.why-us-badge:nth-child(4) { animation-delay: 0.4s; }

.why-us-badge:hover {
  background: var(--teal);
  box-shadow: 0 8px 24px rgba(72, 189, 178, 0.25);
  transform: translateY(-4px);
}

.why-us-badge__number {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.why-us-badge__label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

/* STATISTICS АДАПТИВНІСТЬ */
@media (max-width: 768px) {
  .why-us-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .why-us-badge {
    padding: 20px 12px;
  }

  .why-us-badge__number {
    font-size: 24px;
  }

  .why-us-badge__label {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .why-us-badges {
    gap: 12px;
  }

  .why-us-badge {
    padding: 16px 10px;
  }
}


/* ===== HOW TO ORDER ===== */
.how-to-order {
  padding: 80px 0;
  background: linear-gradient(135deg, #f9fcff 0%, #f0f5fa 100%);
}

/* Використовуємо ті ж .section-header, що й в інших секціях */
.how-to-order .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.how-to-order .section-header .eyebrow {
  /* Стиль як у інших секціях – можна задати окремо або використати загальний клас */
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-color, #2a7de1);
  background: rgba(42, 125, 225, 0.12);
  padding: 4px 16px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.how-to-order .section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading-color, #1a2332);
}

.how-to-order .section-header p {
  font-size: 18px;
  color: var(--text-muted, #5a6a7a);
  max-width: 600px;
  margin: 0 auto;
}

/* Сітка кроків */
.steps-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
}

/* Декоративна лінія-з'єднувач */
.steps-wrapper::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color, #2a7de1), #6cb2eb, var(--primary-color, #2a7de1));
  opacity: 0.25;
  z-index: 0;
}

.step-card {
  flex: 1 1 250px;
  max-width: 300px;
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px 28px;
  box-shadow: 0 8px 32px rgba(0, 20, 50, 0.08);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.5);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(42, 125, 225, 0.15);
  border-color: var(--primary-color, #2a7de1);
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-color, #2a7de1), #6cb2eb);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -52px auto 20px;
  box-shadow: 0 8px 20px rgba(42, 125, 225, 0.3);
}

.step-icon {
  margin: 16px auto 12px;
  color: var(--primary-color, #2a7de1);
  width: 40px;
  height: 40px;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color, #1a2332);
  margin-bottom: 10px;
}

.step-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted, #5a6a7a);
  margin-bottom: 0;
}

/* Адаптив */
@media (max-width: 768px) {
  .steps-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .steps-wrapper::before {
    display: none;
  }
  .step-card {
    max-width: 100%;
    width: 100%;
  }
  .step-number {
    margin-top: -40px;
  }
}

/* ========== SERVICES SECTION ========== */
.services-section {
  background: white;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  padding: 24px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  border: 1px solid transparent;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(31, 51, 72, 0.08);
  animation: fadeInUp 0.8s ease-out both;
  background-size: cover;
  background-position: center;
  background-color: var(--aqua);
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.1s; }
.category-card:nth-child(5) { animation-delay: 0.2s; }
.category-card:nth-child(6) { animation-delay: 0.3s; }

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(31, 51, 72, 0.4) 0%, rgba(31, 51, 72, 0.6) 100%);
  transition: background 0.3s ease;
  z-index: 1;
}

.category-card:hover {
  border-color: var(--teal);
  box-shadow: 0 16px 40px rgba(72, 189, 178, 0.2);
  transform: translateY(-8px);
}

.category-card:hover::before {
  background: linear-gradient(135deg, rgba(31, 51, 72, 0.3) 0%, rgba(31, 51, 72, 0.5) 100%);
}

.category-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.category-card__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
  justify-content: flex-end;
}

.category-card h3 {
  font-size: 24px;
  margin: 0;
  line-height: 1.2;
  color: white;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(31, 51, 72, 0.2);
}

.category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(31, 51, 72, 0.2);
}

.category-card__price {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.category-card__price strong {
  color: #a0f3f0;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(31, 51, 72, 0.2);
}

.category-card__arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  color: var(--teal);
  font-size: 24px;
  font-weight: bold;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-card:hover .category-card__arrow {
  background: var(--teal);
  color: white;
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(72, 189, 178, 0.3);
}

.category-card.video-card {
  background: none;
}

.category-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.category-card.video-card::before {
  z-index: 1;
}

.category-card.video-card .category-card__content {
  z-index: 2;
}

.category-card.video-card .category-card__image {
  display: none;
}

/* SERVICES АДАПТИВНІСТЬ */
@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
  }

  .category-card {
    min-height: 360px;
    padding: 18px;
  }

  .category-card h3 {
    font-size: 20px;
  }

  .category-card p {
    font-size: 14px;
  }

  .category-card__arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
  }

  .category-card {
    min-height: 300px;
    padding: 16px;
  }

  .category-card h3 {
    font-size: 18px;
  }

  .category-card p {
    font-size: 13px;
  }

  .category-card__price {
    font-size: 13px;
    margin-top: 6px;
    padding-top: 10px;
  }

  .category-card__price strong {
    font-size: 16px;
  }

  .category-card__arrow {
    width: 38px;
    height: 38px;
    font-size: 18px;
    top: 10px;
    right: 10px;
  }
}

/* ==========================================
   CTA Section (.cta) Styles
   ========================================== */

.cta {
  position: relative;
  max-width: 1100px;
  margin: 40px auto;
  padding: 48px 32px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Декоративний ефект свічення на фоні */
.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  border-radius: 50%;
}

.cta h2 {
  position: relative;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
  color: #ffffff;
}

.cta p {
  position: relative;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: #94a3b8;
  max-width: 680px;
  margin: 0;
}

.cta-buttons {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.cta-buttons .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.cta-buttons .button:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
  color: #ffffff;
}

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

/* Старий стиль button.light залишено без змін */
.cta-buttons .button.light {
  background: transparent;
  color: #2f5bff;
  padding: 12px 4px;
  box-shadow: none;
}

.cta-buttons .button.light:hover {
  text-decoration: underline;
  transform: none;
  box-shadow: none;
  background: transparent;
}

/* Оновлені стилі для secondary */
.cta-buttons .button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.cta-buttons .button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

/* --- CTA (.cta) АДАПТИВНІСТЬ --- */
@media (max-width: 640px) {
  .cta {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    box-sizing: border-box;

    margin: 24px 16px;
    padding: 32px 20px;

    border-radius: 18px;

    text-align: center;
    align-items: stretch;

    overflow: hidden;
    min-width: 0;
  }

  .cta h2,
  .cta p {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
  }

  .cta-buttons {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cta-buttons .button {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    box-sizing: border-box;

    text-align: center;
    padding: 14px 20px;
  }
}

/* --- CTA BLOCK АДАПТИВНІСТЬ (Залишено без змін) --- */
@media (max-width: 768px) {
  .cta-block {
    padding: 40px;
  }

  .cta-block h3 {
    font-size: 22px;
  }

  .cta-block p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  /* Залишено з вашого коду для сумісності */
  .cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .cta-block {
    padding: 30px;
    border-radius: 16px;
  }

  .cta-block h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .cta-block p {
    font-size: 14px;
    margin-bottom: 16px;
  }

  /* Додано з вашого старого коду для сумісності .cta-block */
  .cta-buttons {
    gap: 12px;
  }
}

/* ==================== BEFORE / AFTER SECTION ==================== */
.before-after-section {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 24px;
}

.before-after-section .section-header {
  max-width: 650px;
  margin: 0 auto 42px;
  text-align: center;
}

.before-after-section .section-header .eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #119d98;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.before-after-section .section-header h2 {
  margin: 0 0 14px;
  color: #20252b;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.before-after-section .section-header p {
  max-width: 520px;
  margin: 0 auto;
  color: #6c747c;
  font-size: 16px;
  line-height: 1.65;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.before-after-card {
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(23, 52, 77, 0.08);
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(23, 52, 77, 0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.before-after-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(23, 52, 77, 0.14);
}

.comparison-slider {
  --comparison-position: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9eeee;
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
}

.comparison-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.comparison-after {
  z-index: 1;
}

.comparison-before-wrapper {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: var(--comparison-position);
  overflow: hidden;
  pointer-events: none;
}

.comparison-before {
  width: calc(100vw);
  max-width: none;
}

@supports (width: 100cqw) {
  .comparison-slider {
    container-type: inline-size;
  }

  .comparison-before {
    width: 100cqw;
  }
}

.comparison-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.comparison-side-label {
  position: absolute;
  top: 18px;
  z-index: 6;
  padding: 7px 12px;
  color: #ffffff;
  background: rgba(18, 35, 51, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.comparison-side-before {
  left: 18px;
}

.comparison-side-after {
  right: 18px;
}

.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--comparison-position);
  z-index: 7;
  width: 3px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  transform: translateX(-50%);
  pointer-events: none;
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 4px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%);
}

.comparison-handle svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #159f9a;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.comparison-range {
  position: absolute;
  inset: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.before-after-content {
  padding: 20px 22px 22px;
}

.before-after-content h3 {
  margin: 0;
  color: #203b55;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

.before-after-content p {
  margin: 9px 0 0;
  color: #6d767e;
  font-size: 14px;
  line-height: 1.6;
}

.before-after-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 30px;
  color: #68727b;
  background: #f6f9f9;
  border-radius: 16px;
  text-align: center;
}

/* BEFORE/AFTER АДАПТИВНІСТЬ */
@media (max-width: 850px) {
  .before-after-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto;
  }
}

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

  .before-after-section .section-header {
    margin-bottom: 35px;
  }

  .comparison-slider {
    aspect-ratio: 4 / 3;
  }

  .before-after-card {
    border-radius: 16px;
  }

  .before-after-content {
    padding: 18px 20px;
  }

  .before-after-content h3 {
    font-size: 17px;
  }

  .before-after-content p {
    font-size: 13px;
  }

  .comparison-side-label {
    top: 12px;
    padding: 6px 10px;
    font-size: 10px;
    letter-spacing: 0.5px;
  }

  .comparison-handle {
    width: 44px;
    height: 44px;
  }

  .comparison-handle svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 600px) {
  .before-after-section {
    padding: 40px 12px;
  }

  .before-after-section .section-header {
    margin-bottom: 25px;
  }

  .before-after-section .section-header h2 {
    font-size: clamp(22px, 3.5vw, 28px);
  }

  .before-after-section .section-header p {
    font-size: 14px;
  }

  .comparison-slider {
    aspect-ratio: 1 / 1;
  }

  .before-after-card {
    border-radius: 14px;
  }

  .before-after-content {
    padding: 15px 16px;
  }

  .before-after-content h3 {
    font-size: 15px;
  }

  .before-after-content p {
    font-size: 12px;
    margin-top: 6px;
  }

  .comparison-side-label {
    top: 10px;
    padding: 5px 8px;
    font-size: 9px;
  }

  .comparison-side-before {
    left: 10px;
  }

  .comparison-side-after {
    right: 10px;
  }

  .comparison-handle {
    width: 40px;
    height: 40px;
  }

  .comparison-handle svg {
    width: 20px;
    height: 20px;
  }

  .before-after-empty {
    padding: 20px;
    font-size: 13px;
  }
}

/* ==================== EQUIPMENT & PORTFOLIO SECTION ==================== */
.equipment-section,
.portfolio-section {
  padding: 80px 5%;
  background: white;
}

.equipment-slider,
.portfolio-slider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0 60px;
  overflow: visible !important;
}

.equipment-card,
.portfolio-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

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

.equipment-title,
.portfolio-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  color: white;
  font-weight: 600;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
}

.equipment-slider .swiper-button-prev,
.equipment-slider .swiper-button-next,
.portfolio-slider .swiper-button-prev,
.portfolio-slider .swiper-button-next {
  color: #1d7f7b;
  background: rgba(255,255,255,.95);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

.equipment-slider .swiper-button-prev,
.portfolio-slider .swiper-button-prev {
  left: -60px;
}

.equipment-slider .swiper-button-next,
.portfolio-slider .swiper-button-next {
  right: -60px;
}

.swiper-pagination,
.swiper-pagination-bullet {
  display: none !important;
}

/* EQUIPMENT АДАПТИВНІСТЬ */
@media (max-width: 1024px) {
  .equipment-slider .swiper-button-prev,
  .portfolio-slider .swiper-button-prev {
    left: -40px;
  }

  .equipment-slider .swiper-button-next,
  .portfolio-slider .swiper-button-next {
    right: -40px;
  }
}

@media (max-width: 768px) {
  .equipment-section,
  .portfolio-section {
    padding: 50px 16px;
  }

  .equipment-slider,
  .portfolio-slider {
    padding: 10px 0 40px;
  }

  .equipment-card,
  .portfolio-card {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
  }

  .equipment-slider .swiper-button-prev,
  .equipment-slider .swiper-button-next,
  .portfolio-slider .swiper-button-prev,
  .portfolio-slider .swiper-button-next {
    display: none !important;
  }

  .equipment-title,
  .portfolio-title {
    padding: 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .equipment-section,
  .portfolio-section {
    padding: 40px 12px;
  }

  .equipment-slider,
  .portfolio-slider {
    padding: 8px 0 30px;
  }

  .equipment-card,
  .portfolio-card {
    border-radius: 10px;
  }

  .equipment-title,
  .portfolio-title {
    padding: 10px;
    font-size: 12px;
  }
}

/* ==================== TEAM SECTION ==================== */
.team-section {
  padding: 100px 20px;
  background: #fff;
}

.team-container {
  max-width: 900px;
  margin: 50px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-photo {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.team-photo:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}

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

.team-caption {
  margin-top: 18px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
}

/* TEAM АДАПТИВНІСТЬ */
@media (max-width: 768px) {
  .team-section {
    padding: 60px 20px;
  }

  .team-container {
    margin: 35px auto 0;
  }

  .team-photo {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

  .team-caption {
    font-size: 1rem;
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .team-section {
    padding: 40px 16px;
  }

  .team-container {
    margin: 25px auto 0;
  }

  .team-photo {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
  }

  .team-caption {
    font-size: 0.95rem;
    margin-top: 12px;
  }
}

/* ========== FAQ SECTION ========== */
.faq-section {
  background: white;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out both;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.1s; }
.faq-item:nth-child(5) { animation-delay: 0.2s; }
.faq-item:nth-child(6) { animation-delay: 0.3s; }

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

.faq-question:hover {
  background: var(--paper);
}

.faq-question.active {
  background: var(--aqua);
  color: var(--teal-dark);
}

.faq-icon {
  font-size: 24px;
  color: var(--teal);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: white;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  max-height: 300px;
  padding: 0 24px 24px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

/* FAQ АДАПТИВНІСТЬ */
@media (max-width: 768px) {
  .faq-accordion {
    gap: 12px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 15px;
  }

  .faq-answer.active {
    padding: 0 18px 18px;
  }

  .faq-answer p {
    font-size: 14px;
  }

  .faq-icon {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 40px 12px !important;
  }

  .faq-accordion {
    gap: 10px;
  }

  .faq-question {
    padding: 14px 14px;
    font-size: 14px;
    gap: 8px;
  }

  .faq-answer.active {
    max-height: 400px;
    padding: 0 14px 14px;
  }

  .faq-answer p {
    font-size: 13px;
    line-height: 1.5;
  }

  .faq-icon {
    font-size: 18px;
    margin-left: 8px;
  }
}

/* ==========================================
   КАЛЬКУЛЯТОР (calculator.html)
   ========================================== */
/* ==========================================
   ЦЕНТРУВАННЯ ЗАГОЛОВКІВ ТА ШАПОК СТОРІНОК
   ========================================== */

/* Блок шапки сторінки (Заголовок + Підзаголовок) */
.page-header,
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.page-header h1,
.section-header h2 {
  text-align: center;
  margin: 0 auto 0.5rem;
  width: 100%;
}


.page-header p,
.section-header p {
  text-align: center;
  margin: 0 auto;
  width: 100%;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.5;
}


/* Верхній кольоровий надпис (наприклад: "ОНЛАЙН-КАЛЬКУЛЯТОР", "ЗАЯВКА НА ПРИБИРАННЯ") */
.page-header .subtitle-tag,
.section-header .subtitle-tag {
  display: block;
  text-align: center;
  margin: 0 auto 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #48bdb2;
  letter-spacing: 0.05em;
}
.calculator {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  max-width: 1050px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
  align-items: start;
}

.form-fields {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-fields label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
}

.form-fields input,
.form-fields select,
.form-fields textarea,
.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 16px; /* Важливо для мобільних (запобігає зумуванню) */
  color: #0f172a;
  background-color: #f8fafc;
  transition: all 0.2s ease;
  box-sizing: border-box;
  -webkit-appearance: none; /* Видалити дефолтні стилі iOS */
  appearance: none;
}

/* Видалити спінери (стрілочки) на number input */
.form-fields input[type="number"]::-webkit-outer-spin-button,
.form-fields input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-fields input[type="number"] {
  -moz-appearance: textfield;
}

/* Стилі для select на мобільних */
.form-fields select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.form-fields input:focus,
.form-fields select:focus,
.form-fields textarea:focus,
.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  outline: none;
  border-color: #48bdb2;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(72, 189, 178, 0.1);
}

.form-fields textarea,
.application-form textarea {
  min-height: 90px;
  resize: vertical;
  font-family: inherit;
}

.form-fields hr {
  border: none;
  border-top: 1px dashed #e2e8f0;
  margin: 0.5rem 0;
}

/* Блок підсумку калькулятора (Sticky) */
.calculator .total {
  position: sticky;
  top: 2rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.calculator .total span {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
}

.calculator .total strong {
  font-size: 2.25rem;
  font-weight: 800;
  color: #48bdb2;
  margin: 0.5rem 0;
}

.calculator .total small {
  color: #94a3b8;
  font-size: 0.825rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.calculator .total .button,
.application-form .button {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background-color: #48bdb2;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.calculator .total .button:hover,
.application-form .button:hover {
  background-color: #239e99;
}

.calculator .total .button:active,
.application-form .button:active {
  transform: scale(0.98);
}

/* CALCULATOR АДАПТИВНІСТЬ */
@media (max-width: 1024px) {
  .calculator {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .calculator .total {
    position: relative;
    top: 0;
    order: -1; /* Показати total блок першим на планшеті */
  }
}

@media (max-width: 768px) {
  .calculator {
    max-width: 100%;
    padding: 0 1rem;
    margin: 0 auto 3rem;
  }

  .form-fields {
    padding: 1.5rem;
    gap: 1rem;
  }

  .form-fields label {
    font-size: 0.9rem;
  }

  .form-fields input,
  .form-fields select,
  .form-fields textarea {
    padding: 0.65rem 0.85rem;
    font-size: 16px;
    border-radius: 8px;
  }

  .calculator .total {
    padding: 1.5rem;
  }

  .calculator .total strong {
    font-size: 1.75rem;
  }

  .calculator .total .button {
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .calculator {
    padding: 0 0.75rem;
    gap: 1rem;
    margin: 0 auto 2rem;
  }

  .form-fields {
    padding: 1rem;
    gap: 0.85rem;
  }

  .form-fields label {
    font-size: 0.85rem;
  }

  .form-fields input,
  .form-fields select,
  .form-fields textarea {
    padding: 0.65rem 0.75rem;
    font-size: 16px;
    border-radius: 8px;
  }

  .form-fields textarea {
    min-height: 80px;
  }

  .calculator .total {
    padding: 1.25rem;
  }

  .calculator .total span {
    font-size: 0.75rem;
  }

  .calculator .total strong {
    font-size: 1.5rem;
    margin: 0.4rem 0;
  }

  .calculator .total small {
    font-size: 0.7rem;
    margin-bottom: 1rem;
  }

  .calculator .total .button {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }
}

/* ==========================================
   ФОРМА ЗАЯВКИ (application.html)
   ========================================== */
.application-section {
  max-width: 600px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.application-form {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.application-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
}

.form-error {
  color: #ef4444;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

.form-success {
  color: #10b981;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.75rem;
  background-color: #ecfdf5;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

/* APPLICATION АДАПТИВНІСТЬ */
@media (max-width: 768px) {
  .application-section {
    max-width: 100%;
    margin: 0 auto 3rem;
    padding: 0 1rem;
  }

  .application-form {
    padding: 1.75rem;
    gap: 1rem;
  }

  .application-form label {
    font-size: 0.9rem;
  }

  .application-form input,
  .application-form select,
  .application-form textarea {
    padding: 0.65rem 0.85rem;
    font-size: 16px;
    border-radius: 8px;
  }

  .application-form .button {
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .application-section {
    padding: 0 0.75rem;
    margin: 0 auto 2rem;
  }

  .application-form {
    padding: 1.5rem;
    gap: 0.85rem;
  }

  .application-form label {
    font-size: 0.85rem;
  }

  .application-form input,
  .application-form select,
  .application-form textarea {
    padding: 0.65rem 0.75rem;
    font-size: 16px;
    border-radius: 8px;
  }

  .application-form textarea {
    min-height: 80px;
  }

  .application-form .button {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }

  .form-error {
    font-size: 0.8rem;
  }

  .form-success {
    font-size: 0.8rem;
  }
}

/* ==========================================
   СТОРІНКА КАТЕГОРІЇ ПОСЛУГ (category_detail.html)
   ========================================== */

#services {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.service-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  border-color: #48bdb2;
}

.service-card__top {
  flex: 1;
}

.service-card__top h3 {
  font-size: 24px;
  line-height: 1.35;
  color: #1f3348;
  margin: 0 0 18px;
}

.service-card__top p {
  margin: 0;
  color: #5f707a;
  line-height: 1.7;
  font-size: 16px;
}

.service-card__price {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #edf2f7;
}

.service-card__price span {
  display: block;
  color: #64748b;
  font-size: 15px;
  margin-bottom: 6px;
}

.service-card__price strong {
  display: block;
  color: #48bdb2;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.service-card__price small {
  display: block;
  margin-top: 8px;
  color: #94a3b8;
  font-size: 14px;
}

/* SERVICES CARDS АДАПТИВНІСТЬ */
@media (max-width: 768px) {
  #services {
    margin: 40px auto;
    padding: 0 1rem;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .service-card {
    padding: 1.25rem;
  }

  .service-card__top h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }

  .service-card__top p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .service-card__price {
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .service-card__price strong {
    font-size: 1.5rem;
  }

  .service-card__price span {
    font-size: 0.85rem;
  }

  .service-card__price small {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  #services {
    margin: 30px auto;
    padding: 0 0.75rem;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    padding: 1rem;
  }

  .service-card__top h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }

  .service-card__top p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .service-card__price {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
  }

  .service-card__price span {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }

  .service-card__price strong {
    font-size: 1.3rem;
  }

  .service-card__price small {
    font-size: 0.75rem;
    margin-top: 4px;
  }
}

/* ==========================================
   ЗАГАЛЬНІ ПОЛІПШЕННЯ
   ========================================== */

/* Запобіжити масштабуванню input на iOS */
input,
select,
textarea {
  font-size: 16px !important;
}

/* Покращити видимість focus state */
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

/* Стилі для placeholder */
::placeholder {
  color: #cbd5e1;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #cbd5e1;
}

::-ms-input-placeholder {
  color: #cbd5e1;
}
/* ========== CTA SECTION ========== */
.final-cta {
  background: linear-gradient(135deg, var(--navy) 0%, #2a4563 100%);
  text-align: center;
  padding: 80px 5%;
  color: white;
}

.cta-content h2 {
  font-size: 40px;
  margin-bottom: 16px;
  color: white;
}

.cta-content p {
  font-size: 18px;
  margin: 0 0 32px;
  color: #c8e6e2;
}

.cta-buttons-final {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FINAL CTA АДАПТИВНІСТЬ */
@media (max-width: 768px) {
  .final-cta {
    padding: 50px 5%;
  }

  .cta-content h2 {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .cta-content p {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .cta-buttons-final {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .final-cta {
    padding: 40px 4%;
  }

  .cta-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .cta-content p {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .cta-buttons-final {
    flex-direction: column;
    gap: 10px;
  }
}

/* ======================================================
   FOOTER
====================================================== */

.site-footer{
    background:linear-gradient(180deg,#1f3348 0%,#162635 100%);
    color:#fff;
}

.footer-container{
    max-width:1200px;
    margin:0 auto;
    padding:70px 24px 50px;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:60px;
}

.footer-column h3{
    position:relative;
    margin-bottom:24px;
    font-size:22px;
    font-weight:700;
    color:#fff;
}

.footer-column h3::after{
    content:"";
    display:block;
    width:52px;
    height:4px;
    margin-top:12px;
    border-radius:999px;
    background:var(--teal);
}

.footer-column p{
    margin:0 0 14px;
    color:rgba(255,255,255,.78);
    line-height:1.8;
    font-size:15px;
}

.footer-column a{
    display:block;
    width:fit-content;
    margin-bottom:14px;

    color:rgba(255,255,255,.82);
    text-decoration:none;
    transition:.25s ease;
}

.footer-column a:hover{
    color:var(--teal);
    transform:translateX(6px);
}

.footer-links{
    list-style:none;
    padding:0;
    margin:0;
}

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

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.12);
    padding:24px;
    text-align:center;
    color:rgba(255,255,255,.55);
    font-size:14px;
}

/* ============================
      MOBILE
============================ */

@media (max-width:768px){

    .footer-container{
        padding:55px 20px 35px;
        gap:40px;
        grid-template-columns:1fr;
    }

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

    .footer-column h3::after{
        margin:12px auto 0;
    }

    .footer-column a{
        width:100%;
    }

    .footer-column a:hover{
        transform:none;
    }

}

@media (max-width:480px){

    .footer-container{
        padding:45px 18px 30px;
        gap:32px;
    }

    .footer-column h3{
        font-size:20px;
    }

    .footer-column p,
    .footer-column a{
        font-size:14px;
    }

    .footer-bottom{
        padding:18px;
        font-size:13px;
    }

}

/* ========== ANIMATIONS ========== */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
}

/* ========== SWIPER DEFAULTS ========== */
.swiper {
  margin: 0;
  padding: 0 60px;
}

.swiper-slide {
  height: auto;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px;
  font-weight: bold;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(255,255,255,1);
}

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

@media (max-width: 480px) {
  .swiper {
    padding: 0 20px;
  }
}
/* ========== Thanks.html ========== */
/* Блок подяки */
.thanks {
  text-align: center;
  max-width: 600px;
  margin: 4rem auto;
  padding: 2rem 1rem;
}

/* Верхній надпис */
.thanks .eyebrow {
  display: block;
  color: #48bdb2;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #48bdb2;
}

/* Заголовок */
.thanks h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Абзаци */
.thanks p {
  font-size: 1.1rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.thanks p strong {
  color: #48bdb2;
  font-weight: 700;
}

/* Кнопка */
.thanks .button {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  background-color: #48bdb2;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  margin-top: 1rem;
}

.thanks .button:hover {
  background-color: #239e99;
  transform: translateY(-2px);
}

.thanks .button:active {
  transform: scale(0.98);
}

/* Мобільні */
@media (max-width: 768px) {
  .thanks {
    margin: 2rem auto;
    padding: 1.5rem 1rem;
  }

  .thanks h1 {
    font-size: 1.75rem;
  }

  .thanks p {
    font-size: 1rem;
  }
  }
}
/* ========== FADE IN ANIMATION ========== */
[class*="fade"] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

[class*="fade"].visible {
    opacity: 1;
    transform: translateY(0);
}


/* ========== STICKY HEADER ANIMATION ========== */
.site-header {
    transition: box-shadow 0.3s ease-out, background-color 0.3s ease-out;
}

.site-header[data-sticky="true"] {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.98);
}

/* ========== FAQ ACCORDION SMOOTH ANIMATION ========== */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: white;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    max-height: 300px;
    padding: 0 24px 24px;
}

.faq-answer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
}

.faq-question {
    transition: background-color 0.2s ease-out, color 0.2s ease-out;
}

.faq-question.active {
    background-color: #f5f5f5;
}

.faq-icon {
    display: inline-block;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

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



/* ========== BUTTON HOVER ANIMATIONS ========== */
.button {
    transition: all 0.3s ease-out;
    will-change: transform, background-color;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

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

/* ========== CARD HOVER EFFECTS ========== */
.category-card,
.benefit-card,
.equipment-card,
.portfolio-card {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    will-change: transform, box-shadow;
}

.category-card:hover,
.benefit-card:hover,
.equipment-card:hover,
.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* ========== CATEGORY VIDEO FADE IN ========== */
.category-video {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 1;
}
/* ==================================================
   SMART VIDEO: постер → плавна поява відео
================================================== */

.smart-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: #e9e9e9;
}

/* Hero */
.smart-video--hero {
  z-index: 0;
}

/* Картки категорій */
.smart-video--category {
  z-index: 0;
}

.smart-video__poster,
.smart-video__media {
  position: absolute;
  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

/* Постер спочатку видимий */
.smart-video__poster {
  z-index: 1;
  opacity: 1;

  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

/* Відео спочатку приховане */
.smart-video__media {
  z-index: 2;
  opacity: 0;

  transition: opacity 0.45s ease;
}

/* Відео реально почало відтворюватися */
.smart-video.is-video-ready .smart-video__media {
  opacity: 1;
}

.smart-video.is-video-ready .smart-video__poster {
  opacity: 0;
  visibility: hidden;
}

/* Контент повинен бути над відео */
.hero-content,
.category-card__content {
  position: relative;
  z-index: 3;
}

/* Батьківський блок для absolute-позиціонування */
.category-card {
  position: relative;
  overflow: hidden;
}

/* На випадок помилки відео постер залишається видимим */
.smart-video.is-video-error .smart-video__poster {
  opacity: 1;
  visibility: visible;
}

.smart-video.is-video-error .smart-video__media {
    opacity: 0;
}
/* ========================================
   SITE PRELOADER
======================================== */

body.is-preloading {
    overflow: hidden;
}

/* Основний екран прелоадера */
.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    height: var(--app-height, 100dvh);
    height: -webkit-fill-available;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;

    background:
        radial-gradient(
            circle at center,
            rgba(255, 255, 255, 0.24) 0%,
            rgba(255, 255, 255, 0.08) 28%,
            transparent 60%
        ),
        #cacac7;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Прелоадер приховується */
.site-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Центральний контейнер */
.site-preloader__content {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    transform: translateY(-4px);

    transition:
        opacity 0.45s ease,
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Анімація при закритті */
.site-preloader.is-hidden .site-preloader__content {
    opacity: 0;
    transform: translateY(-18px) scale(0.98);
}


/* ========================================
   PRELOADER LOGO
======================================== */

.site-preloader__logo-wrapper {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    animation: preloader-breathe 2.1s ease-in-out infinite;
}

/* Світіння за логотипом */
.site-preloader__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;

    width: 120%;
    height: 120%;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.62) 0%,
        rgba(255, 255, 255, 0.24) 38%,
        rgba(255, 255, 255, 0) 72%
    );

    filter: blur(18px);

    transform: translate(-50%, -50%) scale(0.88);

    animation: preloader-glow 2.1s ease-in-out infinite;
}

/* Сам логотип */
.site-preloader__logo {
    position: relative;
    z-index: 2;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    border-radius: 50%;

    opacity: 0.92;

    filter:
        drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08))
        drop-shadow(0 0 9px rgba(255, 255, 255, 0.36));

    animation: preloader-logo-light 2.1s ease-in-out infinite;
}


/* ========================================
   LOADING LINE
======================================== */

.site-preloader__line {
    position: relative;

    width: 74px;
    height: 2px;
    margin-top: 18px;

    overflow: hidden;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.25);
}

.site-preloader__line span {
    position: absolute;
    top: 0;
    left: 0;

    width: 40%;
    height: 100%;

    border-radius: inherit;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.95),
        transparent
    );

    transform: translateX(-150%);

    animation: preloader-line 1.4s ease-in-out infinite;
}


/* ========================================
   HEADER LOGO
======================================== */

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 50%;

    text-decoration: none;
}

.brand__logo {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    border-radius: 50%;
}


/* ========================================
   ANIMATIONS
======================================== */

@keyframes preloader-breathe {
    0%,
    100% {
        transform: scale(0.97);
    }

    50% {
        transform: scale(1.025);
    }
}

@keyframes preloader-glow {
    0%,
    100% {
        opacity: 0.45;
        transform: translate(-50%, -50%) scale(0.88);
    }

    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

@keyframes preloader-logo-light {
    0%,
    100% {
        opacity: 0.82;

        filter:
            drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08))
            drop-shadow(0 0 5px rgba(255, 255, 255, 0.28));
    }

    50% {
        opacity: 1;

        filter:
            drop-shadow(0 6px 14px rgba(0, 0, 0, 0.1))
            drop-shadow(0 0 16px rgba(255, 255, 255, 0.72));
    }
}

@keyframes preloader-line {
    0% {
        transform: translateX(-150%);
    }

    55%,
    100% {
        transform: translateX(300%);
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

    .site-preloader__logo-wrapper {
        width: 150px;
        height: 150px;
    }

    .site-preloader__line {
        width: 62px;
        margin-top: 14px;
    }

    .brand {
        width: 48px;
        height: 48px;
    }
}


/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {

    .site-preloader__logo-wrapper,
    .site-preloader__glow,
    .site-preloader__logo,
    .site-preloader__line span {
        animation: none;
    }

    .site-preloader__logo {
        opacity: 1;
    }

    .site-preloader__glow {
        opacity: 0.65;
    }

    .site-preloader {
        transition-duration: 0.3s;
    }
}

html.preloader-skip .site-preloader {
    display: none !important;
}

html.preloader-skip body.is-preloading {
    overflow: auto;
}

/* ========================================================= */
/* ABOUT PAGE */
/* ========================================================= */

/* ========================================================= */
/* ABOUT HERO */
/* ========================================================= */

.about-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #0b1f4a 0%,
        #132f67 55%,
        #1c3d78 100%
    );
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(82, 180, 255, 0.10),
            transparent 35%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(82, 180, 255, 0.06),
            transparent 30%
        );
}

.about-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 90px;
    padding-bottom: 90px;
}

.about-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
    color: rgba(210, 225, 245, 0.65);
    font-size: 14px;
}

.about-breadcrumbs a {
    color: #78cfff;
}

.about-breadcrumbs a:hover {
    color: #ffffff;
}

.about-hero__content {
    max-width: 850px;
}

/* Бейдж "ПРО КОМПАНІЮ" */
.about-hero .about-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    border-radius: 999px;
    border: 1px solid rgba(102, 199, 255, 0.45);
    border-color: rgba(102, 199, 255, 0.45);
    background: rgba(102, 199, 255, 0.08);
    color: #66c7ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-hero h1 {
    margin: 20px 0 22px;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    max-width: 850px;
}

.about-hero p {
    max-width: 650px;
    margin: 0;
    color: #c7d9f5;
    font-size: 18px;
    line-height: 1.7;
}

.about-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}
@media (max-width: 800px) {

    .about-hero {
        min-height: 500px;
    }

    .about-hero__inner {
        padding-top: 80px;
        padding-bottom: 80px;
    }

}

@media (max-width: 600px) {

    .about-hero h1 {
        font-size: 42px;
        line-height: 1.08;
    }

    .about-hero p {
        font-size: 16px;
        line-height: 1.65;
    }

    .about-hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .about-hero__buttons .button {
        width: 100%;
        text-align: center;
    }

}

/* ========================================================= */
/* STORY */
/* ========================================================= */

.about-story {
    padding: 120px 0;
    background: #ffffff;
}

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

.about-story__content {
    max-width: 650px;
}

.about-story__content h2 {
    margin: 24px 0 28px;
    color: #0b1f4a;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.about-story__content p {
    margin-bottom: 18px;
    color: #52627d;
    font-size: 17px;
    line-height: 1.8;
}

.about-story__signature {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 34px;
    padding-left: 20px;
    border-left: 3px solid;
    border-left-color: #4cbfeb;
}

.about-story__signature span {
    color: #7d8aa1;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-story__signature strong {
    color: #0b1f4a;
    font-size: 18px;
}

.about-story__visual {
    position: relative;
}

.about-story__visual img,
.about-story__placeholder {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(10, 35, 70, 0.14);
}

.about-story__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2f7;
}

.about-story__placeholder span {
    color: #0b1f4a;
    font-size: 40px;
    font-weight: 800;
}

.about-story__floating-card {
    position: absolute;
    left: -35px;
    bottom: 35px;
    max-width: 260px;
    padding: 24px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(8, 28, 60, 0.18);
}

.about-story__floating-card strong {
    display: block;
    margin-bottom: 7px;
    color: #0b1f4a;
    font-size: 22px;
}

.about-story__floating-card span {
    color: #60708c;
    font-size: 14px;
    line-height: 1.6;
}


/* ========================================================= */
/* SECTION HEADINGS */
/* ========================================================= */

.about-section-heading {
    max-width: 720px;
    margin-bottom: 55px;
}

.about-section-heading--center {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.about-section-heading h2 {
    margin: 22px 0 18px;
    color: #0b1f4a;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.about-section-heading p {
    margin: 0;
    color: #60708c;
    font-size: 17px;
    line-height: 1.75;
}


/* ========================================================= */
/* STATS */
/* ========================================================= */

.about-stats {
    padding: 100px 0;
    background: #f5f7fa;
}

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

.about-stat-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(20, 35, 60, 0.06);
}

.about-stat-card__number {
    margin-bottom: 10px;
    color: #4cbfeb;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.about-stat-card__label {
    color: #52627d;
    font-size: 15px;
}


/* ========================================================= */
/* VALUES */
/* ========================================================= */

.about-values {
    padding: 120px 0;
    background: #ffffff;
}

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

.about-value-card {
    padding: 42px 30px;
    border: 1px solid #e7ebf0;
    border-radius: 22px;
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-value-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 40px rgba(76, 190, 235, 0.10);
}

.about-value-card__icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border-radius: 50%;
     color: #4cbfeb;
    background: rgba(76, 190, 235, 0.10);
}

.about-value-card__icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: #4cbfeb;
}

.about-value-card h3 {
    margin-bottom: 12px;
    color: #0b1f4a;
    font-size: 21px;
}

.about-value-card p {
    margin: 0;
    color: #60708c;
    font-size: 15px;
    line-height: 1.7;
}


/* ========================================================= */
/* ADVANTAGES */
/* ========================================================= */

.about-advantages {
    padding: 120px 0;
    background: #f5f7fa;
}

.about-advantages__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.about-advantage-card {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    padding: 35px;
    border-radius: 20px;
    background: #ffffff;
}

.about-advantage-card__number {
    color: #4cbfeb;
    font-size: 22px;
    font-weight: 800;
}

.about-advantage-card h3 {
    margin: 0 0 10px;
    color: #0b1f4a;
    font-size: 22px;
}

.about-advantage-card p {
    margin: 0;
    color: #60708c;
    line-height: 1.7;
}


/* ========================================================= */
/* EQUIPMENT */
/* ========================================================= */

.about-equipment {
    padding: 120px 0;
    background: #ffffff;
}

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

.about-equipment-card {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 22px;
    background: #edf1f5;
}

.about-equipment-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-equipment-card:hover img {
    transform: scale(1.06);
}

.about-equipment-card__overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 35px 24px 22px;
    background: linear-gradient(
        to top,
        rgba(5, 20, 50, 0.85),
        rgba(5, 20, 50, 0)
    );
}

.about-equipment-card__overlay span {
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
}


/* ========================================================= */
/* TEAM */
/* ========================================================= */

.about-team {
    padding: 120px 0;
    background: #f5f7fa;
}

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

.about-team-card {
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(10, 30, 60, 0.06);
}

.about-team-card img {
    width: 100%;
    aspect-ratio: 4 / 4.5;
    object-fit: cover;
    display: block;
}

.about-team-card__content {
    padding: 22px;
}

.about-team-card__content h3 {
    margin: 0;
    color: #0b1f4a;
    font-size: 20px;
}


/* ========================================================= */
/* CTA */
/* ========================================================= */

.about-cta {
    padding: 90px 0;
    background: #0b1f4a;
}

.about-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-cta__content {
    max-width: 720px;
}

.about-cta h2 {
    margin: 22px 0 18px;
    color: #ffffff;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.about-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    line-height: 1.7;
}

.about-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    flex-shrink: 0;
}
.about-cta .about-eyebrow--white {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* ========================================================= */
/* RESPONSIVE / MOBILE */
/* ========================================================= */

@media (max-width: 1100px) {

    .about-story__grid {
        gap: 50px;
    }

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

    .about-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 800px) {

    .about-hero {
        min-height: 500px;
    }

    .about-hero__inner {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .about-story {
        padding: 80px 0;
    }

    .about-story__grid {
        grid-template-columns: 1fr;
    }

    .about-story__visual img,
    .about-story__placeholder {
        height: 420px;
    }

    .about-story__floating-card {
        left: 20px;
        bottom: 20px;
    }

    .about-advantages__grid {
        grid-template-columns: 1fr;
    }

    .about-equipment__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-team__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

    .about-story{
        padding:60px 0;
    }

    .about-story__grid{
        display:flex;
        flex-direction:column;
        gap:35px;
    }

    /* Спочатку текст, потім слайдер */
    .about-story__content{
        order:1;
        max-width:100%;
    }

    .about-story__visual{
        order:2;
        width:100%;
    }

    .about-story__content h2{
        font-size:44px;
        line-height:1.08;
        margin:18px 0 22px;
        word-break:break-word;
    }

    .about-story__content p{
        font-size:18px;
        line-height:1.75;
    }

    .about-story__signature{
        margin-top:28px;
    }

    /* Слайдер */

    .about-gallery-slider{
        border-radius:22px;
    }

    .about-gallery-slider img{
        width:100%;
        height:300px;
        object-fit:cover;
        display:block;
    }

    .about-gallery-slider .swiper-button-next,
    .about-gallery-slider .swiper-button-prev{
        transform:scale(.8);
    }

    .about-gallery-slider .swiper-pagination{
        bottom:12px !important;
    }

    /* Інші блоки */

    .about-stats__grid,
    .about-values__grid,
    .about-equipment__grid,
    .about-team__grid{
        grid-template-columns:1fr;
    }

    .about-stat-card{
        min-height:150px;
    }

    .about-advantages__grid{
        grid-template-columns:1fr;
    }

    .about-advantage-card{
        grid-template-columns:50px 1fr;
        padding:25px;
    }

    .about-hero h1{
        font-size:42px;
    }

    .about-hero__buttons,
    .about-cta__buttons{
        flex-direction:column;
        width:100%;
    }

    .about-hero__buttons .button,
    .about-cta__buttons .button{
        width:100%;
    }
}

.about-gallery-slider{
    width:100%;
    height:100%;
    border-radius:28px;
    overflow:hidden;
    position:relative;
}
.about-gallery-slider .swiper-slide{
    height:100%;
}
.about-gallery-slider img{
    width:100%;
    height:560px;
    object-fit:cover;
    display:block;
}

/* ========================================================= */
/* Review / Section */
/* ========================================================= */
.reviews-section {
  padding: 90px 0;
}

.reviews-summary {
  margin-top: 14px;
  opacity: 0.75;
}

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

.review-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(15, 38, 56, 0.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 38, 56, 0.06);
}

.review-card__top,
.review-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.review-card h3 {
  margin: 0;
}

.review-card__meta {
  margin: 6px 0 0;
  font-size: 14px;
  opacity: 0.65;
}

.review-card__stars {
  white-space: nowrap;
  color: #f5a623;
  letter-spacing: 2px;
}

.review-card blockquote {
  flex: 1;
  margin: 0;
  line-height: 1.7;
}

.review-card__bottom {
  font-size: 14px;
  opacity: 0.75;
}

.reviews-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .reviews-section {
    padding: 64px 0;
  }

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

  .review-card {
    padding: 22px;
  }

  .review-card__top {
    flex-direction: column;
  }

  .reviews-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .reviews-actions .button {
    width: 100%;
    text-align: center;
  }
}
.honeypot-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
/* ==========================================
   ЧЕКБОКС ПОЛІТИКИ КОНФІДЕНЦІЙНОСТІ
   ========================================== */

.application-form .form-consent {
  width: 100%;
}

.application-form .checkbox-label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;

  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: #334155;

  cursor: pointer;
}

/* Забороняємо checkbox розтягуватися */
.application-form .checkbox-label input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  max-width: 18px;

  margin: 2px 0 0;
  padding: 0;

  flex: 0 0 18px;

  appearance: auto !important;
  -webkit-appearance: checkbox !important;

  border: initial;
  border-radius: 3px;
  box-shadow: none;

  accent-color: #42bdb5;
  cursor: pointer;
}

.application-form .consent-text {
  display: inline;
  flex: 1;
}
