@font-face {
  font-family: "Ubuntu";
  src: url("../fonts/ubuntu-300.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Parental consent translation page */
.consent-hero { background: radial-gradient(circle at 47% 28%, #fff 0, #f8fbff 44%, #f2f7fc 100%); }
.consent-hero-grid { grid-template-columns: minmax(0, .95fr) minmax(260px, .78fr) minmax(310px, .72fr); gap: 28px; align-items: center; }
.consent-copy h1 { max-width: 680px; font-size: clamp(38px, 3.1vw, 58px); line-height: 1.02; }
.consent-copy .lead { max-width: 680px; }
.consent-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.consent-facts .hero-fact { min-width: 0; }
.consent-facts .hero-fact strong { font-size: 15px; }
.consent-primary { margin-top: 24px; }
.consent-hero-visual { min-height: 600px; padding: 0; background: transparent; box-shadow: none; }
.consent-hero-visual::before { display: none; }
body.consent-page:not(.home-page):not(.apostille-page) .consent-hero-visual img { width: min(100%, 430px); height: auto; max-height: 620px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; border-radius: 24px; box-shadow: 0 24px 60px rgba(6, 27, 63, .16); transform: none; }
.consent-form { align-self: start; }
.consent-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.consent-fio-panel { margin: 10px 0; padding: 14px; border: 1px solid #cfe1f4; border-radius: 12px; background: #f5faff; }
.consent-fio-panel[hidden] { display: none; }
.consent-trust-strip { border-block: 1px solid #dce8f4; background: #fff; }
.consent-trust-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.consent-trust-grid > span { min-height: 98px; display: grid; grid-template-columns: 38px 1fr; align-content: center; gap: 2px 12px; padding: 16px; color: #536c88; font-size: 12px; border-right: 1px solid #e3ebf3; }
.consent-trust-grid > span:last-child { border-right: 0; }
.consent-trust-grid .icon { grid-row: 1 / 3; width: 34px; height: 34px; color: #0753b2; }
.consent-trust-grid b { color: #062b5c; font-size: 14px; }
.consent-three-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.consent-big-card { padding: 28px; border: 1px solid #d9e7f4; border-radius: 18px; background: #fff; box-shadow: 0 14px 34px rgba(11, 55, 111, .05); }
.consent-big-card--accent { background: linear-gradient(145deg, #fff 0, #fff8ef 100%); border-color: #f0d7b4; }
.consent-big-card > .icon { width: 44px; height: 44px; color: #0753b2; }
.consent-big-card h3 { margin: 16px 0 12px; color: #062b5c; font-size: 25px; }
.consent-big-card li { margin: 8px 0; color: #345474; }
.consent-time-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.consent-time-row strong { padding: 14px; border-radius: 12px; background: #edf6ff; color: #0753b2; font-size: 20px; }
.consent-time-row small { display: block; margin-top: 4px; color: #536c88; font-size: 11px; font-weight: 500; }
.consent-chain { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 20px; }
.consent-chain b { padding: 9px 11px; border-radius: 8px; background: #fff; color: #074696; font-size: 12px; }
.consent-chain span { color: #f36b21; font-weight: 900; }
.consent-seo-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: stretch; }
.consent-text-card, .consent-fio-card { padding: 30px; border: 1px solid #d9e7f4; border-radius: 18px; background: #fff; box-shadow: 0 14px 34px rgba(11, 55, 111, .05); }
.consent-text-card h2, .consent-fio-card h2 { color: #062b5c; }
.consent-fio-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; margin: 22px 0; }
.consent-fio-flow span { padding: 13px 8px; border: 1px solid #d8e6f3; border-radius: 10px; color: #144c83; font-size: 12px; font-weight: 700; text-align: center; }
.consent-fio-flow b { color: #f36b21; }
.consent-fio-result { display: block; margin-bottom: 18px; padding: 14px; border-radius: 10px; background: #062b5c; color: #fff; text-align: center; text-transform: uppercase; }
.consent-purpose-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.consent-purpose-grid article { padding: 22px 18px; border: 1px solid #dbe8f4; border-radius: 15px; background: #fff; }
.consent-purpose-grid .icon { width: 40px; height: 40px; color: #0753b2; }
.consent-purpose-grid h3 { color: #062b5c; }
.consent-result-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1.1fr; gap: 12px; align-items: center; }
.consent-result-flow > span { min-height: 130px; display: grid; place-items: center; gap: 8px; padding: 18px; border: 1px solid #d8e6f3; border-radius: 14px; background: #fff; text-align: center; }
.consent-result-flow > i { color: #f36b21; font-size: 28px; font-style: normal; font-weight: 900; }
.consent-result-flow .icon { width: 42px; height: 42px; color: #0753b2; }
.consent-result-flow .is-final { color: #fff; background: #062b5c; }
.consent-result-flow .is-final .icon { color: #f4aa32; }
.consent-process { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.consent-process .process-step { padding: 20px 13px; }
.consent-process .process-step h3 { font-size: 15px; }
.consent-process .process-step p { font-size: 12px; }
.consent-offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.consent-offer-grid article { padding: 22px; border: 1px solid #d8e6f3; border-radius: 15px; background: #fff; }
.consent-offer-grid strong { color: #f36b21; font-size: 23px; }
.consent-offer-grid h3 { margin: 9px 0; color: #062b5c; }
.consent-delivery { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; margin-top: 18px; padding: 24px; border-radius: 16px; background: linear-gradient(135deg, #eef7ff, #fff); }
.consent-delivery > div { display: grid; grid-template-columns: 54px 1fr; align-items: start; gap: 4px 15px; }
.consent-delivery .icon { grid-row: 1 / 3; width: 50px; height: 50px; color: #0753b2; }
.consent-delivery h3, .consent-delivery p { margin: 0; }
.consent-delivery ol { margin: 0; padding-left: 22px; color: #345474; }
.consent-delivery li { margin: 8px 0; }
.consent-related-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.consent-related-grid a { min-height: 170px; display: grid; align-content: start; gap: 12px; padding: 20px; border: 1px solid #d9e7f4; border-radius: 14px; color: #062b5c; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.consent-related-grid a:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(11,55,111,.1); }
.consent-related-grid .icon { width: 38px; height: 38px; color: #0753b2; }
.consent-related-grid span { color: #0753b2; font-size: 12px; font-weight: 700; }
.consent-bottom-cta { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(90px, auto)) auto; gap: 18px; }

@media (max-width: 1180px) {
  .consent-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); }
  .consent-form { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
  .consent-form h2, .consent-form > p, .consent-form .file-field, .consent-form .consent-form-row, .consent-form > .field, .consent-form > .check, .consent-form .consent-fio-panel, .consent-form > .btn, .consent-form .form-status { grid-column: 1 / -1; }
  .consent-process { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .consent-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .consent-bottom-cta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .consent-bottom-cta > div:first-child, .consent-bottom-cta .btn { grid-column: 1 / -1; }
}

@media (max-width: 840px) {
  .consent-hero-grid { display: flex; flex-direction: column; gap: 24px; }
  .consent-copy { display: contents; }
  .consent-copy .eyebrow { order: 1; align-self: stretch; }
  .consent-copy h1 { order: 2; margin-block: 0; font-size: 40px; }
  .consent-copy .lead { order: 3; }
  .consent-copy .consent-facts { order: 4; width: 100%; }
  .consent-copy .consent-primary { order: 5; width: 100%; text-align: center; }
  .consent-copy .included { order: 6; }
  .consent-hero-visual { order: 7; min-height: 0; width: 100%; }
  .consent-form { order: 8; width: 100%; display: block; }
  body.consent-page:not(.home-page):not(.apostille-page) .consent-hero-visual img { width: min(100%, 430px); max-height: none; }
  .consent-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consent-trust-grid > span { border-bottom: 1px solid #e3ebf3; }
  .consent-three-grid, .consent-seo-grid, .consent-purpose-grid, .consent-offer-grid, .consent-delivery { grid-template-columns: 1fr; }
  .consent-purpose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consent-result-flow { grid-template-columns: 1fr; }
  .consent-result-flow > i { transform: rotate(90deg); text-align: center; }
  .consent-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .consent-copy h1 { font-size: 34px; }
  .consent-copy .lead { font-size: 15px; }
  .consent-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consent-form-row, .consent-purpose-grid, .consent-related-grid { grid-template-columns: 1fr; }
  .consent-trust-grid { grid-template-columns: 1fr; }
  .consent-trust-grid > span { min-height: 78px; border-right: 0; }
  .consent-fio-flow { grid-template-columns: 1fr; }
  .consent-fio-flow b { transform: rotate(90deg); text-align: center; }
  .consent-process { grid-template-columns: 1fr; }
  .consent-process .process-step { min-height: 0; }
  .consent-bottom-cta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@font-face {
  font-family: "Ubuntu";
  src: url("../fonts/ubuntu-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ubuntu";
  src: url("../fonts/ubuntu-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #061b3f;
  --navy-2: #0d2b61;
  --blue: #104593;
  --orange: #ff8a22;
  --orange-2: #ffad43;
  --gold: #d9a640;
  --ink: #0a2452;
  --muted: #5b6a82;
  --line: #dde5f0;
  --surface: #f5f8fc;
  --success: #197044;
  --shadow: 0 18px 50px rgba(6, 27, 63, .11);
  --radius: 18px;
  --container: 1320px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 400 16px/1.55 "Ubuntu", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.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;
}

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

.site-header {
  position: relative;
  z-index: 20;
  color: #fff;
  background: var(--navy);
}

.header-main {
  min-height: 86px;
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.brand img {
  width: 178px;
  height: auto;
}

.header-main > .brand {
  width: max-content;
  display: grid;
  grid-template-columns: 48px auto;
  gap: 9px;
  align-items: center;
}

.header-main > .brand img { display: none; }
.header-main > .brand::before {
  content: "◎";
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--gold);
  border-radius: 8px;
  color: var(--gold);
  font: 400 34px/1 Georgia, serif;
}
.header-main > .brand::after {
  content: "GLOBE\A TRANSLATE";
  white-space: pre;
  color: var(--gold);
  font: 700 19px/.9 Georgia, serif;
  letter-spacing: .01em;
}

.header-contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 24px;
}

.header-contact {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.header-contact .icon { color: var(--orange-2); }
.header-contact strong { display: block; font-size: 15px; white-space: nowrap; }
.header-contact small { display: block; color: #aebbd0; font-size: 12px; }

.callback {
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--orange);
  border-radius: 8px;
  color: var(--orange-2);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
  transition: .2s ease;
}

.callback:hover,
.callback:focus-visible { color: var(--navy); background: var(--orange-2); }

.nav-wrap { border-top: 1px solid rgba(255,255,255,.13); }

.main-nav {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-list {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list > li:nth-child(-n+2) { display: flex; align-items: center; }

.mega-trigger {
  width: 28px;
  height: 32px;
  margin-left: -8px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--orange-2);
  background: transparent;
  cursor: pointer;
  transition: transform .2s ease;
}

.mega-trigger[aria-expanded="true"] { transform: rotate(180deg); }

.mega-menu {
  position: absolute;
  z-index: 30;
  top: 100%;
  left: 0;
  right: 0;
  padding: 18px 0 26px;
  color: var(--ink);
  background: #f5f7fb;
  box-shadow: 0 20px 42px rgba(6,27,63,.18);
}

.mega-card {
  padding: 30px;
  display: grid;
  grid-template-columns: 1.1fr .75fr;
  gap: 36px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(6,27,63,.09);
}

.mega-card h2 { margin: 0 0 5px; font-size: 25px; }
.mega-card h2 a { min-height: 0; padding: 0; color: var(--navy); font: inherit; text-transform: none; }
.mega-card .mega-subtitle { margin: 0 0 19px; color: var(--muted); font-size: 13px; }
.mega-section + .mega-section { padding-left: 34px; border-left: 1px solid var(--line); }
.mega-section h3 { margin: 0 0 10px; font-size: 15px; }
.mega-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 24px; }
.mega-links a { min-height: 38px; padding: 6px 0; display: flex; align-items: center; color: #243c61; font-size: 13px; font-weight: 500; text-transform: none; white-space: normal; }
.mega-links a:hover,
.mega-links a:focus-visible { color: var(--orange); }
.mega-all { margin-top: 18px; }
.apostille-mega-card { grid-template-columns: 1fr; max-width: 900px; }
.apostille-mega-links { grid-template-columns: repeat(3, minmax(0,1fr)); }

.nav-list a {
  min-height: 54px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a[aria-current="page"] { color: var(--orange-2); }

.nav-list .chevron { font-size: 10px; color: var(--orange-2); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  color: #fff;
  background: transparent;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 19px 0 13px;
  color: #718096;
  font-size: 13px;
}

.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs span + span::before,
.breadcrumbs a + span::before,
.breadcrumbs a + a::before { content: "›"; margin-right: 8px; color: #aab4c3; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 58% 12%, rgba(201, 214, 233, .55), transparent 36%),
    linear-gradient(115deg, #fff 0%, #fff 42%, #eef3f9 100%);
  border-bottom: 1px solid #eef2f7;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -100px -180px auto;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(16, 69, 147, .035);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .76fr) 360px;
  gap: 34px;
  align-items: center;
  padding-bottom: 38px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3 { margin-top: 0; color: var(--navy); }

h1 {
  margin-bottom: 20px;
  max-width: 700px;
  font: 700 clamp(38px, 4.4vw, 58px)/1.05 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}

.lead {
  max-width: 670px;
  margin: 0 0 28px;
  color: #334866;
  font-size: 17px;
  line-height: 1.65;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.hero-fact {
  min-width: 0;
  padding-right: 12px;
  border-right: 1px solid var(--line);
}

.hero-fact:last-child { border-right: 0; }
.hero-fact .icon { margin-bottom: 9px; color: var(--orange); }
.hero-fact strong { display: block; font-size: 18px; line-height: 1.15; }
.hero-fact small { color: var(--muted); font-size: 12px; line-height: 1.3; }

.btn {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  color: #092044;
  background: linear-gradient(90deg, var(--orange-2), var(--orange));
  box-shadow: 0 10px 25px rgba(255, 138, 34, .22);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover,
.btn:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(255, 138, 34, .3); }
.btn--outline { border: 1px solid var(--orange); background: #fff; box-shadow: none; }
.btn--small { min-height: 44px; padding-inline: 18px; }

.included {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0 0;
  color: #394f6e;
  font-size: 13px;
}

.included .icon { width: 20px; height: 20px; color: var(--blue); }

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 410px;
  border: 1px solid rgba(6, 27, 63, .08);
  border-radius: 18px;
  background: linear-gradient(155deg, #fff, #dfe8f3);
  box-shadow: var(--shadow);
  transform: rotate(-7deg) translate(-10px, 18px);
}

.hero-visual img {
  position: relative;
  z-index: 2;
  width: 360px;
  height: 360px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 28px 55px rgba(4, 24, 59, .24);
  transform: rotate(3deg);
}

.hero-visual-badge {
  position: absolute;
  z-index: 3;
  left: -4px;
  bottom: 58px;
  padding: 13px 17px;
  border-radius: 12px;
  color: #fff;
  background: rgba(6, 27, 63, .94);
  box-shadow: var(--shadow);
  font-size: 13px;
}

.hero-visual-badge strong { display: block; color: var(--orange-2); font-size: 18px; }

.hero-visual--document::before { display: none; }

.document-art {
  position: relative;
  z-index: 2;
  width: 310px;
  height: 390px;
  padding: 52px 28px 30px;
  border: 12px solid #eef1de;
  outline: 1px solid #a9b997;
  color: #3f4a3b;
  background:
    radial-gradient(circle at 50% 84%, rgba(66, 134, 176, .28) 0 35px, transparent 36px),
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(87, 111, 90, .18) 28px),
    linear-gradient(#fbfcf4, #f1f4e7);
  box-shadow: 0 26px 48px rgba(6,27,63,.22);
  transform: rotate(5deg);
}

.document-art::before,
.document-art::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(112, 135, 93, .52);
  pointer-events: none;
}

.document-art::after { inset: 18px; border-width: 1px; }
.document-title { display: block; margin-bottom: 40px; text-align: center; font: 700 17px/1.28 Georgia, serif; letter-spacing: .06em; }
.document-art i { display: block; width: 82%; height: 1px; margin: 21px auto; background: rgba(72,86,70,.4); }
.document-art b { position: absolute; left: 50%; bottom: 42px; width: 64px; height: 64px; border: 3px double rgba(31,103,161,.5); border-radius: 50%; transform: translateX(-50%); }
.document-art--birth { border-color: #ecf0d9; }
.document-art--marriage { border-color: #e8ead7; }
.document-art--divorce { border-color: #f2dcdc; background: repeating-linear-gradient(0deg, transparent 0 27px, rgba(146,91,91,.16) 28px), linear-gradient(#fffafa,#f8eded); }
.document-art--back { position: absolute; z-index: 1; transform: rotate(-7deg) translate(-34px,-7px); }
.document-art--divorce { transform: rotate(4deg) translate(32px,18px); }

.document-choice {
  grid-column: 1 / -1;
  margin: 0 0 13px;
  padding: 0;
  border: 0;
}

.document-choice legend { margin-bottom: 6px; font-size: 12px; font-weight: 700; }
.document-choice label { display: block; margin: 5px 0; color: #4d5f77; font-size: 12px; }
.document-choice input { margin: 0 7px 0 0; accent-color: var(--orange); }

.quote-card {
  align-self: start;
  margin-top: 8px;
  padding: 25px;
  border: 1px solid rgba(6, 27, 63, .07);
  border-radius: 16px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 18px 50px rgba(6, 27, 63, .13);
}

.quote-card h2 { margin-bottom: 7px; font-size: 22px; line-height: 1.2; }
.quote-card > p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }

.field { margin-bottom: 13px; }
.field label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; }
.required { color: #d54e26; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d7dfeb;
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.field textarea { min-height: 70px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(16,69,147,.1); }

.file-drop {
  min-height: 76px;
  padding: 12px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed #bdc9da;
  border-radius: 8px;
  color: #53647d;
  background: #f9fbfe;
  cursor: pointer;
}

.file-drop strong { color: var(--blue); font-size: 12px; }
.file-drop small { display: block; margin-top: 3px; font-size: 10px; }
.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

.check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
  margin: 12px 0;
  color: #4d5f77;
  font-size: 11px;
}

.check input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--blue); }
.check a { color: var(--blue); text-decoration: underline; }
.quote-card .btn { width: 100%; }
.form-status { min-height: 18px; margin: 10px 0 0; color: var(--success); font-size: 12px; }

.section { padding: 72px 0; }
.section--soft { background: var(--surface); }

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading h2 { margin-bottom: 10px; font: 700 clamp(29px, 3vw, 40px)/1.15 Georgia, "Times New Roman", serif; }
.section-heading p { margin: 0; color: var(--muted); }

.price-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 35px rgba(6,27,63,.06);
}

.price-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(4, minmax(0, .72fr));
  align-items: stretch;
}

.price-summary { padding-right: 32px; }
.price-summary h2 { margin-bottom: 14px; font-size: 24px; }
.price-value { margin-bottom: 8px; color: var(--navy); font-size: 31px; font-weight: 700; }
.price-value span { font-size: 16px; font-weight: 500; }
.price-summary p { margin: 0 0 20px; color: var(--muted); font-size: 13px; }

.deadline-row { display: flex; gap: 9px; }
.deadline {
  flex: 1;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfcfe;
  font-size: 11px;
}
.deadline strong { display: block; font-size: 14px; }

.price-item {
  padding: 4px 22px 0;
  border-left: 1px solid var(--line);
}

.price-item .icon { width: 34px; height: 34px; margin-bottom: 14px; color: var(--blue); }
.price-item h3 { margin-bottom: 8px; font-size: 15px; }
.price-item p { margin: 0; color: var(--muted); font-size: 12px; }

.price-total {
  margin-top: 24px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 9px;
  background: linear-gradient(90deg, #fff6eb, #fff);
}
.price-total strong { font-size: 18px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.feature-card,
.info-card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover,
.info-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(6,27,63,.08); }
.feature-card .icon,
.info-card .icon { width: 32px; height: 32px; margin-bottom: 16px; color: var(--orange); }
.feature-card h3,
.info-card h3 { margin-bottom: 9px; font-size: 16px; }
.feature-card p,
.info-card p { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.more { color: var(--blue); font-size: 12px; font-weight: 700; }

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 34px;
}

.process-step {
  position: relative;
  padding: 0 28px 0 0;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 44px;
  right: 8px;
  border-top: 1px dashed #8da2bf;
}

.step-num {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.process-step h3 { margin-bottom: 8px; font-size: 15px; }
.process-step p { margin: 0; color: var(--muted); font-size: 12px; }
.process-cta { margin-top: 30px; text-align: center; }

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card--accent { background: #fff8ef; border-color: #ffdfba; }
.info-card ul { margin: 0; padding-left: 19px; color: var(--muted); font-size: 13px; }
.info-card li + li { margin-top: 7px; }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.faq-item button {
  width: 100%;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.faq-item button::after { content: "+"; color: var(--blue); font-size: 21px; font-weight: 400; }
.faq-item button[aria-expanded="true"]::after { content: "−"; }
.faq-answer { display: none; padding: 0 18px 17px; color: var(--muted); font-size: 14px; }
.faq-answer p { margin: 0; }
.faq-item.is-open .faq-answer { display: block; }

.bottom-cta { padding: 0 0 74px; }
.bottom-cta-panel {
  padding: 28px 34px;
  display: grid;
  grid-template-columns: 1.2fr repeat(4, auto) auto;
  align-items: center;
  gap: 26px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(105deg, #061b3f, #09275a);
  box-shadow: var(--shadow);
}

.bottom-cta h2 { margin-bottom: 7px; color: #fff; font: 700 25px/1.15 Georgia, "Times New Roman", serif; }
.bottom-cta p { margin: 0; color: #c4cee0; font-size: 13px; }
.cta-fact {
  display: grid;
  grid-template-columns: 25px minmax(0, auto);
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  text-align: left;
  font-size: 11px;
  color: #cbd4e3;
}
.cta-fact .icon { grid-row: 1 / 3; width: 23px; height: 23px; }
.cta-fact b,
.cta-fact small { display: block; line-height: 1.2; }
.cta-fact b { color: #fff; font-size: 11px; }
.cta-fact small { font-size: 9px; }
.cta-fact strong { display: block; color: var(--orange-2); font-size: 18px; }
.bottom-cta-panel > div.cta-fact {
  min-width: 90px;
  display: block;
  text-align: center;
}
.bottom-cta-panel > div.cta-fact strong { white-space: nowrap; }

.site-footer {
  padding: 34px 0 24px;
  color: #bdc8da;
  background: #03142f;
}

.parent-hero {
  padding-bottom: 42px;
  background:
    radial-gradient(circle at 72% 24%, rgba(190,211,238,.3), transparent 28%),
    linear-gradient(120deg, #fff 0 52%, #f3f7fb 100%);
}

.parent-hero-grid {
  min-height: 410px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 38px;
  align-items: start;
  padding-top: 22px;
}

.parent-hero h1 {
  max-width: 780px;
  margin-bottom: 18px;
}

.parent-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.parent-art {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
}

.parent-art::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  box-shadow: 0 30px 70px rgba(6,27,63,.11);
}

.parent-art img {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.parent-art .document-art {
  position: absolute;
  z-index: 3;
  right: 10px;
  bottom: 8px;
  width: 175px;
  height: 220px;
  padding: 34px 15px 15px;
  border-width: 7px;
  transform: rotate(-7deg);
}

.parent-art .document-title { margin-bottom: 20px; font-size: 10px; }

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: -30px;
  position: relative;
  z-index: 3;
}

.metric-card {
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(6,27,63,.07);
}
.metric-card .icon { width: 31px; height: 31px; color: var(--orange); }
.metric-card strong { display: block; font-size: 17px; }
.metric-card small { display: block; color: var(--muted); font-size: 11px; }

.document-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.document-card {
  min-height: 205px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.document-card:hover { transform: translateY(-3px); border-color: #bdcbe0; box-shadow: 0 14px 34px rgba(6,27,63,.08); }
.document-card .icon { width: 36px; height: 36px; margin-bottom: 13px; color: var(--blue); }
.document-card h3 { margin-bottom: 7px; font-size: 16px; }
.document-card .price { color: var(--orange); font-weight: 700; }
.document-card p { margin: 5px 0 14px; color: var(--muted); font-size: 12px; }
.document-card .more { margin-top: auto; }

.helper-band {
  margin-top: 18px;
  padding: 22px 25px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(105deg, var(--navy), var(--navy-2));
}
.helper-band .icon { width: 42px; height: 42px; color: var(--orange-2); }
.helper-band h3 { margin: 0 0 4px; color: #fff; font-size: 20px; }
.helper-band p { margin: 0; color: #c5cee0; font-size: 13px; }

.explainer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.explainer-card { padding: 30px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.explainer-card h2 { margin-bottom: 14px; font: 700 27px/1.2 Georgia, serif; }
.explainer-card p { color: var(--muted); font-size: 14px; }
.mini-flow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 24px; }
.mini-flow span { flex: 1; padding: 12px 8px; border-radius: 9px; color: var(--ink); background: var(--surface); text-align: center; font-size: 11px; font-weight: 700; }
.mini-flow i { color: var(--orange); font-style: normal; }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.choice-card { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.choice-card.is-current { border-color: var(--orange); background: #fff8ef; }
.choice-card h3 { margin-bottom: 8px; }
.choice-card p { color: var(--muted); font-size: 13px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 34px;
}
.footer-grid h3 { margin-bottom: 12px; color: #fff; font-size: 14px; }
.footer-grid p,
.footer-grid a { display: block; margin: 6px 0; font-size: 12px; }
.footer-grid a:hover { color: var(--orange-2); }
.footer-brand img { width: 150px; height: auto; margin-bottom: 14px; }
.footer-bottom { margin-top: 28px; padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }

:focus-visible { outline: 3px solid rgba(255,138,34,.55); outline-offset: 3px; }

@media (max-width: 1180px) {
  .header-main { grid-template-columns: 190px 1fr auto; gap: 18px; }
  .header-contacts { grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 14px; }
  .header-contact:nth-child(3) { display: none; }
  .nav-list a { padding-inline: 7px; font-size: 10px; }
  .hero-grid { grid-template-columns: 1fr minmax(300px, .72fr); }
  .hero-copy { padding-block: 28px; }
  .quote-card { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; margin: 0 0 24px; }
  .quote-card h2, .quote-card > p, .quote-card .file-field, .quote-card .check, .quote-card .form-status { grid-column: 1 / -1; }
  .quote-card .btn { grid-column: 3; align-self: end; margin-bottom: 13px; }
  .price-grid { grid-template-columns: repeat(4, 1fr); }
  .price-summary { grid-column: 1 / -1; margin-bottom: 28px; padding: 0; }
  .price-item:first-of-type { border-left: 0; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .bottom-cta-panel { grid-template-columns: 1.4fr repeat(2, auto) auto; }
  .bottom-cta-panel .cta-fact:nth-of-type(n+3) { display: none; }
  .parent-hero-grid { gap: 30px; }
  .document-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 840px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-main { min-height: 88px; grid-template-columns: 1fr auto auto; }
  .brand img { width: 88px; }
  .header-contacts { display: none; }
  .callback { min-height: 40px; padding-inline: 12px; font-size: 11px; }
  .menu-toggle { display: block; }
  .nav-wrap { display: none; position: absolute; left: 0; right: 0; top: 88px; height: calc(100vh - 88px); overflow: auto; border-top: 0; background: var(--navy); }
  .site-header.is-open .nav-wrap { display: block; }
  .main-nav { align-items: stretch; }
  .nav-list { display: block; padding: 12px 0 24px; }
  .nav-list > li:nth-child(-n+2) { position: relative; display: block; }
  .nav-list a { min-height: 48px; padding-inline: 18px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 12px; }
  .mega-trigger { position: absolute; top: 8px; right: 9px; width: 40px; height: 40px; }
  .mega-menu { position: static; padding: 8px 10px 14px; box-shadow: none; background: #071936; }
  .mega-card { padding: 18px 16px; display: block; border-radius: 10px; box-shadow: none; }
  .apostille-mega-links { grid-template-columns: 1fr; }
  .mega-card h2 { font-size: 20px; }
  .mega-section + .mega-section { margin-top: 18px; padding: 18px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .mega-links { grid-template-columns: 1fr; }
  .mega-links a { min-height: 38px; padding-inline: 0; border-bottom: 1px solid #edf1f6; color: #243c61; font-size: 12px; }
  .mega-all .btn { width: 100%; color: var(--ink); border-bottom: 0; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 12px; }
  .hero-copy { padding: 10px 0 0; }
  .hero-visual { min-height: 390px; }
  .hero-visual::before { width: 270px; height: 330px; }
  .hero-visual img { width: 300px; height: 300px; }
  .hero-visual-badge { left: 8%; bottom: 28px; }
  .document-art { width: 265px; height: 330px; padding-top: 43px; }
  .document-art--back { transform: rotate(-7deg) translate(-24px,-4px); }
  .document-art--divorce { transform: rotate(4deg) translate(24px,14px); }
  .quote-card { display: block; margin-bottom: 28px; }
  .quote-card .btn { width: 100%; }
  .section { padding: 54px 0; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price-item { padding: 18px; border-top: 1px solid var(--line); border-left: 0; }
  .price-item:nth-child(odd) { border-left: 1px solid var(--line); }
  .price-total { align-items: flex-start; flex-direction: column; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; gap: 22px; }
  .process-step { min-height: 78px; padding-left: 58px; }
  .step-num { position: absolute; left: 0; top: 0; }
  .process-step:not(:last-child)::after { top: 38px; bottom: -18px; left: 18px; right: auto; height: auto; border-top: 0; border-left: 1px dashed #8da2bf; }
  .content-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .bottom-cta-panel { grid-template-columns: 1fr 1fr; }
  .bottom-cta-panel > div:first-child, .bottom-cta-panel .btn { grid-column: 1 / -1; }
  .bottom-cta-panel .btn { width: 100%; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .parent-hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 6px; padding-top: 28px; }
  .parent-art { min-height: 380px; }
  .metric-strip { grid-template-columns: repeat(2, 1fr); margin-top: -18px; }
  .document-grid { grid-template-columns: repeat(2, 1fr); }
  .explainer-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
}

/* Translator signature and certified document copies */
.notary-copy-hero .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(320px, .76fr) 360px; gap: 28px; }
.notary-copy-page h1 { font-size: clamp(38px, 4vw, 54px); }
.notary-copy-visual::before { display: none; }
body.notary-copy-page:not(.home-page):not(.apostille-page) .notary-copy-visual img {
  width: min(100%, 420px);
  height: auto;
  max-height: 690px;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 22px 48px rgba(4, 24, 59, .17);
  transform: none;
}
.notary-copy-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.notary-copy-choice-grid a {
  min-height: 210px;
  padding: 28px;
  border: 1px solid #dce7f3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(11, 55, 111, .05);
}
.notary-copy-choice-grid .icon { width: 44px; height: 44px; color: #0753b2; }
.notary-copy-choice-grid h3 { margin: 14px 0 8px; font-size: 21px; }
.notary-copy-choice-grid p { color: var(--muted); }
.notary-copy-choice-grid span { color: var(--blue); font-weight: 700; }
.notary-copy-text-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, .7fr);
  gap: 32px;
  align-items: center;
}
.notary-copy-text-grid h2,
.notary-copy-subtitle { font: 700 32px/1.2 Georgia, "Times New Roman", serif; }
.notary-copy-text-grid p { color: #334866; line-height: 1.65; }
.notary-copy-note {
  padding: 25px;
  border: 1px solid #dce7f3;
  border-radius: 15px;
  background: #fff;
}
.notary-copy-note .icon { width: 42px; height: 42px; margin-bottom: 12px; color: var(--orange); }
.notary-copy-note strong { display: block; color: var(--navy); font-size: 18px; }
.notary-copy-note p { margin-bottom: 0; }
.notary-copy-subtitle { margin: 34px 0 18px; font-size: 27px; }
.notary-document-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.notary-document-grid article {
  min-height: 112px;
  padding: 18px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid #dce7f3;
  border-radius: 13px;
  background: #fff;
}
.notary-document-grid .icon { width: 34px; height: 34px; color: #0753b2; }
.notary-copy-disclaimer {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 12px;
  color: #314c70;
  background: #eef6ff;
}
.notary-copy-seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.notary-copy-seo-grid article {
  padding: 24px;
  border: 1px solid #dce7f3;
  border-radius: 15px;
  background: #fff;
}
.notary-copy-seo-grid .icon { width: 40px; height: 40px; color: #0753b2; }
.notary-copy-seo-grid h3 { margin: 14px 0 9px; font-size: 19px; }
.notary-copy-seo-grid p { color: var(--muted); line-height: 1.6; }
.notary-copy-seo-grid strong { color: #f36b21; }
.notary-copy-price-wrap {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: center;
}
.notary-copy-price-wrap h2 { font: 700 34px/1.18 Georgia, "Times New Roman", serif; }
.notary-copy-price { display: block; color: #f36b21; font-size: 38px; }
.notary-copy-price small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.notary-copy-table {
  overflow: hidden;
  border: 1px solid #dce7f3;
  border-radius: 14px;
  background: #fff;
}
.notary-copy-table > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 13px 18px;
  border-bottom: 1px solid #e4ebf3;
}
.notary-copy-table > div:first-child { color: #fff; background: #0a376f; }
.notary-copy-table > div:last-child { border-bottom: 0; }
.notary-copy-table strong { color: #f36b21; white-space: nowrap; }
.notary-copy-delivery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.notary-copy-delivery-grid article { padding: 26px; border: 1px solid #dce7f3; border-radius: 15px; background: #fff; }
.notary-copy-delivery-grid .icon { width: 42px; height: 42px; color: var(--orange); }
.notary-copy-delivery-grid h3 { margin: 12px 0 7px; }
.notary-copy-delivery-grid p { margin-bottom: 0; color: var(--muted); }
.notary-copy-service-line {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #dce7f3;
  border-radius: 12px;
  background: #fff;
}
.notary-copy-service-line span { padding: 15px 12px; border-right: 1px solid #dce7f3; text-align: center; color: #0a376f; font-size: 13px; font-weight: 700; }
.notary-copy-service-line span:last-child { border-right: 0; }
.notary-copy-parent-link { padding-top: 0; }
.notary-copy-bottom { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(92px, auto)) auto; gap: 18px; }
.notary-copy-bottom .cta-fact { min-width: 92px; display: block; text-align: center; }
.notary-copy-bottom .cta-fact strong { white-space: nowrap; }
.notary-copy-backlinks { padding: 12px 0 32px; display: flex; justify-content: space-between; gap: 20px; color: var(--blue); font-weight: 700; }

@media (max-width: 1180px) and (min-width: 841px) {
  .notary-copy-hero .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(210px, .7fr) 250px; gap: 12px; }
  .notary-copy-page h1 { font-size: 37px !important; }
  body.notary-copy-page:not(.home-page):not(.apostille-page) .notary-copy-visual img { width: min(100%, 250px); height: auto; }
  .notary-copy-bottom { grid-template-columns: 1.4fr repeat(2, auto) auto; }
  .notary-copy-bottom .cta-fact:nth-of-type(n+3) { display: none; }
}

@media (max-width: 840px) {
  .notary-copy-hero .hero-grid,
  .notary-copy-choice-grid,
  .notary-copy-text-grid,
  .notary-copy-seo-grid,
  .notary-copy-price-wrap,
  .notary-copy-delivery-grid { grid-template-columns: 1fr; }
  .notary-copy-page h1 { font-size: 36px; }
  body.notary-copy-page:not(.home-page):not(.apostille-page) .notary-copy-visual img { width: min(100%, 390px); height: auto; object-fit: contain; }
  .notary-document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notary-copy-service-line { grid-template-columns: 1fr; }
  .notary-copy-service-line span { border-right: 0; border-bottom: 1px solid #dce7f3; text-align: left; }
  .notary-copy-service-line span:last-child { border-bottom: 0; }
  .notary-copy-parent-link .helper-band { grid-template-columns: auto 1fr; }
  .notary-copy-parent-link .helper-band .btn { grid-column: 1 / -1; width: 100%; }
  .notary-copy-bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notary-copy-bottom > div:first-child,
  .notary-copy-bottom .btn { grid-column: 1 / -1; }
  .notary-copy-backlinks { flex-direction: column; }
}

@media (max-width: 560px) {
  .notary-copy-page h1 { font-size: 33px; }
  .notary-copy-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notary-copy-choice-grid a,
  .notary-copy-seo-grid article { padding: 20px; }
  .notary-document-grid { grid-template-columns: 1fr; }
  .notary-document-grid article { min-height: 82px; }
  .notary-copy-text-grid h2,
  .notary-copy-price-wrap h2 { font-size: 28px; }
  .notary-copy-table > div { padding-inline: 12px; font-size: 13px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { width: min(calc(100% - 22px), var(--container)); }
  .header-main { grid-template-columns: 1fr auto; }
  .callback { display: none; }
  .breadcrumbs { padding-block: 13px 9px; font-size: 11px; }
  h1 { margin-bottom: 16px; font-size: 36px; }
  .lead { margin-bottom: 21px; font-size: 15px; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
  .hero-fact:nth-child(2) { border-right: 0; }
  .hero-copy > .btn { width: 100%; padding-inline: 12px; }
  .included { align-items: flex-start; }
  .hero-visual { min-height: 330px; }
  .hero-visual::before { width: 220px; height: 270px; }
  .hero-visual img { width: 250px; height: 250px; }
  .hero-visual-badge { left: 4px; bottom: 15px; }
  .document-art { width: 225px; height: 285px; padding: 38px 18px 20px; border-width: 9px; }
  .document-title { margin-bottom: 28px; font-size: 13px; }
  .document-art--back { transform: rotate(-7deg) translate(-18px,-2px); }
  .document-art--divorce { transform: rotate(4deg) translate(18px,12px); }
  .quote-card { padding: 20px 16px; }
  .section { padding: 44px 0; }
  .section-heading { margin-bottom: 22px; }
  .section-heading h2 { font-size: 29px; }
  .price-panel { padding: 20px 14px; }
  .price-value { font-size: 27px; }
  .deadline-row { flex-direction: column; }
  .price-item { padding: 16px 10px; }
  .price-item p { font-size: 11px; }
  .price-total .btn { width: 100%; padding-inline: 10px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 20px; }
  .bottom-cta-panel { padding: 24px 18px; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .parent-hero { padding-bottom: 40px; }
  .parent-actions { display: grid; }
  .parent-actions .btn { width: 100%; }
  .parent-art { min-height: 310px; }
  .parent-art::before { width: 280px; height: 240px; }
  .parent-art img { width: min(100%, 340px); height: auto; }
  .parent-art .document-art { right: 0; width: 130px; height: 170px; }
  .metric-card { padding: 15px 11px; gap: 9px; }
  .metric-card strong { font-size: 14px; }
  .document-grid { grid-template-columns: 1fr; }
  .document-card { min-height: auto; }
  .helper-band { grid-template-columns: 1fr; padding: 22px 18px; }
  .helper-band .btn { width: 100%; }
  .mini-flow { align-items: stretch; flex-direction: column; }
  .mini-flow i { align-self: center; transform: rotate(90deg); }
}

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

/* Homepage */
.home-page { background: #f7f9fc; }

.home-page .site-header { color: var(--navy); background: #fff; box-shadow: 0 4px 18px rgba(6,27,63,.06); }
.home-header-row { min-height: 78px; display: flex; align-items: center; gap: 18px; }
.home-brand { flex: none; display: grid; grid-template-columns: 35px auto auto; align-items: center; gap: 7px; color: #0a4295; }
.home-brand-globe { width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 50%; font-size: 27px; line-height: 1; }
.home-brand > span:nth-child(2) { padding-right: 11px; display: grid; line-height: .92; border-right: 1px solid #d8e2ef; }
.home-brand strong { font-size: 22px; letter-spacing: -.04em; }
.home-brand b { font-size: 13px; letter-spacing: .01em; }
.home-brand small { color: #6e7e96; font-size: 8px; line-height: 1.35; }
.home-page .nav-wrap { flex: 1; min-width: 0; border-top: 0; }
.home-page .main-nav { min-height: 78px; }
.home-page .nav-list { align-items: center; }
.home-page .nav-list a { min-height: 78px; padding-inline: 7px; color: #15365f; font-size: 9px; letter-spacing: -.01em; text-align: center; white-space: normal; }
.home-page .nav-list a:hover,
.home-page .nav-list a:focus-visible { color: var(--blue); }
.home-page .mega-trigger { color: var(--blue); }
.home-price-button { flex: none; min-height: 48px; padding: 0 15px; display: flex; align-items: center; gap: 10px; border-radius: 9px; color: #fff; background: linear-gradient(135deg,#0f4b9f,#063779); box-shadow: 0 8px 16px rgba(6,55,121,.18); font-size: 10px; font-weight: 800; line-height: 1.18; }
.home-price-button span { font-size: 18px; font-weight: 400; }

.home-trust { color: var(--navy); background: #fff; border-bottom: 1px solid var(--line); }
.home-trust-grid { min-height: 72px; display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; }
.home-trust-grid > span { min-height: 44px; padding: 0 22px; display: grid; grid-template-columns: 32px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 11px; border-right: 1px solid var(--line); }
.home-trust-grid > span:last-child { border-right: 0; }
.home-trust-grid .icon { grid-row: 1 / 3; width: 28px; height: 28px; color: var(--blue); }
.home-trust-grid b { font-size: 13px; line-height: 1.1; }
.home-trust-grid small { margin-top: 3px; color: var(--muted); font-size: 11px; }

.home-hero { padding-top: 10px; color: #fff; background: #fff; }
.home-hero-inner { min-height: 470px; padding: 54px 58px 30px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 18px; overflow: hidden; background-image: linear-gradient(90deg, rgba(4,24,54,.84) 0%, rgba(4,24,54,.48) 37%, rgba(4,24,54,.03) 68%, rgba(4,24,54,.08) 100%), url('/assets/images/home-hero-v2.png'); background-size: cover; background-position: center; box-shadow: 0 20px 50px rgba(6,27,63,.16); }
.home-hero-copy { max-width: 650px; }
.home-overline { display: flex; align-items: center; gap: 9px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.home-overline::before { content: ''; width: 24px; height: 2px; background: currentColor; }
.home-hero h1 { margin: 20px 0 18px; color: #fff4d9; font-size: clamp(50px, 4.6vw, 72px); line-height: .9; letter-spacing: -.035em; text-shadow: 0 3px 18px rgba(0,0,0,.2); }
.home-hero-copy p { max-width: 650px; margin: 0; color: #eef3fa; font-size: 18px; line-height: 1.55; }
.home-hero-copy .home-language-line { min-height: 4.65em; }
.language-scramble {
  display: block;
  overflow-wrap: anywhere;
  unicode-bidi: plaintext;
  font-variant-ligatures: none;
  transition: opacity .18s ease;
}
.language-scramble[lang="ar"] {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  text-align: right;
}
.language-scramble[lang="zh"] {
  font-family: "Microsoft YaHei", "SimSun", "Segoe UI", sans-serif;
  letter-spacing: .025em;
}
.language-scramble.is-scrambling { text-shadow: 0 0 8px rgba(255,255,255,.16); }
.home-hero-facts { max-width: 760px; display: grid; grid-template-columns: repeat(4, auto); gap: 18px; }
.home-hero-facts span { min-height: 42px; display: flex; align-items: center; gap: 9px; color: #fff; font-size: 12px; }
.home-hero-facts .icon { width: 27px; height: 27px; color: #d8e6ff; }

.quick-services { margin-top: 16px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.quick-services > a { min-width: 0; display: grid; grid-template-columns: 1fr 20px; grid-template-rows: 82px auto; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; color: var(--blue); background: #fff; box-shadow: 0 8px 20px rgba(6,27,63,.05); transition: transform .2s ease, box-shadow .2s ease; }
.quick-services > a:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(6,27,63,.12); }
.quick-media { grid-column: 1 / -1; display: block; background-size: cover; background-position: center; }
.quick-media--notary { background-image: linear-gradient(rgba(5,29,66,.08),rgba(5,29,66,.2)), url('/assets/images/home-notary.jpg'); }
.quick-media--apostille { background-image: linear-gradient(rgba(5,29,66,.08),rgba(5,29,66,.2)), url('/assets/images/passport-hero.jpg'); }
.quick-media--legal { background-image: linear-gradient(rgba(5,29,66,.08),rgba(5,29,66,.25)), url('/assets/images/home-conference.jpg'); }
.quick-media--written { background-image: linear-gradient(rgba(5,29,66,.04),rgba(5,29,66,.2)), url('/assets/images/home-remote.jpg'); }
.quick-media--oral { background-image: linear-gradient(rgba(5,29,66,.06),rgba(5,29,66,.2)), url('/assets/images/home-oral.jpg'); }
.quick-media--countries { background: radial-gradient(circle at 70% 30%, #9ec8ec 0 5%, transparent 6%), radial-gradient(circle at 26% 72%, #80b2dd 0 4%, transparent 5%), linear-gradient(135deg,#dbeefa,#7db5de); }
.quick-services b { padding: 11px 3px 12px 12px; align-self: center; font-size: 13px; line-height: 1.2; }
.quick-services i { padding-right: 10px; align-self: center; font-style: normal; font-weight: 800; }

.home-task-section { padding-top: 70px; }
.home-task-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; text-align: left; }
.home-task-heading h2 { font-size: clamp(38px, 4vw, 57px); }
.home-task-heading p { margin-bottom: 0; }
.home-task-heading .btn { flex: none; margin-bottom: 4px; }
.task-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.task-card { position: relative; min-height: 405px; padding: 26px 20px 20px; display: flex; flex-direction: column; border: 1px solid #dce5f0; border-radius: 14px; background: linear-gradient(180deg,#fff,#f5f8fd); }
.task-card .icon { width: 38px; height: 38px; margin-bottom: 15px; }
.task-card h3 { min-height: 64px; margin-bottom: 12px; font-size: 15px; line-height: 1.35; }
.task-card p { margin: 0 0 15px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.task-card ul { margin: 0 0 18px; padding: 0; list-style: none; color: #405674; font-size: 12px; }
.task-card li { margin: 7px 0; padding-left: 16px; position: relative; }
.task-card li::before { content: '•'; position: absolute; left: 0; color: currentColor; }
.task-card a { margin-top: auto; font-size: 12px; font-weight: 800; }
.task-num { position: absolute; top: 17px; right: 17px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #fff; background: var(--task-color,#1256be); font-size: 11px; font-weight: 800; }
.task-card--blue { --task-color: #1256be; color: #1256be; background: linear-gradient(180deg,#fff,#f0f5ff); }
.task-card--green { --task-color: #168253; color: #168253; background: linear-gradient(180deg,#fff,#eef9f3); }
.task-card--orange { --task-color: #e2751d; color: #e2751d; background: linear-gradient(180deg,#fff,#fff6ed); }
.task-card--violet { --task-color: #6449d5; color: #6449d5; background: linear-gradient(180deg,#fff,#f5f2ff); }
.task-card--cyan { --task-color: #1779bd; color: #1779bd; background: linear-gradient(180deg,#fff,#eef8fd); }
.task-card h3 { color: currentColor; }

.expert-section { background: linear-gradient(180deg,#fbfcfe,#f2f7fc); }
.expert-layout { display: grid; grid-template-columns: 310px 1fr; gap: 28px; align-items: stretch; }
.expert-intro { padding: 28px 10px 12px 0; }
.expert-intro h2 { margin-bottom: 13px; font-size: 42px; }
.expert-intro h2 em { color: #a97b2e; font-style: normal; }
.expert-intro p { margin-bottom: 22px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.expert-notes { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 14px; color: #64748b; font-size: 10px; }
.expert-notes span::before { content: '✓'; margin-right: 5px; color: var(--blue); }
.reels-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.reel-card { position: relative; min-height: 330px; overflow: hidden; border-radius: 15px; color: #fff; background: var(--navy); box-shadow: 0 12px 28px rgba(6,27,63,.14); }
.reel-card::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent,rgba(2,14,34,.93)); }
.reel-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.reel-card:hover img { transform: scale(1.035); }
.reel-card b { position: absolute; z-index: 2; left: 16px; right: 14px; bottom: 17px; font-size: 13px; line-height: 1.35; }
.play { position: absolute; z-index: 3; left: 16px; top: 16px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(4,24,54,.62); }

.home-benefits { padding: 30px 0; background: #fff; border-top: 1px solid var(--line); }
.home-benefit-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.home-benefit-grid > span { min-height: 58px; padding: 2px 18px; display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 10px; border-right: 1px solid var(--line); }
.home-benefit-grid > span:last-child { border-right: 0; }
.home-benefit-grid .icon { grid-row: 1 / 3; width: 32px; height: 32px; color: var(--blue); }
.home-benefit-grid b { font-size: 12px; }
.home-benefit-grid small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.3; }

@media (max-width: 1100px) {
  .home-trust-grid > span { padding-inline: 12px; }
  .quick-services { grid-template-columns: repeat(3, 1fr); }
  .task-grid { grid-template-columns: repeat(3, 1fr); }
  .task-card { min-height: 370px; }
  .reels-grid { grid-template-columns: repeat(2, 1fr); }
  .reel-card { min-height: 300px; }
  .home-benefit-grid { grid-template-columns: repeat(3, 1fr); gap: 22px 0; }
}

@media (max-width: 840px) {
  .home-header-row { min-height: 74px; justify-content: space-between; }
  .home-brand { grid-template-columns: 33px auto; }
  .home-brand > span:nth-child(2) { padding-right: 0; border-right: 0; }
  .home-brand strong { font-size: 19px; }
  .home-brand b { font-size: 11px; }
  .home-brand small, .home-price-button { display: none; }
  .home-page .menu-toggle { color: var(--navy); border-color: #cbd8e8; }
  .home-page .nav-wrap { top: 74px; height: calc(100vh - 74px); background: var(--navy); }
  .home-page .main-nav { min-height: 0; }
  .home-page .nav-list a { min-height: 48px; padding-inline: 18px; color: #fff; font-size: 12px; text-align: left; }
  .home-trust { display: none; }
  .home-hero { padding-top: 8px; }
  .home-hero-inner { min-height: 560px; padding: 48px 28px 28px; border-radius: 14px; background-position: 58% center; }
  .home-hero h1 { font-size: 54px; }
  .home-hero-copy p { max-width: 520px; font-size: 16px; }
  .home-hero-facts { grid-template-columns: repeat(2, 1fr); }
  .quick-services { grid-template-columns: repeat(2, 1fr); }
  .home-task-heading { align-items: stretch; flex-direction: column; text-align: left; }
  .home-task-heading .btn { align-self: flex-start; }
  .task-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-layout { grid-template-columns: 1fr; }
  .expert-intro { padding-right: 0; }
  .home-benefit-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .home-hero-inner { min-height: 500px; padding: 34px 20px 24px; background-image: linear-gradient(90deg,rgba(4,24,54,.9),rgba(4,24,54,.38)),url('/assets/images/home-hero-v2.png'); background-position: 57% center; }
  .home-overline { font-size: 9px; letter-spacing: .12em; }
  .home-hero h1 { margin-top: 17px; font-size: 44px; }
  .home-hero-copy p { font-size: 14px; }
  .home-hero-facts { gap: 10px; }
  .home-hero-facts span { font-size: 11px; }
  .quick-services { margin-top: 10px; gap: 8px; }
  .quick-services > a { grid-template-rows: 68px auto; }
  .quick-services b { font-size: 11px; }
  .home-task-section { padding-top: 48px; }
  .home-task-heading h2 { font-size: 32px; }
  .home-task-heading .btn { width: 100%; }
  .task-grid { grid-template-columns: 1fr; }
  .task-card { min-height: auto; }
  .task-card h3 { min-height: 0; }
  .reels-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .reel-card { min-height: 245px; }
  .reel-card b { left: 11px; bottom: 12px; font-size: 11px; }
  .play { left: 11px; top: 11px; width: 36px; height: 36px; }
  .home-benefit-grid { grid-template-columns: 1fr; gap: 0; }
  .home-benefit-grid > span { padding-block: 14px; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* Apostille parent page */
.callback--filled {
  color: #092044;
  border-color: var(--orange);
  background: linear-gradient(90deg, var(--orange-2), var(--orange));
  box-shadow: 0 8px 22px rgba(255, 138, 34, .22);
}

.apostille-page { --container: 1600px; background: #fff; }

.apostille-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 63% 22%, rgba(189, 215, 242, .48), transparent 29%),
    linear-gradient(115deg, #fff 0 46%, #eef5fc 72%, #fff 100%);
  border-bottom: 1px solid #e9eff7;
}

.apostille-hero::after {
  content: "";
  position: absolute;
  inset: 24px auto auto 47%;
  width: 430px;
  height: 240px;
  opacity: .28;
  background:
    radial-gradient(ellipse at 17% 40%, #9fc7ea 0 2%, transparent 2.4%),
    radial-gradient(ellipse at 45% 30%, #9fc7ea 0 2.5%, transparent 3%),
    radial-gradient(ellipse at 72% 52%, #9fc7ea 0 2%, transparent 2.5%);
  pointer-events: none;
}

.apostille-hero-grid {
  position: relative;
  z-index: 1;
  min-height: 660px;
  padding-bottom: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .95fr) 350px;
  gap: 24px;
  align-items: center;
}

.apostille-copy { align-self: start; padding: 18px 0; }
.apostille-copy h1 { max-width: 760px; margin-bottom: 16px; font-family: "Ubuntu", Arial, sans-serif; font-size: clamp(38px, 3.3vw, 54px); line-height: 1.03; }
.apostille-copy .lead { margin-bottom: 17px; font-size: 16px; line-height: 1.48; }

.legal-note {
  max-width: 720px;
  margin: 0 0 21px;
  padding: 13px 15px;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid #c9e0f6;
  border-radius: 10px;
  color: #1e4d87;
  background: #eaf5ff;
  font-size: 13px;
  line-height: 1.42;
}

.legal-note .icon { width: 27px; height: 27px; color: #1a68be; }
.apostille-facts { max-width: 670px; margin-bottom: 22px; }
.apostille-facts .hero-fact strong { font-size: 16px; }
.apostille-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn--blue-outline {
  color: var(--blue);
  border: 1px solid var(--blue);
  background: rgba(255,255,255,.9);
  box-shadow: none;
}

.btn--blue-outline:hover,
.btn--blue-outline:focus-visible { color: #fff; background: var(--blue); box-shadow: 0 12px 24px rgba(16,69,147,.2); }

.apostille-visual {
  position: relative;
  min-height: 540px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apostille-visual::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: rgba(178, 207, 236, .28);
  filter: blur(1px);
}

.apostille-visual img {
  position: relative;
  z-index: 2;
  width: 420px;
  height: 500px;
  max-width: none;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 26px 58px rgba(6,27,63,.2);
  transform: rotate(-1.5deg);
}

.apostille-form-wrap { align-self: stretch; display: flex; align-items: center; }
.apostille-form { width: 100%; margin-top: 0; }
.apostille-form .document-choice { margin-bottom: 16px; }
.apostille-form .btn { width: 100%; }
.apostille-form .field { margin-bottom: 9px; }
.apostille-form .field input,
.apostille-form .field select { min-height: 40px; padding-block: 8px; }
.apostille-form .field textarea { min-height: 54px; }
.apostille-form .file-drop { min-height: 82px; }
.apostille-form .check { margin-block: 8px; }
.form-disclaimer { margin: 10px 0 0 !important; color: #718096 !important; font-size: 10px !important; line-height: 1.3; text-align: center; }

.apostille-categories { padding-top: 66px; }
.apostille-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.apostille-category-card {
  position: relative;
  min-height: 510px;
  padding: 25px 24px 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid #cdddf0;
  border-radius: 14px;
  background: linear-gradient(180deg,#fff,#f8fbff);
  box-shadow: 0 12px 30px rgba(6,27,63,.05);
}

.category-head { min-height: 76px; display: grid; grid-template-columns: 48px 1fr; gap: 13px; align-items: start; }
.category-head .icon { width: 43px; height: 43px; color: #0f55bd; }
.category-head h3 { margin: 2px 0 0; font-size: 19px; line-height: 1.25; }
.category-label { align-self: flex-start; margin: 3px 0 -1px; padding: 4px 8px; border-radius: 5px 5px 0 0; color: #bd3e17; background: #fff1e7; font-size: 11px; font-weight: 700; }
.category-label--blue { color: #0f55bd; background: #e9f2ff; }
.category-label--navy { color: #fff; background: var(--blue); }
.category-feature { margin-bottom: 15px; padding: 13px 14px; display: grid; gap: 2px; border: 1px solid #ffbd7a; border-radius: 9px; background: #fffaf5; }
.category-feature b { font-size: 15px; }
.category-feature strong { color: var(--orange); font-size: 14px; }
.category-feature span { margin-top: 6px; color: var(--blue); font-size: 11px; font-weight: 700; }
.check-list { margin: 0 0 20px; padding: 0; list-style: none; color: #344b6d; font-size: 13px; }
.check-list li { margin: 7px 0; padding-left: 21px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; width: 15px; height: 15px; display: grid; place-items: center; border: 1px solid #1972d2; border-radius: 50%; color: #1972d2; font-size: 9px; font-weight: 800; }
.apostille-category-card > .more { margin-top: auto; font-size: 12px; }

.service-banner {
  margin-top: 14px;
  padding: 13px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid #bbd5ee;
  border-radius: 10px;
  background: linear-gradient(90deg,#e9f5ff,#fff9f2);
}

.service-banner-icons { display: flex; align-items: center; gap: 9px; color: var(--blue); }
.service-banner-icons .icon { width: 31px; height: 31px; }
.service-banner-icons b { color: var(--orange); }
.service-banner p { margin: 0; color: #2e4666; font-size: 13px; }

.helper-bands { display: grid; gap: 9px; margin-bottom: 14px; }
.helper-strip {
  min-height: 70px;
  padding: 12px 18px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 15px;
  align-items: center;
  border: 1px solid #bcd8f2;
  border-radius: 10px;
  background: linear-gradient(90deg,#eaf6ff,#fff);
}

.helper-strip > .icon { width: 38px; height: 38px; color: #0d5dc4; }
.helper-strip p { margin: 0; }
.helper-strip strong, .helper-strip span { display: block; }
.helper-strip strong { margin-bottom: 2px; font-size: 15px; }
.helper-strip span { color: var(--muted); font-size: 12px; }

.apostille-plan-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; }
.apostille-plan { padding: 24px; border: 1px solid #d3dfed; border-radius: 13px; background: #fff; }
.apostille-plan h2 { margin-bottom: 20px; font-size: 24px; }
.apostille-plan--accent { background: linear-gradient(135deg,#fff,#fff7ed); }
.plan-flow { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.plan-flow span { min-width: 0; flex: 1; display: grid; justify-items: center; gap: 7px; color: #213d66; font-size: 10px; line-height: 1.25; text-align: center; }
.plan-flow .icon { width: 34px; height: 34px; color: #115cc6; }
.plan-flow i { color: #8aa0bc; font-style: normal; }
.plan-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-sum span { flex: 1; display: grid; justify-items: center; gap: 6px; color: #213d66; font-size: 11px; text-align: center; }
.plan-sum .icon { width: 38px; height: 38px; color: #155fc5; }
.plan-sum b { color: var(--orange); font-size: 24px; }
.apostille-plan--accent p { margin: 20px 0 0; color: var(--muted); font-size: 12px; }

.authority-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.authority-grid article { padding: 20px; display: grid; grid-template-columns: 42px 1fr; column-gap: 12px; border: 1px solid #d4e0ee; border-radius: 12px; background: #fff; }
.authority-grid .icon { grid-row: 1 / 3; width: 38px; height: 38px; color: #145bbd; }
.authority-grid h3 { margin: 2px 0 5px; font-size: 15px; }
.authority-grid p { margin: 0; color: var(--muted); font-size: 11px; }
.apostille-info-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.apostille-info-grid .info-card { min-height: 270px; }

.choice-grid article { min-height: 145px; padding: 22px; display: grid; grid-template-columns: 45px 1fr; gap: 14px; border: 1px solid #d6e2ef; border-radius: 12px; background: #fff; }
.choice-grid article > .icon { width: 42px; height: 42px; color: #135bbf; }
.choice-grid h3 { margin-bottom: 8px; font-size: 17px; }
.choice-grid p { margin: 0 0 9px; color: var(--muted); font-size: 12px; }
.choice-grid .more { font-size: 11px; }
.advantage-strip { margin-top: 16px; display: grid; grid-template-columns: repeat(6,1fr); border: 1px solid #d3e0ef; border-radius: 12px; overflow: hidden; background: #fff; }
.advantage-strip span { min-height: 83px; padding: 12px; display: grid; justify-items: center; align-content: center; gap: 7px; border-right: 1px solid #dbe5f0; text-align: center; }
.advantage-strip span:last-child { border-right: 0; }
.advantage-strip .icon { color: #0f5ec7; }
.advantage-strip b { font-size: 11px; }
.apostille-bottom-cta { grid-template-columns: minmax(300px,1fr) auto auto auto; }

@media (max-width: 1180px) {
  .apostille-hero-grid { grid-template-columns: minmax(0,1fr) 300px; }
  .apostille-form-wrap { grid-column: 1 / -1; }
  .apostille-form { display: grid; grid-template-columns: repeat(3,1fr); gap: 0 13px; }
  .apostille-form h2, .apostille-form > p, .apostille-form .document-choice, .apostille-form .file-field, .apostille-form .check, .apostille-form .form-disclaimer, .apostille-form .form-status { grid-column: 1 / -1; }
  .apostille-form .document-choice label { display: inline-block; margin-right: 15px; }
  .apostille-form .btn { grid-column: 3; align-self: end; margin-bottom: 13px; }
  .apostille-category-card { min-height: 550px; }
}

@media (max-width: 900px) {
  .apostille-hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .apostille-copy { padding-top: 8px; }
  .apostille-visual { min-height: 390px; }
  .apostille-visual img { width: min(100%, 520px); height: 330px; }
  .apostille-form { display: block; }
  .apostille-category-grid { grid-template-columns: 1fr; }
  .apostille-category-card { min-height: 0; }
  .service-banner { grid-template-columns: 1fr; }
  .service-banner .btn { width: 100%; }
  .apostille-plan-grid { grid-template-columns: 1fr; }
  .authority-grid { grid-template-columns: repeat(2,1fr); }
  .apostille-info-grid { grid-template-columns: 1fr; }
  .apostille-info-grid .info-card { min-height: 0; }
  .advantage-strip { grid-template-columns: repeat(3,1fr); }
  .advantage-strip span:nth-child(3) { border-right: 0; }
  .advantage-strip span:nth-child(-n+3) { border-bottom: 1px solid #dbe5f0; }
  .apostille-bottom-cta { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .apostille-copy h1 { font-size: 36px; }
  .apostille-copy .lead { font-size: 14px; }
  .legal-note { font-size: 12px; }
  .apostille-actions { display: grid; }
  .apostille-actions .btn { width: 100%; }
  .apostille-visual { min-height: 270px; }
  .apostille-visual img { width: 100%; height: 260px; border-radius: 15px; }
  .apostille-form-wrap { margin-top: 10px; }
  .apostille-category-card { padding: 20px 17px; }
  .category-head { min-height: 70px; grid-template-columns: 40px 1fr; }
  .category-head .icon { width: 36px; height: 36px; }
  .category-head h3 { font-size: 17px; }
  .service-banner { padding: 16px; }
  .helper-strip { grid-template-columns: 36px 1fr; padding: 14px; }
  .helper-strip > .icon { width: 32px; height: 32px; }
  .helper-strip .btn { grid-column: 1 / -1; width: 100%; }
  .apostille-plan { padding: 20px 14px; }
  .apostille-plan h2 { font-size: 21px; }
  .plan-flow { align-items: stretch; flex-direction: column; gap: 4px; }
  .plan-flow span { width: 100%; min-height: 54px; grid-template-columns: 42px 1fr; justify-items: start; align-items: center; text-align: left; }
  .plan-flow i { align-self: center; transform: rotate(90deg); }
  .plan-sum { align-items: stretch; flex-direction: column; }
  .plan-sum b { text-align: center; }
  .authority-grid { grid-template-columns: 1fr; }
  .advantage-strip { grid-template-columns: repeat(2,1fr); }
  .advantage-strip span:nth-child(3) { border-right: 1px solid #dbe5f0; }
  .advantage-strip span:nth-child(even) { border-right: 0; }
  .advantage-strip span:nth-child(-n+4) { border-bottom: 1px solid #dbe5f0; }
}

/* Homepage — strict alignment to the approved mockup */
.home-brand-globe {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
}

.home-brand-globe .icon { width: 34px; height: 34px; stroke-width: 1.5; }
.home-hero-inner { position: relative; background-image: linear-gradient(90deg, rgba(4,24,54,.76) 0%, rgba(4,24,54,.27) 43%, rgba(4,24,54,0) 69%), url('/assets/images/home-hero-v3.png'); }
.home-hero-quotes { position: absolute; top: 40px; right: 28px; width: 160px; display: grid; gap: 92px; color: #443b31; text-align: center; }
.home-hero-quotes em { font: italic 18px/1.25 Georgia, serif; }
.home-hero-quotes b { font: 700 10px/1.25 Georgia, serif; }
.home-slide-arrow { position: absolute; z-index: 3; top: 50%; width: 37px; height: 37px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(14,42,79,.58); font-size: 28px; line-height: 1; transform: translateY(-50%); }
.home-slide-arrow--prev { left: 9px; }
.home-slide-arrow--next { right: 9px; }
.home-slide-dots { position: absolute; z-index: 3; left: 50%; bottom: 7px; display: flex; gap: 8px; transform: translateX(-50%); }
.home-slide-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.42); }
.home-slide-dots i.is-active { background: #fff; }
.quick-media { background-image: url('/assets/images/home-services-v1.png'); background-size: 600% auto; background-repeat: no-repeat; }
.quick-media--notary { background-image: url('/assets/images/home-services-v1.png'); background-position: 0 50%; }
.quick-media--apostille { background-image: url('/assets/images/home-services-v1.png'); background-position: 20% 50%; }
.quick-media--legal { background-image: url('/assets/images/home-services-v1.png'); background-position: 40% 50%; }
.quick-media--written { background-image: url('/assets/images/home-services-v1.png'); background-position: 60% 50%; }
.quick-media--oral { background-image: url('/assets/images/home-services-v1.png'); background-position: 80% 50%; }
.quick-media--countries { background: url('/assets/images/home-services-v1.png') 100% 50% / 600% auto no-repeat; }

.task-card-head { display: grid; grid-template-columns: 43px 1fr; gap: 10px; align-items: start; }
.task-card-head .icon { width: 38px; height: 38px; margin: 0; }
.task-card-head h3 { min-height: 0; margin: 1px 0 10px; }
.task-card-head h3 span { color: currentColor; }
.task-num { display: none; }

.reel-photo {
  position: absolute;
  inset: 0;
  display: block;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.reel-card--1 .reel-photo { background-image: url('/assets/images/home-expert-1.png'); }
.reel-card--2 .reel-photo { background-image: url('/assets/images/home-expert-2.png'); }
.reel-card--3 .reel-photo { background-image: url('/assets/images/home-expert-3-client.png'); }
.reel-card--4 .reel-photo { background-image: url('/assets/images/home-expert-4.png'); }

@media (min-width: 841px) {
  .home-header-row { min-height: 64px; gap: 12px; }
  .home-page .main-nav { min-height: 64px; }
  .home-page .nav-list a { min-height: 64px; padding-inline: 5px; font-size: 8px; }
  .home-page .mega-trigger { width: 19px; height: 28px; margin-left: -5px; font-size: 9px; }
  .home-brand { grid-template-columns: 34px auto auto; gap: 6px; }
  .home-brand strong { font-size: 20px; }
  .home-brand b { font-size: 12px; }
  .home-brand small { font-size: 7px; }
  .home-price-button { min-height: 44px; padding-inline: 13px; font-size: 9px; }

  .home-trust-grid { min-height: 62px; }
  .home-trust-grid > span { min-height: 40px; padding-inline: clamp(8px,1.4vw,20px); grid-template-columns: 27px 1fr; column-gap: 8px; }
  .home-trust-grid .icon { width: 24px; height: 24px; }
  .home-trust-grid b { font-size: 11px; }
  .home-trust-grid small { font-size: 9px; }

  .home-hero-inner {
    min-height: clamp(370px, 24.5vw, 470px);
    padding: clamp(35px,3vw,54px) clamp(54px,3.5vw,58px) 24px;
    border-radius: 16px;
  }
  .home-overline { font-size: clamp(9px,.68vw,12px); }
  .home-hero h1 { margin: 15px 0 14px; font-size: clamp(52px,3.8vw,72px); }
  .home-hero-copy p { font-size: clamp(14px,1.05vw,18px); }
  .home-hero-facts { gap: 14px; }
  .home-hero-facts span { font-size: clamp(9px,.7vw,12px); }
  .home-hero-facts .icon { width: 23px; height: 23px; }

  .quick-services { grid-template-columns: repeat(6,1fr); gap: 8px; }
  .quick-services > a { grid-template-rows: clamp(68px,5.2vw,82px) 42px; }
  .quick-services b { padding: 8px 2px 9px 10px; font-size: clamp(10px,.78vw,13px); }
  .quick-services i { padding-right: 8px; }

  .home-task-section { padding: clamp(34px,3vw,54px) 0 28px; }
  .home-task-heading { position: relative; max-width: none; display: block; margin-bottom: 30px; text-align: center; }
  .home-task-heading h2 { font-size: clamp(32px,2.25vw,44px); white-space: nowrap; }
  .home-task-heading p { font-size: 13px; }
  .home-task-heading .btn { position: absolute; right: 0; bottom: -16px; min-height: 42px; }
  .task-grid { grid-template-columns: repeat(5,1fr); gap: 10px; }
  .task-card { min-height: clamp(315px,22vw,405px); padding: clamp(16px,1.4vw,25px) clamp(12px,1vw,19px) 16px; }
  .task-card-head { grid-template-columns: clamp(30px,2.2vw,38px) 1fr; gap: 8px; }
  .task-card-head .icon { width: clamp(30px,2.2vw,38px); height: clamp(30px,2.2vw,38px); }
  .task-card h3 { font-size: clamp(11px,.83vw,15px); line-height: 1.25; }
  .task-card p { margin-bottom: 9px; font-size: clamp(9px,.68vw,12px); line-height: 1.4; }
  .task-card ul { margin-bottom: 10px; font-size: clamp(9px,.66vw,12px); }
  .task-card li { margin: 4px 0; padding-left: 13px; }
  .task-card a { font-size: clamp(9px,.66vw,12px); }

  .expert-section { padding: 38px 0; }
  .expert-layout { grid-template-columns: clamp(290px,22vw,310px) 1fr; gap: 18px; }
  .expert-intro { padding: 18px 4px 5px 0; }
  .expert-intro .eyebrow { font-size: 9px; }
  .expert-intro h2 { margin-bottom: 9px; font-size: clamp(31px,2.5vw,42px); }
  .expert-intro p { margin-bottom: 16px; font-size: clamp(10px,.75vw,14px); line-height: 1.5; }
  .expert-intro .btn { min-height: 43px; padding-inline: 16px; font-size: 10px; }
  .expert-notes { margin-top: 15px; gap: 6px 10px; font-size: 8px; }
  .reels-grid { grid-template-columns: repeat(4,1fr); gap: 9px; }
  .reel-card { min-height: clamp(245px,18vw,330px); }
  .reel-card b { left: 12px; right: 10px; bottom: 12px; font-size: clamp(9px,.7vw,13px); }
  .play { left: 12px; top: auto; bottom: 64px; width: 36px; height: 36px; }

  .home-benefits { padding: 16px 0; }
  .home-benefit-grid { grid-template-columns: repeat(5,1fr); gap: 0; }
  .home-benefit-grid > span { min-height: 52px; padding-inline: 14px; }
  .home-benefit-grid .icon { width: 29px; height: 29px; }
  .home-benefit-grid b { font-size: 10px; }
  .home-benefit-grid small { font-size: 8px; }
}

@media (max-width: 840px) {
  .home-hero-inner { background-image: linear-gradient(90deg,rgba(4,24,54,.9),rgba(4,24,54,.32)),url('/assets/images/home-hero-v3.png'); }
  .home-hero-quotes, .home-slide-arrow { display: none; }
  .task-card-head { grid-template-columns: 38px 1fr; }
  .task-card-head .icon { width: 36px; height: 36px; }
}

@media (max-width: 560px) {
  .mega-all .btn { font-size: 10px; line-height: 1.25; text-align: center; white-space: normal; }
  .home-hero-copy .home-language-line { min-height: 6.2em; }
}

/* Internal pages — keep the approved desktop composition at mockup widths */
@media (min-width: 841px) and (max-width: 1180px) {
  body:not(.home-page) .container { width: min(calc(100% - 28px), var(--container)); }
  body:not(.home-page) .header-main { min-height: 68px; grid-template-columns: 142px minmax(0,1fr) auto; gap: 10px; }
  body:not(.home-page) .brand img { width: 116px; height: auto; }
  body:not(.home-page) .header-main > .brand { grid-template-columns: 39px auto; gap: 6px; }
  body:not(.home-page) .header-main > .brand::before { width: 37px; height: 37px; border-radius: 6px; font-size: 27px; }
  body:not(.home-page) .header-main > .brand::after { font-size: 14px; }
  body:not(.home-page) .header-contacts { grid-template-columns: repeat(2,minmax(128px,1fr)); gap: 8px; }
  body:not(.home-page) .header-contact { grid-template-columns: 20px 1fr; gap: 6px; }
  body:not(.home-page) .header-contact .icon { width: 18px; height: 18px; }
  body:not(.home-page) .header-contact strong { font-size: 11px; }
  body:not(.home-page) .header-contact small { font-size: 8px; }
  body:not(.home-page) .callback { min-height: 38px; padding-inline: 12px; font-size: 9px; }
  body:not(.home-page) .main-nav { min-height: 42px; }
  body:not(.home-page) .nav-list > li { min-width: 0; }
  body:not(.home-page) .nav-list a { min-height: 42px; padding-inline: 3px; font-size: 7px; line-height: 1.18; text-align: center; white-space: normal; }
  body:not(.home-page) .mega-trigger { width: 17px; height: 28px; margin-left: -4px; font-size: 9px; }

  body:not(.home-page):not(.apostille-page) .hero-grid {
    min-height: 610px;
    grid-template-columns: minmax(0,1.05fr) minmax(205px,.72fr) 250px;
    gap: 12px;
    align-items: center;
  }
  body:not(.home-page):not(.apostille-page) .hero-copy { padding-block: 18px; }
  body:not(.home-page):not(.apostille-page) h1 { font-size: 40px; }
  body:not(.home-page):not(.apostille-page) .lead { margin-bottom: 18px; font-size: 13px; line-height: 1.5; }
  body:not(.home-page):not(.apostille-page) .hero-facts { gap: 8px; margin-bottom: 18px; }
  body:not(.home-page):not(.apostille-page) .hero-fact { padding-right: 6px; }
  body:not(.home-page):not(.apostille-page) .hero-fact .icon { width: 20px; height: 20px; margin-bottom: 5px; }
  body:not(.home-page):not(.apostille-page) .hero-fact strong { font-size: 13px; }
  body:not(.home-page):not(.apostille-page) .hero-fact small { font-size: 9px; }
  body:not(.home-page):not(.apostille-page) .hero-visual { min-height: 430px; }
  body:not(.home-page):not(.apostille-page) .hero-visual::before { width: 215px; height: 300px; }
  body:not(.home-page):not(.apostille-page) .hero-visual img { width: 245px; height: 300px; object-fit: cover; }
  body:not(.home-page):not(.apostille-page) .hero-visual-badge { left: 0; bottom: 34px; padding: 10px 12px; font-size: 10px; }
  body:not(.home-page):not(.apostille-page) .hero-visual-badge strong { font-size: 14px; }
  body:not(.home-page):not(.apostille-page) .hero-visual--document .document-art {
    width: 205px;
    height: 305px;
    padding: 38px 18px 20px;
    border-width: 8px;
  }
  body:not(.home-page):not(.apostille-page) .hero-visual--document .document-title { margin-bottom: 28px; font-size: 12px; }
  body:not(.home-page):not(.apostille-page) .hero-visual--document .document-art--back { transform: rotate(-6deg) translate(-12px,-3px); }
  body:not(.home-page):not(.apostille-page) .hero-visual--document .document-art--divorce { transform: rotate(4deg) translate(12px,10px); }
  body:not(.home-page):not(.apostille-page) .quote-card {
    grid-column: auto;
    display: block;
    margin: 0;
    padding: 16px;
  }
  body:not(.home-page):not(.apostille-page) .quote-card h2 { font-size: 18px; }
  body:not(.home-page):not(.apostille-page) .quote-card > p { margin-bottom: 11px; font-size: 10px; }
  body:not(.home-page):not(.apostille-page) .quote-card .field { margin-bottom: 8px; }
  body:not(.home-page):not(.apostille-page) .quote-card .field input,
  body:not(.home-page):not(.apostille-page) .quote-card .field select { min-height: 37px; padding: 7px 9px; font-size: 11px; }
  body:not(.home-page):not(.apostille-page) .quote-card .field textarea { min-height: 52px; padding: 7px 9px; font-size: 11px; }
  body:not(.home-page):not(.apostille-page) .quote-card .file-drop { min-height: 74px; }
  body:not(.home-page):not(.apostille-page) .quote-card .check { margin: 7px 0; font-size: 9px; }
  body:not(.home-page):not(.apostille-page) .quote-card .btn { width: 100%; margin-bottom: 0; }

  .apostille-page .apostille-hero-grid { min-height: 690px; grid-template-columns: minmax(0,1.1fr) minmax(190px,.7fr) 260px; gap: 12px; }
  .apostille-page .apostille-copy h1 { font-size: 36px; }
  .apostille-page .apostille-copy .lead { font-size: 12px; }
  .apostille-page .legal-note { padding: 10px; font-size: 10px; }
  .apostille-page .apostille-facts { gap: 7px; }
  .apostille-page .apostille-facts .hero-fact strong { font-size: 12px; }
  .apostille-page .apostille-facts .hero-fact small { font-size: 9px; }
  .apostille-page .apostille-actions .btn { min-height: 42px; padding-inline: 12px; font-size: 9px; }
  .apostille-page .apostille-visual { min-height: 480px; }
  .apostille-page .apostille-visual img { width: 100%; height: 520px; max-width: 100%; object-fit: cover; }
  .apostille-page .apostille-form-wrap { grid-column: auto; }
  .apostille-page .apostille-form { display: block; padding: 16px; }
  .apostille-page .apostille-form h2 { font-size: 18px; }
  .apostille-page .apostille-form > p { margin-bottom: 9px; font-size: 9px; line-height: 1.35; }
  .apostille-page .apostille-form .document-choice { margin-bottom: 8px; }
  .apostille-page .apostille-form .document-choice legend { margin-bottom: 3px; font-size: 9px; }
  .apostille-page .apostille-form .document-choice label { display: block; margin: 2px 0; font-size: 8px; line-height: 1.25; }
  .apostille-page .apostille-form .field { margin-bottom: 5px; }
  .apostille-page .apostille-form .field label { margin-bottom: 3px; font-size: 9px; }
  .apostille-page .apostille-form .field input,
  .apostille-page .apostille-form .field select { min-height: 34px; padding: 5px 7px; font-size: 10px; }
  .apostille-page .apostille-form .field textarea { min-height: 48px; padding: 5px 7px; font-size: 10px; }
  .apostille-page .apostille-form .file-drop { min-height: 62px; }
  .apostille-page .apostille-form .file-drop span { font-size: 9px; }
  .apostille-page .apostille-form .check { margin: 5px 0; font-size: 8px; }
  .apostille-page .apostille-form .btn { min-height: 42px; margin-bottom: 0; font-size: 10px; }
  .apostille-page .apostille-form .form-disclaimer { margin-top: 5px !important; font-size: 8px !important; }
  .apostille-page .apostille-form .form-status { min-height: 0; margin: 3px 0 0; }
}

@media (min-width: 1181px) and (max-width: 1500px) {
  body:not(.home-page):not(.order-page):not(.legal-page) .nav-list a {
    padding-inline: 7px;
    font-size: 10px;
  }
  body:not(.home-page):not(.order-page):not(.legal-page) .mega-trigger {
    width: 22px;
    margin-left: -7px;
  }
}

/* Interpreter support for transactions */
.deal-page h1 { font-size: clamp(38px, 3.3vw, 55px); line-height: 1.03; }
.deal-hero {
  padding: 0 0 54px;
  background:
    radial-gradient(circle at 70% 16%, rgba(205,223,246,.58), transparent 34%),
    linear-gradient(135deg, #fff 0%, #f7faff 56%, #eef4fc 100%);
}
.deal-hero .breadcrumbs { padding-top: 24px; }
.deal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(310px, .82fr) minmax(320px, .86fr);
  gap: 28px;
  align-items: start;
  padding-top: 28px;
}
.deal-hero-copy { padding-top: 28px; }
.deal-hero-copy .lead { max-width: 690px; }
.deal-hero-copy > p:not(.lead) { color: #52627c; max-width: 690px; }
.deal-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 28px 0 24px;
}
.deal-facts .hero-fact { padding-inline: 11px; }
.deal-facts .hero-fact strong { font-size: 17px; }
.deal-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.deal-actions .btn--outline { color: #0a408a; background: transparent; border: 2px solid #0a4fa9; box-shadow: none; }
.deal-hero-visual { position: relative; align-self: center; margin-top: 72px; }
.deal-hero-visual img {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
  border-radius: 26px;
  box-shadow: 0 24px 54px rgba(9, 41, 84, .17);
}
.deal-image-badge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px 18px;
  color: #fff;
  background: rgba(4, 31, 73, .93);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
}
.deal-image-badge strong, .deal-image-badge span { display: block; }
.deal-image-badge strong { color: #ffae3d; margin-bottom: 4px; }
.deal-image-badge span { font-size: 13px; line-height: 1.35; }
.deal-form { position: relative; z-index: 2; }
.deal-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.deal-form input[type="date"], .deal-form input[type="time"] { min-height: 50px; }

.deal-price-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 24px; align-items: stretch; }
.deal-rate-table {
  border: 1px solid #d8e3f0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 32px rgba(17, 55, 105, .07);
}
.deal-rate-table > div { display: grid; grid-template-columns: 1fr 180px; gap: 20px; padding: 17px 20px; border-top: 1px solid #e0e8f2; }
.deal-rate-table > div:first-child { border-top: 0; color: #fff; background: #0b468f; }
.deal-rate-table strong { color: #ef6b23; text-align: right; }
.deal-price-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.deal-price-notes article, .deal-venue-grid article, .deal-role-grid article, .deal-area-grid article, .deal-benefit-grid article {
  background: #fff;
  border: 1px solid #dce6f2;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(17, 55, 105, .06);
}
.deal-price-notes .icon, .deal-venue-grid .icon, .deal-area-grid .icon, .deal-benefit-grid .icon { width: 36px; height: 36px; color: #0d5ab6; }
.deal-price-notes article:last-child .icon { color: #f07a24; }
.deal-price-notes h3, .deal-venue-grid h3, .deal-role-grid h3, .deal-area-grid h3, .deal-benefit-grid h3 { margin: 13px 0 8px; }
.deal-price-tip { max-width: 960px; margin: 24px auto 20px; text-align: center; color: #52627c; }
.center { text-align: center; }

.deal-venue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.deal-venue-grid article { min-height: 190px; }
.deal-turnkey-link {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 22px 24px;
  color: #fff;
  background: linear-gradient(120deg, #061f48, #0c448f);
  border-radius: 18px;
}
.deal-turnkey-link .icon { width: 42px; height: 42px; color: #ff9d29; }
.deal-turnkey-link strong, .deal-turnkey-link span { display: block; }
.deal-turnkey-link span span { margin-top: 3px; color: #d7e5f7; font-size: 14px; }
.deal-turnkey-link b { color: #ffb147; }

.deal-process { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.deal-process li { position: relative; min-height: 164px; padding: 20px 16px; background: #f8fbff; border: 1px solid #d8e5f4; border-radius: 16px; }
.deal-process li:not(:last-child)::after { content: "→"; position: absolute; z-index: 1; right: -14px; top: 38px; width: 16px; color: #0b56ad; font-weight: 900; }
.deal-process b { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 18px; color: #fff; background: #0b4c9d; border-radius: 50%; }
.deal-process span { display: block; font-weight: 700; line-height: 1.42; }
.deal-important { margin: 24px 0 20px; padding: 18px 20px; color: #4c3e2e; background: #fff5e9; border: 1px solid #f4d4ae; border-radius: 14px; }

.deal-role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.deal-role-grid article > span { color: #ed7628; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.deal-role-limit { color: #fff; background: linear-gradient(145deg, #061f48, #0c448f) !important; border-color: transparent !important; }
.deal-role-limit h3, .deal-role-limit p { color: #fff; }
.deal-role-limit > span { color: #ffb147 !important; }
.deal-wide-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  padding: 36px;
  background: linear-gradient(135deg, #fff, #f0f6ff);
  border: 1px solid #dbe6f2;
  border-radius: 22px;
}
.deal-check-list { columns: 2; margin: 20px 0 0; padding: 0; list-style: none; }
.deal-check-list li { position: relative; break-inside: avoid; padding: 5px 0 5px 24px; }
.deal-check-list li::before { content: "✓"; position: absolute; left: 0; color: #0d63c9; font-weight: 900; }

.deal-turnkey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.deal-turnkey-grid article { position: relative; padding: 28px 24px; background: #fff; border: 1px solid #dbe6f2; border-radius: 18px; box-shadow: 0 13px 30px rgba(17, 55, 105, .07); }
.deal-turnkey-grid article > b { color: #f07828; font: 700 36px/1 Georgia, serif; }
.deal-turnkey-grid h3 { margin: 10px 0 12px; }
.deal-turnkey-grid ul { margin: 0; padding-left: 20px; }
.deal-turnkey-grid li { margin: 8px 0; }
.deal-under-button { max-width: 780px; margin: 12px auto 0; color: #62728a; }

.deal-area-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.deal-language-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.deal-language-grid article { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px; background: #fff; border: 1px solid #dbe6f2; border-radius: 14px; }
.deal-language-grid span { font-weight: 800; }
.deal-language-grid strong { color: #ed6d24; white-space: nowrap; }
.deal-benefit-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.deal-benefit-grid article { padding: 20px; }
.deal-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.deal-related-grid a { display: grid; grid-template-columns: 42px 1fr; gap: 8px 12px; align-items: center; padding: 20px; color: #071f48; background: #fff; border: 1px solid #d9e5f2; border-radius: 16px; }
.deal-related-grid .icon { grid-row: 1 / span 2; width: 36px; height: 36px; color: #0c5dbc; }
.deal-related-grid span { color: #0b5bbb; font-size: 13px; font-weight: 800; }

.deal-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.deal-faq details { overflow: hidden; background: #f8fbff; border: 1px solid #d9e5f2; border-radius: 12px; }
.deal-faq summary { position: relative; padding: 16px 42px 16px 18px; cursor: pointer; font-weight: 800; list-style: none; }
.deal-faq summary::-webkit-details-marker { display: none; }
.deal-faq summary::after { content: "+"; position: absolute; right: 16px; top: 12px; color: #0b56ad; font-size: 24px; }
.deal-faq details[open] summary::after { content: "−"; }
.deal-faq details p { margin: 0; padding: 0 18px 18px; color: #52627c; }
.deal-bottom { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(88px, auto)) auto; gap: 18px; }
.deal-bottom .cta-fact { display: block; min-width: 88px; text-align: center; }
.deal-bottom .cta-fact strong { white-space: nowrap; }
.deal-backlinks { display: flex; justify-content: space-between; gap: 20px; padding-block: 12px 30px; font-weight: 700; }

@media (max-width: 1320px) {
  .deal-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(280px, .72fr) minmax(305px, .78fr); gap: 20px; }
  .deal-page h1 { font-size: 42px; }
  .deal-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deal-process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .deal-process li:nth-child(3)::after { display: none; }
  .deal-benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .deal-bottom { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(88px, auto)); }
  .deal-bottom .btn { grid-column: 2 / 4; }
}

@media (max-width: 1080px) {
  .deal-hero-grid { grid-template-columns: 1fr 1fr; }
  .deal-form { grid-column: 1 / -1; max-width: 760px; justify-self: center; width: 100%; }
  .deal-hero-visual { margin-top: 30px; }
  .deal-price-grid, .deal-wide-panel { grid-template-columns: 1fr; }
  .deal-venue-grid, .deal-turnkey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deal-area-grid, .deal-language-grid, .deal-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deal-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .deal-page h1 { font-size: 32px !important; line-height: 1.05; }
  .deal-hero { padding-bottom: 32px; }
  .deal-hero-grid { grid-template-columns: 1fr; gap: 20px; padding-top: 8px; }
  .deal-hero-copy { display: flex; flex-direction: column; padding-top: 10px; }
  .deal-hero-copy .eyebrow { order: 1; }
  .deal-hero-copy h1 { order: 2; }
  .deal-hero-copy .lead { order: 3; margin-bottom: 18px; }
  .deal-hero-copy .deal-actions { order: 4; }
  .deal-hero-copy .deal-facts { order: 5; }
  .deal-hero-copy > p:not(.lead) { order: 6; font-size: 14px; }
  .deal-hero-visual { margin-top: 0; }
  .deal-hero-visual img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
  .deal-form { grid-column: auto; }
  .deal-form-row { grid-template-columns: 1fr; }
  .deal-actions { display: grid; grid-template-columns: 1fr; }
  .deal-actions .btn { width: 100%; }
  .deal-price-grid, .deal-price-notes, .deal-venue-grid, .deal-role-grid, .deal-turnkey-grid, .deal-area-grid, .deal-language-grid, .deal-benefit-grid, .deal-related-grid, .deal-faq-grid { grid-template-columns: 1fr; }
  .deal-rate-table > div { grid-template-columns: 1fr auto; gap: 10px; padding: 15px 14px; }
  .deal-venue-grid article { min-height: auto; }
  .deal-turnkey-link { grid-template-columns: 44px 1fr; padding: 18px; }
  .deal-turnkey-link b { grid-column: 2; }
  .deal-process { grid-template-columns: 1fr; gap: 12px; }
  .deal-process li { min-height: 0; display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 12px; }
  .deal-process li:not(:last-child)::after { content: "↓"; display: block; right: auto; left: 29px; top: auto; bottom: -17px; }
  .deal-process b { margin: 0; }
  .deal-wide-panel { padding: 24px 18px; gap: 24px; }
  .deal-check-list { columns: 1; }
  .deal-language-grid article { padding: 18px; }
  .deal-bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deal-bottom > div:first-child, .deal-bottom .btn { grid-column: 1 / -1; }
  .deal-bottom .cta-fact { min-width: 0; }
  .deal-backlinks { flex-direction: column; }
}

/* Passport service: keep the client-approved single-passport composition uncropped. */
body.passport-page:not(.home-page):not(.apostille-page) .hero-visual img {
  width: min(100%, 390px);
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

body.birth-page:not(.home-page):not(.apostille-page) .hero-visual img {
  width: min(100%, 390px);
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

body.marriage-page:not(.home-page):not(.apostille-page) .hero-visual img {
  width: min(100%, 390px);
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

/* Certificates and extracts service page */
.spravki-hero .hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .75fr) 350px;
  gap: 24px;
}

.spravki-hero h1 { font-size: clamp(36px, 3.5vw, 52px); }
.spravki-hero .lead { max-width: 720px; font-size: 15px; line-height: 1.58; }
.spravki-hero .hero-facts { margin-bottom: 20px; }

.spravki-mini-facts {
  margin: -2px 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #314966;
  font-size: 12px;
  font-weight: 700;
}

.spravki-mini-facts span { display: inline-flex; align-items: center; gap: 7px; }
.spravki-mini-facts .icon { width: 20px; height: 20px; color: var(--blue); }

.spravki-page .spravki-visual { min-height: 470px; }
.spravki-page .spravki-visual::before { display: none; }
.spravki-page .spravki-visual img {
  width: min(100%, 430px);
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  filter: drop-shadow(0 22px 22px rgba(6,27,63,.16));
}

.spravki-categories { padding-top: 54px; }
.spravki-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.spravki-category-grid .feature-card { min-height: 210px; padding: 20px 17px; }
.spravki-category-grid .feature-card .icon { color: var(--blue); }
.spravki-category-grid .feature-card p { margin-bottom: 0; }

.spravki-inline-cta {
  margin-top: 18px;
  padding: 17px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(90deg, #f3f7fc, #fff);
}

.spravki-inline-cta .cta-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--blue);
  background: #e4eefb;
}
.spravki-inline-cta .cta-icon .icon { width: 30px; height: 30px; }
.spravki-inline-cta strong { color: var(--navy); font-size: 18px; }
.spravki-inline-cta p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.spravki-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.spravki-detail-grid .info-card { scroll-margin-top: 110px; }
.spravki-detail-grid .info-card h2 { margin-bottom: 12px; font: 700 21px/1.22 Georgia, "Times New Roman", serif; }
.spravki-detail-grid .info-card h3 { margin-top: 18px; color: var(--blue); font-size: 15px; }
.spravki-detail-grid .info-card p { line-height: 1.58; }
.spravki-detail-grid .note { padding: 12px; border-radius: 8px; color: #445a78; background: #f3f6fb; }

.spravki-english {
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid #cfe0f6;
  border-radius: 16px;
  background: linear-gradient(105deg, #f2f7fe, #fff);
}
.spravki-english h2 { margin-bottom: 8px; font: 700 29px/1.2 Georgia, "Times New Roman", serif; }
.spravki-english p { max-width: 780px; margin: 0; color: var(--muted); }
.spravki-english .eyebrow { margin-bottom: 9px; }

.spravki-service-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.spravki-service-grid article {
  padding: 20px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.spravki-service-grid .icon { width: 30px; height: 30px; color: var(--blue); }
.spravki-service-grid strong { color: var(--navy); font-size: 15px; }
.spravki-service-grid p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.spravki-bottom-cta { grid-template-columns: 1.4fr repeat(4, auto) auto; }
.spravki-bottom-cta .cta-fact {
  min-width: 92px;
  display: block;
  text-align: center;
  white-space: nowrap;
}
.spravki-links { padding: 16px 0 0; display: flex; justify-content: space-between; gap: 20px; color: var(--blue); font-size: 13px; font-weight: 700; }

/* Apostille for certificates and other documents */
.apostille-price-note {
  max-width: 720px;
  margin: -8px 0 18px;
  color: #62738a;
  font-size: 11px;
  line-height: 1.45;
}

.other-apostille-page .apostille-visual img {
  object-fit: cover;
  border-radius: 18px;
  transform: none;
}

.other-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.other-doc-grid .apostille-category-card {
  min-height: 215px;
  padding: 22px;
}

.other-doc-grid .category-head { min-height: 72px; }
.other-doc-grid .apostille-category-card p { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.other-doc-grid .apostille-category-card .more { margin-top: auto; }
.other-doc-details .info-card { scroll-margin-top: 110px; }

@media (max-width: 900px) {
  .other-doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .other-apostille-page .apostille-visual img { width: min(100%, 520px); height: auto; max-height: 390px; }
}

@media (max-width: 560px) {
  .other-doc-grid { grid-template-columns: 1fr; }
  .other-doc-grid .apostille-category-card { min-height: 0; }
  .other-apostille-page .apostille-visual { min-height: 250px; }
  .other-apostille-page .apostille-visual img { width: 100%; height: auto; max-height: 250px; object-fit: contain; }
  .apostille-price-note { font-size: 10px; }
}

@media (max-width: 1180px) {
  .spravki-hero .hero-grid { grid-template-columns: 1fr minmax(300px, .72fr); }
  .spravki-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spravki-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spravki-bottom-cta { grid-template-columns: 1.4fr repeat(2, auto) auto; }
}

@media (max-width: 840px) {
  .spravki-hero .hero-grid { grid-template-columns: 1fr; }
  .spravki-page .spravki-visual { min-height: 330px; }
  .spravki-page .spravki-visual img { width: min(100%, 380px); }
  .spravki-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spravki-category-grid .feature-card { min-height: 190px; }
  .spravki-detail-grid { grid-template-columns: 1fr; }
  .spravki-english { align-items: flex-start; flex-direction: column; }
  .spravki-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spravki-bottom-cta { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .spravki-hero h1 { font-size: 35px; }
  .spravki-hero .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spravki-mini-facts { display: grid; grid-template-columns: 1fr; }
  .spravki-page .spravki-visual { min-height: 290px; }
  .spravki-page .spravki-visual img { width: min(100%, 300px); }
  .spravki-category-grid { grid-template-columns: 1fr; }
  .spravki-category-grid .feature-card { min-height: auto; }
  .spravki-inline-cta { grid-template-columns: 1fr; }
  .spravki-inline-cta .btn { width: 100%; }
  .spravki-english { padding: 22px 18px; }
  .spravki-english .btn { width: 100%; }
  .spravki-service-grid { grid-template-columns: 1fr; }
  .spravki-links { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 840px) {
  .passport-page .hero-visual { min-height: 330px; }
  body.passport-page:not(.home-page):not(.apostille-page) .hero-visual img { width: min(100%, 350px); height: auto; }
  .passport-page .hero-visual-badge { bottom: 14px; }
  .birth-page .hero-visual { min-height: 330px; }
  body.birth-page:not(.home-page):not(.apostille-page) .hero-visual img { width: min(100%, 350px); height: auto; }
  .birth-page .hero-visual-badge { bottom: 14px; }
  .marriage-page .hero-visual { min-height: 330px; }
  body.marriage-page:not(.home-page):not(.apostille-page) .hero-visual img { width: min(100%, 350px); height: auto; }
  .marriage-page .hero-visual-badge { bottom: 14px; }
}

/* Order and payment page */
.order-page,
.legal-page { background: #fafdff; }

.order-site-header {
  color: var(--ink);
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #e5edf7;
  box-shadow: 0 6px 24px rgba(21,65,120,.06);
}

.order-header-main {
  min-height: 76px;
  grid-template-columns: 185px minmax(370px,1fr) auto auto;
  gap: 20px;
}

.order-header-main > .brand::before { border-color: #1670bb; color: #1670bb; }
.order-header-main > .brand::after { color: #0a3b7a; }
.order-header-main .nav-wrap { border: 0; }
.order-header-main .main-nav { min-height: 76px; }
.order-header-main .nav-list { gap: 18px; justify-content: center; }
.order-header-main .nav-list a { min-height: 76px; padding: 0; color: #173b72; font-size: 12px; }
.order-header-main .nav-list a:hover,
.order-header-main .nav-list a:focus-visible { color: #086ac1; }
.order-header-contacts { display: flex; align-items: center; gap: 20px; }
.order-header-contacts .header-contact { grid-template-columns: 22px auto; gap: 7px; }
.order-header-contacts .header-contact .icon { width: 20px; height: 20px; color: #0b62b2; }
.order-header-contacts .header-contact strong { color: #0b376d; font-size: 12px; }
.order-header-contacts .header-contact small { color: #68809e; font-size: 8px; }
.order-header-contacts .order-email strong { font-size: 10px; font-weight: 500; }
.order-callback { min-height: 38px; padding-inline: 15px; border-color: #1471c1; color: #0b62b2; font-size: 10px; white-space: nowrap; }
.order-callback:hover,
.order-callback:focus-visible { color: #fff; background: #0b62b2; }

.order-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg,#eaf8ff 0%,#f4fbff 46%,#fff 100%);
}
.order-hero-grid { min-height: 450px; display: grid; grid-template-columns: .92fr 1.35fr; align-items: stretch; }
.order-hero-copy { position: relative; z-index: 2; padding: 50px 0 40px; }
.order-hero-copy h1 { max-width: 600px; margin: 0 0 18px; color: #073a72; font-family: "Ubuntu",Arial,sans-serif; font-size: clamp(40px,3.2vw,52px); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; }
.order-hero-copy > p { max-width: 570px; margin: 0 0 28px; color: #1d568b; font-size: 19px; line-height: 1.45; }
.order-primary { min-height: 58px; padding-inline: 30px; color: #fff; background: linear-gradient(135deg,#0754a9,#0878cc); box-shadow: 0 14px 30px rgba(6,88,176,.22); }
.order-primary:hover,
.order-primary:focus-visible { background: linear-gradient(135deg,#0a68c8,#0787dd); }
.order-hero-facts { max-width: 620px; margin-top: 34px; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.order-hero-facts span { display: grid; grid-template-columns: 34px 1fr; column-gap: 9px; align-items: center; }
.order-hero-facts .icon { grid-row: span 2; width: 30px; height: 30px; color: #0b67b8; }
.order-hero-facts b { color: #0b3a72; font-size: 12px; }
.order-hero-facts small { color: #617a97; font-size: 10px; }
.order-hero-media { position: relative; min-width: 0; overflow: hidden; }
.order-hero-media img { position: absolute; inset: 0 0 0 -7%; width: 107%; height: 100%; object-fit: cover; object-position: 58% center; }
.order-hero-media::after { content: ""; position: absolute; inset: 0 auto 0 -1px; width: 23%; background: linear-gradient(90deg,#f3fbff,rgba(243,251,255,0)); pointer-events: none; }

.order-process { padding-top: 48px; padding-bottom: 34px; }
.order-section-heading { margin-bottom: 24px; }
.order-section-heading h2 { margin: 0 0 4px; color: #073a72; font-size: 34px; line-height: 1.1; }
.order-section-heading p { margin: 0; color: #4f6f94; }
.order-section-heading p strong { color: #cb8617; }
.order-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.order-steps article { position: relative; min-height: 178px; padding: 24px; display: grid; grid-template-columns: 48px 1fr; gap: 18px; border: 1px solid #d8e6f3; border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: 0 10px 28px rgba(30,89,145,.08); }
.order-steps article:not(:last-child)::after { content: "›"; position: absolute; right: -15px; top: 50%; z-index: 2; translate: 0 -50%; color: #126cc1; font-size: 38px; font-weight: 300; }
.order-steps .icon { width: 44px; height: 44px; color: #0b69bd; }
.order-steps h3 { margin: 0 0 10px; color: #073a72; font-size: 19px; line-height: 1.3; }
.order-steps h3 span { color: #0b69bd; }
.order-steps p { margin: 0; color: #5d7491; font-size: 13px; }

.order-form-section { padding-top: 0; background: linear-gradient(180deg,#f4fbff,#edf8ff); }
.order-quote-form { padding: 28px; display: grid; grid-template-columns: .75fr 1.75fr; gap: 30px; border: 1px solid #d5e5f4; border-radius: 14px; background: rgba(255,255,255,.9); box-shadow: 0 14px 40px rgba(39,96,147,.07); }
.order-form-intro h2 { margin: 0 0 10px; color: #073a72; font-size: 29px; line-height: 1.15; }
.order-form-intro p { margin: 0; color: #5d7491; font-size: 14px; }
.order-form-fields { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px 18px; }
.order-form-fields > label { display: grid; gap: 5px; color: #4f6f94; font-size: 11px; }
.order-form-fields input[type="text"],
.order-form-fields input[type="tel"] { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid #bfd4e8; border-radius: 8px; color: var(--ink); background: #fff; outline: 0; }
.order-form-fields input:focus { border-color: #0b6fc6; box-shadow: 0 0 0 3px rgba(11,111,198,.12); }
.order-upload { grid-column: 1 / -1; min-height: 92px; display: grid !important; grid-template-columns: 30px auto; place-content: center; column-gap: 8px !important; border: 1.5px dashed #91bde2; border-radius: 10px; color: #0a66b8 !important; background: #f8fcff; text-align: center; cursor: pointer; }
.order-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.order-upload .icon { grid-row: span 2; width: 28px; height: 28px; }
.order-upload b { font-size: 14px; }
.order-upload small { color: #7890a9; font-size: 10px; }
.order-consent { grid-column: 1 / 3; align-self: center; display: flex !important; align-items: center; gap: 9px !important; color: #607996 !important; }
.order-consent input { width: 18px; height: 18px; accent-color: #0b6fc6; }
.order-consent a { color: #0b65b3; text-decoration: underline; }
.order-submit { justify-self: stretch; min-height: 48px; color: #fff; background: linear-gradient(135deg,#0754a9,#0878cc); }
.order-form-fields .form-status { grid-column: 1 / -1; min-height: 18px; margin: 0; color: #176d47; font-size: 12px; }
.order-pay-panel { margin-top: 18px; padding: 24px 34px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 38px; align-items: center; border: 1px solid #d5e5f4; border-radius: 14px; background: rgba(255,255,255,.95); }
.order-pay-copy { display: grid; grid-template-columns: 72px 1fr; gap: 24px; align-items: center; }
.order-pay-copy > .icon { width: 68px; height: 68px; color: #0b67b8; }
.order-pay-copy h2 { margin: 0 0 4px; color: #073a72; font-size: 30px; }
.order-pay-copy p { margin: 0; color: #5d7491; }
.order-pay-action .btn { width: 100%; min-height: 56px; border: 0; border-radius: 9px; color: #fff; background: linear-gradient(135deg,#0754a9,#0878cc); cursor: pointer; }
.order-pay-action > p { margin: 12px 0 0; color: #5d7491; font-size: 12px; }
.order-pay-action > p span { color: #0c68ba; font-weight: 700; }
.order-pay-action .payment-note { padding: 10px 12px; border-radius: 8px; color: #8a5d10; background: #fff7e9; }

.order-info { background: linear-gradient(180deg,#fafdff,#f4fbff); }
.order-info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.order-info-grid article { min-height: 300px; padding: 26px; border: 1px solid #d8e6f3; border-radius: 14px; background: rgba(255,255,255,.92); }
.order-info-grid h3 { margin: 0 0 20px; display: flex; align-items: center; gap: 12px; color: #073a72; font-size: 21px; }
.order-info-grid h3 .icon { width: 36px; height: 36px; color: #e49a18; }
.order-info-grid ul { margin: 0; padding: 0; list-style: none; }
.order-info-grid li,
.order-info-grid p { margin: 10px 0; color: #4f6988; font-size: 14px; }
.order-info-grid li { padding-left: 18px; position: relative; }
.order-info-grid li::before { content: "•"; position: absolute; left: 2px; color: #0b6fc6; }
.order-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.order-tags span { padding: 5px 9px; border-radius: 6px; color: #214c7e; background: #edf7ff; font-size: 11px; }
.order-original { margin-top: 18px; min-height: 84px; padding: 18px 26px; display: grid; grid-template-columns: .9fr 1fr 1.25fr; gap: 24px; align-items: center; border: 1px solid #d8e6f3; border-radius: 12px; background: #fff; }
.order-original h3,
.order-original p { margin: 0; display: flex; align-items: center; gap: 12px; }
.order-original h3 { color: #073a72; font-size: 20px; }
.order-original p { color: #5d7491; font-size: 13px; }
.order-original .icon { width: 32px; height: 32px; color: #e49a18; }
.order-requisites { margin-top: 18px; padding: 22px 26px; display: grid; grid-template-columns: .9fr 1.05fr 1.65fr; gap: 26px; align-items: center; border: 1px solid #d8e6f3; border-radius: 12px; background: #fff; }
.order-requisites > div { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; }
.order-requisites .icon { width: 42px; height: 42px; color: #0b68ba; }
.order-requisites h2 { margin: 0; color: #073a72; font-size: 24px; }
.order-requisites p { margin: 0; color: #4f6988; font-size: 13px; }
.order-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.order-heading-row > a { color: #0b65b3; font-size: 13px; text-decoration: underline; }
.order-faq { grid-template-columns: repeat(2,1fr); }
.order-bottom-cta { padding: 0; background: linear-gradient(90deg,#0762b8,#0878cc); }
.order-bottom-cta .bottom-cta-panel { min-height: 126px; grid-template-columns: minmax(0,1.5fr) auto auto; color: #fff; background: transparent; box-shadow: none; }
.order-bottom-cta h2 { margin: 0; max-width: 700px; color: #fff; font-family: "Ubuntu",Arial,sans-serif; font-size: 26px; font-weight: 700; }
.order-gold-btn { color: #12375f; background: linear-gradient(135deg,#ffd769,#f2ae23); }
.order-gold-btn:hover,
.order-gold-btn:focus-visible { background: linear-gradient(135deg,#ffe28a,#ffc248); }
.order-trust { display: grid; grid-template-columns: 38px auto; align-items: center; gap: 10px; font-size: 12px; }
.order-trust .icon { width: 36px; height: 36px; }
.order-footer { background: #062957; }

/* ZAGS apostille page */
.zags-apostille-page .apostille-visual::before { width: 420px; height: 420px; }
.zags-apostille-page .apostille-visual img {
  width: min(100%, 470px);
  height: auto;
  max-height: 555px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.zags-category-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
.zags-category-grid .apostille-category-card {
  min-height: 190px;
  padding: 21px 18px 18px;
}
.zags-category-grid .category-head {
  min-height: 88px;
  grid-template-columns: 40px 1fr;
  gap: 10px;
}
.zags-category-grid .category-head .icon { width: 36px; height: 36px; }
.zags-category-grid .category-head h3 { font-size: 15px; }
.zags-category-grid .category-label { margin-top: -7px; font-size: 9px; }

.zags-doc-list { margin-top: 16px; display: grid; gap: 10px; }
.zags-doc-list article {
  scroll-margin-top: 100px;
  padding: 18px 21px;
  display: grid;
  grid-template-columns: minmax(240px,1.15fr) minmax(300px,2fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid #d1deec;
  border-radius: 12px;
  background: #fff;
}
.zags-doc-list h3 { margin: 0; color: var(--blue); font-size: 18px; line-height: 1.25; }
.zags-doc-list p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.zags-doc-list .more { white-space: nowrap; font-size: 11px; }

@media (max-width: 1180px) {
  .zags-category-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .zags-category-grid .apostille-category-card { min-height: 175px; }
  .zags-apostille-page .apostille-visual img { width: min(100%, 360px); height: auto; object-fit: contain; }
}

@media (max-width: 900px) {
  .zags-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .zags-category-grid .apostille-category-card { min-height: 160px; }
  .zags-doc-list article { grid-template-columns: 1fr; gap: 8px; }
  .zags-doc-list .more { white-space: normal; }
  .zags-apostille-page .apostille-visual img { width: min(100%, 520px); height: auto; max-height: 420px; object-fit: contain; }
}

@media (max-width: 560px) {
  .zags-category-grid { grid-template-columns: 1fr; }
  .zags-category-grid .apostille-category-card { min-height: 145px; }
  .zags-apostille-page .apostille-visual { min-height: 260px; }
  .zags-apostille-page .apostille-visual img { width: 100%; height: auto; max-height: 260px; object-fit: contain; }
  .zags-doc-list article { padding: 17px; }
}

/* Public offer */
.legal-main { padding: 34px 0 70px; background: linear-gradient(180deg,#f6fbff,#fff 260px); }
.legal-container { max-width: 980px; }
.legal-title-row { margin: 26px 0 34px; display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.legal-title-row h1 { margin: 7px 0 0; color: #073a72; font-family: "Ubuntu",Arial,sans-serif; font-size: 48px; font-weight: 700; line-height: 1.05; }
.legal-title-row .eyebrow { color: #cf8613; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.legal-subtitle { margin: 8px 0 0; color: #5d7491; font-size: 18px; }
.legal-document { padding: 44px 52px; border: 1px solid #d8e6f3; border-radius: 16px; background: #fff; box-shadow: 0 18px 55px rgba(30,89,145,.08); }
.legal-document h2 { margin: 42px 0 14px; color: #073a72; font-size: 25px; }
.legal-document h2:first-child { margin-top: 0; }
.legal-document h3 { margin: 28px 0 12px; color: #174d83; font-size: 19px; }
.legal-document p,
.legal-document li { color: #2f4d6d; font-size: 15px; line-height: 1.72; }
.legal-document p { margin: 12px 0; }
.legal-document li { margin: 8px 0; }
.legal-document a { color: #0968ba; text-decoration: underline; }
.legal-document ol,
.legal-document ul { padding-left: 25px; }
.legal-requisites { margin-top: 18px; padding: 24px 28px; border-radius: 12px; background: #f2f8fd; }
.legal-requisites p { margin: 6px 0; }

@media (max-width: 1240px) {
  body.order-page .site-header .order-header-main,
  body.legal-page .site-header .order-header-main { grid-template-columns: 140px minmax(300px,1fr) 155px auto; gap: 10px; }
  .order-header-contacts .order-email { display: none; }
  .order-header-main .nav-list { gap: 10px; }
  .order-header-main .nav-list a { font-size: 10px; }
  .order-hero-copy h1 { font-size: 48px; }
  .order-hero-copy > p { font-size: 16px; }
}

@media (max-width: 900px) {
  .order-site-header .order-header-main { min-height: 66px; display: grid; grid-template-columns: 1fr auto; }
  .order-site-header .menu-toggle { display: grid; color: #0b3b72; border-color: #bfd4e8; }
  .order-site-header .nav-wrap { position: fixed; inset: 66px 0 auto; display: none; padding: 18px 20px 26px; background: #fff; box-shadow: 0 18px 35px rgba(6,27,63,.16); }
  .order-site-header.is-open .nav-wrap { display: block; }
  .order-site-header .main-nav { min-height: auto; }
  .order-site-header .nav-list { display: grid; gap: 0; }
  .order-site-header .nav-list a { min-height: 44px; justify-content: flex-start; border-bottom: 1px solid #e8eef5; font-size: 13px; }
  .order-site-header .order-header-contacts,
  .order-site-header .order-callback { display: none; }
  .order-hero-grid { grid-template-columns: 1fr; }
  .order-hero-copy { padding: 42px 0 30px; }
  .order-hero-copy h1 { max-width: 760px; font-size: 44px; }
  .order-hero-media { min-height: 360px; }
  .order-hero-media img { inset: 0; width: 100%; object-position: center; }
  .order-hero-media::after { display: none; }
  .order-steps { grid-template-columns: repeat(2,1fr); }
  .order-steps article:nth-child(2)::after { display: none; }
  .order-quote-form { grid-template-columns: 1fr; }
  .order-info-grid { grid-template-columns: 1fr; }
  .order-info-grid article { min-height: 0; }
  .order-original,
  .order-requisites { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .order-hero-copy { padding-top: 34px; }
  .order-hero-copy h1 { font-size: 38px; }
  .order-hero-copy > p { font-size: 16px; }
  .order-primary { width: 100%; padding-inline: 16px; text-align: center; }
  .order-hero-facts { grid-template-columns: repeat(2,1fr); gap: 20px 10px; }
  .order-hero-media { min-height: 250px; margin-inline: -20px; }
  .order-section-heading h2 { font-size: 28px; }
  .order-steps { grid-template-columns: 1fr; }
  .order-steps article { min-height: 0; }
  .order-steps article::after { display: none; }
  .order-quote-form { padding: 22px 18px; }
  .order-form-fields { grid-template-columns: 1fr; }
  .order-upload,
  .order-consent,
  .order-form-fields .form-status { grid-column: 1; }
  .order-submit { justify-self: stretch; }
  .order-pay-panel { padding: 22px 18px; grid-template-columns: 1fr; gap: 20px; }
  .order-pay-copy { grid-template-columns: 52px 1fr; gap: 14px; }
  .order-pay-copy > .icon { width: 50px; height: 50px; }
  .order-pay-copy h2 { font-size: 25px; }
  .order-info-grid article { padding: 22px 18px; }
  .order-requisites { padding: 22px 18px; }
  .order-faq { grid-template-columns: 1fr; }
  .order-heading-row { align-items: flex-start; flex-direction: column; }
  .order-bottom-cta .bottom-cta-panel { padding-block: 28px; grid-template-columns: 1fr; text-align: center; }
  .order-bottom-cta h2 { font-size: 23px; }
  .order-trust { justify-self: center; text-align: left; }
  .legal-main { padding-top: 18px; }
  .legal-title-row { align-items: flex-start; flex-direction: column; }
  .legal-title-row h1 { font-size: 38px; }
  .legal-document { padding: 28px 20px; }
  .legal-document h2 { font-size: 22px; }
  .legal-document p,
  .legal-document li { font-size: 14px; }
}

/* Diploma, supplement and school certificate page */
.diploma-offer {
  margin: 16px 0;
  color: #0a376f;
  font-size: 17px;
  line-height: 1.45;
}
.diploma-hero-visual::before { display: none; }
body.diploma-page:not(.home-page):not(.apostille-page) .diploma-hero-visual img {
  width: min(100%, 430px);
  height: auto;
  max-height: 720px;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  box-shadow: 0 22px 48px rgba(4, 24, 59, .17);
  transform: none;
}
.diploma-price-panel {
  padding: 26px;
  border: 1px solid #dce7f3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(11, 55, 111, .06);
}
.diploma-price-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.diploma-price-cards > article {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 6px 14px;
  padding: 18px 20px;
  border: 1px solid #dce7f3;
  border-radius: 14px;
  background: #f8fbff;
}
.diploma-price-cards > article .icon {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  color: #064aa1;
}
.diploma-price-cards > article h3,
.diploma-price-cards > article span { margin: 0; }
.diploma-price-cards > article strong {
  grid-row: 1 / 3;
  grid-column: 3;
  color: #f36b21;
  font-size: 27px;
  white-space: nowrap;
}
.diploma-price-includes {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-radius: 14px;
  background: #eef6ff;
  color: #062b5c;
}
.diploma-price-includes span {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.diploma-price-includes .icon { width: 32px; height: 32px; color: #064aa1; }
.diploma-price-includes b { color: #f36b21; font-size: 24px; }
.diploma-language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.diploma-language-grid article,
.diploma-combo-block > article {
  padding: 24px;
  border: 1px solid #dce7f3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(11, 55, 111, .05);
}
.diploma-language-grid .icon,
.diploma-combo-block > article > .icon {
  width: 44px;
  height: 44px;
  color: #0753b2;
}
.diploma-language-grid h3,
.diploma-combo-block h3 { color: #062b5c; }
.diploma-language-grid article > strong,
.diploma-combo-block article > strong { color: #f36b21; }
.diploma-combo-block {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: center;
}
.diploma-inline-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.diploma-inline-prices span {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid #dce7f3;
  border-radius: 12px;
  background: #f8fbff;
}
.diploma-inline-prices strong { color: #f36b21; font-size: 23px; }
.diploma-service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.diploma-bottom-cta {
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(92px, auto)) auto;
  gap: 20px;
}
.diploma-bottom-cta .cta-fact {
  min-width: 92px;
  display: block;
  text-align: center;
}
.diploma-bottom-cta .cta-fact strong { white-space: nowrap; }
.diploma-backlinks {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px 30px;
  font-weight: 700;
}

@media (max-width: 840px) {
  .diploma-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diploma-price-panel { padding: 18px 14px; }
  .diploma-price-cards,
  .diploma-language-grid,
  .diploma-combo-block { grid-template-columns: 1fr; }
  .diploma-price-cards > article { grid-template-columns: 42px 1fr; }
  .diploma-price-cards > article strong {
    grid-row: auto;
    grid-column: 2;
    font-size: 23px;
  }
  .diploma-price-includes {
    grid-column: auto;
    grid-template-columns: 1fr;
    text-align: left;
  }
  .diploma-price-includes b { transform: rotate(90deg); justify-self: center; }
  .diploma-price-includes span {
    grid-template-columns: 38px 1fr;
    align-items: center;
    justify-items: start;
    text-align: left;
  }
  .diploma-service-grid { grid-template-columns: 1fr; }
  .diploma-bottom-cta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diploma-bottom-cta > div:first-child,
  .diploma-bottom-cta .btn { grid-column: 1 / -1; }
  .diploma-bottom-cta .cta-fact { min-width: 0; }
  .diploma-backlinks { flex-direction: column; }
  body.diploma-page:not(.home-page):not(.apostille-page) .diploma-hero-visual img {
    width: min(100%, 390px);
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }
}

/* Consent page cascade overrides: keep these after the shared page rules. */
.consent-hero { background: radial-gradient(circle at 47% 28%, #fff 0, #f8fbff 44%, #f2f7fc 100%); }
.consent-hero-grid { grid-template-columns: minmax(0, .95fr) minmax(260px, .78fr) minmax(310px, .72fr); gap: 28px; align-items: center; }
.consent-copy h1 { max-width: 680px; font-size: clamp(38px, 3.1vw, 58px); line-height: 1.02; }
.consent-copy .lead { max-width: 680px; }
.consent-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.consent-facts .hero-fact { min-width: 0; }
.consent-facts .hero-fact strong { font-size: 15px; }
.consent-hero-visual { min-height: 600px; padding: 0; background: transparent; box-shadow: none; }
.consent-hero-visual::before { display: none; }
.consent-process { grid-template-columns: repeat(8, minmax(0, 1fr)); }

@media (max-width: 1180px) {
  .consent-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); }
  .consent-form { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
  .consent-process { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 840px) {
  .consent-hero-grid { display: flex; flex-direction: column; gap: 24px; }
  .consent-copy { display: contents; }
  .consent-copy .eyebrow { order: 1; align-self: stretch; }
  .consent-copy h1 { order: 2; margin-block: 0; font-size: 40px; }
  .consent-copy .lead { order: 3; }
  .consent-copy .consent-facts { order: 4; width: 100%; }
  .consent-copy .consent-primary { order: 5; width: 100%; text-align: center; }
  .consent-copy .included { order: 6; }
  .consent-hero-visual { order: 7; min-height: 0; width: 100%; }
  .consent-form { order: 8; width: 100%; display: block; }
  .consent-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .consent-copy h1 { font-size: 34px; }
  .consent-copy .lead { font-size: 15px; }
  .consent-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consent-process { grid-template-columns: 1fr; }
}

/* Driving licence translation page */
.driving-language-grid,
.driving-country-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}
.driving-language-grid span,
.driving-country-grid span {
  min-height: 82px;
  display: grid;
  place-items: center;
  padding: 14px 10px;
  border: 1px solid #d9e7f4;
  border-radius: 13px;
  color: #0753b2;
  background: #fff;
  font-weight: 700;
  text-align: center;
}
.driving-country-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.driving-country-copy article {
  padding: 24px;
  border: 1px solid #d9e7f4;
  border-radius: 15px;
  background: #fff;
}
.driving-country-copy h3 { font-size: 20px; }
.driving-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.driving-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}
.driving-categories b {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #0753b2;
  font-size: 22px;
}
.driving-categories span { color: #536c88; font-weight: 700; }
.driving-purpose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.driving-purpose-grid span {
  min-height: 78px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid #d9e7f4;
  border-radius: 12px;
  color: #0a376f;
  background: #f8fbff;
  font-weight: 700;
  text-align: center;
}
.driving-note {
  margin: 18px 0 0;
  padding: 16px 20px;
  border-left: 4px solid #f36b21;
  color: #334f70;
  background: #fff8ef;
}
.driving-expert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.driving-apostille strong {
  display: block;
  margin: 16px 0;
  color: #c64f12;
  font-size: 18px;
}
.driving-kpi-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.driving-kpi-grid span {
  min-height: 96px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 14px 8px;
  border-right: 1px solid #e3ebf3;
  color: #536c88;
  font-size: 12px;
  text-align: center;
}
.driving-kpi-grid b { color: #0753b2; font-size: 18px; }
.driving-faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.driving-related-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .driving-language-grid,
  .driving-country-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .driving-kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .driving-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 840px) {
  .driving-country-copy,
  .driving-data-grid,
  .driving-expert-grid { grid-template-columns: 1fr; }
  .driving-faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .driving-language-grid,
  .driving-country-grid,
  .driving-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .driving-related-grid,
  .driving-purpose-grid { grid-template-columns: 1fr; }
}

/* Birth certificate page: sections from the approved client layout. */
.birth-purpose { padding-top: 54px; }
.birth-purpose-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}
.birth-purpose-grid > span {
  min-height: 112px;
  padding: 14px 9px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  border: 1px solid #d9e7f4;
  border-radius: 14px;
  color: #123f72;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.birth-purpose-grid .icon { width: 35px; height: 35px; color: #0753b2; }
.birth-trust-strip { border-block: 1px solid #dce8f4; background: #fff; }
.birth-trust-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.birth-trust-grid > span {
  min-height: 96px;
  padding: 15px;
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 2px 11px;
  border-right: 1px solid #e3ebf3;
  color: #536c88;
}
.birth-trust-grid > span:last-child { border-right: 0; }
.birth-trust-grid .icon { grid-row: 1 / 3; width: 34px; height: 34px; color: #0753b2; }
.birth-trust-grid b { color: #062b5c; font-size: 14px; line-height: 1.25; }
.birth-trust-grid small { font-size: 11px; line-height: 1.3; }
.birth-related-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .birth-purpose-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .birth-trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .birth-trust-grid > span { border-bottom: 1px solid #e3ebf3; }
  .birth-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .birth-purpose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .birth-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .birth-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .birth-trust-grid { grid-template-columns: 1fr; }
  .birth-trust-grid > span { min-height: 78px; border-right: 0; }
}

/* Marriage and divorce certificate page. */
.marriage-purpose { padding-top: 54px; }
.marriage-purpose-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.marriage-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.marriage-service-grid article {
  min-height: 172px;
  padding: 22px;
  border: 1px solid #d9e7f4;
  border-radius: 15px;
  background: #fff;
}
.marriage-service-grid .icon { width: 38px; height: 38px; color: #0753b2; }
.marriage-service-grid h3 { margin: 13px 0 8px; color: #062b5c; font-size: 17px; }
.marriage-service-grid p { margin: 0; color: #536c88; font-size: 13px; }
.marriage-language-strip { padding: 24px 0; border-block: 1px solid #dce8f4; background: #fff; }
.marriage-language-inner {
  display: grid;
  grid-template-columns: minmax(250px, 1.3fr) repeat(6, minmax(105px, 1fr));
  gap: 12px;
  align-items: center;
}
.marriage-language-inner h2 { margin: 0; font: 700 25px/1.15 Georgia, "Times New Roman", serif; }
.marriage-language-inner span {
  padding: 11px 8px;
  border-radius: 10px;
  color: #123f72;
  background: #f6faff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.marriage-related-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .marriage-purpose-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .marriage-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marriage-language-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .marriage-language-inner h2 { grid-column: 1 / -1; }
  .marriage-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .marriage-purpose-grid,
  .marriage-service-grid,
  .marriage-related-grid { grid-template-columns: 1fr; }
  .marriage-language-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marriage-language-inner h2 { font-size: 27px; }
}
