/* =========================================================
   VVZ Studio — Premium Styles (v1)
   Drop-in replacement for css/style.css
   ========================================================= */

/* ---------- Base reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

/* ---------- Design tokens ---------- */
:root{
  --accent: #2A5CFF;
  --accent2: #7C3AED;
  --accent-dark: #1E4AD9;

  --bg: #0B0D12;
  --bg2: #0F1320;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --line: rgba(255,255,255,.12);

  --m: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --muted2: rgba(255,255,255,.52);

  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --shadow2: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --radius2: 14px;

  --container: 1140px;
}

/* ---------- Typography ---------- */
body{
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(42,92,255,.35), transparent 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(124,58,237,.28), transparent 58%),
    radial-gradient(900px 900px at 40% 110%, rgba(42,92,255,.20), transparent 60%),
    var(--bg);
  color: var(--m);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.65;
}

h1,h2,h3{
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
h1{ font-size: clamp(34px, 4.2vw, 56px); }
h2{ font-size: clamp(26px, 3.0vw, 40px); margin-top: 44px; }
h3{ font-size: 18px; }

p{ margin: 0 0 14px; color: var(--muted); max-width: 70ch; }
.lead{ font-size: 16px; color: var(--muted); }
.note{ font-size: 13px; color: var(--muted2); margin-top: 14px; }

/* ---------- Utilities ---------- */
.mt-14{ margin-top:14px; }
.mt-12{ margin-top:12px; }
.muted{ opacity: .75; }

/* ---------- Container ---------- */
.c{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Header / Navbar ---------- */
.top{
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(11,13,18,.65);
  backdrop-filter: blur(14px);
}

.navbar{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.dot{
  width: 10px; height: 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 6px rgba(42,92,255,.10);
}

.navlinks{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.navlinks a{
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  color: rgba(255,255,255,.78);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.navlinks a:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  transform: translateY(-1px);
}

.navRight{
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- Language menu ---------- */
.langMenu{ position: relative; }
.langBtn{
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.langBtn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
.langBtn svg{ width: 18px; height: 18px; }

.langDropdown{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 190px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(15,19,32,.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow2);
  display: none;
}
.langMenu:focus-within .langDropdown{ display: block; }

.langDropdown a{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 12px;
  color: rgba(255,255,255,.88);
  font-weight: 850;
  font-size: 13px;
}
.langDropdown a:hover{ background: rgba(255,255,255,.06); }
.langTag{ font-size: 11px; font-weight: 900; opacity: .75; }

/* ---------- Buttons ---------- */
/* ИСПРАВЛЕНИЕ: Выровнены отступы (padding) и шрифты для премиального вида */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.25);
}
.btn:active{ transform: translateY(0px); }

/* ИСПРАВЛЕНИЕ: Убрана граница для градиентной кнопки, улучшена тень */
.btnP{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(42,92,255,.3);
}
.btnP:hover{ 
  box-shadow: 0 12px 35px rgba(42,92,255,.45); 
}

.cta-ic{ width: 18px; height: 18px; opacity: .95; }

/* ---------- Sections ---------- */
section{ padding: 28px 0; }
section:first-of-type{ padding-top: 26px; }

/* ---------- Cards ---------- */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow2);
}
.card:hover{ border-color: rgba(255,255,255,.18); }

/* ---------- Hero ---------- */
.hero-card{
  padding: 22px;
  overflow: hidden;
  position: relative;
}
.hero-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(500px 240px at 20% 0%, rgba(42,92,255,.25), transparent 60%),
    radial-gradient(420px 260px at 90% 20%, rgba(124,58,237,.22), transparent 58%);
  pointer-events:none;
  opacity:.9;
}
.hero-card > *{ position: relative; }

.heroMedia{ margin-top: 14px; }
.heroImg{
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.04);
  object-fit: cover;
}

.hero-badges{ margin-top: 12px; display:flex; flex-wrap:wrap; gap:8px; }
.tag{
  display:inline-flex;
  align-items:center;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.86);
  font-weight: 900;
  font-size: 12px;
}

.proof-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top: 12px; }
.proof{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.86);
  font-weight: 850;
  font-size: 13px;
}

/* ---------- Grids ---------- */
.grid3{
  display:grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid2{
  display:grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ---------- Work thumbs ---------- */
.beforeAfter {
  display: block; /* Убрали разделение на две колонки */
  width: 100%;
  margin-bottom: 16px; /* Добавили отступ вниз, чтобы текст не прилипал к картинке */
}

.work-thumb {
  width: 100%; /* Растягиваем картинку на всю ширину карточки */
  height: auto; /* Высота подстроится автоматически, чтобы не искажать пропорции */
  aspect-ratio: 16 / 10; /* Задаем красивый кинематографичный формат */
  object-fit: cover; /* Обрезаем лишнее аккуратно, если картинка не влезает */
  border-radius: 12px; /* Скругление углов в стиле кнопок */
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- KPI chips ---------- */
.miniKpis{ display:flex; flex-wrap:wrap; gap: 8px; margin-top: 8px; }
.miniKpi{
  display:inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.88);
  font-size: 13px;
  font-weight: 850;
}
.miniKpi strong{ color: rgba(255,255,255,.96); }

/* ---------- Pills ---------- */
.pills{ display:flex; flex-wrap:wrap; gap: 10px; margin-top: 12px; }
.pill{
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  font-weight: 900;
  font-size: 13px;
  color: rgba(255,255,255,.86);
}

/* ---------- Forms / contact ---------- */
.contactGrid{
  display:grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 18px;
}
.formRow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.lbl{
  display:block;
  font-weight: 900;
  color: rgba(255,255,255,.88);
  margin: 10px 0 6px;
  font-size: 13px;
}

/* ИСПРАВЛЕНИЕ: Поля ввода теперь по размеру идеально совпадают с кнопками (padding 14px 16px) */
input, select, textarea{
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.92);
  outline: none;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input::placeholder, textarea::placeholder{ color: rgba(255,255,255,.45); }
input:focus, select:focus, textarea:focus{
  border-color: rgba(42,92,255,.55);
  box-shadow: 0 0 0 5px rgba(42,92,255,.14);
}
textarea{ resize: vertical; }
.formActions{ display:flex; flex-wrap:wrap; gap: 10px; align-items:center; margin-top: 12px; }
.status{ margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
footer{ border-top: 1px solid rgba(255,255,255,.10); margin-top: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .navbar{ grid-template-columns: 1fr; justify-items: center; }
  .navRight{ justify-self: center; }
  .grid3{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contactGrid{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .beforeAfter{ grid-template-columns: 1fr; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; transition: none !important; }
}