/* =========================================
   1. ЗМІННІ ТА БАЗОВІ НАЛАШТУВАННЯ
========================================= */
:root {
--font-main: "Montserrat", sans-serif;
--color-bg: #ffffff;
--color-text: #252525;
--color-accent: #cd1c18;
--color-black: #000000;
--header-height: 80px;
--transition: all 0.3s ease;
}

/* Це має бути на самому початку style.css */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
font-family: var(--font-main);
color: var(--color-text);
background-color: var(--color-bg);
padding-top: var(--header-height);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

html {
    scroll-padding-top: 120px; /* Відступ зверху для шапки */
    scroll-behavior: smooth; /* Робить прокрутку до якорів плавною та дорогою */
}

h1,
h2 {
font-weight: 900;
letter-spacing: -0.02em;
}
h3,
h4 {
font-weight: 700;
}
p {
font-weight: 400;
line-height: 1.6;
}

/* =========================================
   2. УТИЛІТИ (Загальні класи)
========================================= */
.container {
max-width: 90%;
margin: 0 auto;
padding: 0 20px;
}
.text-center {
text-align: center;
}
.text-left {
text-align: left;
}
.text-accent {
color: var(--color-accent);
}
.text-white {
color: #ffffff;
}
.bg-gray {
background-color: #f9f9f9;
}
.pt-0 {
padding-top: 0 !important;
}
.full-width {
width: 100%;
}

/* =========================================
   3. КНОПКИ (Buttons)
========================================= */
.btn {
display: inline-flex;
justify-content: center;
align-items: center;
padding: 12px 28px;
border-radius: 50px;
font-weight: 700;
text-decoration: none;
transition: var(--transition);
font-size: 15px;
cursor: pointer;
border: 2px solid transparent;
}
.btn--primary {
font-family: var(--font-main);
background-color: var(--color-accent);
color: #fff;
box-shadow: 0 4px 15px rgba(237, 33, 0, 0.3);
}
.btn--primary:hover {
background-color: #c41c00;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(237, 33, 0, 0.4);
}
.btn--outline {
background: transparent;
border-color: var(--color-black);
color: var(--color-black);
}
.btn--outline:hover {
background: var(--color-black);
color: #fff;
}
.btn--large {
padding: 18px 48px;
font-size: 1.1rem;
border-radius: 60px;
}

/* =========================================
   4. HEADER ТА НАВІГАЦІЯ
========================================= */
.header {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: var(--header-height);
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
z-index: 1000;
display: flex;
align-items: center;
transition: var(--transition);
}
.header__inner {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
position: relative; /* ВАЖЛИВО: це дозволить меню стати чітко по центру */
}
.logo {
font-size: 24px;
font-weight: 800;
color: var(--color-black);
text-decoration: none;
letter-spacing: -0.5px;
}
.logo__dot {
color: var(--color-accent);
}
.header__menu {
display: flex;
align-items: center;
gap: 30px; /* Це тепер відстань тільки між перемикачем мов та кнопкою */
}
/* --- ІДЕАЛЬНЕ ЦЕНТРУВАННЯ МЕНЮ ДЛЯ ПК --- */
@media (min-width: 993px) {
.nav {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
}
.nav__list {
display: flex;
gap: 30px;
list-style: none;
}
.nav__link {
text-decoration: none;
color: var(--color-text);
font-weight: 600;
font-size: 17px;
transition: var(--transition);
position: relative;
}
.nav__link:hover {
color: var(--color-black);
}
.nav__link::after {
content: "";
position: absolute;
width: 0;
height: 2px;
bottom: -4px;
left: 0;
background-color: var(--color-accent);
transition: var(--transition);
}
.nav__link:hover::after {
width: 100%;
}

/* Dropdown Menu */
.has-dropdown {
position: relative;
height: 100%;
display: flex;
align-items: center;
}
.has-dropdown .nav__link {
display: flex;
align-items: center;
gap: 6px;
}
.arrow-icon {
transition: transform 0.3s ease;
}
.has-dropdown:hover .arrow-icon {
transform: rotate(180deg);
}
.dropdown-menu {
position: absolute;
top: 100%;
left: -20px;
background: #ffffff;
min-width: 240px;
padding: 15px 0;
border-radius: 12px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
list-style: none;
border: 1px solid rgba(0, 0, 0, 0.05);
opacity: 0;
visibility: hidden;
transform: translateY(15px);
transition: all 0.3s ease;
z-index: 100;
}
.has-dropdown:hover .dropdown-menu {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.dropdown-menu li a {
display: block;
padding: 10px 25px;
color: #252525;
text-decoration: none;
font-size: 14px;
font-weight: 500;
transition: 0.2s;
}
.dropdown-menu li a:hover {
background-color: #f5f5f5;
color: #cd1c18;
}

/* Lang Switcher */
/* --- СУЧАСНИЙ ПЕРЕМИКАЧ МОВ (Dropdown) --- */
.lang-switcher {
position: relative;
display: flex;
align-items: center;
height: 100%; /* Щоб меню реагувало на наведення по всій висоті шапки */
cursor: pointer;
}
.lang-current {
display: flex;
align-items: center;
gap: 6px;
font-size: 14px;
font-weight: 700;
color: var(--color-black);
text-transform: uppercase;
transition: var(--transition);
}
.lang-arrow {
transition: transform 0.3s ease;
}

/* Ефект при наведенні на весь блок */
.lang-switcher:hover .lang-current {
color: var(--color-accent);
}

.lang-switcher:hover .lang-arrow {
transform: rotate(180deg);
}

/* Саме випадне меню */
.lang-dropdown {
position: absolute;
top: 100%;
right: -10px; /* Трохи зміщуємо вправо для ідеального центрування */
background: #fff;
min-width: 140px;
padding: 10px 0;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
border: 1px solid rgba(0, 0, 0, 0.05);
list-style: none;

/* Анімація появи */
opacity: 0;
visibility: hidden;
transform: translateY(15px);
transition: all 0.3s ease;
z-index: 100;
}

.lang-switcher:hover .lang-dropdown {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

/* Посилання всередині меню */
.lang-dropdown li a {
display: block;
padding: 10px 20px;
color: var(--color-text);
text-decoration: none;
font-size: 14px;
font-weight: 600;
transition: 0.2s;
}

.lang-dropdown li a:hover {
background-color: #f9f9f9;
color: var(--color-accent);
padding-left: 25px; /* Легкий зсув тексту при наведенні - виглядає дуже дорого */
}

.lang-dropdown li a.active {
color: var(--color-accent);
}

/* Адаптив для мобільного меню (якщо воно відкривається на весь екран) */
@media (max-width: 992px) {
.lang-dropdown {
position: static;
box-shadow: none;
border: none;
padding: 0;
background: transparent;
display: none;
margin-top: 15px;
text-align: center;
}
.lang-switcher {
flex-direction: column;
}
.lang-switcher:hover .lang-dropdown {
display: block;
}
}

/* --- BURGER MENU & MOBILE OVERLAY --- */
.burger {
display: none;
background: none;
border: none;
cursor: pointer;
width: 30px;
height: 20px;
position: relative;
z-index: 1001;
}
.burger span {
display: block;
width: 100%;
height: 2px;
background-color: var(--color-black);
position: absolute;
transition: var(--transition);
}
.burger span:nth-child(1) {
top: 0;
}
.burger span:nth-child(2) {
top: 50%;
transform: translateY(-50%);
}
.burger span:nth-child(3) {
bottom: 0;
}
.burger.active span:nth-child(1) {
top: 50%;
transform: translateY(-50%) rotate(45deg);
}
.burger.active span:nth-child(2) {
opacity: 0;
}
.burger.active span:nth-child(3) {
bottom: 50%;
transform: translateY(50%) rotate(-45deg);
}

/* Ховаємо мобільні контакти на десктопі */
.mobile-contacts {
display: none;
}

@media (max-width: 992px) {
.header__menu {
position: fixed;
top: 0;
right: -100%;
width: 100%;
height: 100vh;
height: 100dvh; /* ДОДАЙТЕ ЦЕ: Ідеально для iOS та Android */
background-color: rgba(255, 255, 255, 0.98);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
display: flex;
flex-direction: column;
align-items: center; /* Центруємо все */
justify-content: flex-start;
padding: 100px 20px 40px;
transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
z-index: 999;
overflow-y: auto;
}

.header__menu.open {
right: 0;
}

.nav {
width: 100%;
margin-bottom: 30px;
}

/* Центруємо список та кожен елемент */
.nav__list {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
gap: 20px;
padding: 0;
}

.nav__list > li {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
opacity: 0;
transform: translateY(20px);
transition: 0.4s ease;
}

.nav__link {
font-size: 24px;
font-weight: 800;
color: var(--color-black);
text-align: center;
display: inline-flex;
align-items: center;
gap: 8px;
}

/* Симетричне підменю Послуг */
.dropdown-menu {
position: static !important;
width: 100%;
display: none;
background: transparent !important;
box-shadow: none !important;
padding: 10px 0 !important;
margin: 0;
text-align: center;
}
.dropdown-menu.is-active {
display: block !important;
}
.dropdown-menu li {
width: 100%;
}
.dropdown-menu li a {
font-size: 18px;
padding: 10px 0;
color: #666;
display: block;
text-align: center;
}

/* Блок контактів — тепер він знову з'явиться */
.mobile-contacts {
display: flex;
flex-direction: column;
align-items: center;
margin-top: auto;
padding: 20px 0;
border-top: 1px solid #eee;
width: 100%;
}
.mobile-phone {
font-size: 22px;
font-weight: 800;
color: var(--color-black);
text-decoration: none;
margin-bottom: 5px;
}
.mobile-contacts p {
font-size: 14px;
color: #353839;
margin-bottom: 15px;
}

/* Мови */
.lang-switcher {
flex-direction: column;
align-items: center;
margin-bottom: 20px;
}
.lang-dropdown {
position: static !important;
display: none !important;
text-align: center;
}
.lang-switcher.is-active .lang-dropdown {
display: block !important;
}

.header__menu .btn--primary {
width: 100%;
max-width: 300px;
padding: 16px;
}

.burger {
display: block;
}
.header__menu.open .nav__list > li {
opacity: 1;
transform: translateY(0);
}
}

/* =========================================
   5. ЗАГАЛЬНІ СЕКЦІЇ (Sections)
========================================= */
.section {
padding: 50px 0;
}
.section-header {
margin-bottom: 60px;
}
.section-title {
font-size: clamp(2rem, 4vw, 3rem);
font-weight: 800;
margin-bottom: 16px;
line-height: 1.2;
color: var(--color-black);
}
.section-desc {
font-size: 1.125rem;
color: #555;
}

/* =========================================
   6. HERO SECTION (Головна)
========================================= */
.hero {
padding: 80px 0 120px;
min-height: calc(100vh - var(--header-height));
display: flex;
align-items: center;
overflow: hidden;
}
.hero__inner {
display: grid;
grid-template-columns: 1.2fr 0.8fr;
gap: 60px;
align-items: center;
}
.hero__title {
font-size: clamp(2rem, 5vw, 4rem);
font-weight: 900;
line-height: 1.1;
color: var(--color-black);
margin-bottom: 24px;
letter-spacing: -1px;
}
.hero__subtitle {
font-size: 1.125rem;
color: var(--color-text);
/* max-width: 580px; */
margin-bottom: 40px;
line-height: 1.6;
}
.hero__actions {
display: flex;
gap: 16px;
margin-bottom: 60px;
}
.hero__features {
display: flex;
gap: 24px;
}
.feature-item {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.feature-dot {
width: 6px;
height: 6px;
background-color: var(--color-accent);
border-radius: 50%;
}

/* Hero Visual (3D Телефон) */
.hero__visual {
position: relative;
display: flex;
justify-content: center;
align-items: center;
perspective: 1000px;
height: 100%;
min-height: 500px;
}
.tech-composition {
position: relative;
width: 300px;
height: 400px;
transform-style: preserve-3d;
animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
0%,
100% {
transform: translateY(0) rotateY(-5deg);
}
50% {
transform: translateY(-20px) rotateY(5deg);
}
}
.orbit-ring {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 450px;
height: 450px;
border: 1px dashed rgba(237, 33, 0, 0.2);
border-radius: 50%;
z-index: -1;
animation: spin 20s linear infinite;
}
.orbit-ring.small {
width: 320px;
height: 320px;
border-color: rgba(0, 0, 0, 0.1);
animation: spin 15s linear infinite reverse;
}
@keyframes spin {
from {
transform: translate(-50%, -50%) rotate(0deg);
}
to {
transform: translate(-50%, -50%) rotate(360deg);
}
}
.glow-spot {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 200px;
height: 200px;
background: radial-gradient(circle, rgba(237, 33, 0, 0.15) 0%, transparent 70%);
filter: blur(30px);
}
.phone-mockup {
width: 180px;
height: 360px;
background: #000;
border-radius: 30px;
padding: 10px;
border: 2px solid #333;
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
position: absolute;
top: 0;
left: 60px;
z-index: 10;
transform: rotateZ(-5deg);
}
.phone-screen {
background: #fff;
width: 100%;
height: 100%;
border-radius: 20px;
overflow: hidden;
position: relative;
background: linear-gradient(to bottom, #f9f9f9, #ececec);
}
.app-header {
padding: 15px;
display: flex;
gap: 6px;
border-bottom: 1px solid #eee;
}
.dot {
width: 8px;
height: 8px;
background: #ddd;
border-radius: 50%;
}
.dot.red {
background: var(--color-accent);
}
.app-skeleton {
padding: 20px;
display: flex;
flex-direction: column;
gap: 12px;
}
.sk-line {
height: 8px;
background: #e0e0e0;
border-radius: 4px;
width: 60%;
}
.sk-line.full {
width: 100%;
height: 100px;
border-radius: 8px;
background: #eee;
}
.sk-line.short {
width: 40%;
}
.sk-grid {
display: flex;
gap: 10px;
}
.sk-box {
width: 50%;
height: 60px;
background: #e0e0e0;
border-radius: 8px;
}
.sk-btn {
margin-top: 10px;
height: 30px;
background: var(--color-black);
border-radius: 6px;
width: 100%;
}
.float-widget {
position: absolute;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
padding: 15px;
border-radius: 16px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.5);
display: flex;
flex-direction: column;
gap: 8px;
min-width: 160px;
z-index: 20;
transform: translateZ(50px);
}
.widget-data {
display: flex;
justify-content: space-between;
align-items: center;
}
.widget-data .label {
font-size: 12px;
color: #353839;
}
.widget-data .value {
font-weight: 800;
font-size: 14px;
color: var(--color-black);
}
.speed-widget {
top: 40px;
right: -40px;
animation: floatWidget 4s ease-in-out infinite alternate;
}
.widget-progress {
height: 4px;
background: #eee;
border-radius: 2px;
overflow: hidden;
}
.bar-fill {
height: 100%;
width: 0;
background: #10b981;
animation: fillBar 1.5s ease-out forwards 0.5s;
}
@keyframes fillBar {
to {
width: 100%;
}
}
.seo-widget {
bottom: 60px;
left: -50px;
animation: floatWidget 5s ease-in-out infinite alternate-reverse;
}
@keyframes floatWidget {
0% {
transform: translateY(0) translateZ(50px);
}
100% {
transform: translateY(-10px) translateZ(50px);
}
}
.code-bubble {
position: absolute;
background: var(--color-accent);
color: var(--color-bg);
padding: 8px 14px;
border-radius: 8px;
font-family: monospace;
font-size: 12px;
font-weight: 700;
z-index: 5;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.b1 {
top: -20px;
left: 20px;
animation: floatBubble 3s infinite alternate;
}
.b2 {
bottom: 20px;
right: 0px;
animation: floatBubble 4s infinite alternate-reverse;
}
@keyframes floatBubble {
from {
transform: translateY(0);
}
to {
transform: translateY(-10px);
}
}

/* PAGE HERO (Внутрішні сторінки) */
.page-hero {
padding: 140px 0 60px;
background: #fff;
}

@media (max-width: 992px) {
.hero__inner {
grid-template-columns: 1fr;
text-align: center;
}
.hero__content {
display: flex;
flex-direction: column;
align-items: center;
}
.hero__actions {
flex-direction: column;
width: 100%;
max-width: 320px;
}
.hero__features {
flex-wrap: wrap;
justify-content: center;
}
.hero__visual {
display: none;
}
}

/* =========================================
   7. ABOUT SECTION
========================================= */
.about {
background-color: #fff;
overflow: hidden;
}
.about-grid {
display: grid;
grid-template-columns: 1fr 0.9fr;
gap: 60px;
align-items: center;
}
.section-subtitle {
font-size: 1.1rem;
font-weight: 600;
color: #666;
margin-top: 10px;
padding-left: 15px;
border-left: 3px solid var(--color-accent);
display: inline-block;
text-align: left;
}
.about-text p {
margin-bottom: 20px;
color: #444;
font-size: 1rem;
line-height: 1.7;
}
.about-text strong {
color: var(--color-black);
font-weight: 700;
}
.about-features {
list-style: none;
margin: 30px 0;
display: flex;
flex-direction: column;
gap: 15px;
}
.about-features li {
position: relative;
padding-left: 30px;
font-size: 0.95rem;
color: #555;
}
.about-features li::before {
content: "✔";
position: absolute;
left: 0;
top: 0;
color: var(--color-accent);
font-weight: 900;
font-size: 1.1rem;
}
.about-actions {
display: flex;
gap: 20px;
margin-top: 40px;
flex-wrap: wrap;
}
.about-image-wrapper {
position: relative;
border-radius: 24px;
}
.about-img {
width: 100%;
height: auto;
border-radius: 24px;
object-fit: cover;
/* box-shadow: 20px 20px 0px rgba(0, 0, 0, 0.05); */
}
.about-badge {
position: absolute;
bottom: 40px;
left: -30px;
background: var(--color-black);
color: #fff;
padding: 20px 30px;
border-radius: 16px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
align-items: center;
border: 1px solid #333;
animation: float 6s ease-in-out infinite;
}
.badge-number {
font-size: 1.5rem;
font-weight: 900;
color: var(--color-accent);
text-transform: uppercase;
}
.badge-text {
font-size: 0.8rem;
font-weight: 500;
letter-spacing: 1px;
text-transform: uppercase;
}
@keyframes float {
0%,
100% {
transform: translateY(0px);
}
50% {
transform: translateY(-10px);
}
}

@media (max-width: 992px) {
.about-grid {
grid-template-columns: 1fr;
gap: 40px;
}
.about-image-wrapper {
order: -1;
margin-bottom: 20px;
/* padding-left: 20px; */
}
.about-badge {
left: 0;
bottom: 20px;
padding: 15px 20px;
}
.about-actions {
justify-content: center;
}
}

/* =========================================
   8. RESULTS & STATS
========================================= */
.results {
background-color: #f9f9f9;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
margin-bottom: 50px;
}
.stat-card {
background: #fff;
padding: 40px 20px;
border-radius: 20px;
text-align: center;
border: 1px solid #e5e5e5;
transition: 0.3s ease;
}
.stat-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
border-color: var(--color-accent);
}
.stat-number {
font-size: 4rem;
font-weight: 900;
color: var(--color-black);
line-height: 1;
margin-bottom: 10px;
background: linear-gradient(135deg, #000 30%, #555 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.stat-label {
font-size: 1.1rem;
font-weight: 600;
color: #555;
margin-bottom: 20px;
}
.stat-link {
display: inline-block;
font-size: 0.9rem;
font-weight: 700;
color: var(--color-accent);
text-decoration: none;
border-bottom: 1px solid transparent;
transition: 0.3s;
}
.stat-link:hover {
border-bottom-color: var(--color-accent);
}
.tech-metrics-bar {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 20px;
background: #fff;
padding: 20px 40px;
border-radius: 50px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
max-width: 900px;
margin: 0 auto 30px;
}
.metric-item {
display: flex;
align-items: center;
gap: 10px;
font-size: 1rem;
}
.metric-text strong {
color: #000;
font-weight: 700;
}
.metric-separator {
color: #444;
font-weight: 300;
}
.results-note {
text-align: center;
font-size: 0.8rem;
color: #555;
max-width: 700px;
margin: 0 auto;
}

@media (max-width: 992px) {
.stats-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 600px) {
.stats-grid {
grid-template-columns: 1fr;
gap: 15px;
}
.stat-card {
        display: grid;
        grid-template-columns: auto 1fr; /* Цифра зліва, текст справа */
        column-gap: 20px;
        row-gap: 5px;
        padding: 20px; /* Зменшуємо внутрішні відступи */
        text-align: left;
        align-items: center;
    }
.stat-number {
        grid-row: 1 / 3; /* Цифра займає два рядки по висоті */
        font-size: 3rem; /* Робимо цифру трохи меншою (було 4rem) */
        margin-bottom: 0; /* Прибираємо відступ */
    }
.stat-label {
        margin-bottom: 0;
        font-size: 0.95rem;
        line-height: 1.3;
    }
.stat-link {
        font-size: 0.85rem;
    }
.tech-metrics-bar {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Дві колонки замість однієї */
        gap: 15px;
        padding: 20px;
        border-radius: 20px;
        text-align: center;
    }
.metric-item {
        display: flex;
        justify-content: center; /* Центруємо текст в колонках */
        font-size: 0.9rem;
    }
.metric-separator {
        display: none; /* Ховаємо слеші на мобільному */
    }
}

/* =========================================
   9. SERVICES (Bento Grid)
========================================= */
.bento-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
align-items: stretch;
}
.bento-card {
background-color: #fff;
border: 1px solid #e5e5e5;
border-radius: 24px;
padding: 40px 30px;
display: flex;
flex-direction: column;
transition: all 0.3s;
height: 100%;
}
.bento-card:hover {
border-color: var(--color-accent);
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.card-icon {
width: 60px;
height: 60px;
background-color: #f5f5f5;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 24px;
color: var(--color-black);
transition: 0.3s;
flex-shrink: 0;
}
.bento-card:hover .card-icon {
background-color: var(--color-accent);
color: #fff;
transform: scale(1.1) rotate(-5deg);
}
.card-content {
display: flex;
flex-direction: column;
flex-grow: 1;
}
.card-content h3 {
font-size: 1.4rem;
font-weight: 800;
margin-bottom: 12px;
color: var(--color-black);
line-height: 1.3;
}
.card-tags {
display: flex;
gap: 8px;
margin-bottom: 20px;
flex-wrap: wrap;
}
.card-tags span {
font-size: 11px;
background: #f4f4f4;
padding: 6px 12px;
border-radius: 6px;
font-weight: 700;
color: #444;
letter-spacing: 0.5px;
}
.card-content p {
font-size: 0.95rem;
color: #555;
line-height: 1.6;
margin-bottom: 30px;
flex-grow: 1;
}
.card-link {
text-decoration: none;
font-weight: 700;
color: var(--color-black);
display: inline-flex;
align-items: center;
gap: 5px;
transition: 0.3s;
margin-top: auto;
padding-top: 20px;
border-top: 1px solid #eee;
}
.card-link:hover {
color: var(--color-accent);
gap: 12px;
}

@media (max-width: 992px) {
.bento-grid {
grid-template-columns: 1fr;
max-width: 600px;
margin: 0 auto;
}
}

/* =========================================
   10. PRICING SECTION
========================================= */
.pricing-header {
text-align: center;
margin-bottom: 60px;
}
.currency-switch {
display: inline-flex;
background: #f5f5f5;
padding: 4px;
border-radius: 50px;
margin-top: 24px;
}
.currency-btn {
font-family: var(--font-main);
border: none;
background: transparent;
padding: 10px 24px;
border-radius: 40px;
font-weight: 600;
cursor: pointer;
color: #666;
transition: var(--transition);
}
.currency-btn.active {
background: var(--color-black);
color: #fff;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.pricing-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
align-items: stretch;
}
.price-card {
background: #fff;
border: 1px solid #e5e5e5;
border-radius: 24px;
padding: 40px 30px;
position: relative;
display: flex;
flex-direction: column;
height: 100%;
transition: var(--transition);
}
.price-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
border-color: #d1d1d1;
}
.price-card.popular {
border: 2px solid var(--color-accent);
transform: scale(1.03);
box-shadow: 0 20px 50px rgba(237, 33, 0, 0.08);
z-index: 2;
}
.price-card.popular:hover {
transform: scale(1.03) translateY(-8px);
}
.popular-badge {
position: absolute;
top: -15px;
left: 50%;
transform: translateX(-50%);
background: var(--color-accent);
color: #fff;
padding: 6px 16px;
border-radius: 20px;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.price-header {
text-align: center;
margin-bottom: 30px;
border-bottom: 1px solid #f0f0f0;
padding-bottom: 30px;
}
.price-header h3 {
font-size: 1.5rem;
font-weight: 800;
margin-bottom: 8px;
color: var(--color-black);
}
.price-desc {
color: #555;
font-size: 0.9rem;
min-height: 40px;
display: flex;
align-items: center;
justify-content: center;
}
.price-value {
font-size: 2.5rem;
font-weight: 900;
color: var(--color-black);
display: flex;
justify-content: center;
align-items: flex-start;
gap: 4px;
margin-top: 15px;
}
.currency-symbol {
font-size: 1.2rem;
margin-top: 8px;
font-weight: 700;
color: #666;
}
.price-features {
list-style: none;
margin-bottom: 40px;
flex-grow: 1;
}
.price-features li {
margin-bottom: 16px;
font-size: 0.95rem;
display: flex;
align-items: flex-start;
gap: 12px;
color: #444;
line-height: 1.5;
}
.checked::before {
content: "✓";
color: var(--color-accent);
font-weight: 900;
font-size: 1.2rem;
line-height: 1;
margin-top: 2px;
}
.unchecked {
color: #aaa !important;
text-decoration: line-through;
}
.unchecked::before {
content: "×";
color: #ccc;
font-weight: 900;
}
.price-card .btn {
margin-top: auto;
width: 100%;
}

/* Table Compare (Price Page) */
.table-wrapper {
overflow-x: auto;
background: #fff;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
padding: 20px;
}
.compare-table {
width: 100%;
border-collapse: collapse;
min-width: 600px;
}
.compare-table th,
.compare-table td {
padding: 15px 20px;
text-align: center;
border-bottom: 1px solid #eee;
font-size: 0.95rem;
}
.compare-table th {
font-weight: 700;
font-size: 1.1rem;
color: var(--color-black);
padding-bottom: 25px;
}
.compare-table th:first-child,
.compare-table td:first-child {
text-align: left;
font-weight: 600;
color: var(--color-text);
}
.compare-table tr:last-child td {
border-bottom: none;
}
.compare-table .yes {
color: #10b981;
font-weight: 900;
}
.compare-table .no {
color: #ccc;
font-weight: 900;
}

/* Addons (Price Page) */
.addons-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 30px;
}
.addon-item {
background: #fff;
border: 1px solid #e5e5e5;
padding: 30px;
border-radius: 16px;
display: flex;
flex-direction: column;
transition: 0.3s;
}
.addon-item:hover {
border-color: var(--color-accent);
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.addon-item h4 {
font-size: 1.2rem;
margin-bottom: 10px;
color: var(--color-black);
}
.addon-item p {
font-size: 0.95rem;
color: #666;
margin-bottom: 20px;
flex-grow: 1;
}
.addon-price {
font-size: 1.25rem;
font-weight: 800;
color: var(--color-accent);
}

@media (max-width: 1100px) {
.pricing-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 768px) {
.container {
        /* overflow-x: hidden; Запобігає горизонтальному скролу */
    }
.pricing-grid {
        display: flex; /* Змінюємо grid на flex для кращого контролю на мобільних */
        flex-direction: column;
        gap: 30px; /* Відстань між картками */
        width: 100%;
    }
.price-card {
        width: 100%;
        max-width: 100%; /* Гарантуємо, що картка не вилізе за межі екрана */
        margin: 0; /* Прибираємо margin: 0 auto, flexbox сам все відцентрує */
        box-sizing: border-box; /* Захист від "роздування" через padding */
        padding: 30px 20px; /* Трохи зменшуємо внутрішні відступи для мобільних */
    }
.price-card.popular {
        transform: none; /* Прибираємо збільшення для популярної картки на мобільному, щоб вона не вилазила */
    }
.price-card.popular:hover {
        transform: translateY(-5px); /* Залишаємо лише легкий стрибок вгору */
    }
.addons-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   11. TECH STACK
========================================= */
.stack-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 40px;
}
.stack-group-title {
font-size: 1.1rem;
color: #353839;
margin-bottom: 24px;
padding-left: 10px;
border-left: 2px solid var(--color-accent);
text-transform: uppercase;
letter-spacing: 1px;
}
.stack-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.tech-card {
display: flex;
justify-content: space-between;
align-items: center;
background: #fff;
border: 1px solid #e5e5e5;
padding: 16px 20px;
border-radius: 12px;
transition: all 0.2s ease;
cursor: default;
}
.tech-name {
font-weight: 700;
font-size: 1.1rem;
color: var(--color-black);
}
.tech-desc {
font-size: 0.85rem;
color: #555;
font-weight: 500;
transition: color 0.2s;
}
.tech-card:hover {
border-color: var(--color-black);
background: var(--color-black);
transform: translateX(5px);
}
.tech-card:hover .tech-name {
color: #fff;
}
.tech-card:hover .tech-desc {
color: #555;
}

@media (max-width: 992px) {
.stack-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 600px) {
.stack-grid {
grid-template-columns: 1fr;
gap: 30px;
}
.stack-group-title {
        text-align: left;
        border-bottom: none;
        border-left: 2px solid var(--color-accent);
        display: block;
        padding-left: 10px;
        padding-bottom: 0;
        margin-bottom: 15px;
    }
.stack-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px; /* Компактна відстань між картками */
    }
/* 4. Перебудовуємо саму картку: текст одне під одним */
    .tech-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
        gap: 4px;
        justify-content: center;
    }

    .tech-name {
        font-size: 0.95rem;
    }

    .tech-desc {
        font-size: 0.75rem;
        line-height: 1.2;
    }
}
/* Додатково для дуже маленьких екранів (iPhone SE тощо) */
@media (max-width: 380px) {
    .stack-list {
        grid-template-columns: 1fr; /* Повертаємо в 1 колонку, якщо екран надто вузький */
    }
    .tech-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* =========================================
   12. ПОРТФОЛІО (Mockups на головній)
========================================= */
.portfolio-header {
display: flex;
justify-content: space-between;
align-items: flex-end;
margin-bottom: 60px;
flex-wrap: wrap;
gap: 30px;
}
.portfolio-filters {
display: flex;
gap: 10px;
}
.filter-btn {
font-family: var(--font-main);
background: transparent;
border: 1px solid #e0e0e0;
padding: 8px 20px;
border-radius: 50px;
cursor: pointer;
font-size: 14px;
font-weight: 600;
transition: 0.3s;
color: #666;
}
.filter-btn:hover,
.filter-btn.active {
background: var(--color-black);
color: #fff;
border-color: var(--color-black);
}

.portfolio-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 40px;
margin-top: 40px;
}
.project-card {
background: #fff;
border-radius: 24px;
overflow: hidden;
border: 1px solid #f0f0f0;
transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.project-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.project-link {
text-decoration: none;
color: inherit;
display: flex;
flex-direction: column;
height: 100%;
}

/* Mockups Layout */
.project-showcase {
background-color: #fff;
padding: 40px 20px 20px;
position: relative;
height: 320px;
display: flex;
justify-content: center;
align-items: flex-end;
overflow: hidden;
}
.mockup-laptop {
position: relative;
width: 85%;
max-width: 400px;
z-index: 1;
transition: transform 0.5s ease;
}
.laptop-screen {
background: #4a4a4a;
border-radius: 8px 8px 0 0;
padding: 8px 8px 0 8px;
aspect-ratio: 570 / 324;
overflow: hidden;
box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}
.laptop-screen img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: top;
border-radius: 4px 4px 0 0;
transition: transform 0.5s ease;
}
.laptop-base {
height: 12px;
background: #252525;
border-radius: 0 0 10px 10px;
position: relative;
width: 110%;
left: -5%;
}
.laptop-base::before {
content: "";
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 4px;
background: #a0a0a0;
border-radius: 0 0 4px 4px;
}
.mockup-phone {
position: absolute;
right: 5%;
bottom: -10px;
width: 25%;
max-width: 100px;
background: #333;
border-radius: 14px;
padding: 6px;
aspect-ratio: 202 / 415;
z-index: 2;
box-shadow: -10px 10px 20px rgba(0, 0, 0, 0.15);
transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.mockup-phone::before {
content: "";
position: absolute;
top: 6px;
left: 50%;
transform: translateX(-50%);
width: 30%;
height: 12px;
background: #333;
border-radius: 0 0 6px 6px;
z-index: 3;
}
.phone-screen {
background: #fff;
width: 100%;
height: 100%;
border-radius: 10px;
overflow: hidden;
}
.phone-screen img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: top;
transition: transform 0.5s ease;
}
.project-card:hover .mockup-laptop {
transform: translateY(-5px);
}
.project-card:hover .mockup-phone {
transform: translateY(-15px) scale(1.05);
}

/* Overlay & Info */
.project-overlay {
position: absolute;
inset: 0;
background: rgba(205, 28, 24, 0.7);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
z-index: 10;
transition: 0.3s ease;
}
.project-card:hover .project-overlay {
opacity: 1;
}
.view-case {
color: #fff;
font-weight: 700;
font-size: 1.2rem;
padding: 12px 24px;
border: 2px solid #fff;
border-radius: 50px;
transform: translateY(20px);
transition: 0.3s ease;
}
.project-card:hover .view-case {
transform: translateY(0);
}
.project-info {
padding: 30px;
display: flex;
flex-direction: column;
flex-grow: 1;
}
.project-meta {
display: flex;
justify-content: space-between;
margin-bottom: 15px;
font-size: 0.85rem;
color: #353839;
font-weight: 600;
}
.project-tag {
color: var(--color-accent);
}
.project-title {
font-size: 1.3rem;
margin-bottom: 12px;
line-height: 1.3;
}
.project-result {
color: #555;
font-size: 0.95rem;
line-height: 1.5;
margin-top: auto;
}

/* Сторінка Портфоліо (.cases-grid) */
.portfolio-filters-bar {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 40px;
flex-wrap: wrap;
}
.cases-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 40px;
}
.case-card {
background: #fff;
border-radius: 24px;
overflow: hidden;
border: 1px solid #eee;
transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.case-card:hover {
transform: translateY(-10px);
box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
border-color: var(--color-accent);
}
.case-image {
position: relative;
aspect-ratio: 16 / 10;
overflow: hidden;
background: #f5f5f5;
}
.case-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: 0.6s;
}
.case-card:hover .case-image img {
transform: scale(1.05);
}
.case-stats {
position: absolute;
bottom: 20px;
right: 20px;
display: flex;
gap: 10px;
}
.stat-item {
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
padding: 8px 15px;
border-radius: 12px;
text-align: center;
border: 1px solid #fff;
}
.stat-item span {
display: block;
font-size: 10px;
text-transform: uppercase;
color: #888;
font-weight: 700;
}
.stat-item strong {
font-size: 1.1rem;
color: var(--color-black);
}
.case-info {
padding: 30px;
}
.case-meta {
font-size: 0.8rem;
font-weight: 700;
text-transform: uppercase;
color: var(--color-accent);
margin-bottom: 10px;
letter-spacing: 1px;
}
.case-info h3 {
font-size: 1.5rem;
margin-bottom: 15px;
color: var(--color-black);
}
.case-info p {
font-size: 0.95rem;
color: #666;
line-height: 1.6;
margin-bottom: 25px;
}
.case-more {
font-weight: 700;
color: var(--color-black);
text-decoration: none;
font-size: 0.9rem;
transition: 0.3s;
}
.case-more:hover {
color: var(--color-accent);
padding-left: 10px;
}

@media (max-width: 992px) {
.portfolio-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 850px) {
.cases-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 768px) {
.portfolio-header {
flex-direction: column;
align-items: center; /* Центруємо заголовок і текст */
text-align: center;
}
.portfolio-filters {
width: 100%;
overflow-x: visible; /* Вимикаємо горизонтальний скрол */
flex-wrap: wrap; /* Дозволяємо кнопкам переноситися на нові рядки */
justify-content: center; /* Розташовуємо їх рівно по центру */
padding-bottom: 0;
gap: 10px;
}
.filter-btn {
white-space: nowrap;
/* На мобільних можна зробити кнопки трохи ширшими для зручності */
padding: 10px 20px;
font-size: 13px;
}
}
@media (max-width: 480px) {
.project-showcase {
height: 260px;
padding: 30px 10px 10px;
}
.mockup-laptop {
width: 90%;
}
.mockup-phone {
width: 28%;
right: 2%;
}
}

/* =========================================
   13. WORKFLOW (Етапи розробки)
========================================= */

/* 1. Броня секції: вбиваємо зайві скроли та даємо місце для тіней */
.workflow {
    overflow-x: hidden; 
    padding-bottom: 50px; 
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    margin-top: 60px;
}

.step-card {
    position: relative;
    padding: 40px 20px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    transition: var(--transition);
    z-index: 1; /* Гарантуємо, що картки завжди поверх з'єднувальної лінії */
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: #f0f0f0;
    line-height: 1;
    margin-bottom: 20px;
    transition: var(--transition);
}

/* 2. Інтерактивність: картка оживає при наведенні (або якщо є клас active) */
.step-card.active,
.step-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(237, 33, 0, 0.05);
    transform: translateY(-5px);
}

.step-card.active .step-number,
.step-card:hover .step-number {
    color: var(--color-accent);
    transform: translateY(-5px);
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--color-black);
}

.step-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* З'єднувальна лінія між кроками (тільки для ПК) */
@media (min-width: 993px) {
    .workflow-grid::before {
        content: "";
        position: absolute;
        top: 65px;
        left: 50px;
        right: 50px;
        height: 2px;
        background: #f0f0f0;
        z-index: 0;
    }
}

@media (max-width: 992px) {
    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .step-number-line {
        display: none !important; /* Повністю ховаємо лінію на мобільних та планшетах */
    }
}

@media (max-width: 600px) {
    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 15px; /* Зменшуємо відстань між картками */
        margin-top: 30px; /* Менший відступ від заголовка */
    }
    .step-card {
        display: flex;
        flex-direction: row; /* МАГІЯ: ставимо цифру і текст в один рядок */
        align-items: flex-start;
        padding: 20px 15px; /* Робимо картку значно тоншою */
        text-align: left; /* Текст по лівому краю для зручного читання */
        gap: 20px; /* Відстань між цифрою та текстом */
    }
    .step-number {
        font-size: 2.2rem; /* Трохи зменшуємо цифру */
        margin-bottom: 0; /* Прибираємо відступ знизу, бо тепер він не потрібен */
        line-height: 0.8;
        margin-top: 5px; /* Вирівнюємо цифру по лінії заголовка */
    }
    .step-content h3 {
        font-size: 1.1rem; /* Компактний заголовок */
        margin-bottom: 8px;
    }
    .step-content p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0;
    }
}

/* =========================================
   14. REVIEWS (Відгуки)
========================================= */
.reviews-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 50px;
flex-wrap: wrap;
gap: 20px;
text-align: center;
}
.reviews-carousel-wrapper {
position: relative;
margin-bottom: 40px;
mask-image: linear-gradient(
to right,
transparent,
black 5%,
black 95%,
transparent
);
-webkit-mask-image: linear-gradient(
to right,
transparent,
black 5%,
black 95%,
transparent
);
}
.reviews-track {
display: flex;
gap: 24px;
overflow-x: auto;
padding: 20px 5%;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
scrollbar-width: none;
-ms-overflow-style: none;
cursor: grab;
}
.reviews-track::-webkit-scrollbar {
display: none;
}
.reviews-track:active {
cursor: grabbing;
}
.review-card {
min-width: 350px;
max-width: 350px;
background: #fff;
border-radius: 20px;
padding: 24px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
border: 1px solid #f0f0f0;
scroll-snap-align: center;
display: flex;
flex-direction: column;
user-select: none;
}
.review-top {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 12px;
}
.reviewer-info {
display: flex;
gap: 12px;
align-items: center;
}
.reviewer-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-weight: 700;
font-size: 18px;
}
.reviewer-name {
font-size: 0.95rem;
font-weight: 700;
color: var(--color-black);
margin-bottom: 2px;
}
.review-stars {
color: #fbbc05;
margin-bottom: 12px;
font-size: 1rem;
}
.review-text {
font-size: 0.95rem;
line-height: 1.5;
color: #555;
display: -webkit-box;
-webkit-line-clamp: 5;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* Кнопки під відгуками */
.reviews-footer {
display: flex;
flex-wrap: wrap; /* Дозволяє кнопкам переноситися на новий рядок на вузьких екранах */
justify-content: center; /* Центрує кнопки */
align-items: center;
gap: 15px; /* Створює безпечну відстань 15px між кнопками з усіх боків */
margin-top: 30px; /* Відступ зверху від карток */
}
@media (max-width: 768px) {
.reviews-header {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.review-card {
min-width: 280px;
max-width: 280px;
}
.reviews-track {
padding: 20px;
}
}
/* Навігація відгуків */
.reviews-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding-bottom: 5px;
}
.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e5e5;
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.slider-btn:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    transform: scale(1.1);
}
.swipe-hint {
    font-size: 0.9rem;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: none; /* Ховаємо на ПК */
}

/* Показуємо підказку на мобільних */
@media (max-width: 768px) {
    .swipe-hint {
        display: block;
    }
}
/* =========================================
   15. PAYMENTS (Оплата - Premium Card)
========================================= */
.payments {
background-color: #f9f9f9;
padding: 80px 0;
}
.payment-premium-card {
background: #fff;
border-radius: 30px;
padding: 50px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 60px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
border: 1px solid #e5e5e5;
transition: all 0.4s ease;
}
.payment-premium-card:hover {
border-color: var(--color-accent);
transform: translateY(-5px);
box-shadow: 0 30px 70px rgba(237, 33, 0, 0.08);
}
.payment-info {
flex: 1;
max-width: 500px;
}
.secure-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(16, 185, 129, 0.1);
color: #2e6f40;
padding: 8px 16px;
border-radius: 50px;
font-size: 0.85rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 20px;
}
.payment-methods-box {
flex: 1.2;
background: #fafafa;
padding: 40px;
border-radius: 20px;
border: 1px solid #f0f0f0;
display: flex;
flex-direction: column;
gap: 30px;
}
.pay-group-title {
font-size: 1rem;
color: #353839;
margin-bottom: 16px;
font-weight: 600;
}
.pay-tags {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.pay-tag {
display: inline-flex;
align-items: center;
gap: 8px;
background: #fff;
padding: 12px 24px;
border-radius: 12px;
font-weight: 700;
font-size: 1rem;
color: var(--color-black);
border: 1px solid #e5e5e5;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
transition: 0.3s;
cursor: default;
}
.pay-tag:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}
.pay-dot {
width: 10px;
height: 10px;
border-radius: 50%;
display: inline-block;
}
.pay-tag.privat:hover {
border-color: #61a134;
}
.pay-tag.privat .pay-dot {
background-color: #61a134;
}
.pay-tag.mono:hover {
border-color: #000;
}
.pay-tag.mono .pay-dot {
background-color: #000;
}
.pay-tag.paypal:hover {
border-color: #00457c;
}
.pay-tag.paypal .pay-dot {
background-color: #00457c;
}
.pay-tag.global:hover {
border-color: var(--color-accent);
}
.pay-divider {
width: 100%;
height: 1px;
background: #e5e5e5;
}

@media (max-width: 992px) {
.payment-premium-card {
flex-direction: column;
padding: 40px 30px;
gap: 40px;
text-align: center;
}
.payment-info {
text-align: center;
max-width: 100%;
}
.payment-info .section-title,
.payment-info .section-desc {
text-align: center !important;
}
.payment-methods-box {
width: 100%;
padding: 30px 20px;
}
.pay-tags {
justify-content: center;
}
}

@media (max-width: 600px) {
    /* 1. Робимо головну картку компактнішою */
    .payment-premium-card {
        padding: 30px 20px; /* Зменшуємо загальні відступи */
        gap: 25px; /* Зменшуємо відстань між текстом і блоком оплат */
        border-radius: 20px;
    }
    
    .payment-info .section-title {
        font-size: 1.6rem; /* Трохи менший заголовок */
        margin-bottom: 10px !important;
    }
    
    /* 2. Стискаємо сірий блок з самими оплатами */
    .payment-methods-box {
        padding: 20px 15px; /* Менше "повітря" всередині */
        gap: 20px; /* Зменшуємо відстань між українськими та міжнародними оплатами */
        border-radius: 16px;
    }
    
    .pay-group-title {
        margin-bottom: 10px !important;
        font-size: 0.95rem !important;
    }
    
    /* 3. Зменшуємо самі кнопки (теги) оплат */
    .pay-tags {
        gap: 8px; /* Кнопки стоятимуть ближче одна до одної */
    }
    
    .pay-tag {
        padding: 8px 16px; /* Менші внутрішні відступи */
        font-size: 0.85rem; /* Компактніший шрифт */
        border-radius: 8px;
    }
    
    .pay-divider {
        margin: 0; /* Прибираємо зайві відступи навколо розділювача */
    }
}

/* =========================================
   16. VIDEO SECTION
========================================= */
.video-section {
padding-bottom: 100px;
}
.video-wrapper {
max-width: 1000px;
margin: 0 auto;
border-radius: 24px;
position: relative;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.video-facade {
position: relative;
width: 100%;
aspect-ratio: 16 / 9;
border-radius: 30px;
overflow: hidden;
cursor: pointer;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
border: 1px solid #eee;
transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.video-placeholder {
position: absolute;
inset: 0;
z-index: 2;
background: var(--color-black);
background: radial-gradient(circle at center, #333 0%, var(--color-black) 100%);
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.4s ease;
}
.video-facade:hover .video-placeholder {
opacity: 0.95;
}
.placeholder-content {
text-align: center;
max-width: 80%;
color: #fff;
pointer-events: none;
}
.placeholder-logo {
width: 200px;
height: auto;
margin-bottom: 30px;
filter: brightness(0) invert(1);
}
.placeholder-title {
font-size: clamp(2rem, 5vw, 3.5rem);
font-weight: 900;
margin-bottom: 15px;
letter-spacing: -1px;
line-height: 1.1;
}
.placeholder-subtitle {
font-size: clamp(1rem, 2vw, 1.3rem);
font-weight: 500;
color: #aaa;
}
.video-cover {
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.8;
transition: opacity 0.3s;
}
.video-facade:hover .video-cover {
opacity: 0.6;
}
.play-btn {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80px;
height: 80px;
background-color: var(--color-accent);
border: none;
border-radius: 50%;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: transform 0.3s ease;
z-index: 3;
}
.play-btn svg {
width: 32px;
height: 32px;
margin-left: 4px;
}
.play-btn::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: var(--color-accent);
border-radius: 50%;
z-index: -1;
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
transform: scale(1);
opacity: 0.7;
}
70% {
transform: scale(1.5);
opacity: 0;
}
100% {
transform: scale(1);
opacity: 0;
}
}
.video-facade:hover .play-btn {
transform: translate(-50%, -50%) scale(1.1);
}
.video-facade iframe {
width: 100%;
height: 100%;
border: none;
}

@media (max-width: 768px) {
.video-facade {
border-radius: 20px;
}
.placeholder-logo {
width: 140px;
margin-bottom: 20px;
}
.placeholder-subtitle {
font-size: 0.9rem;
}
}

/* =========================================
   17. SEO PREMIUM CARD (Текст)
========================================= */
.seo-section {
padding: 80px 0;
}
.seo-premium-card {
background: #fff;
border-radius: 30px;
padding: 60px;
display: grid;
grid-template-columns: 1fr 1.5fr;
gap: 60px;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
border: 1px solid #f0f0f0;
}
.seo-title-wrapper {
position: sticky;
top: 100px;
height: max-content;
}
.mini-badge {
display: inline-block;
padding: 6px 14px;
background: rgba(237, 33, 0, 0.1);
color: var(--color-accent);
border-radius: 50px;
font-size: 0.85rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 20px;
}
.seo-title {
font-size: 2rem;
line-height: 1.2;
color: var(--color-black);
margin: 0;
}
.seo-text-wrapper p {
font-size: 1.05rem;
line-height: 1.8;
color: #555;
margin-bottom: 20px;
}
.seo-text-wrapper p:last-child {
margin-bottom: 0;
}
.seo-lead {
font-size: 1.25rem !important;
font-weight: 500;
color: #333 !important;
line-height: 1.6 !important;
margin-bottom: 30px !important;
}
.seo-text-wrapper strong {
color: var(--color-black);
}

@media (max-width: 992px) {
.seo-premium-card {
grid-template-columns: 1fr;
padding: 40px 30px;
gap: 30px;
}
.seo-title-wrapper {
position: static;
}
.seo-title {
font-size: 1.7rem;
}
}

/* =========================================
   18. FAQ
========================================= */
.faq-container {
max-width: 800px;
margin: 0 auto;
}
.faq-item {
border-bottom: 1px solid #eee;
}
.faq-item:first-child {
border-top: 1px solid #eee;
}
.faq-question {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 24px 0;
background: none;
border: none;
cursor: pointer;
text-align: left;
font-size: 1.25rem;
font-weight: 700;
color: var(--color-black);
transition: var(--transition);
font-family: var(--font-main);
}
.faq-question:hover {
color: var(--color-accent);
}
.faq-icon {
position: relative;
width: 20px;
height: 20px;
flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
content: "";
position: absolute;
background-color: currentColor;
transition: transform 0.3s ease;
}
.faq-icon::before {
width: 100%;
height: 2px;
top: 9px;
left: 0;
}
.faq-icon::after {
width: 2px;
height: 100%;
left: 9px;
top: 0;
}
.faq-item.active .faq-icon::after {
transform: rotate(90deg);
opacity: 0;
}
.faq-item.active .faq-icon::before {
transform: rotate(180deg);
background-color: var(--color-accent);
}
.faq-answer {
display: grid;
grid-template-rows: 0fr;
transition: grid-template-rows 0.3s ease-out;
overflow: hidden;
}
.faq-item.active .faq-answer {
grid-template-rows: 1fr;
}
.faq-answer-content {
min-height: 0;
}
.faq-answer p {
padding-bottom: 24px;
color: #666;
line-height: 1.6;
font-size: 1.1rem;
}

/* =========================================
   19. CTA SECTION
========================================= */
.cta-section {
background-color: #050505;
padding: 120px 0;
position: relative;
overflow: hidden;
text-align: center;
color: #fff;
}
.cta-glow {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 600px;
height: 600px;
background: radial-gradient(
circle,
rgba(237, 33, 0, 0.15) 0%,
rgba(0, 0, 0, 0) 70%
);
border-radius: 50%;
z-index: 1;
pointer-events: none;
animation: cta-pulse 4s ease-in-out infinite alternate;
}
@keyframes cta-pulse {
0% {
transform: translate(-50%, -50%) scale(1);
opacity: 0.5;
}
100% {
transform: translate(-50%, -50%) scale(1.2);
opacity: 0.8;
}
}
.cta-content {
position: relative;
z-index: 2;
max-width: 800px;
margin: 0 auto;
}
.cta-title {
font-size: clamp(2rem, 5vw, 3.5rem);
font-weight: 900;
line-height: 1.1;
margin-bottom: 24px;
color: #fff;
letter-spacing: -1px;
}
.cta-subtitle {
font-size: 1.25rem;
color: #888;
margin-bottom: 40px;
font-weight: 500;
}
@media (max-width: 768px) {
.cta-section {
padding: 80px 0;
}
.cta-title br {
display: none;
}
}

/* =========================================
   20. БЛОГ (blog.html)
========================================= */
.blog-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 40px;
}
.post-card {
background: #fff;
border-radius: 20px;
overflow: hidden;
border: 1px solid #f0f0f0;
transition: var(--transition);
}
.post-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
border-color: var(--color-accent);
}
.post-link {
text-decoration: none;
color: inherit;
display: block;
}
.post-image {
position: relative;
aspect-ratio: 16 / 10;
overflow: hidden;
}
.post-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.post-card:hover .post-image img {
transform: scale(1.05);
}
.post-badge {
position: absolute;
top: 20px;
left: 20px;
background: var(--color-accent);
color: #fff;
padding: 6px 15px;
border-radius: 50px;
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
}
.post-content {
padding: 30px;
}
.post-content time {
font-size: 0.85rem;
color: #999;
font-weight: 600;
display: block;
margin-bottom: 12px;
}
.post-title {
font-size: 1.4rem;
font-weight: 800;
line-height: 1.3;
margin-bottom: 15px;
color: var(--color-black);
}
.post-excerpt {
color: #666;
font-size: 0.95rem;
line-height: 1.6;
margin-bottom: 20px;
}
.post-more {
font-weight: 700;
color: var(--color-accent);
font-size: 0.9rem;
}
.pagination {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
margin-top: 60px;
}
.page-num {
width: 45px;
height: 45px;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #eee;
border-radius: 50%;
text-decoration: none;
color: var(--color-text);
font-weight: 700;
transition: 0.3s;
}
.page-num.active,
.page-num:hover {
background: var(--color-black);
color: #fff;
border-color: var(--color-black);
}
.newsletter-box {
max-width: 600px;
margin: 0 auto;
}
.newsletter-form {
display: flex;
gap: 10px;
margin-top: 30px;
}
.newsletter-form input {
flex: 1;
padding: 15px 25px;
border-radius: 50px;
border: 1px solid #ddd;
font-family: inherit;
}

/* Blog Controls */
.blog-controls {
max-width: 800px;
margin: 40px auto 0;
display: flex;
flex-direction: column;
gap: 30px;
align-items: center;
}
.blog-search-form {
width: 100%;
max-width: 500px;
position: relative;
}
.search-input-wrapper {
position: relative;
display: flex;
align-items: center;
}
.search-input-wrapper input {
width: 100%;
padding: 15px 50px 15px 25px;
border-radius: 50px;
border: 1px solid #e0e0e0;
background: #fff;
font-family: inherit;
font-size: 1rem;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
transition: all 0.3s ease;
}
.search-input-wrapper input:focus {
outline: none;
border-color: var(--color-accent);
box-shadow: 0 10px 25px rgba(237, 33, 0, 0.1);
}
.search-btn {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
color: #999;
cursor: pointer;
padding: 8px;
transition: 0.3s;
display: flex;
align-items: center;
justify-content: center;
}
.search-btn:hover {
color: var(--color-accent);
transform: translateY(-50%) scale(1.1);
}
.blog-categories-scroll {
width: 100%;
overflow-x: auto;
padding-bottom: 10px;
scrollbar-width: none;
-ms-overflow-style: none;
}
.blog-categories-scroll::-webkit-scrollbar {
display: none;
}
.blog-categories {
display: flex;
justify-content: center;
gap: 10px;
flex-wrap: wrap;
min-width: max-content;
}

@media (max-width: 768px) {
.blog-grid {
grid-template-columns: 1fr;
}
.newsletter-form {
flex-direction: column;
}
.blog-categories {
justify-content: flex-start;
padding: 0 20px;
}
.filter-btn {
white-space: nowrap;
padding: 8px 16px;
font-size: 0.9rem;
}
}

/* =========================================
   21. КОНТАКТИ (contacts.html)
========================================= */
.contact-hero {
padding-bottom: 60px;
}
.contact-wrapper {
display: grid;
grid-template-columns: 1fr 1.2fr;
gap: 60px;
align-items: start;
}
.contact-cards-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-bottom: 40px;
}
.contact-card {
background: #fff;
border: 1px solid #e5e5e5;
padding: 20px;
border-radius: 16px;
text-decoration: none;
color: var(--color-text);
transition: 0.3s;
display: flex;
flex-direction: column;
gap: 10px;
}
.contact-card:hover {
border-color: var(--color-accent);
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}
.icon-box {
font-size: 24px;
background: #f9f9f9;
width: 40px;
height: 40px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
}
.contact-card h4 {
font-size: 0.9rem;
color: #888;
margin-bottom: 4px;
}
.contact-card p {
font-weight: 700;
font-size: 1rem;
color: var(--color-black);
}
.contact-socials h4 {
margin-bottom: 15px;
font-size: 1.1rem;
}
.social-buttons {
display: flex;
gap: 10px;
margin-bottom: 40px;
}
.social-btn {
padding: 10px 20px;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
font-size: 0.9rem;
transition: 0.3s;
background: #f5f5f5;
color: var(--color-black);
}
.social-btn:hover {
background: var(--color-black);
color: #fff;
}
.social-btn.telegram:hover {
background: #0088cc;
}
.social-btn.whatsapp:hover {
background: #25d366;
}
.map-container {
width: 100%;
height: 250px;
background: #eee;
border-radius: 20px;
overflow: hidden;
position: relative;
cursor: pointer;
}
.map-cover {
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.7;
transition: 0.3s;
}
.map-container:hover .map-cover {
opacity: 0.5;
}
.map-btn {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #fff;
color: #000;
padding: 10px 20px;
border-radius: 30px;
font-weight: 700;
pointer-events: none;
}
.contact-form-wrapper {
background: #fff;
padding: 40px;
border-radius: 24px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
border: 1px solid #f0f0f0;
}
.main-contact-form h3 {
margin-bottom: 30px;
font-size: 1.5rem;
}
.form-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.main-contact-form .form-group {
margin-bottom: 25px;
}
.main-contact-form label {
display: block;
margin-bottom: 8px;
font-weight: 600;
font-size: 0.9rem;
}
.main-contact-form input,
.main-contact-form select,
.main-contact-form textarea {
width: 100%;
padding: 14px 18px;
border: 1px solid #e0e0e0;
border-radius: 12px;
font-family: var(--font-main);
font-size: 1rem;
transition: 0.3s;
background: #fcfcfc;
}
.main-contact-form input:focus,
.main-contact-form select:focus,
.main-contact-form textarea:focus {
outline: none;
border-color: var(--color-accent);
background: #fff;
box-shadow: 0 0 0 4px rgba(237, 33, 0, 0.05);
}
.radio-group {
display: flex;
gap: 10px;
}
.radio-btn {
flex: 1;
cursor: pointer;
}
.radio-btn input {
display: none;
}
.radio-btn span {
display: block;
text-align: center;
padding: 12px;
border: 1px solid #e0e0e0;
border-radius: 12px;
font-size: 0.95rem;
font-weight: 600;
transition: 0.3s;
}
.radio-btn input:checked + span {
background: var(--color-black);
color: #fff;
border-color: var(--color-black);
}
.form-note {
text-align: center;
font-size: 0.85rem;
color: #999;
margin-top: 15px;
}

@media (max-width: 992px) {
.contact-wrapper {
grid-template-columns: 1fr;
gap: 40px;
}
.contact-form-wrapper {
order: -1;
padding: 30px 20px;
}
}
@media (max-width: 600px) {
.contact-cards-grid {
grid-template-columns: 1fr;
}
.form-grid {
grid-template-columns: 1fr;
}
}

/* =========================================
   25. СТОРІНКА КОНТАКТІВ (Додаткові стилі)
========================================= */
.contact-cards-margin {
    margin-bottom: 50px;
}

.contact-card.span-2 {
    grid-column: span 2;
}

/* Стилізація заголовків всередині карток (замість старого h4) */
.contact-card h3 {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-socials-title {
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--color-black);
    font-weight: 800;
}

.contact-social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* Базовий стиль кнопки соцмережі */
.social-btn-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-black);
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-socials-desc {
    margin-top: 30px;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 🔥 МАГІЯ HOVER: Фірмові кольори месенджерів при наведенні */
.social-btn-full.telegram:hover { 
    background: #0088cc; 
    color: #fff; 
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
}
.social-btn-full.whatsapp:hover { 
    background: #25d366; 
    color: #fff; 
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}
.social-btn-full.instagram:hover { 
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
    color: #fff; 
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.3);
}
.social-btn-full.facebook:hover { 
    background: #1877f2; 
    color: #fff; 
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3);
}
.social-btn-full.tiktok:hover { 
    background: #000000; 
    color: #fff; 
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.social-btn-full.youtube:hover { 
    background: #ff0000; 
    color: #fff; 
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* =========================================
   АДАПТИВНІСТЬ ДЛЯ МОБІЛЬНИХ (Компактність)
========================================= */
@media (max-width: 600px) {
    /* Робимо соцмережі в одну колонку, щоб не було тісно */
    .contact-social-grid {
        grid-template-columns: 1fr; 
    }
    
    /* ВИПРАВЛЕННЯ ЗМІЩЕННЯ: Картка більше не розтягується на 2 колонки */
    .contact-card.span-2 {
        grid-column: span 1; 
    }
    
    .contact-cards-margin {
        margin-bottom: 30px; 
    }
    
    /* Робимо саму форму значно компактнішою */
    .contact-form-wrapper {
        padding: 25px 20px; 
        border-radius: 20px;
    }
    
    .main-contact-form h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .contact-socials-title {
        font-size: 1.3rem; 
        margin-bottom: 15px;
    }
    
    .social-btn-full {
        padding: 12px; 
        font-size: 0.95rem;
    }
}

/* =========================================
   26. FAQ CONTACT PAGE
========================================= */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(237, 33, 0, 0.05);
}

.faq-question {
    padding: 20px 25px;
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Прибираємо стандартний трикутник у Chrome/Safari */
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question h3 {
    font-size: 1.15rem;
    color: var(--color-black);
    margin: 0;
    font-weight: 700;
}

/* Стильний плюс, що перетворюється на мінус */
.faq-plus {
    width: 20px;
    height: 20px;
    position: relative;
    color: var(--color-accent);
}

.faq-plus::before,
.faq-plus::after {
    content: "";
    position: absolute;
    background: currentColor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s;
}

.faq-plus::before { width: 100%; height: 2px; }
.faq-plus::after { width: 2px; height: 100%; }

.faq-item[open] .faq-plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 25px 25px;
}

.faq-answer p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Мобільна адаптація */
@media (max-width: 600px) {
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 15px;
    }
    
    .faq-answer {
        padding: 0 20px 20px;
    }
}

/* =========================================
   22. ПОЛІТИКА КОНФІДЕНЦІЙНОСТІ (privacy.html)
========================================= */
.privacy-page {
padding: 120px 0 60px;
}
.privacy-inner {
max-width: 800px;
margin: 0 auto;
background: #fff;
padding: 40px;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
border: 1px solid #f0f0f0;
}
.privacy-title {
font-size: 2.5rem;
margin-bottom: 10px;
}
.privacy-date {
color: #888;
font-size: 0.95rem;
margin-bottom: 40px;
border-bottom: 1px solid #eee;
padding-bottom: 20px;
}
.privacy-content h2 {
font-size: 1.5rem;
margin: 30px 0 15px;
color: var(--color-black);
}
.privacy-content p {
margin-bottom: 15px;
color: #555;
}
.privacy-content ul {
margin-bottom: 20px;
padding-left: 20px;
color: #555;
}
.privacy-content li {
margin-bottom: 10px;
line-height: 1.6;
}
@media (max-width: 768px) {
.privacy-inner {
padding: 20px;
}
.privacy-title {
font-size: 2rem;
}
}

/* =========================================
   23. FOOTER
========================================= */
.footer {
background-color: #111;
color: #fff;
padding: 80px 0 40px;
font-size: 0.95rem;
}
.footer__grid {
display: grid;
grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
gap: 40px;
margin-bottom: 60px;
}
.footer__logo {
color: #fff !important;
margin-bottom: 24px;
display: inline-block;
}
.footer__text {
color: #FFFAFA;
line-height: 1.6;
margin-bottom: 24px;
}
.footer__title {
font-size: 1.1rem;
font-weight: 700;
margin-bottom: 24px;
color: #fff;
}
.footer__links,
.footer__contacts {
list-style: none;
}
.footer__links li {
margin-bottom: 12px;
}
.footer__links a {
color: #888;
text-decoration: none;
transition: var(--transition);
}
.footer__links a:hover {
color: var(--color-accent);
padding-left: 5px;
}
.footer__contacts li {
margin-bottom: 15px;
color: #888;
}
.footer__contacts span {
color: #fff;
font-weight: 600;
margin-right: 5px;
}
.footer__contacts a {
color: #888;
text-decoration: none;
}
.footer__status {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(255, 255, 255, 0.05);
padding: 6px 12px;
border-radius: 50px;
font-size: 13px;
margin-top: 10px;
}
.status-dot {
width: 8px;
height: 8px;
background-color: #10b981;
border-radius: 50%;
box-shadow: 0 0 10px #10b981;
position: relative;
}
.status-dot::after {
content: "";
position: absolute;
inset: 0;
background-color: #10b981;
border-radius: 50%;
z-index: -1;
animation: pulse-status 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes pulse-status {
0% {
transform: scale(1);
opacity: 0.8;
}
100% {
transform: scale(2.5);
opacity: 0;
}
}

.footer__socials {
display: flex;
gap: 12px;
flex-wrap: wrap;
margin-top: 20px;
}
.footer__socials a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.05);
color: #a0a0a0;
transition: all 0.3s ease;
}
.footer__socials a:hover {
background-color: var(--color-accent);
color: #fff;
transform: translateY(-3px);
}
.footer__bottom {
position: relative;
border-top: 1px solid #252525;
padding-top: 40px;
display: flex;
justify-content: space-between;
align-items: center;
color: #FFFAFA;
font-size: 0.85rem;
}
.footer__made-in {
position: absolute;
left: 50%;
transform: translateX(-50%);
font-weight: 600;
color: #888;
}
.footer__legal {
display: flex;
gap: 24px;
}
.footer__legal a {
color: #FFFAFA;
text-decoration: none;
}
.footer__legal a:hover {
color: #fff;
}

@media (max-width: 992px) {
.footer__grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 500px) {
.footer__grid {
grid-template-columns: 1fr;
text-align: center;
}
.footer__bottom {
flex-direction: column;
gap: 20px;
text-align: center;
}
}

/* Для мобільних екранів вимикаємо абсолют, щоб текст не наліз один на одного */
@media (max-width: 768px) {
.footer__made-in {
position: static;
transform: none;
margin: 10px 0;
}
}
/* =========================================
   24. WIDGETS (Соцмережі, Модалка, Вгору)
========================================= */

/* Callback Button (Дзвінок зліва) */
.callback-widget-btn {
position: fixed;
bottom: 30px;
left: 30px;
width: 60px;
height: 60px;
background-color: var(--color-accent);
color: #fff;
border-radius: 50%;
border: none;
cursor: pointer;
z-index: 9998;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 15px rgba(237, 33, 0, 0.4);
transition: transform 0.3s ease;
}
.callback-widget-btn:hover {
transform: scale(1.1);
}
.callback-icon {
position: relative;
z-index: 2;
}
.callback-widget-btn::before,
.callback-widget-btn::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: 100%;
background-color: var(--color-accent);
border-radius: 50%;
opacity: 0.5;
z-index: 1;
animation: pulse-ripple 2s infinite linear;
}
.callback-widget-btn::after {
animation-delay: 1s;
}
@keyframes pulse-ripple {
0% {
width: 60px;
height: 60px;
opacity: 0.5;
}
100% {
width: 120px;
height: 120px;
opacity: 0;
}
}

/* Modal Window */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(5px);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease-in-out;
}
.modal-overlay.is-open {
opacity: 1;
visibility: visible;
}
.modal-container {
background: #fff;
width: 100%;
max-width: 450px;
padding: 40px;
border-radius: 24px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
position: relative;
transform: translateY(50px);
transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.is-open .modal-container {
transform: translateY(0);
}
.modal-close {
position: absolute;
top: 20px;
right: 20px;
background: none;
border: none;
font-size: 28px;
line-height: 1;
color: #999;
cursor: pointer;
transition: 0.3s;
}
.modal-close:hover {
color: var(--color-accent);
}
.modal-header {
text-align: center;
margin-bottom: 30px;
}
.modal-header h3 {
font-size: 1.75rem;
margin-bottom: 10px;
}
.modal-header p {
color: #666;
font-size: 0.95rem;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 600;
font-size: 0.9rem;
color: var(--color-black);
}
.form-group input {
width: 100%;
padding: 12px 16px;
border: 1px solid #e0e0e0;
border-radius: 12px;
font-family: var(--font-main);
font-size: 1rem;
transition: 0.3s;
}
.form-group input:focus {
outline: none;
border-color: var(--color-accent);
box-shadow: 0 0 0 3px rgba(237, 33, 0, 0.1);
}
.form-privacy {
font-size: 0.8rem;
color: #888;
text-align: center;
margin-top: 16px;
}
.form-privacy a {
color: var(--color-text);
text-decoration: underline;
}

/* Social Widget (Справа внизу) */
.social-widget {
position: fixed;
bottom: 90px;
right: 30px;
z-index: 998;
display: flex;
flex-direction: column-reverse;
align-items: center;
gap: 15px;
}
.social-trigger {
width: 50px;
height: 50px;
background: #252525;
color: #fff;
border-radius: 50%;
border: none;
cursor: pointer;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
position: relative;
z-index: 2;
}
.social-trigger svg {
position: absolute;
transition: 0.3s;
}
.close-icon {
opacity: 0;
transform: rotate(-90deg);
}
.social-widget:hover .trigger-icon,
.social-widget.active .trigger-icon {
opacity: 0;
transform: rotate(90deg);
}
.social-widget:hover .close-icon,
.social-widget.active .close-icon {
opacity: 1;
transform: rotate(0deg);
}
.social-widget:hover .social-trigger,
.social-widget.active .social-trigger {
background: var(--color-accent);
transform: scale(1.1);
}
.social-list {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column-reverse;
gap: 12px;
}
.social-list li {
transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
transform: translateY(20px) scale(0);
opacity: 0;
transform-origin: bottom center;
}
.social-widget:hover .social-list li,
.social-widget.active .social-list li {
transform: translateY(0) scale(1);
opacity: 1;
transition-delay: calc(var(--i) * 0.05s);
}
.social-link {
width: 45px;
height: 45px;
background: #fff;
color: #333;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
transition: 0.3s;
position: relative;
text-decoration: none;
}
.tooltip {
position: absolute;
right: 60px;
background: rgba(0, 0, 0, 0.8);
color: #fff;
padding: 5px 10px;
border-radius: 6px;
font-size: 12px;
font-weight: 600;
opacity: 0;
visibility: hidden;
transform: translateX(10px);
transition: 0.3s;
white-space: nowrap;
pointer-events: none;
}
.social-link:hover .tooltip {
opacity: 1;
visibility: visible;
transform: translateX(0);
}
.social-link:hover {
color: #fff;
transform: translateY(-3px);
}
.social-link.telegram:hover {
background: #0088cc;
}
.social-link.whatsapp:hover {
background: #25d366;
}
.social-link.instagram:hover {
background: linear-gradient(
45deg,
#f09433 0%,
#e6683c 25%,
#dc2743 50%,
#cc2366 75%,
#bc1888 100%
);
}
.social-link.facebook:hover {
background: #1877f2;
}
.social-link.youtube:hover {
background: #ff0000;
}
.social-link.tiktok:hover {
background: #000000;
}

/* Back to Top */
.back-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 50px;
height: 50px;
background-color: var(--color-accent);
color: #fff;
border: none;
border-radius: 50%;
cursor: pointer;
opacity: 0;
visibility: hidden;
transition: 0.3s;
z-index: 999;
font-size: 20px;
}
.back-to-top.show {
opacity: 1;
visibility: visible;
}

@media (max-width: 500px) {
.modal-container {
padding: 30px 20px;
}
.callback-widget-btn {
bottom: 20px;
left: 20px;
width: 50px;
height: 50px;
}
}
