
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f2f0eb;
  --black: #0f0f0f;
  --muted: #999;
  --border: rgba(15,15,15,0.1);
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--black);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 64px;
  background: rgba(242,240,235,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}
.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
  filter: none;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  cursor: pointer;
}
.nav-links a:hover { color: var(--black); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.lang-btn {
  padding: 8px 14px;
  background: transparent;
  border: none;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn.active { background: var(--black); color: var(--bg); }
.nav-cta {
  background: var(--black);
  color: var(--bg);
  border: none;
  padding: 12px 28px;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  border-radius: 100px;
}
.nav-cta:hover { opacity: 0.75; }

/* PAGES SYSTEM */
.page { display: none; }
.page.active { display: block; }

/* SECTIONS */
section {
  min-height: 100vh;
  padding: 120px 64px 80px;
  position: relative;
}

/* HOME */
#home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}
.home-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.home-tag span.dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--black);
  border-radius: 50%;
}
.home-title {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(52px, 8.5vw, 128px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.home-title .light { font-weight: 300; color: var(--muted); }
.home-stats-row {
  display: flex;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 72px;
}
.stat {
  flex: 1;
  padding: 28px 0;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: "Unbounded", sans-serif;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: 0.04em; }
.home-bottom {
  position: absolute;
  bottom: 56px;
  left: 64px;
  right: 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.home-desc { font-size: 14px; color: var(--muted); max-width: 360px; line-height: 1.75; font-weight: 400; }
.home-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.btn-main {
  background: var(--black); color: var(--bg); border: none;
  padding: 18px 48px; font-family: "Manrope", sans-serif;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: opacity 0.2s; border-radius: 100px;
}
.btn-main:hover { opacity: 0.75; }
.btn-link {
  font-size: 12px; color: var(--muted); font-weight: 500;
  cursor: pointer; transition: color 0.2s; text-decoration: none;
}
.btn-link:hover { color: var(--black); }

/* SEC COMMON */
.sec-num {
  font-size: 11px; font-weight: 500; color: var(--muted);
  letter-spacing: 0.12em; margin-bottom: 20px; text-transform: uppercase;
}
.sec-title {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(28px, 4vw, 64px);
  font-weight: 900; line-height: 1.0; letter-spacing: -0.03em;
}
.sec-title .light { font-weight: 300; color: var(--muted); }
.sec-header {
  display: flex; justify-content: space-between;
  align-items: flex-start; margin-bottom: 24px;
}
.sec-desc {
  font-size: 13px; color: var(--muted); max-width: 260px;
  line-height: 1.7; text-align: right; font-weight: 400; padding-top: 8px;
}

/* SERVICES */
#services { border-bottom: 1px solid var(--border); }
.plans-category {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.plans-category-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; background: var(--black);
  color: var(--bg); padding: 6px 14px; border-radius: 100px;
}
.plans-category-desc { font-size: 12px; color: var(--muted); font-weight: 400; }
.plans {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}
.plan {
  padding: 44px 34px; border-right: 1px solid var(--border);
  transition: background 0.25s; display: flex; flex-direction: column;
}
.plan:last-child { border-right: none; }
.plan:hover { background: rgba(15,15,15,0.03); }
.plan.featured { background: var(--black); color: var(--bg); }
.plan-order {
  font-size: 10px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px; display: block;
}
.plan.featured .plan-order { color: rgba(242,240,235,0.3); }
.plan-name {
  font-family: "Unbounded", sans-serif; font-size: 19px;
  font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px;
}
.plan-sub {
  font-size: 12px; color: var(--muted); line-height: 1.6;
  margin-bottom: 28px; font-weight: 400;
}
.plan.featured .plan-sub { color: rgba(242,240,235,0.45); }
.plan-setup {
  margin-bottom: 6px; padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.plan.featured .plan-setup { border-color: rgba(242,240,235,0.1); }
.plan-setup-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.plan.featured .plan-setup-label { color: rgba(242,240,235,0.3); }
.plan-setup-price {
  font-family: "Unbounded", sans-serif; font-size: 42px;
  font-weight: 900; letter-spacing: -0.04em; line-height: 1;
}
.plan-monthly { margin-top: 14px; margin-bottom: 28px; }
.plan-monthly-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.plan.featured .plan-monthly-label { color: rgba(242,240,235,0.3); }
.plan-monthly-price {
  font-family: "Unbounded", sans-serif; font-size: 26px;
  font-weight: 700; letter-spacing: -0.03em; color: var(--muted); line-height: 1;
}
.plan.featured .plan-monthly-price { color: rgba(242,240,235,0.45); }
.plan-list {
  list-style: none; margin-bottom: 36px; flex: 1;
  border-top: 1px solid var(--border);
}
.plan.featured .plan-list { border-color: rgba(242,240,235,0.1); }
.plan-list li {
  font-size: 12px; color: var(--muted); padding: 10px 0;
  border-bottom: 1px solid var(--border); font-weight: 400;
  display: flex; justify-content: space-between; align-items: center;
}
.plan.featured .plan-list li { border-color: rgba(242,240,235,0.1); color: rgba(242,240,235,0.4); }
.plan-list li.yes { color: var(--black); font-weight: 500; }
.plan.featured .plan-list li.yes { color: var(--bg); }
.plan-btn {
  width: 100%; padding: 14px; border: 1px solid var(--border);
  background: transparent; color: var(--black);
  font-family: "Manrope", sans-serif; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; border-radius: 100px;
}
.plan.featured .plan-btn { border-color: rgba(242,240,235,0.25); color: var(--bg); }
.plan-btn:hover { background: var(--black); color: var(--bg); border-color: var(--black); }
.plan.featured .plan-btn:hover { background: var(--bg); color: var(--black); }

/* HOW */
#how { background: var(--black); color: var(--bg); border-bottom: 1px solid rgba(242,240,235,0.08); }
#how .sec-title .light { color: rgba(242,240,235,0.22); }
#how .sec-desc { color: rgba(242,240,235,0.38); }
#how .sec-num { color: rgba(242,240,235,0.28); }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(242,240,235,0.08); margin-bottom: 72px;
}
.step { padding: 48px 40px; border-right: 1px solid rgba(242,240,235,0.08); }
.step:last-child { border-right: none; }
.step-n {
  font-family: "Unbounded", sans-serif; font-size: 60px; font-weight: 900;
  color: rgba(242,240,235,0.04); line-height: 1; margin-bottom: 32px; letter-spacing: -0.04em;
}
.step-title {
  font-family: "Unbounded", sans-serif; font-size: 18px; font-weight: 700;
  line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 12px; color: var(--bg);
}
.step-body {
  font-size: 13px; color: rgba(242,240,235,0.42);
  line-height: 1.7; font-weight: 400; margin-bottom: 32px;
}
.step-time {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(242,240,235,0.28);
  border: 1px solid rgba(242,240,235,0.1); display: inline-block;
  padding: 6px 14px; border-radius: 100px;
}
.how-cta-row {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(242,240,235,0.08); padding-top: 48px;
}
.how-cta-text {
  font-family: "Unbounded", sans-serif; font-size: clamp(16px, 2vw, 30px);
  font-weight: 300; color: rgba(242,240,235,0.35); letter-spacing: -0.02em;
  max-width: 540px; line-height: 1.3;
}
.how-cta-text strong { font-weight: 900; color: var(--bg); }
.btn-light {
  background: var(--bg); color: var(--black); border: none;
  padding: 18px 48px; font-family: "Manrope", sans-serif;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: opacity 0.2s; border-radius: 100px; white-space: nowrap;
}
.btn-light:hover { opacity: 0.8; }

/* CASES */
#cases { background: var(--bg); border-bottom: 1px solid var(--border); }
.cases-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
}
.case {
  padding: 48px 44px; border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border); transition: background 0.25s; cursor: pointer;
}
.case:nth-child(2n) { border-right: none; }
.case:nth-child(n+3) { border-bottom: none; }
.case:hover { background: rgba(15,15,15,0.03); }
.case-tag {
  font-size: 10px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.case-tag::before { content: ""; display: inline-block; width: 16px; height: 1px; background: var(--muted); }
.case-title {
  font-family: "Unbounded", sans-serif; font-size: 19px; font-weight: 700;
  line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 12px;
}
.case-desc { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 36px; font-weight: 400; }
.metrics { display: flex; gap: 32px; }
.metric-val {
  font-family: "Unbounded", sans-serif; font-size: 28px; font-weight: 900;
  letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px;
}
.metric-label { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* CONTACT */
#contact { display: flex; flex-direction: column; justify-content: center; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; margin-top: 64px; }
.contact-left p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 48px; max-width: 360px; }
.contact-links { border-top: 1px solid var(--border); }
.contact-link-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: padding-left 0.2s;
}
.contact-link-row:hover { padding-left: 8px; }
.contact-link-label { font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.contact-link-val { font-size: 14px; font-weight: 600; color: var(--black); }
.contact-form { border: 1px solid var(--border); }
.form-row { padding: 20px 26px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.form-input, .form-select {
  background: transparent; border: none; outline: none;
  color: var(--black); font-family: "Manrope", sans-serif;
  font-size: 14px; font-weight: 500; padding: 0; cursor: text;
}
.form-input::placeholder { color: #ccc; }
.form-select { cursor: pointer; }
.form-select option { background: var(--bg); }
.form-submit {
  width: 100%; padding: 20px 26px; background: var(--black); border: none;
  color: var(--bg); font-family: "Manrope", sans-serif; font-size: 13px;
  font-weight: 600; cursor: pointer; transition: opacity 0.2s;
  text-align: left; display: flex; justify-content: space-between; align-items: center;
}
.form-submit:hover { opacity: 0.8; }

/* ABOUT PAGE */
#page-about {
  min-height: 100vh;
  padding: 140px 64px 80px;
  background: var(--bg);
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; margin-top: 64px; align-items: start; }
.about-logo-big { margin-bottom: 40px; }
.about-logo-big img { height: 80px; width: auto; opacity: 0.12; }
.about-text p { font-size: 15px; line-height: 1.8; color: var(--muted); margin-bottom: 24px; font-weight: 400; }
.about-text p strong { color: var(--black); font-weight: 600; }
.about-values { border-top: 1px solid var(--border); }
.about-value-row { padding: 22px 0; border-bottom: 1px solid var(--border); display: flex; gap: 32px; align-items: flex-start; }
.about-value-num { font-family: "Unbounded", sans-serif; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.1em; min-width: 28px; margin-top: 2px; }
.about-value-title { font-family: "Unbounded", sans-serif; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.about-value-body { font-size: 13px; color: var(--muted); line-height: 1.6; font-weight: 400; }

/* FOOTER */
footer { padding: 28px 64px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
footer .nav-logo img { height: 28px; }
footer p { font-size: 11px; color: var(--muted); font-weight: 500; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.d1 { animation-delay: 0s; }
.d2 { animation-delay: 0.12s; }
.d3 { animation-delay: 0.24s; }
.d4 { animation-delay: 0.36s; }

/* i18n */
[data-lang] { display: none; }
.lang-en [data-lang="en"] { display: inline; }
.lang-ru [data-lang="ru"] { display: inline; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #ccc; }
.maintenance-toggle { display: flex; gap: 8px; margin: 15px 0; background: rgba(15,15,15,0.05); padding: 4px; border-radius: 100px; }
.plan.featured .maintenance-toggle { background: rgba(242,240,235,0.1); }
.m-btn { flex: 1; padding: 8px; text-align: center; font-size: 10px; font-weight: 700; text-transform: uppercase; border-radius: 100px; cursor: pointer; transition: 0.2s; color: var(--muted); }
.m-btn.active { background: var(--black); color: var(--bg); }
.plan.featured .m-btn.active { background: var(--bg); color: var(--black); }
.maintenance-desc { font-size: 11px; color: var(--muted); line-height: 1.4; min-height: 32px; margin-bottom: 20px; }

/* ============================================================
   RESPONSIVE — TABLET  (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* --- NAV --- */
  nav {
    padding: 16px 24px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .nav-links {
    display: none;          /* hide centre links; no hamburger needed for a single-page scroll site */
  }
  .nav-right {
    gap: 10px;
  }
  .nav-cta {
    padding: 10px 20px;
    font-size: 11px;
  }
  .lang-btn {
    padding: 7px 11px;
    font-size: 10px;
  }

  /* --- GENERAL SECTIONS --- */
  section {
    padding: 100px 32px 60px;
    min-height: auto;
  }
  #page-about {
    padding: 120px 32px 60px;
  }

  /* --- HOME --- */
  .home-stats-row {
    flex-wrap: wrap;
    margin-top: 48px;
  }
  .stat {
    flex: 1 1 45%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
  }
  .stat:last-child {
    border-bottom: none;
  }
  .stat-num {
    font-size: 28px;
  }
  .home-bottom {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    margin-top: 48px;
    padding-top: 0;
    left: auto; right: auto; bottom: auto;
  }
  .home-actions {
    align-items: flex-start;
    width: 100%;
  }
  .btn-main, .btn-light {
    padding: 16px 36px;
    font-size: 13px;
  }
  .home-desc {
    max-width: 100%;
  }

  /* --- SEC HEADER --- */
  .sec-header {
    flex-direction: column;
    gap: 12px;
  }
  .sec-desc {
    text-align: left;
    max-width: 100%;
  }

  /* --- SERVICES / PLANS --- */
  .plans {
    grid-template-columns: 1fr;
  }
  .plan {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 36px 28px;
  }
  .plan:last-child {
    border-bottom: none;
  }
  .plan.featured .plan {
    border-color: rgba(242,240,235,0.1);
  }
  .plan-setup-price {
    font-size: 34px;
  }

  /* --- HOW / STEPS --- */
  .steps {
    grid-template-columns: 1fr;
    margin-bottom: 48px;
  }
  .step {
    border-right: none;
    border-bottom: 1px solid rgba(242,240,235,0.08);
    padding: 36px 28px;
  }
  .step:last-child {
    border-bottom: none;
  }
  .step-n {
    font-size: 48px;
  }
  .how-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding-top: 36px;
  }
  .how-cta-text {
    max-width: 100%;
  }

  /* --- CASES --- */
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .case {
    border-right: none;
    padding: 36px 28px;
  }
  .case:nth-child(2n) {
    border-right: none;
  }
  .case:nth-child(n+3) {
    border-bottom: 1px solid var(--border);
  }
  .case:last-child {
    border-bottom: none;
  }
  .metrics {
    flex-wrap: wrap;
    gap: 20px;
  }

  /* --- CONTACT --- */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 40px;
  }

  /* --- ABOUT --- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 40px;
  }

  /* --- FOOTER --- */
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 24px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE  (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {

  /* --- NAV --- */
  nav {
    padding: 14px 16px;
  }
  .nav-logo img {
    height: 30px;
  }
  .nav-cta {
    padding: 9px 16px;
    font-size: 11px;
  }
  .lang-switch {
    display: none;          /* hide language switcher on very small screens to save space */
  }

  /* --- GENERAL SECTIONS --- */
  section {
    padding: 88px 16px 48px;
  }
  #page-about {
    padding: 100px 16px 48px;
  }

  /* --- HOME --- */
  .home-tag {
    font-size: 10px;
    margin-bottom: 28px;
  }
  .home-title {
    font-size: clamp(38px, 12vw, 72px);
    line-height: 1.0;
  }
  .stat {
    flex: 1 1 100%;
  }
  .stat-num {
    font-size: 26px;
  }
  .home-bottom {
    margin-top: 36px;
  }
  .btn-main, .btn-light {
    width: 100%;
    padding: 16px 24px;
    text-align: center;
  }

  /* --- SEC TITLES --- */
  .sec-title {
    font-size: clamp(24px, 9vw, 40px);
  }
  .sec-num {
    font-size: 10px;
  }

  /* --- SERVICES / PLANS --- */
  .plan {
    padding: 28px 20px;
  }
  .plan-setup-price {
    font-size: 28px;
  }
  .plan-monthly-price {
    font-size: 20px;
  }
  .plan-name {
    font-size: 16px;
  }
  .plans-category {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* --- HOW / STEPS --- */
  .step {
    padding: 28px 20px;
  }
  .step-n {
    font-size: 40px;
    margin-bottom: 20px;
  }
  .step-title {
    font-size: 16px;
  }
  .how-cta-text {
    font-size: clamp(14px, 4vw, 22px);
  }

  /* --- CASES --- */
  .case {
    padding: 28px 20px;
  }
  .case-title {
    font-size: 16px;
  }
  .metric-val {
    font-size: 22px;
  }
  .metrics {
    gap: 16px;
  }

  /* --- CONTACT --- */
  .contact-grid {
    gap: 36px;
    margin-top: 28px;
  }
  .contact-left p {
    max-width: 100%;
  }
  .form-row {
    padding: 16px 18px;
  }
  .form-submit {
    padding: 16px 18px;
    font-size: 13px;
  }

  /* --- ABOUT --- */
  .about-grid {
    gap: 36px;
    margin-top: 28px;
  }
  .about-logo-big img {
    height: 56px;
  }
  .about-text p {
    font-size: 14px;
  }
  .about-value-row {
    flex-direction: column;
    gap: 8px;
  }

  /* --- FOOTER --- */
  footer {
    padding: 20px 16px;
    gap: 10px;
  }
  footer .nav-logo img {
    height: 22px;
  }
  footer p {
    font-size: 10px;
  }
}
