@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  --navy: #1a2b47;
  --navy-dark: #0f1d32;
  --navy-mid: #1e3354;
  --gold: #d4922a;
  --gold-light: #e8a915;
  --gold-btn: #c8880a;
  --white: #ffffff;
  --light-bg: #f0f2f5;
  --text-dark: #1a2b47;
  --text-gray: #555;
  --border: #e0e4ea;
  --card-bg: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: var(--text-dark); background: var(--white); overflow-x: hidden; }

/* =====================================================
   SCROLL PROGRESS BAR
   ===================================================== */
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--gold); width: 0%; z-index: 9999; transition: width 0.08s linear; pointer-events: none; }

/* =====================================================
   BACK TO TOP
   ===================================================== */
#back-to-top { position: fixed; bottom: 28px; right: 24px; width: 46px; height: 46px; background: var(--navy); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 500; opacity: 0; transform: translateY(16px); transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s; pointer-events: none; }
#back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
#back-to-top:hover { background: var(--gold); }
#back-to-top svg { color: var(--gold); transition: color 0.2s; }
#back-to-top:hover svg { color: #fff; }

@media (max-width: 768px) { #back-to-top { bottom: 20px; right: 16px; width: 40px; height: 40px; } }

/* =====================================================
   TOAST
   ===================================================== */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 14px 28px; border-radius: 10px; font-size: 15px; z-index: 9999; box-shadow: 0 4px 20px rgba(0,0,0,0.25); display: none; opacity: 1; transition: opacity 0.4s ease; }

/* =====================================================
   HEADER
   ===================================================== */
.header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.header-inner { max-width: 1300px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon { width: 44px; height: 44px; }
.logo-text { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; line-height: 1.25; color: var(--navy); text-transform: uppercase; letter-spacing: 0.5px; }
.header-right { display: flex; align-items: center; gap: 10px; }
.header-phone { display: flex; align-items: center; gap: 6px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: none; white-space: nowrap; }
.social-btn { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; flex-shrink: 0; }
.social-btn.whatsapp { background: #25d366; }
.social-btn.telegram { background: #0088cc; }

/* =====================================================
   LANGUAGE SWITCHER
   ===================================================== */
.lang-switcher { position: relative; flex-shrink: 0; }
.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--text-dark);
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.lang-current:hover { border-color: var(--gold); }
.lang-switcher.open .lang-current { background: var(--navy); color: #fff; border-color: var(--navy); }
.lang-chevron { transition: transform 0.2s ease; flex-shrink: 0; }
.lang-switcher.open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(26,43,71,0.18);
  padding: 6px;
  min-width: 88px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 200;
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.lang-switcher.open .lang-dropdown {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-dark);
  transition: background 0.15s, color 0.15s;
}
.lang-option:hover { background: var(--light-bg); }
.lang-option.active { background: var(--navy); color: #fff; }

.consultation-btn { background: var(--gold); color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; padding: 10px 20px; border-radius: 8px; border: none; cursor: pointer; white-space: nowrap; transition: background 0.2s; position: relative; }
.consultation-btn:hover { background: var(--gold-light); }
.header-consultation::after { content: ''; position: absolute; inset: -3px; border-radius: 11px; border: 2px solid var(--gold); opacity: 0; animation: pulse-ring 2.8s ease-out infinite; pointer-events: none; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.7; } 70% { transform: scale(1.14); opacity: 0; } 100% { transform: scale(1.14); opacity: 0; } }

/* =====================================================
   HERO
   ===================================================== */
.hero { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, #1e3a5a 100%); min-height: calc(100vh - 68px); display: flex; align-items: center; padding: 60px 24px; position: relative; overflow: hidden; will-change: background-position; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(30,60,100,0.5) 0%, transparent 60%); pointer-events: none; }
.hero-inner { max-width: 1300px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-title-brand { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 56px; line-height: 1.05; color: var(--gold); text-transform: uppercase; margin-bottom: 12px; }
.hero-subtitle-brand { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 3px; color: #8aa8c8; text-transform: uppercase; margin-bottom: 24px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 8px 16px; color: #fff; font-size: 14px; margin-bottom: 28px; }
.hero-heading { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 28px; color: #fff; line-height: 1.3; margin-bottom: 16px; min-height: 80px; }
.hero-desc { color: #94b4cc; font-size: 15px; line-height: 1.7; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary { background: var(--gold); color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 16px; padding: 15px 30px; border-radius: 8px; border: none; cursor: pointer; text-decoration: none; transition: background 0.2s, transform 0.15s; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 16px; padding: 15px 28px; border-radius: 8px; border: 2px solid rgba(255,255,255,0.4); cursor: pointer; text-decoration: none; transition: border-color 0.2s, transform 0.15s; display: inline-flex; align-items: center; gap: 8px; }
.btn-secondary:hover { border-color: #fff; transform: translateY(-1px); }

.hero-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-feature { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; padding: 16px; color: #fff; font-size: 15px; font-weight: 500; line-height: 1.4; display: flex; align-items: flex-start; gap: 10px; transition: background 0.2s, border-color 0.2s; }
.hero-feature:hover { background: rgba(255,255,255,0.13); border-color: rgba(212,146,42,0.5); }
.hero-feature svg { flex-shrink: 0; margin-top: 2px; color: #fff; }

.typing-cursor { display: inline-block; width: 3px; height: 0.85em; background: var(--gold); margin-left: 3px; vertical-align: middle; animation: blink-cursor 0.65s step-end infinite; }
@keyframes blink-cursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* =====================================================
   ОБЩИЕ СЕКЦИИ
   ===================================================== */
section { padding: 80px 24px; }
.section-inner { max-width: 1300px; margin: 0 auto; }
.section-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 36px; text-align: center; color: var(--text-dark); margin-bottom: 12px; opacity: 1; transform: none; }
.section-title.animate { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.section-title.animate.revealed { opacity: 1; transform: translateY(0); }
.section-subtitle { text-align: center; color: var(--text-gray); font-size: 16px; margin-bottom: 48px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.reveal-card { opacity: 0; transform: translateY(28px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal-card.revealed { opacity: 1; transform: translateY(0); }

/* =====================================================
   PROBLEMS
   ===================================================== */
.problems { background: var(--light-bg); }
.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.problem-card { background: #fff; border-radius: 12px; padding: 28px 24px; border: 1px solid var(--border); font-size: 16px; color: var(--text-dark); line-height: 1.5; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.problem-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(26,43,71,0.1); border-color: var(--gold); }
.problem-card .problem-icon { width: 36px; height: 36px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; }
.problems-note { text-align: center; font-size: 16px; color: var(--text-dark); }
.problems-note strong { font-weight: 700; }

/* =====================================================
   SERVICES
   ===================================================== */
.services-section { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px; transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease; }
.service-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 6px 24px rgba(212,146,42,0.12); }
.service-icon { width: 52px; height: 52px; background: var(--navy); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.service-card p { font-size: 15px; color: var(--text-dark); line-height: 1.4; }

/* =====================================================
   WHY US
   ===================================================== */
.why { background: var(--light-bg); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { background: #fff; border-radius: 12px; padding: 28px 24px; border: 1px solid var(--border); transition: transform 0.22s ease, box-shadow 0.22s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(26,43,71,0.1); }
.why-icon { width: 52px; height: 52px; background: var(--gold); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.why-icon svg path, .why-icon svg circle, .why-icon svg rect, .why-icon svg line, .why-icon svg polyline { stroke: #fff; }
.why-card h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 17px; margin-bottom: 8px; color: var(--text-dark); }
.why-card p { font-size: 15px; color: var(--text-gray); }

.outsource-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 30px; text-align: center; margin: 60px 0 28px; color: var(--text-dark); }
.outsource-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.outsource-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px 20px; transition: transform 0.22s ease, box-shadow 0.22s ease; }
.outsource-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(26,43,71,0.1); }
.outsource-num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 40px; color: var(--navy); margin-bottom: 8px; }
.outsource-card h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 10px; color: var(--text-dark); }
.outsource-card p { font-size: 14px; color: var(--text-gray); line-height: 1.6; }

/* =====================================================
   WHO / WHEN
   ===================================================== */
.who-section { background: #fff; }
.who-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 60px; }
.who-tag { background: transparent; border: 1px solid var(--border); border-radius: 20px; padding: 11px 22px; font-size: 15px; color: var(--text-dark); transition: border-color 0.2s, color 0.2s, background 0.2s; cursor: default; }
.who-tag:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,146,42,0.05); }
.when-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 30px; text-align: center; margin-top: 60px; margin-bottom: 10px; color: var(--text-dark); }
.when-subtitle { text-align: center; color: var(--text-gray); font-size: 15px; margin-bottom: 28px; }
.when-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.when-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; display: flex; align-items: center; gap: 14px; font-size: 15px; transition: border-color 0.2s, box-shadow 0.2s; }
.when-card:hover { border-color: var(--gold); box-shadow: 0 4px 12px rgba(212,146,42,0.1); }
.when-icon { width: 36px; height: 36px; background: var(--gold); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.when-icon svg path, .when-icon svg polyline, .when-icon svg line { stroke: #fff; }

/* =====================================================
   CLIENTS
   ===================================================== */
.clients { background: #fff; }
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.client-card { border: 1px solid var(--border); border-radius: 10px; padding: 18px 12px; text-align: center; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.5px; color: var(--text-dark); transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease; cursor: default; }
.client-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 6px 20px rgba(212,146,42,0.18); }

/* =====================================================
   TEAM SECTION
   ===================================================== */
.team-section {
  background: var(--navy-dark);
  padding: 80px 24px;
}
.team-eyebrow {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.team-section .section-title {
  color: #fff;
}
.team-section .section-subtitle {
  color: #8aa8c8;
}

/* team-grid: 2 columns, up to 3 cards, 3rd centered on wide layouts */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.team-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,146,42,0.5);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* Photo area */
.team-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/3.5;
  overflow: hidden;
  background: var(--navy-mid);
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.team-card:hover .team-photo {
  transform: scale(1.04);
}
.team-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.team-card:hover .team-photo-overlay {
  opacity: 1;
}
.team-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.team-contact-btn:hover {
  background: var(--gold-light);
}

/* Body */
.team-body {
  padding: 24px 24px 28px;
}
.team-role {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.team-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.2;
}
.team-name-ru {
  font-size: 13px;
  color: #6a8aaa;
  margin-bottom: 14px;
  font-style: italic;
}
.team-bio {
  font-size: 14px;
  color: #94b4cc;
  line-height: 1.7;
  margin-bottom: 18px;
}
.team-practice-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #5a7a9a;
  margin-bottom: 10px;
}
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.team-tag {
  background: rgba(212,146,42,0.12);
  border: 1px solid rgba(212,146,42,0.25);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.team-langs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 20px;
}
.team-license {
  font-size: 11px;
  color: #3d5a7a;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
}

/* =====================================================
   FORM
   ===================================================== */
.form-section { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%); padding: 80px 24px; }
.form-section .section-title { color: #fff; }
.form-section .section-subtitle { color: #94b4cc; }

.form-contact-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.form-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.2s;
  white-space: nowrap;
}
.form-contact-btn:hover { transform: translateY(-2px); opacity: 0.9; }
.form-contact-phone { background: #fff; color: var(--navy); }
.form-contact-wa { background: #25d366; color: #fff; }
.form-contact-tg { background: #0088cc; color: #fff; }

.form-divider {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
}
.form-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 1px;
  background: rgba(255,255,255,0.12);
}
.form-divider span {
  position: relative;
  background: transparent;
  padding: 0 16px;
  color: #6a8aaa;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form-card { background: #fff; border-radius: 16px; padding: 40px; max-width: 580px; margin: 0 auto; }
.form-card h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 22px; text-align: center; margin-bottom: 28px; color: var(--text-dark); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text-dark); }
.form-input, .form-textarea { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; font-size: 15px; font-family: 'Open Sans', sans-serif; color: var(--text-dark); outline: none; transition: border-color 0.2s; background: #fff; }
.form-input:focus, .form-textarea:focus { border-color: var(--navy); }
.form-textarea { height: 100px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--text-gray); margin-top: 4px; }
.submit-btn { width: 100%; background: var(--gold); color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 17px; padding: 17px; border-radius: 8px; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; margin-top: 8px; }
.submit-btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.form-consent { text-align: center; font-size: 12px; color: var(--text-gray); margin-top: 12px; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.success-icon { font-size: 48px; margin-bottom: 16px; }
.form-success h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.form-success p { font-size: 15px; color: var(--text-gray); }

/* =====================================================
   FAQ
   ===================================================== */
.faq-section { background: var(--light-bg); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border-radius: 10px; border: 1px solid var(--border); overflow: hidden; transition: box-shadow 0.2s; }
.faq-item.open { box-shadow: 0 4px 16px rgba(26,43,71,0.08); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; font-size: 16px; font-family: 'Open Sans', sans-serif; color: var(--text-dark); user-select: none; }
.faq-chevron { flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; font-size: 15px; color: var(--text-gray); line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: var(--navy-dark); padding: 60px 24px 24px; }
.footer-inner { max-width: 1300px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-text { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; color: #fff; text-transform: uppercase; }
.footer-desc { color: #94b4cc; font-size: 14px; line-height: 1.6; }
.footer-contacts { display: flex; flex-direction: column; gap: 14px; }
.footer-contact { display: flex; align-items: center; gap: 12px; color: #94b4cc; font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-contact svg { color: var(--gold); flex-shrink: 0; }
.footer-contact:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; color: #6a8aaa; font-size: 13px; }

/* =====================================================
   Google Translate hide banner
   ===================================================== */
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }
.skiptranslate { display: none !important; }
#google_translate_element { display: none; }

/* =====================================================
   TABLET (<=1024px)
   ===================================================== */
@media (max-width: 1024px) {
  .hero-title-brand { font-size: 42px; }
  .problems-grid, .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .outsource-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .header-phone { display: none; }
  .header-inner { height: 60px; }
  .team-grid { max-width: 700px; gap: 24px; }
}

/* =====================================================
   MOBILE (<=768px)
   ===================================================== */
@media (max-width: 768px) {
  .header-inner { height: 56px; padding: 0 16px; }
  .logo-text { font-size: 11px; }
  .logo-icon { width: 36px; height: 36px; }
  .header-phone { display: none; }
  .consultation-btn { display: none; }
  .social-btn { width: 34px; height: 34px; }
  .header-right { gap: 6px; }
  .lang-current { font-size: 11px; padding: 7px 9px; }

  .hero { padding: 40px 16px; min-height: unset; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-title-brand { font-size: 32px; }
  .hero-heading { font-size: 22px; min-height: 66px; }
  .hero-desc { font-size: 16px; }
  .hero-feature { font-size: 15px; }
  .hero-features { grid-template-columns: 1fr; gap: 8px; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; justify-content: center; padding: 16px 20px; font-size: 16px; }

  section { padding: 52px 16px; }
  .section-title { font-size: 26px; }
  .section-subtitle { font-size: 15px; }
  .outsource-title, .when-title { font-size: 22px; }

  .problems-grid, .services-grid, .why-grid { grid-template-columns: 1fr; }
  .outsource-grid { grid-template-columns: 1fr; }
  .when-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }

  .problem-card { font-size: 19px; font-weight: 600; padding: 24px 20px; line-height: 1.45; }
  .problem-card .problem-icon { width: 40px; height: 40px; margin-bottom: 14px; }
  .problem-card .problem-icon svg { width: 20px; height: 20px; }
  .service-card p { font-size: 16px; }
  .when-card { font-size: 16px; }
  .who-tag { font-size: 15px; }
  .faq-question { font-size: 16px; }

  .team-grid { grid-template-columns: 1fr; max-width: 420px; }
  .team-photo-wrap { aspect-ratio: 3/3.2; }
  .team-photo-overlay { opacity: 1; }
  .team-name { font-size: 18px; }
  .team-bio { font-size: 15px; }

  .form-contact-row { gap: 10px; }
  .form-contact-btn { padding: 14px 20px; font-size: 15px; flex: 1; justify-content: center; min-width: 0; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 24px 16px; }
}
