/* ========== RESET & ROOT ========== */
:root {
  --bg: #f5f6f8;
  --text: #121417;
  --muted: #6b7280;
  --nav: rgba(255, 255, 255, 0.88);
  --line: rgba(0, 0, 0, 0.08);
  --accent: #f5b400;
  --dark: #0d1323;
  --glass: rgba(35, 40, 55, 0.58);
  --glass2: rgba(25, 28, 40, 0.72);
  --glassBorder: rgba(255, 255, 255, 0.18);
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a {
  color: inherit;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  background: var(--nav);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
}
.navbar:has(.nav-lang-wrapper.open) {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.navbar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #111, #444);
  position: relative;
}
.brand .mark:after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), #ffdf7a);
  opacity: 0.95;
}

/* ========== BURGER ========== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 6px;
  margin-right: 4px;
  flex-shrink: 0;
  z-index: 1002;
}
.burger span {
  display: block;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: 0.3s;
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== NAV + LANG WRAPPER ========== */
.nav-lang-wrapper {
  display: flex;
  align-items: center;
  gap: 18px;
}
.menu {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.menu a {
  text-decoration: none;
  color: #4b5563;
  font-size: 14px;
  padding: 8px 6px;
  border-radius: 10px;
}
.menu a:hover {
  color: #111;
  background: rgba(0, 0, 0, 0.04);
}
.lang {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang a {
  text-decoration: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1f2937;
  font-weight: 700;
  font-size: 13px;
}
.lang a.active {
  background: var(--accent);
  border-color: transparent;
}
.lang a:not(.active):hover {
  background: rgba(0, 0, 0, 0.04);
}

/* ========== МОБИЛЬНОЕ МЕНЮ ========== */
@media (min-width: 981px) {
  .burger {
    display: none;
  }
  .nav-lang-wrapper {
    display: flex;
  }
}
@media (max-width: 980px) {
  .navbar .inner {
    padding-right: 4px;
  }
  .burger {
    display: flex;
    margin-right: 10px;
  }
  .nav-lang-wrapper {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    overflow-y: auto;
    max-height: calc(100dvh - 68px);
    padding: 24px 20px 28px;
    z-index: 1001;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
  }
  .nav-lang-wrapper.open {
    display: flex;
  }
  .menu {
    flex-direction: column;
    gap: 14px;
  }
  .menu a {
    font-size: 20px;
    font-weight: 600;
    color: #111;
  }
  .lang {
    margin-top: 4px;
  }
  .lang a {
    width: 44px;
    height: 44px;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid rgba(0,0,0,0.2);
    color: #111;
  }
  .lang a.active {
    background: var(--accent);
    border-color: transparent;
    color: #111;
  }
}

/* ========== HERO ========== */
.hero {
  min-height: 580px;
  padding: 80px 0 40px;
  position: relative;
  display: flex;
  align-items: flex-start;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.56) 52%, rgba(0, 0, 0, 0.35) 100%),
    url("../img/hero_bg.jpg") center/cover no-repeat;
  color: #fff;
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f3f4f6;
  font-size: 13px;
  width: max-content;
}
.h1 {
  font-size: 56px;
  line-height: 1.05;
  margin: 16px 0 14px;
  letter-spacing: -0.6px;
}
.lead {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
}
.cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.08s ease, filter 0.15s ease, background 0.15s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn.primary {
  background: var(--accent);
  color: #111;
}
.btn.primary:hover {
  filter: brightness(0.98);
}
.btn.ghost {
  background: rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.btn.ghost:hover {
  background: rgba(0, 0, 0, 0.22);
}
.meta {
  margin-top: 18px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}
.glass {
  background: var(--glass);
  border: 1px solid var(--glassBorder);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}
.glass .title {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.1em;
  font-size: 12px;
}
.glass ul {
  margin: 14px 0 0;
  padding-left: 18px;
}
.glass li {
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.9);
}

/* ========== SECTIONS ========== */
.section {
  padding: 86px 0;
}
.kicker {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.16em;
  font-size: 12px;
}
.h2 {
  font-size: 44px;
  letter-spacing: -0.4px;
  margin: 10px 0 12px;
}
.p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  max-width: 860px;
}
.cards2 {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.cardGlass {
  background: var(--glass2);
  color: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 22px;
  backdrop-filter: blur(16px);
}
.cardGlass .cap {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.16em;
  font-size: 12px;
}
.cardGlass .t {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 800;
}
.cardGlass .d {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}
.darkBlock {
  background: linear-gradient(180deg, #111a2f 0%, #0b1222 100%);
  color: #fff;
}
.approachGrid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}
.approachLeft {
  max-width: 720px;
}
.btnMini {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.btnMini:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

/* ========== PORTFOLIO ========== */
.portfolioGrid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.case {
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.case img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  cursor: pointer;                     /* показываем, что можно кликнуть */
}
.case .body {
  padding: 16px 16px 18px;
}
.case .name {
  font-weight: 900;
}
.case .note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
  line-height: 1.5;
}
#portfolio {
  background: #0b0f19 !important;
  color: #fff;
}
#portfolio h2,
#portfolio p {
  color: #fff;
}

/* ========== LIGHTBOX ========== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}
.lightbox.active {
  display: flex;
}
.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 48px;
  font-weight: 300;
  cursor: pointer;
  transition: opacity 0.2s;
  z-index: 10000;
}
.lightbox-close:hover {
  opacity: 0.7;
}

/* ========== PRICING ========== */
.pricingWrap {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.priceCard {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 22px;
  backdrop-filter: blur(18px);
}
.priceCard .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.priceCard h3 {
  margin: 0;
  font-size: 22px;
}
.priceCard .from {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 800;
}
.priceCard .eur {
  font-size: 40px;
  font-weight: 1000;
  letter-spacing: -0.6px;
  margin: 8px 0 6px;
}
.priceCard ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}
.priceFoot {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}
.priceCard .btnMini {
  display: inline-block;
  margin-top: 14px;
  background: var(--accent);
  border: 1px solid transparent;
  color: #111;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
}
.priceCard .btnMini:hover {
  filter: brightness(0.95);
}
@media (max-width: 1200px) {
  .pricingWrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== TEAM ========== */
.teamSection {
  padding: 90px 0;
  background: radial-gradient(1200px 500px at 20% 0%, rgba(255, 196, 0, 0.18), transparent 60%),
    radial-gradient(900px 420px at 90% 40%, rgba(0, 136, 204, 0.12), transparent 55%), #fff;
}
.teamGrid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: start;
}
.teamKicker {
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 10px;
}
.teamTitle {
  font-size: 40px;
  line-height: 1.12;
  margin: 0 0 14px;
}
.teamText {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.86;
  margin: 0 0 14px;
  max-width: 720px;
}
.teamStats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.teamCard {
  position: relative;
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.teamCard:before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(240px 140px at 10% 10%, rgba(255, 196, 0, 0.22), transparent 60%),
    radial-gradient(260px 160px at 90% 90%, rgba(0, 136, 204, 0.18), transparent 62%);
  opacity: 0.55;
  pointer-events: none;
}
.teamCard:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18);
}
.teamIcon {
  width: 18px;
  height: 18px;
  opacity: 0.86;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.teamNum {
  position: relative;
  z-index: 1;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.teamLabel {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.72;
  font-weight: 700;
}
.teamCard {
  background: rgba(15, 17, 25, 0.65) !important;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}
.teamLabel {
  color: rgba(255, 255, 255, 0.7);
}

/* ========== CONTACT VOYA ========== */
.contactVoya {
  padding: 72px 0 0;
  background: #f6f7f8;
}
.voyaWrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
  padding: 80px 0 26px;
}
.voyaLabel {
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.7;
}
.voyaTitle {
  margin: 10px 0 10px;
  font-size: 32px;
  line-height: 1.15;
}
.voyaDesc {
  opacity: 0.85;
  max-width: 520px;
}
.voyaRight {
  display: grid;
  gap: 16px;
}
.voyaCardDark {
  background: #0f1116;
  color: #fff;
  border-radius: 14px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.voyaCardTitle {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.voyaCardDark ul {
  margin: 0;
  padding-left: 18px;
}
.voyaCardDark li {
  margin: 8px 0;
  opacity: 0.9;
}
.voyaCardForm {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.voyaFormTitle {
  font-weight: 800;
  margin-bottom: 6px;
}
.voyaFormNote {
  font-size: 12px;
  opacity: 0.75;
  margin-bottom: 14px;
}
.voyaForm {
  display: grid;
  gap: 10px;
}
.voyaForm label {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.8;
}
.voyaForm input,
.voyaForm textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fff;
}
.voyaBtnPrimary {
  margin-top: 6px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 0;
  background: #0f1116;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.voyaBtnPrimary:hover {
  filter: brightness(1.05);
}
.voyaBtnGhost {
  display: block;
  text-align: center;
  margin-top: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: #0f1116;
  font-weight: 800;
}
.voyaBtnGhost:hover {
  background: rgba(0, 0, 0, 0.03);
}
.voyaFooter {
  margin-top: 34px;
  padding: 18px 0 20px;
  background: #000;
  color: #fff;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}
.voyaFooter a {
  color: #fff;
  opacity: 0.9;
  text-decoration: none;
}
.voyaFooter a:hover {
  opacity: 1;
}

/* Contact buttons */
#contact .contactBtns {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
#contact .contactBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
  min-width: 150px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
#contact .contactBtn--wa {
  background: #25d366;
  color: #fff;
}
#contact .contactBtn--tg {
  background: #0088cc;
  color: #fff;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .hero {
    min-height: 480px;
    padding: 80px 0 30px;
  }
  .hero .grid {
    grid-template-columns: 1fr;
  }
  .h1 {
    font-size: 42px;
  }
  .cards2 {
    grid-template-columns: 1fr;
  }
  .approachGrid {
    grid-template-columns: 1fr;
  }
  .portfolioGrid {
    grid-template-columns: 1fr;
  }
  .pricingWrap {
    grid-template-columns: 1fr;
  }
  .teamGrid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .teamTitle {
    font-size: 32px;
  }
  .voyaWrap {
    grid-template-columns: 1fr;
    padding: 60px 0 18px;
  }
}
.brand-text{
    font-family: Inter, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}
.brand-text .web{
    color:#111827;
}
.brand-text .visa{
    color:#F4B400;
}