/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #ffffff;
  --bg2:       #f5f7fa;
  --bg3:       #eef1f6;
  --card:      #ffffff;
  --border:    rgba(30, 86, 219, 0.15);
  --gold:      #f5c000;
  --gold2:     #ffd060;
  --blue:      #1e56db;
  --blue2:     #3d72f7;
  --text:      #1a2040;
  --muted:     #5a6a8a;
  --white:     #ffffff;
  --heading:   #0d1535;
  --radius:    12px;
  --radius-lg: 20px;
  --trans:     0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION LABELS ===== */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--heading);
  margin-bottom: 48px;
}

.accent { color: var(--gold); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--trans);
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: #000;
}
.btn--gold:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,165,0,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(30,86,219,0.3);
}
.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 13px;
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold), #c07800);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo__ua {
  font-size: 16px;
  font-weight: 900;
  color: #000;
  letter-spacing: -0.5px;
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__brand {
  font-size: 15px;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: 1.5px;
}

.logo__tagline {
  font-size: 9px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.logo--sm .logo__icon { width: 36px; height: 36px; }
.logo--sm .logo__ua { font-size: 13px; }
.logo--sm .logo__brand { font-size: 13px; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--trans);
}

.header--scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 4px 30px rgba(30,86,219,0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 24px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__link {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 6px;
  transition: all var(--trans);
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
  background: rgba(30, 110, 245, 0.12);
}

.header__cta {
  flex-shrink: 0;
  margin-left: 16px;
  padding: 10px 20px;
  font-size: 13px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--trans);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, #e8eef8 0%, var(--bg) 70%);
}

.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero__glow--1 {
  width: 500px; height: 500px;
  background: rgba(30, 86, 219, 0.08);
  top: -100px; left: -100px;
}
.hero__glow--2 {
  width: 400px; height: 400px;
  background: rgba(245, 192, 0, 0.1);
  bottom: -50px; right: 100px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 24px;
}

.hero__logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__logo-box {
  text-align: center;
  animation: floatY 4s ease-in-out infinite;
}

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

.hero__logo-ua {
  font-size: clamp(100px, 14vw, 180px);
  font-weight: 900;
  line-height: 0.85;
  background: linear-gradient(135deg, var(--blue) 0%, var(--gold) 50%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(30,86,219,0.3));
  letter-spacing: -4px;
}

.hero__logo-ms {
  font-size: clamp(18px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--blue);
  text-transform: uppercase;
  margin-top: 8px;
}

.hero__logo-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  margin-top: 10px;
  opacity: 0.9;
}

.hero__content {
  max-width: 520px;
}

.hero__title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--heading);
  margin-bottom: 20px;
}

.hero__title--accent { color: var(--gold); }

.hero__desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 420px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.hero__scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: scrollDot 1.8s ease-in-out infinite;
  box-shadow: 0 0 10px var(--gold);
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

/* ===== PARTICLES ===== */
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(30, 110, 245, 0.6);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--bg2);
}

.services .section-title { text-align: center; }
.services .section-label { text-align: center; }

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

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans);
  position: relative;
  box-shadow: 0 2px 12px rgba(30,86,219,0.06);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 110, 245, 0.5);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(30,110,245,0.1);
}

.service-card--featured {
  border-color: rgba(240,165,0,0.3);
}
.service-card--featured:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(240,165,0,0.15);
}

.service-card__img {
  height: 200px;
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__img img {
  transform: scale(1.06);
}

.service-card__body {
  padding: 24px;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(30, 110, 245, 0.12);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
}

.service-card__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 14px;
}

.service-card__list {
  margin-bottom: 20px;
}

.service-card__list li {
  font-size: 13.5px;
  color: var(--muted);
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e6ef5' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

/* ===== PARTNERS ===== */
.partners {
  padding: 70px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partners .section-label { text-align: center; margin-bottom: 30px; }

.partners__slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.partners__arrow { display: none; }

.partners__track-wrap {
  overflow: hidden;
  flex: 1;
}

.partners__track {
  display: flex;
  justify-content: center;
  gap: 28px;
  transition: transform 0.4s ease;
}

.partner-item {
  flex: 0 0 340px;
  min-width: 0;
}

.partner-item__logo {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.5px;
  transition: all var(--trans);
  cursor: default;
  line-height: 1.4;
}

.partner-item__logo small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
}

.partner-item__logo:hover {
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
}

/* FlowAutomation — image card */
.partner-item__logo--img {
  padding: 0;
  overflow: hidden;
  display: block;
  height: 88px;
  text-decoration: none;
  border-color: rgba(30, 110, 245, 0.25);
}
.partner-item__logo--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.85) brightness(0.9);
  transition: filter var(--trans), transform 0.5s ease;
}
.partner-item__logo--img:hover {
  border-color: #2ecc71;
  transform: translateY(-3px);
}
.partner-item__logo--img:hover img {
  filter: saturate(1.1) brightness(1);
  transform: scale(1.04);
}

/* Savalan Rent Car */
.partner-item__logo--savalan {
  border-color: rgba(230, 100, 20, 0.3);
  text-decoration: none;
  display: block;
  color: #e07030;
  padding: 0;
}
.partner-item__logo--savalan:hover {
  border-color: #e07030;
  background: rgba(230, 100, 20, 0.07);
  transform: translateY(-3px);
}
.partner-item__savalan-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.5px;
}
.partner-item__savalan-inner small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--muted);
}

.partners__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--trans);
}
.partners__arrow:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* ===== GALLERY ===== */
.gallery {
  padding: 100px 0;
  background: var(--bg2);
}

.gallery .section-label { text-align: center; }

.gallery__filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.gallery__filter {
  padding: 9px 22px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  transition: all var(--trans);
}

.gallery__filter:hover,
.gallery__filter.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 16px;
  margin-bottom: 36px;
}

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--trans);
}

.gallery__item:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item.hidden {
  display: none;
}

.gallery__thumb {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.gallery__item--wide .gallery__thumb {
  height: 260px;
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery__item:hover .gallery__thumb img {
  transform: scale(1.07);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--trans);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__overlay span {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.gallery__more {
  text-align: center;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--bg);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: center;
}

.about__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--heading);
  line-height: 1.1;
  margin-bottom: 20px;
}

.about__desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 380px;
}

.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--trans);
}

.value-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.value-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(30,110,245,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.value-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}

.value-card__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 70px 0;
  background: linear-gradient(135deg, #e8eef8 0%, #d5e0f8 50%, #e8eef8 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(30,86,219,0.1) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-banner__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  color: var(--heading);
  margin-bottom: 12px;
}

.cta-banner__sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 36px;
}

.cta-banner__btn {
  padding: 15px 36px;
  font-size: 15px;
}

/* ===== CONTACTS SECTION ===== */
.contacts-section {
  padding: 100px 0;
  background: var(--bg);
}

.contacts-section .section-title { margin-bottom: 56px; }

.contacts-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

/* --- Info block --- */
.contacts-info__heading {
  font-size: 18px;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 28px;
}

.contacts-info__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts-info__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--trans);
  text-decoration: none;
}
.contacts-info__item:hover {
  border-color: var(--blue);
  transform: translateX(4px);
  background: rgba(30,110,245,0.06);
}

.contacts-info__icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: rgba(30,110,245,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.contacts-info__detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contacts-info__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.contacts-info__value {
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
}

/* --- Form block --- */
.contact-form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-form-wrap__heading {
  font-size: 20px;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(30,86,219,0.03);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  outline: none;
  transition: border-color var(--trans), background var(--trans);
  -webkit-appearance: none;
}
.form-input::placeholder { color: var(--muted); }
.form-input:focus {
  border-color: var(--blue);
  background: rgba(30,86,219,0.06);
}
.form-input.error { border-color: #e74c3c; }

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-error {
  font-size: 11.5px;
  font-weight: 600;
  color: #e74c3c;
  display: none;
}
.form-error.visible { display: block; }

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 14px;
  margin-top: 4px;
  gap: 10px;
}
.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 40px 20px;
  animation: fadeInUp 0.5s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.form-success__icon {
  margin: 0 auto 20px;
  width: 80px; height: 80px;
  background: rgba(46,204,113,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 10px;
}
.form-success__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg2);
  padding-top: 70px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer__heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav a {
  font-size: 14px;
  color: var(--muted);
  transition: color var(--trans);
}

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

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

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color var(--trans);
}
.footer__contact-item:hover { color: var(--text); }
.footer__contact-item svg { flex-shrink: 0; }

.footer__social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans);
  border: 1px solid var(--border);
}

.social-icon--tg { background: rgba(37,169,255,0.1); color: #25a9ff; }
.social-icon--wa { background: rgba(37,211,102,0.1); color: #25d366; }
.social-icon--ig { background: rgba(193,53,132,0.1); color: #c13584; }
.social-icon--yt { background: rgba(255,0,0,0.1); color: #ff0000; }

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  border-color: currentColor;
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

/* ===== ANIMATIONS ===== */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos][data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.2s; }

/* ===== LANG SWITCHER ===== */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(30,86,219,0.06);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--trans);
  white-space: nowrap;
}
.lang-switcher__btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.lang-switcher__chevron {
  transition: transform var(--trans);
  opacity: 0.6;
}
.lang-switcher__btn[aria-expanded="true"] .lang-switcher__chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.lang-switcher__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  list-style: none;
  min-width: 150px;
  z-index: 200;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.lang-switcher__dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all var(--trans);
  border-bottom: 1px solid rgba(30,110,245,0.1);
}
.lang-option:last-child { border-bottom: none; }
.lang-option:hover  { background: rgba(30,110,245,0.1); color: var(--white); }
.lang-option.active { color: var(--gold); background: rgba(240,165,0,0.07); }

/* ===== TOUCH BASE ===== */
* { -webkit-tap-highlight-color: transparent; }
body { -webkit-font-smoothing: antialiased; }

/* ===== RESPONSIVE — 1024px (Tablet landscape) ===== */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .services__grid .service-card:last-child {
    grid-column: span 2;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about__desc { max-width: 100%; }
  .about__values { grid-template-columns: repeat(4, 1fr); }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .hero__inner {
    gap: 32px;
    padding: 60px 24px;
  }
  .hero__logo-ua { font-size: clamp(80px, 12vw, 140px); }
  .hero__logo-ms { font-size: clamp(16px, 2.5vw, 26px); }

  .contacts-section__inner {
    grid-template-columns: 1fr 1.2fr;
    gap: 36px;
  }
}

/* ===== RESPONSIVE — 860px (Tablet portrait) ===== */
@media (max-width: 860px) {
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--wide .gallery__thumb { height: 240px; }
  .gallery__thumb { height: 190px; }

  .partner-item { flex: 0 0 calc(50% - 14px); }

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

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
    padding: 56px 24px 80px;
  }
  .hero__logo-wrap { order: 1; }
  .hero__content   { order: 2; max-width: 560px; margin: 0 auto; }
  .hero__logo-ua   { font-size: clamp(100px, 18vw, 150px); }
  .hero__desc      { max-width: 100%; }
  .hero__actions   { justify-content: center; }
}

/* ===== RESPONSIVE — 768px (Burger menu) ===== */
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  /* --- Header --- */
  .header__inner { height: 64px; }

  .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: rgba(255,255,255,0.99);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
    opacity: 0;
    border-bottom: 1px solid transparent;
    z-index: 99;
    margin-left: 0;
    gap: 0;
    box-shadow: 0 8px 24px rgba(30,86,219,0.08);
  }
  .nav.open {
    max-height: 520px;
    opacity: 1;
    border-bottom-color: var(--border);
  }
  .nav__link {
    padding: 15px 24px;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    min-height: 52px;
    display: flex;
    align-items: center;
  }
  .nav__link:last-child { border-bottom: none; }
  .nav__link.active,
  .nav__link:hover {
    background: rgba(30,86,219,0.07);
    color: var(--blue);
  }

  .header__cta { display: none; }
  .burger { display: flex; }

  .lang-switcher__btn { padding: 6px 10px; font-size: 12px; }
  .lang-switcher__dropdown { right: 0; min-width: 140px; }

  /* --- Hero --- */
  .hero { min-height: 100svh; }
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
    padding: 48px 20px 80px;
  }
  .hero__logo-wrap { order: 1; }
  .hero__content   { order: 2; max-width: 100%; }
  .hero__logo-ua   { font-size: clamp(90px, 22vw, 130px); }
  .hero__logo-ms   { font-size: clamp(15px, 3.5vw, 20px); letter-spacing: 4px; }
  .hero__logo-sub  { font-size: 10px; letter-spacing: 2px; }
  .hero__desc      { max-width: 100%; font-size: 14px; }
  .hero__actions   { justify-content: center; gap: 12px; flex-wrap: wrap; }
  .hero__actions .btn { flex: 1; min-width: 140px; justify-content: center; max-width: 220px; }

  /* --- Services --- */
  .services { padding: 64px 0; }
  .services__grid { grid-template-columns: 1fr; gap: 16px; }
  .services__grid .service-card:last-child { grid-column: span 1; max-width: 100%; }

  /* --- Partners --- */
  .partners { padding: 48px 0; }
  .partner-item { flex: 0 0 calc(100% - 24px); }
  .partners__track { justify-content: flex-start; }
  .partners__arrow { display: flex; width: 40px; height: 40px; }

  /* --- Gallery --- */
  .gallery { padding: 64px 0; }
  .gallery__filters { gap: 6px; flex-wrap: wrap; }
  .gallery__filter { padding: 9px 18px; font-size: 13px; }
  .gallery__thumb { height: 180px; }
  .gallery__item--wide .gallery__thumb { height: 220px; }

  /* --- About --- */
  .about { padding: 64px 0; }
  .about__values { grid-template-columns: 1fr 1fr; gap: 12px; }
  .value-card { padding: 20px; }

  /* --- Contacts --- */
  .contacts-section { padding: 64px 0; }
  .contacts-section__inner { grid-template-columns: 1fr; gap: 28px; }
  .contact-form-wrap { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; }

  /* --- CTA Banner --- */
  .cta-banner { padding: 52px 0; }
  .cta-banner__title { font-size: clamp(22px, 5vw, 34px); }
  .cta-banner__sub { font-size: 14px; margin-bottom: 28px; }

  /* --- Footer --- */
  .footer { padding-top: 48px; }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }
  .footer__bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Touch — убираем hover-эффекты, добавляем active */
  .service-card:hover,
  .value-card:hover,
  .btn--gold:hover,
  .btn--outline:hover { transform: none; box-shadow: none; }

  .service-card:active { transform: scale(0.99); }
  .btn:active          { transform: scale(0.97); opacity: 0.85; }
  .contacts-info__item:hover { transform: none; }
}

/* ===== RESPONSIVE — 600px (Large phone) ===== */
@media (max-width: 600px) {
  .services,
  .gallery,
  .about,
  .contacts-section { padding: 52px 0; }

  .section-label { font-size: 11px; }
  .section-title { margin-bottom: 28px; }

  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding-top: 44px; }

  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { max-width: 100%; width: 100%; }

  .cta-banner { padding: 44px 0; }
  .cta-banner__btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Контакты — иконки компактнее */
  .contacts-info__item { padding: 14px 16px; gap: 12px; }
  .contacts-info__icon { width: 40px; height: 40px; }
}

/* ===== RESPONSIVE — 480px (Standard phone) ===== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Gallery — одна колонка */
  .gallery__grid  { grid-template-columns: 1fr; gap: 10px; }
  .gallery__item--wide { grid-column: span 1; }
  .gallery__item--wide .gallery__thumb,
  .gallery__thumb { height: 200px; }
  .gallery__overlay { opacity: 1; }

  /* About — одна колонка */
  .about__values { grid-template-columns: 1fr 1fr; gap: 10px; }
  .value-card { padding: 18px 14px; }
  .value-card__icon { width: 44px; height: 44px; margin-bottom: 10px; }

  /* Services */
  .service-card__img { height: 180px; }
  .service-card__body { padding: 20px 16px; }

  /* Partners */
  .partner-item { flex: 0 0 calc(100% - 8px); }

  /* Logo */
  .logo__tagline { display: none; }

  /* Hero */
  .hero__logo-ua  { font-size: clamp(80px, 20vw, 110px); }
  .hero__logo-ms  { font-size: clamp(13px, 3.2vw, 17px); letter-spacing: 3px; }
  .hero__logo-sub { letter-spacing: 1.5px; font-size: 9px; }
  .hero__inner    { padding: 40px 16px 72px; }

  /* Form */
  .contact-form-wrap { padding: 24px 16px; border-radius: var(--radius); }
  .form-input { padding: 13px 14px; font-size: 13px; }
  .form-submit { padding: 14px; }

  /* Footer */
  .footer__social-icons { gap: 8px; }
  .social-icon { width: 40px; height: 40px; }
}

/* ===== RESPONSIVE — 360px (Small phone) ===== */
@media (max-width: 360px) {
  .container { padding: 0 12px; }

  .hero__logo-ua { font-size: 78px; }
  .hero__logo-ms { font-size: 13px; letter-spacing: 2px; }
  .hero__inner   { padding: 36px 12px 64px; gap: 20px; }

  .btn     { padding: 12px 18px; font-size: 13px; }
  .btn--sm { padding: 9px 14px; font-size: 12px; }

  .service-card__body { padding: 16px 14px; }
  .service-card__title { font-size: 17px; }
  .service-card__img { height: 160px; }

  .about__values { grid-template-columns: 1fr; }
  .value-card { padding: 16px; }
  .value-card__icon { width: 42px; height: 42px; }
  .value-card__title { font-size: 14px; }

  .gallery__filter { padding: 8px 12px; font-size: 11px; }

  .footer__contact-item { font-size: 12px; gap: 8px; }
  .social-icon { width: 38px; height: 38px; }
}
