:root {
  --nar: #C1173F;
  --nar-dark: #A01234;
  --zeferan: #F2A93B;
  --gece: #15161A;
  --das: #F4F1EC;
  --das-2: #E9E4DC;
  --kul: #5F5D59;
  --line: #E2DDD4;
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Onest', system-ui, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--das);
  color: var(--gece);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin-bottom: 40px; }
h3 { font-size: 19px; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #3A3936; max-width: 600px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo span { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.03em; }
.logo-sm span { font-size: 17px; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--nar); }
.top-right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; gap: 2px; background: var(--das-2); border-radius: 999px; padding: 3px; }
.lang a {
  text-decoration: none; font-size: 13px; font-weight: 600;
  padding: 6px 10px; border-radius: 999px; color: var(--kul);
  min-width: 40px; text-align: center;
}
.lang a[aria-current] { background: #fff; color: var(--gece); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: background .15s, color .15s;
}
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-dark { background: var(--gece); color: var(--das); }
.btn-dark:hover { background: var(--nar); }
.btn-accent { background: var(--nar); color: #fff; }
.btn-accent:hover { background: var(--nar-dark); }
.btn-outline { box-shadow: inset 0 0 0 1.5px var(--gece); }
.btn-outline:hover { background: var(--gece); color: var(--das); }

/* Hero */
.hero { padding: 96px 0 104px; }
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.eyebrow { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--nar); margin-bottom: 20px; }
h1 { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.03; letter-spacing: -0.035em; margin-bottom: 28px; }
h1 em { font-style: normal; color: var(--nar); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-mark {
  flex-shrink: 0; width: 360px; height: 360px; border-radius: 40px;
  background: var(--gece); display: flex; align-items: center; justify-content: center;
}

/* Sections */
.section { padding: 96px 0; }
.dark { background: var(--gece); color: var(--das); }
.dark p { color: #C9C6C0; }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card p { color: #4A4946; font-size: 16px; }
.num { font-family: var(--display); font-weight: 500; font-size: 14px; color: var(--nar); margin-bottom: 20px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid #34353B; padding-top: 24px; }
.step { margin-bottom: 8px; }

.why { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.why h2 { margin-bottom: 24px; }
.why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.why-list li { padding: 24px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.why-list li:first-child { padding-top: 0; }
.why-list p { color: #4A4946; }

.contact { background: var(--nar); color: #fff; }
.contact .lead { color: #FBE9EC; }
.contact h2 { margin-bottom: 16px; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: start; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px;
  background: #fff; color: var(--gece); border-radius: 999px; text-decoration: none; font-weight: 600;
}
.contact-link:hover { background: var(--gece); color: #fff; }

.foot { background: var(--gece); color: #A9A7A2; font-size: 14px; }
.foot .logo span { color: var(--das); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 24px; flex-wrap: wrap; }

/* Accessibility helpers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--zeferan); outline-offset: 2px; border-radius: 6px;
}

/* Trust strip */
.hero { padding-bottom: 72px; }
.trust { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust-item { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 18px; padding: 18px 20px; }
.trust-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: #FBEDEF; color: var(--nar); display: flex; align-items: center; justify-content: center; }
.trust-item b { display: block; font-size: 16px; line-height: 1.3; }
.trust-item small { display: block; font-size: 14px; color: var(--kul); line-height: 1.4; margin-top: 2px; }

/* "More" button under a section */
.section-more { margin-top: 32px; }
.section-lead { margin: -24px 0 40px; }

/* Our work */
.work { background: var(--das-2); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.work-card { background: #fff; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.work-shot { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.work-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.work-card:hover .work-shot img { transform: scale(1.02); }
.work-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.work-body p { color: #4A4946; font-size: 16px; }
.tag { display: inline-flex; font-size: 13px; font-weight: 600; color: var(--nar); background: #FBEDEF; border-radius: 999px; padding: 4px 12px; }
.work-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--gece); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.work-link:hover { color: var(--nar); text-decoration-color: currentColor; }

/* FAQ */
.faq-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border-radius: 16px; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; min-height: 44px; font-weight: 600; font-size: 17px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex-shrink: 0; font-family: var(--display); font-size: 22px; color: var(--nar); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; color: #4A4946; font-size: 16px; }

/* Contact + quick form */
.contact-copy h2 { margin-bottom: 16px; }
.or-write { margin: 32px 0 14px; font-weight: 600; color: #FBE9EC; }
.quick-form { background: #fff; color: var(--gece); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.quick-form h3 { font-size: 20px; margin-bottom: 8px; }
.quick-form label { font-size: 14px; font-weight: 600; margin-top: 6px; }
.quick-form input, .quick-form select {
  font: inherit; font-size: 16px; color: var(--gece); background: var(--das); border: 1.5px solid var(--line);
  border-radius: 12px; min-height: 48px; padding: 0 14px; width: 100%; box-sizing: border-box;
}
.quick-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--kul) 50%), linear-gradient(135deg, var(--kul) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.quick-form input:focus, .quick-form select:focus { border-color: var(--gece); }
.quick-form button { margin-top: 14px; width: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 16px; }
.form-note { font-size: 13px; color: var(--kul); text-align: center; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 20; width: 58px; height: 58px; border-radius: 50%;
  background: #1FA855; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(21, 22, 26, 0.28); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }

/* Prices page */
.page-head { padding: 64px 0 24px; }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); margin: 14px 0 16px; }
.crumbs { font-size: 14px; color: var(--kul); }
.crumbs a { color: var(--kul); }
.crumbs a:hover { color: var(--nar); }
.section-tight { padding: 40px 0; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.price-card { position: relative; background: #fff; border-radius: 20px; padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 12px; }
.price-card.hot { box-shadow: inset 0 0 0 2px var(--nar); }
.tag-hot { position: absolute; top: -12px; right: 18px; background: var(--nar); color: #fff; }
.price-top { display: flex; flex-direction: column; gap: 10px; }
.price-top h3 { font-size: 20px; }
.kind { color: var(--kul); font-size: 15px; }
.price { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -0.02em; color: var(--nar); white-space: nowrap; }
.price small { font-family: var(--body); font-weight: 500; font-size: 14px; color: var(--kul); margin: 0; }
.time { align-self: flex-start; background: var(--das); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; }
.feats { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: #3A3936; }
.feats li { display: flex; gap: 10px; }
.feats li::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; margin-top: 8px; background: var(--zeferan); transform: rotate(45deg); }
.table-scroll { position: relative; overflow-x: auto; border-radius: 20px; }
table.support { width: 100%; min-width: 560px; border-collapse: collapse; background: #fff; font-size: 16px; }
table.support th, table.support td { padding: 16px 18px; text-align: center; border-bottom: 1px solid #ECE7DF; }
table.support tbody th { text-align: left; font-weight: 500; color: #3A3936; }
table.support tbody tr:last-child th, table.support tbody tr:last-child td { border-bottom: 0; }
table.support thead th { font-family: var(--display); font-weight: 600; font-size: 17px; vertical-align: bottom; }
table.support .p { display: block; white-space: nowrap; color: var(--nar); font-size: 22px; margin-top: 4px; }
table.support .p small { font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--kul); }
table.support .hot { background: #FBF3F4; }
.yes { color: var(--nar); display: inline-flex; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.two-col h2 { margin-bottom: 24px; }
.extras { list-style: none; margin: 0; padding: 6px 22px; background: #fff; border-radius: 20px; }
.extras li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #ECE7DF; font-size: 16px; }
.extras li:last-child { border-bottom: 0; }
.extras b { white-space: nowrap; }
.terms { list-style: none; margin: 0; padding: 0; counter-reset: t; display: flex; flex-direction: column; gap: 16px; font-size: 16px; }
.terms li { counter-increment: t; display: flex; gap: 14px; align-items: flex-start; }
.terms li::before { content: counter(t); flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--gece); color: var(--das); font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; }

/* Headings sized to their column so they keep a clean 2-line break in every language */
.hero-inner { container-type: inline-size; }
.hero h1 { font-size: min(74px, calc((100cqi - 408px) / 9.8)); }
html[lang="ru"] .why > div:first-child { container-type: inline-size; }
html[lang="ru"] .why h2 { font-size: min(44px, 7.4cqi); }

/* Responsive */
@media (max-width: 1000px) {
  .hero h1 { font-size: calc((100cqi - 308px) / 9.8); }
  .grid-4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .faq-inner, .contact-inner, .two-col { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-mark { width: 260px; height: 260px; }
  .hero-mark svg { width: 160px; height: 160px; }
  .nav { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top-inner { height: 64px; }
  .top-right .btn { display: none; }
  .hero { padding: 56px 0 64px; }
  .hero-inner { flex-direction: column-reverse; align-items: flex-start; gap: 32px; }
  .hero-mark { width: 120px; height: 120px; border-radius: 28px; }
  .hero-mark svg { width: 72px; height: 72px; }
  .section { padding: 64px 0; }
  h2 { margin-bottom: 28px; }
  .grid-4, .steps, .why { grid-template-columns: minmax(0, 1fr); }
  .why { gap: 32px; }
  .actions .btn { flex: 1 1 100%; }
  h1 { font-size: clamp(32px, 10.5vw, 40px); }
  .hero h1 { font-size: min(40px, calc(100cqi / 9.8)); }
  .trust { margin-top: 40px; }
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .section-lead { margin: -12px 0 28px; }
  .quick-form { padding: 22px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .page-head { padding: 40px 0 8px; }
  .section-tight { padding: 28px 0; }
  .foot-inner { padding: 24px 16px 88px; }
  table.support { min-width: 500px; font-size: 15px; }
  table.support th, table.support td { padding: 12px 10px; }
  table.support tbody th, table.support thead td { position: sticky; left: 0; z-index: 1; background: #fff; min-width: 150px; box-shadow: 1px 0 0 #ECE7DF; }
  table.support .p { font-size: 18px; }
  .lang a { min-width: 44px; padding: 12px 10px; }
}
