/* Russian Translation Services — site styles
   One file for all pages. No frameworks, no icon fonts. */

:root {
  --ink: #16181d;
  --ink-2: #22252c;
  --paper: #f7f6f2;
  --white: #ffffff;
  --text: #2a2d34;
  --muted: #5f6570;
  --line: #e4e2dc;
  --line-dark: rgba(255, 255, 255, .12);
  --accent: #2f6bc4;
  --accent-hover: #2458a6;
  --on-dark: #eceae4;
  --on-dark-muted: rgba(236, 234, 228, .68);
  /* Brand gradient + the two colors it is made of (used for small accents) */
  --grad-a: #93c5fd;
  --grad-b: #818cf8;
  --grad: linear-gradient(90deg, var(--grad-a) 0%, var(--grad-b) 100%);
  --radius-xl: 40px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 500; letter-spacing: -.035em; }
h3 { font-size: 21px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.lead { font-size: 19px; color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { border-color: var(--line-dark); color: var(--on-dark); background: transparent; }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px 0; background: var(--ink); }
.nav {
  display: flex; align-items: center; gap: 16px;
  background: var(--ink-2); border: 1px solid var(--line-dark);
  border-radius: 999px; padding: 8px 8px 8px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { color: #fff; }
.brand-mark { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: var(--ink); font-size: 12px; font-weight: 800; }
.menu { display: flex; align-items: center; gap: 2px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.menu > li { position: relative; }
.menu a, .menu button {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 999px; border: 0; background: none;
  font: 500 15px/1 var(--font); color: var(--on-dark-muted); text-decoration: none; cursor: pointer;
}
.menu a:hover, .menu button:hover, .menu li:focus-within > button { color: #fff; background: rgba(255,255,255,.06); }
.caret { width: 14px; height: 14px; }
.drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: #fff; border-radius: var(--radius-md); padding: 8px; margin: 0; list-style: none;
  box-shadow: 0 18px 40px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.menu li:hover > .drop, .menu li:focus-within > .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { color: var(--text); padding: 10px 12px; border-radius: 10px; font-size: 15px; }
.drop a:hover { background: var(--paper); color: var(--ink); }
.nav-cta { flex: none; }
.nav-cta .btn { min-height: 42px; padding: 10px 18px; font-size: 15px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); background: none; color: #fff; cursor: pointer; place-items: center; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--on-dark); border-radius: 0 0 var(--radius-xl) var(--radius-xl); padding: 56px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(40px, 6vw, 68px); font-weight: 500; letter-spacing: -.045em; line-height: 1.04; margin-bottom: 22px; }
.hero .lead { color: var(--on-dark-muted); font-size: 19px; margin-bottom: 30px; }
.rating { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--on-dark-muted); }
.stars { color: #f5c451; letter-spacing: 2px; font-size: 15px; }
.rating b { color: #fff; }

/* Document illustration (pure CSS, no image weight) */
.doc-stage { position: relative; padding: 24px 0 40px; }
.doc {
  position: relative; background: #fff; color: var(--text); border-radius: 18px;
  padding: 30px 30px 26px; box-shadow: 0 30px 60px rgba(0,0,0,.35); max-width: 420px; margin-left: auto;
  transform: rotate(1.5deg);
}
.doc-back { position: absolute; inset: 44px 34px 58px auto; width: min(420px, 90%); background: #3a3e48; border-radius: 18px; transform: rotate(-5deg); }
.doc-head { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.doc-title { font-size: 20px; font-weight: 650; color: var(--ink); margin-bottom: 18px; letter-spacing: -.01em; }
.doc-line { height: 9px; border-radius: 5px; background: #eceae4; margin-bottom: 10px; }
.doc-line.w80 { width: 80%; } .doc-line.w60 { width: 60%; } .doc-line.w90 { width: 90%; }
.doc-foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 22px; }
.sign { font-family: "Snell Roundhand", "Brush Script MT", cursive; font-size: 26px; color: #2b4a8a; border-bottom: 1px solid var(--line); padding: 0 18px 2px 0; }
.seal { width: 78px; height: 78px; color: #2f6bc4; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 16px;
  font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.chip .ico { color: #1f8a5b; }
.chip-1 { left: -8px; top: 92px; }
.chip-2 { left: 20px; bottom: 44px; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line-dark); margin-top: 48px; padding: 26px 0 30px; }
.trust div { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--on-dark-muted); line-height: 1.35; }
.trust .ico { width: 26px; height: 26px; color: var(--grad-a); }
.trust b { display: block; color: #fff; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { margin-bottom: 48px; }
.paper { background: var(--paper); }
.dark { background: var(--ink); color: var(--on-dark); border-radius: var(--radius-xl); margin: 24px 12px; }
.dark h2, .dark h3 { color: #fff; }
.dark .lead, .dark p { color: var(--on-dark-muted); }
.dark .eyebrow { color: var(--grad-b); }

/* Offer / price card */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: 0 20px 50px rgba(22,24,29,.06); }
.price-card .tag { display: inline-block; background: var(--paper); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.price { font-size: 56px; font-weight: 600; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.checks { list-style: none; padding: 0; margin: 24px 0 28px; }
.checks li { display: flex; gap: 10px; padding: 7px 0; }
.checks .ico { color: #1f8a5b; margin-top: 3px; }
.doc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding: 0; list-style: none; }
.doc-tags li a, .doc-tags li span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--text); text-decoration: none; background: #fff; }
.doc-tags li a:hover { border-color: var(--ink); }

/* Services grid */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(22,24,29,.08); color: var(--text); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--accent); }
.card a.more { text-decoration: none; }
.more .ico { width: 16px; height: 16px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 28px 24px; background: rgba(255,255,255,.02); }
.feature .ico { width: 30px; height: 30px; color: var(--grad-b); margin-bottom: 18px; }
.feature h3 { font-size: 19px; }
.feature p { font-size: 15px; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; margin-bottom: 18px; }
.steps h3 { font-size: 19px; }
.steps p { font-size: 15px; color: var(--muted); margin: 0; }

/* Accepted by */
.accepted { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 44px; color: var(--muted); font-size: 15px; font-weight: 500; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.review blockquote { margin: 0 0 20px; font-size: 18px; color: var(--ink); line-height: 1.55; }
.review figcaption { font-size: 15px; color: var(--muted); }
.review figcaption b { color: var(--ink); display: block; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 28px; font-weight: 300; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 40px; }

/* Final CTA + footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: 88px 0 32px; margin-top: 24px; }
.cta { text-align: center; padding-bottom: 72px; border-bottom: 1px solid var(--line-dark); }
.cta h2 { color: #fff; }
.cta .lead { color: var(--on-dark-muted); margin: 0 auto 30px; }
.cta .btn-row { justify-content: center; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0 40px; }
.foot-grid h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; }
.foot-grid a:hover { color: #fff; }
.contact-line { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 15px; }
.contact-line .ico { color: var(--grad-a); }
.areas { font-size: 13px; line-height: 1.7; color: rgba(236,234,228,.45); border-top: 1px solid var(--line-dark); padding-top: 24px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; padding-top: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards, .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .menu-toggle { display: grid; }
  .nav-cta { display: none; }
  .menu {
    display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 4px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
    padding: 10px; max-height: calc(100vh - 90px); overflow-y: auto;
  }
  .nav.open .menu { display: flex; }
  .menu > li > button { width: 100%; justify-content: space-between; font-size: 16px; padding: 14px; color: #fff; }
  .menu > li > a { font-size: 16px; padding: 14px; color: #fff; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 8px 10px; min-width: 0; }
  .drop::before { display: none; }
  .drop a { color: var(--on-dark-muted); padding: 10px 14px; }
  .drop a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .menu .mobile-cta { padding: 10px 4px 4px; }
  .menu .mobile-cta a { justify-content: center; color: #fff; background: var(--accent); padding: 14px; }

  .hero { padding-top: 32px; }
  .hero-grid, .offer { grid-template-columns: 1fr; gap: 32px; }
  .doc-stage { max-width: 440px; margin: 0 auto; width: 100%; }
  .section { padding: 72px 0; }
  .reviews { grid-template-columns: 1fr; }
}

@media (min-width: 901px) { .menu .mobile-cta { display: none; } }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { padding-left: 16px; }
  .brand span:last-child { font-size: 15px; }
  .hero .lead { font-size: 17px; }
  .btn-row .btn { flex: 1 1 100%; }
  .cards, .features, .steps, .trust { grid-template-columns: 1fr; }
  .trust { gap: 16px; }
  .dark { margin: 16px 8px; border-radius: 28px; }
  .hero { border-radius: 0 0 28px 28px; }
  .site-footer { border-radius: 28px 28px 0 0; }
  .price-card { padding: 26px 22px; }
  .price { font-size: 46px; }
  .review { padding: 24px; }
  .review blockquote { font-size: 16px; }
  .foot-grid { grid-template-columns: 1fr; }
  .doc-stage { display: none; }
  .trust { margin-top: 36px; }
}

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

/* =========================================================
   Inner pages
   ========================================================= */

/* Page hero: same dark block as the home page, a bit shorter */
.page-hero { padding-bottom: 56px; }
.page-hero .hero-grid { align-items: center; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); }
.page-hero .kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grad-a); margin-bottom: 16px; }
.page-hero.solo .hero-grid { grid-template-columns: 1fr; max-width: 820px; }
.hero-photo { position: relative; justify-self: end; max-width: 460px; width: 100%; }
.hero-photo img { width: 100%; border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.35); background: #fff; }
.hero-photo .chip { left: -14px; bottom: -16px; }

/* Order card shown in hero when there is no photo */
.order-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 30px; box-shadow: 0 30px 60px rgba(0,0,0,.3); max-width: 420px; width: 100%; justify-self: end; }
.order-card h2 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.order-card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.order-card .contact-line { font-size: 16px; margin-bottom: 12px; }
.order-card .contact-line .ico { color: var(--accent); }
.order-card .contact-line a { color: var(--ink); text-decoration: none; font-weight: 500; }
.order-card .contact-line a:hover { color: var(--accent); }
.order-card .btn { width: 100%; margin-top: 8px; }

/* Long-form text */
.prose { max-width: 780px; }
.prose.center-block { margin: 0 auto; }
.prose h2 { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; font-size: 22px; }
.prose p, .prose li { color: var(--text); font-size: 18px; line-height: 1.7; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }

/* Text + image split */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius-lg); width: 100%; }

/* Checklist pills */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.pill-list li { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--ink); }
.pill-list .ico { width: 18px; height: 18px; color: #1f8a5b; }

/* Document-type cards with lists */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.types.four { grid-template-columns: repeat(4, 1fr); }
.type { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.type img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; background: var(--paper); }
.type-body { padding: 22px 24px 24px; }
.type h3 { font-size: 20px; margin-bottom: 10px; }
.type p { font-size: 15px; color: var(--muted); margin: 0; }
.type ul { list-style: none; padding: 0; margin: 0; }
.type li { display: flex; gap: 8px; padding: 5px 0; font-size: 15px; color: var(--text); }
.type li .ico { width: 16px; height: 16px; color: #1f8a5b; margin-top: 4px; }

/* Document gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 10px; }
.gallery img { width: 100%; border-radius: 8px; aspect-ratio: 4 / 5; object-fit: contain; background: var(--paper); }
.gallery figcaption { font-size: 13px; color: var(--muted); padding: 10px 4px 2px; line-height: 1.4; }

/* Rates table */
.rates { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rate-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.rate-card h2 { font-size: 26px; font-weight: 600; margin-bottom: 18px; }
.rate-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.rate-row span { color: var(--text); }
.rate-row b { color: var(--ink); font-size: 18px; white-space: nowrap; }
.rate-row b small { font-size: 14px; font-weight: 500; color: var(--muted); }
.note { font-size: 15px; color: var(--muted); }

/* Wall of reviews */
.review-wall { columns: 2; column-gap: 20px; }
.review-wall .review { break-inside: avoid; margin-bottom: 20px; }
.review .stars { display: block; margin-bottom: 12px; }

/* Contact tiles */
.contact-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(22,24,29,.08); color: var(--text); }
.tile .ico { width: 30px; height: 30px; color: var(--accent); margin-bottom: 18px; }
.tile h3 { font-size: 19px; margin-bottom: 4px; }
.tile p { color: var(--muted); margin: 0 0 12px; font-size: 15px; }
.tile b { color: var(--ink); font-size: 17px; word-break: break-word; }

/* Callout */
.callout { display: flex; gap: 14px; align-items: flex-start; background: #eef3fd; border-radius: var(--radius-md); padding: 18px 20px; margin: 24px 0; }
.callout .ico { color: var(--accent); margin-top: 3px; }
.callout p { margin: 0; font-size: 16px; }

@media (max-width: 1080px) {
  .types, .types.four, .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .split, .rates { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo, .order-card { justify-self: start; }
  .contact-tiles { grid-template-columns: 1fr; }
  .review-wall { columns: 1; }
}
@media (max-width: 560px) {
  .types, .types.four { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .page-hero { padding-bottom: 40px; }
  .hero-photo { display: none; }
  .order-card { padding: 24px 20px; }
  .prose p, .prose li { font-size: 17px; }
  .rate-card { padding: 24px 20px; }
}
.features.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .features.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features.three { grid-template-columns: 1fr; } }
.features.light .feature { background: var(--paper); border-color: var(--line); }
.features.light .feature .ico { color: var(--accent); }
.features.light .feature h3 { color: var(--ink); }
.features.light .feature p { color: var(--muted); }
.side-note { flex-direction: column; background: var(--paper); padding: 30px; }
.side-note .ico { width: 30px; height: 30px; }
.side-note h3 { margin: 0; }
.foot-grid .brand { margin-bottom: 18px; }
.dark .order-card h2 { color: var(--ink); }
.dark .order-card p { color: var(--muted); }
.accepted { text-align: center; }
/* Compact icon instead of a photo on document-type cards */
.type-icon { width: 56px; height: 56px; margin: 26px 24px 0; border-radius: 16px; display: grid; place-items: center; color: var(--accent); background: linear-gradient(135deg, color-mix(in srgb, var(--grad-a) 28%, #fff), color-mix(in srgb, var(--grad-b) 28%, #fff)); }
.type-icon .ico { width: 28px; height: 28px; stroke-width: 1.7; }
.type-icon + .type-body { padding-top: 18px; }

/* =========================================================
   Order page
   ========================================================= */
.order-page { background: var(--paper); padding: 48px 0 96px; }
.order-page h1 { font-size: clamp(32px, 4.5vw, 46px); font-weight: 500; letter-spacing: -.04em; margin-bottom: 8px; }
.order-page .intro { color: var(--muted); margin-bottom: 32px; max-width: 640px; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.order-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 8px 32px; }
.step { padding: 28px 0; border-bottom: 1px solid var(--line); }
.step:last-of-type { border-bottom: 0; }
.step > h2 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; }
.step > h2 .num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0; flex: none; }
.step > .hint { color: var(--muted); font-size: 15px; margin: 0 0 18px; }

.field { margin-bottom: 16px; }
.field label, .label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.input, .textarea, .select {
  width: 100%; font: 16px/1.4 var(--font); color: var(--ink); background: #fff;
  border: 1px solid #d7d5cf; border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,107,196,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row.three { grid-template-columns: 2fr 1fr 1fr; }
.help { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* Radio "cards" */
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choices.one { grid-template-columns: 1fr; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .box { display: flex; align-items: flex-start; gap: 12px; border: 1px solid #d7d5cf; border-radius: 14px; padding: 14px 16px; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; height: 100%; }
.choice .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #b9b7b0; flex: none; margin-top: 2px; transition: border .15s; }
.choice b { display: block; color: var(--ink); font-size: 15px; }
.choice small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.choice .price-tag { margin-left: auto; font-weight: 600; color: var(--ink); font-size: 15px; white-space: nowrap; }
.choice:hover .box { border-color: #a9a7a0; }
.choice input:checked + .box { border-color: var(--accent); background: #f3f7fe; box-shadow: 0 0 0 1px var(--accent); }
.choice input:checked + .box .dot { border: 6px solid var(--accent); }
.choice input:focus-visible + .box { box-shadow: 0 0 0 3px rgba(47,107,196,.3); }

/* Dropzone */
.dropzone { position: relative; border: 2px dashed #cfcdc6; border-radius: 16px; background: #fbfaf8; padding: 34px 20px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: #f3f7fe; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .ico { width: 34px; height: 34px; color: var(--accent); margin: 0 auto 10px; display: block; }
.dropzone b { color: var(--ink); }
.dropzone p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.file-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.file-list li { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; background: #fff; }
.file-list .ico { width: 18px; height: 18px; color: var(--accent); }
.file-list .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.file-list .size { color: var(--muted); font-size: 13px; }
.file-list button { border: 0; background: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; padding: 0 4px; }
.file-list button:hover { color: #c0392b; }

.included { display: flex; align-items: center; gap: 10px; background: #eef7f1; color: #1c6b45; border-radius: 12px; padding: 12px 14px; font-size: 15px; font-weight: 500; margin-bottom: 14px; }
.included .ico { color: #1f8a5b; }
.address { margin-top: 16px; display: none; }
.address.show { display: block; }

.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.submit-row { padding: 28px 0 30px; }
.submit-row .btn { width: 100%; min-height: 54px; font-size: 17px; }
.submit-row .fine { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; margin-top: 14px; display: none; }
.progress.show { display: block; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s; }
.form-error { display: none; background: #fdecea; color: #a12a1f; border-radius: 12px; padding: 12px 14px; font-size: 15px; margin-top: 14px; }
.form-error.show { display: block; }
.is-invalid { border-color: #d0453a !important; }

/* Summary */
.summary { position: sticky; top: 100px; }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.summary-card h2 { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.sum-row span { color: var(--muted); }
.sum-row b { color: var(--ink); text-align: right; font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--ink); }
.sum-total b { font-size: 20px; color: var(--ink); }
.sum-note { display: flex; gap: 10px; background: var(--paper); border-radius: 12px; padding: 12px 14px; margin-top: 16px; font-size: 14px; color: var(--text); }
.sum-note .ico { color: var(--accent); flex: none; margin-top: 2px; }
.secure { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); padding: 18px 6px 0; }
.secure .ico { width: 18px; height: 18px; flex: none; color: var(--muted); }

@media (max-width: 960px) {
  .order-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 560px) {
  .order-page { padding-top: 32px; }
  .order-form { padding: 4px 18px; }
  .choices, .field-row, .field-row.three { grid-template-columns: 1fr; }
}
.grad-dark { background-image: linear-gradient(90deg, #3b82f6, #6366f1); }
@media (max-width: 560px) {
  #langChoices { grid-template-columns: 1fr 1fr; gap: 8px; }
  #langChoices .box { padding: 12px 10px; gap: 8px; }
  #langChoices b { font-size: 14px; }
}
.price-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; line-height: 1.45; }
.order-card .price-note, .dark .price-note { color: var(--muted); }
