:root {
  --ink: #0b1b2b;
  --ink-2: #132a40;
  --paper: #ffffff;
  --paper-2: #f4f6f7;
  --white: #ffffff;
  --gold: #b8863e;
  --gold-light: #d9ad6a;
  --lagoon: #14625f;
  --lagoon-light: #1c8a85;
  --sky: #38bdf8;
  --text: #1c2733;
  --text-soft: #55636f;
  --text-faint: #8b96a1;
  --border: rgba(11, 27, 43, 0.09);
  --border-strong: rgba(11, 27, 43, 0.15);

  --font-display: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-logo: "Manrope", "Inter", sans-serif;

  --shadow-sm: 0 1px 2px rgba(11,27,43,0.06), 0 1px 1px rgba(11,27,43,0.04);
  --shadow-md: 0 8px 24px rgba(11,27,43,0.10);
  --shadow-lg: 0 24px 60px rgba(11,27,43,0.16);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --container-w: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 92px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold-light); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 600; color: var(--ink); }
.hero h1 { color: var(--white); }

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  margin-top: 0;
  position: relative;
  padding-bottom: 14px;
}
h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--lagoon-light));
  border-radius: 2px;
}

h3 { font-size: 1.2rem; margin-top: 28px; margin-bottom: 10px; }
h4 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 600; }

p { margin: 0 0 16px; color: var(--text-soft); }
p.lead {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.55;
}

strong { color: var(--ink); font-weight: 600; }

.brand { font-family: var(--font-body); font-weight: 700; }
h2 .brand, h1 .brand { color: inherit; }

ul, ol { color: var(--text-soft); padding-left: 1.2em; margin: 0 0 16px; }
li { margin-bottom: 10px; padding-left: 4px; }
li::marker { color: var(--gold); }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px 40px;
}

.container > div:not(.cta-zone):not(.dual-photo-block), .container > h2, .container > .feature-photo {
  padding: 28px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
header.scrolled { box-shadow: var(--shadow-sm); }

.header-wrapper {
  max-width: 1680px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.logo-container { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-text-block { display: flex; flex-direction: column; line-height: 1; justify-content: center; }
.logo-text {
  font-family: var(--font-logo);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 0.9;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.logo-caption {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--gold);
  font-size: 0.52rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-top: 1px;
}

.nav-container { display: flex; align-items: center; gap: 22px; flex: 1 1 auto; justify-content: flex-end; }

.menu { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.menu a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.menu a:hover { color: var(--gold); }

.header-contacts { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-contact {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.header-contact:hover { color: var(--gold); }

.header-cta {
  flex-shrink: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-soft);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 16px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.header-cta:hover { background: #3a3f45; color: var(--white); border-color: #3a3f45; }

.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lang-btn:hover { border-color: var(--gold); background: var(--white); }
.globe-icon { width: 15px; height: 15px; }

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: none; border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.burger-menu span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger-menu.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-menu.open span:nth-child(2) { opacity: 0; }
.burger-menu.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

header .header-wrapper > a[href],
header .header-wrapper > button:not(.burger-menu) {
  font-size: 0.9rem;
}

.btn-primary, .btn-secondary, .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary, .btn-submit {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover, .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(184,134,62,0.38);
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 92vh;
  margin-top: 79px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}

.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  animation: hero-zoom 18s ease-out forwards;
}
@keyframes hero-zoom { to { transform: scale(1); } }

.hero-media-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,27,43,0.55) 0%, rgba(11,27,43,0.30) 32%, rgba(11,27,43,0.55) 70%, rgba(11,27,43,0.92) 100%),
    linear-gradient(90deg, rgba(11,27,43,0.88) 0%, rgba(11,27,43,0.40) 55%, rgba(11,27,43,0.10) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-w);
  margin: 0 auto;
  width: 100%;
  padding: 120px 24px 64px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.flag-chip { display: inline-flex; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,0.3); }
.flag-chip svg { display: block; }

.hero .h1-sub {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(247,244,236,0.86);
  max-width: 620px;
  font-weight: 400;
  margin-bottom: 34px;
}

.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 720px;
  backdrop-filter: blur(8px);
}
.hero-stat { background: rgba(11,27,43,0.35); padding: 18px 16px; }
.hero-stat-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 4px;
  white-space: nowrap;
}
.hero-stat-label { font-size: 0.78rem; color: rgba(247,244,236,0.72); line-height: 1.3; }

.feature-photo {
  margin: 0;
  padding: 0 !important;
  border: none !important;
}
.feature-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 21/9;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.feature-photo figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-faint);
  font-style: italic;
}

.cta-zone {
  background: var(--ink);
  background-image: radial-gradient(circle at 85% 15%, rgba(56,189,248,0.14), transparent 55%);
  border-radius: var(--radius-lg);
  padding: 40px 50px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  margin-top: 28px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.cta-copy { display: flex; flex-direction: column; gap: 6px; align-items: center; max-width: 560px; }

.cta-header {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 600;
  line-height: 1.25;
}
.cta-text {
  color: rgba(255,255,255,0.68);
  font-size: 0.92rem;
  display: block;
  max-width: 46ch;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  max-width: 620px;
}
.form-input {
  width: 100%;
  min-width: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline-offset: 2px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-input::placeholder { color: rgba(255,255,255,0.42); }
.form-input:focus { border-color: var(--gold-light); background: rgba(255,255,255,0.1); }
.btn-submit { width: 100%; }

@media (min-width: 640px) {
  .chat-form { grid-template-columns: 1fr 1fr; }
  .btn-submit { grid-column: 1 / -1; }
}

#geography ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
#geography li {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 0;
}
#geography li strong { color: var(--ink); display: block; margin-bottom: 6px; font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; }

.tabs-nav { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; justify-content: center; }
.tab-trigger {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--white);
  border: 1px solid var(--border-strong);
  color: var(--text-soft);
  padding: 12px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab-trigger:hover { border-color: var(--gold); color: var(--ink); }
.tab-trigger.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.tab-content { display: none; }
.tab-content.active { display: block; animation: fade-in 0.4s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.price-card {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--lagoon-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.price-card:hover::before { transform: scaleX(1); }
.price-card h4 { color: var(--text-soft); margin-bottom: 10px; }
.price-value {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.price-card span { font-size: 0.83rem; color: var(--text-faint); }

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  background: var(--paper-2);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.accordion-item.open { border-color: var(--border-strong); }

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
}
.accordion-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.accordion-icon svg { width: 13px; height: 13px; display: block; }
.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-content-inner {
  padding: 0 22px 20px;
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.65;
}

.timeline { position: relative; margin-top: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 50%; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--border-strong);
  transform: translateX(-50%);
}

.tl-row {
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
}
.tl-row:not(:last-child) { margin-bottom: 6px; }

.tl-slot { flex: 1 1 0; min-width: 0; }

.tl-content { padding: 22px 0; }
.tl-num {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--border-strong);
  line-height: 1;
  margin-bottom: 4px;
  transition: color 0.25s ease;
}
.tl-content h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--lagoon);
  margin: 0 0 8px;
  transition: color 0.25s ease;
}
.tl-content p { font-size: 0.89rem; color: var(--text-soft); margin: 0; line-height: 1.6; }

.tl-dot {
  flex: 0 0 auto;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--lagoon-light);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--lagoon-light);
  z-index: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.tl-row:hover .tl-dot {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(184,134,62,0.22);
  transform: scale(1.25);
}
.tl-row:hover .tl-num { color: var(--gold); }
.tl-row:hover .tl-content h4 { color: var(--gold); }

@media (max-width: 760px) {
  .timeline::before { left: 6px; }
  .tl-row { gap: 18px; }
  .tl-row .tl-slot:not(.tl-content) { display: none; }
  .tl-dot { order: -1; }
  .tl-content { order: 0; padding: 14px 0; }
}

#tax h3 {
  font-family: var(--font-body);
  color: var(--lagoon);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.adv-table-wrap {
  margin: 22px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.adv-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.adv-table th, .adv-table td { padding: 14px 20px; text-align: left; vertical-align: top; }
.adv-table thead th {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.adv-table thead th:first-child { width: 26%; }
.adv-table tbody tr { border-top: 1px solid var(--border); }
.adv-table tbody tr:nth-child(even) { background: var(--paper-2); }
.adv-table td:first-child { font-weight: 700; color: var(--lagoon); }
.adv-table td:last-child { color: var(--text-soft); line-height: 1.55; }

@media (max-width: 700px) {
  .adv-table, .adv-table tbody, .adv-table tr, .adv-table td { display: block; width: 100%; }
  .adv-table thead { display: none; }
  .adv-table tr { border-top: 1px solid var(--border); padding: 14px 18px; }
  .adv-table td { padding: 2px 0; }
  .adv-table td:first-child { font-size: 0.95rem; margin-bottom: 4px; }
}

.tax-table-wrap {
  overflow: hidden;
  margin: 22px auto 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  max-width: 620px;
  width: 100%;
}

.tax-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  white-space: normal;
}

.tax-table th, .tax-table td {
  padding: 12px 18px;
  text-align: left;
  vertical-align: middle;
}

.tax-table thead th {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tax-table tbody tr { border-top: 1px solid var(--border); }
.tax-table tbody tr:nth-child(even) { background: var(--paper-2); }

.tax-table td:first-child {
  font-weight: 600;
  color: var(--ink);
  white-space: normal;
  word-break: break-word;
}

.tax-table td.tax-zero { color: var(--lagoon); font-weight: 600; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 22px 0;
}
.feature-card {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  min-height: 158px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--lagoon);
  margin: 0 0 8px;
}
.feature-card p { font-size: 0.87rem; color: var(--text-soft); margin: 0; line-height: 1.55; }

@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .feature-grid { grid-template-columns: 1fr 1fr 1fr; } }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 24px;
}
.case-card {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}
.case-card.in-view { opacity: 1; transform: translateY(0); }
.cases-grid .case-card:nth-child(1) { transition-delay: 0s; }
.cases-grid .case-card:nth-child(2) { transition-delay: 0.12s; }
.cases-grid .case-card:nth-child(3) { transition-delay: 0.24s; }
.case-card:hover { box-shadow: var(--shadow-md); }

.case-avatar-container {
  width: 84px; height: 84px;
  border-radius: 50%;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.case-avatar-container img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-badge {
  position: absolute; top: 28px; right: 26px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 3px 10px;
}
.case-card h3 { font-size: 1.08rem; margin-top: 0; }
.case-card p { font-size: 0.9rem; margin-bottom: 10px; }
.case-card p:last-child { margin-bottom: 0; }

.legal-page { background: var(--white); padding: 60px 24px 90px; margin-top: 79px; }
.legal-page-inner { max-width: 740px; margin: 0 auto; }
.legal-page-header { margin-bottom: 40px; border-bottom: 1px solid var(--border); padding-bottom: 28px; }
.legal-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.legal-page-header h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 10px; }
.legal-updated { color: var(--text-faint); font-size: 0.85rem; margin: 0; }
.legal-updated code {
  background: var(--paper-2);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.legal-body h2 {
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  margin-top: 38px;
  padding-bottom: 0;
}
.legal-body h2::after { display: none; }
.legal-body p, .legal-body li { color: var(--text-soft); font-size: 0.96rem; }
.legal-body ul { margin-top: 10px; }
.legal-body a { color: var(--lagoon); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--gold); }

.legal-social { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 18px; }
.legal-social a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.legal-social svg { width: 16px; height: 16px; }
.legal-social a:hover { transform: translateY(-2px); color: var(--white); }
.legal-social a:nth-child(1):hover { background: #1877F2; border-color: #1877F2; }
.legal-social a:nth-child(2):hover { background: #2AABEE; border-color: #2AABEE; }
.legal-social a:nth-child(3):hover { background: radial-gradient(circle at 30% 110%, #fdf497, #fd5949 30%, #d6249f 60%, #285AEB); border-color: #d6249f; }
.legal-social a:nth-child(4):hover { background: #0A66C2; border-color: #0A66C2; }
.legal-social a:nth-child(5):hover { background: #000000; border-color: #000000; }
.legal-social a:nth-child(6):hover { background: #FF0000; border-color: #FF0000; }

.legal-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.legal-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(247,244,236,0.85);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.legal-links a:hover { color: var(--white); border-color: var(--gold); }

.cta-zone-compact { margin-top: 48px; margin-bottom: 0; }

footer { background: var(--ink); color: rgba(247,244,236,0.6); margin-top: 30px; }
.footer-wrapper { max-width: var(--container-w); margin: 0 auto; padding: 24px 24px; text-align: center; }
.footer-wrapper p { color: rgba(247,244,236,0.85); margin-bottom: 4px; font-size: 0.9rem; }
.footer-line { margin-bottom: 1px !important; }
.footer-line + .footer-line { margin-bottom: 8px !important; }
.footer-disclaimer { font-size: 0.65rem; line-height: 1.35; color: rgba(247,244,236,0.42); max-width: 760px; margin: 10px auto 0; }

.topbar-ico {
  width: 18px; height: 18px;
  display: inline-flex;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.topbar-ico svg { width: 11px; height: 11px; }
.topbar-ico.ico-tg { background: #2AABEE; color: #fff; }
.topbar-ico.ico-wa { background: #25D366; color: #fff; }

.scroll-top-btn {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 199;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s ease, border-color 0.2s ease;
}
.scroll-top-btn svg { width: 19px; height: 19px; }
.scroll-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); transform: translateY(-3px); }

@media (max-width: 767px) {
  .scroll-top-btn { left: 16px; bottom: 16px; width: 42px; height: 42px; }
  .scroll-top-btn svg { width: 17px; height: 17px; }
}
@media (max-width: 479px) {
  .scroll-top-btn { left: 14px; bottom: 14px; width: 38px; height: 38px; }
  .scroll-top-btn svg { width: 15px; height: 15px; }
}

.fab-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fab-btn {
  width: 49px; height: 49px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 20px rgba(11,27,43,0.28);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, width 0.2s ease, height 0.2s ease;
}
.fab-btn svg { width: 22px; height: 22px; transition: width 0.2s ease, height 0.2s ease; }
.fab-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 26px rgba(11,27,43,0.34); }

@media (max-width: 1023px) {
  .fab-btn { width: 43px; height: 43px; }
  .fab-btn svg { width: 19px; height: 19px; }
}
@media (max-width: 767px) {
  .fab-stack { right: 16px; bottom: 16px; gap: 11px; }
  .fab-btn { width: 38px; height: 38px; }
  .fab-btn svg { width: 17px; height: 17px; }
}
.fab-tg { background: #2AABEE; }
.fab-wa { background: #25D366; }
.fab-chat { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink); }

.fab-panel {
  width: 290px;
  max-width: calc(100vw - 40px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.fab-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.fab-panel-header {
  background: var(--ink);
  color: var(--white);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.94rem;
}
.fab-panel-header button {
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 2px;
}
.fab-panel-header button:hover { color: #fff; }
.fab-panel-body { padding: 16px 18px 18px; }
.fab-panel-body p { font-size: 0.86rem; margin-bottom: 14px; }
.fab-panel-link {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.fab-panel-link:last-child { margin-bottom: 0; }
.fab-panel-link:hover { border-color: var(--gold); background: var(--paper-2); }
.fab-panel-link .topbar-ico { width: 26px; height: 26px; }
.fab-panel-link .topbar-ico svg { width: 15px; height: 15px; }

.guide-card {
  margin-top: 26px;
  background: var(--ink);
  background-image: radial-gradient(circle at 88% 12%, rgba(56,189,248,0.12), transparent 55%);
  border-radius: var(--radius-lg);
  padding: 38px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  box-shadow: var(--shadow-lg);
  align-items: center;
}
.guide-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}
.guide-card-body h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 14px; }
.guide-benefits { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.guide-benefits li {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  padding-left: 24px;
  position: relative;
  margin: 0;
}
.guide-benefits li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--gold-light);
  font-weight: 700;
}
.guide-card-visual { display: none; }
.guide-doc-mock {
  width: 180px;
  aspect-ratio: 3/4;
  margin: 0 auto;
  background: linear-gradient(155deg, #ffffff, #eef1f3);
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  position: relative;
  padding: 20px 16px;
  transform: rotate(-4deg);
}
.guide-doc-mock-bar { width: 34px; height: 5px; background: var(--gold); border-radius: 3px; margin-bottom: 16px; }
.guide-doc-mock-title { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.05rem; line-height: 1.25; }
.guide-doc-mock-sub { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-faint); line-height: 1.5; }

@media (min-width: 760px) {
  .guide-card { grid-template-columns: 1fr auto; padding: 44px; }
  .guide-card-visual { display: block; }
}

.guide-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(11,27,43,0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.guide-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 34px 30px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.guide-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none;
  font-size: 1.5rem; line-height: 1;
  color: var(--text-faint); cursor: pointer;
}
.guide-modal-close:hover { color: var(--ink); }
.guide-modal h3 { font-size: 1.3rem; margin-bottom: 10px; padding-right: 20px; }
.guide-modal > p { font-size: 0.92rem; margin-bottom: 22px; }
#guideForm { display: flex; flex-direction: column; gap: 12px; }
.form-input-light {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.2s ease;
}
.form-input-light:focus { border-color: var(--gold); outline: none; }
.guide-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.4;
  cursor: pointer;
}
.guide-check input { margin-top: 3px; flex-shrink: 0; }
.guide-check a { color: var(--lagoon); text-decoration: underline; }
.guide-submit { width: 100%; margin-top: 4px; }
.guide-file-note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-faint);
  margin-top: 4px;
}

.feature-photo-split { margin-top: 40px !important; }

.dual-photo-block { padding-bottom: 56px; display: grid; grid-template-columns: 1fr; gap: 14px; }
.dual-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.dual-photo img { width: 100%; height: 100%; object-fit: cover; }
.dual-photo-caption {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--text-faint);
  text-align: left;
  margin: 12px 0 0;
  font-style: italic;
}
@media (min-width: 640px) { .dual-photo-block { grid-template-columns: 1fr 1fr; } }

.lang-overlay {
  display: none;
  position: fixed; 
  inset: 0;
  background: rgba(11, 27, 43, 0.80);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lang-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
}

.lang-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.lang-modal-header h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.lang-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-faint);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

.lang-modal-close:hover {
  color: var(--ink);
  background: var(--paper-2);
}

.lang-search-wrap {
  padding: 12px 0 8px;
}

.lang-search {
  width: 100%;
  padding: 9px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text);
  background: var(--paper-2);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lang-search:focus {
  border-color: var(--gold);
  background: var(--white);
}

.lang-modal-scroll {
  overflow-y: auto;
  padding-right: 4px;
}

.lang-modal-scroll::-webkit-scrollbar {
  width: 4px;
}

.lang-modal-scroll::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 4px;
}

.lang-group-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 14px 0 8px 0;
}

.lang-group-title:first-child {
  margin-top: 4px;
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 6px;
}

.lang-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-soft);
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lang-item:hover {
  background: var(--paper-2);
  border-color: var(--gold);
  color: var(--ink);
}

.lang-item.active,
.lang-item[style*="color:var(--gold)"] {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

@media (max-width: 1600px) {
  .nav-container {
    position: fixed;
    top: 0; right: -100%;
    width: min(280px, 78vw);
    height: 100vh;
    height: 100dvh;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 90px 28px 28px;
    gap: 26px;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    z-index: 500;
  }
  .nav-container.open { right: 0; }
  .menu { flex-direction: column; align-items: flex-start; gap: 18px; }
  .header-contacts { flex-direction: column; align-items: flex-start; gap: 14px; }
  .header-cta { width: 100%; text-align: center; }
  .lang-btn { width: 100%; justify-content: center; }
  .burger-menu { display: flex; position: relative; z-index: 501; }

  .hero { min-height: 100vh; }
  .hero-inner { padding: 100px 20px 48px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px 30px; }
  .container > div:not(.cta-zone), .container > h2 { padding: 20px 0; }
  .cta-zone { padding: 28px 18px; }
  h1 { font-size: 2rem; }
  .lang-modal { padding: 16px 18px; }
  .lang-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}

html[dir="rtl"] {
  font-family: "Cairo", "Inter", -apple-system, sans-serif;
}

html[dir="rtl"] h1, 
html[dir="rtl"] h2, 
html[dir="rtl"] h3, 
html[dir="rtl"] h4,
html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] h2::after {
  left: auto;
  right: 0;
}

html[dir="rtl"] ul, 
html[dir="rtl"] ol {
  padding-left: 0;
  padding-right: 1.2em;
}

html[dir="rtl"] li {
  padding-left: 0;
  padding-right: 4px;
}

html[dir="rtl"] .nav-container {
  justify-content: flex-start;
}

@media (max-width: 1600px) {
  html[dir="rtl"] .nav-container {
    right: auto;
    left: -100%;
    transition: left 0.3s ease;
  }
  html[dir="rtl"] .nav-container.open {
    left: 0;
    right: auto;
  }
}

html[dir="rtl"] .adv-table th, 
html[dir="rtl"] .adv-table td,
html[dir="rtl"] .tax-table th, 
html[dir="rtl"] .tax-table td {
  text-align: right;
}

html[dir="rtl"] .accordion-header {
  text-align: right;
}

html[dir="rtl"] .tl-content h4,
html[dir="rtl"] .tl-content p {
  text-align: right;
}

@media (max-width: 760px) {
  html[dir="rtl"] .timeline::before {
    left: auto;
    right: 6px;
  }
}

html[dir="rtl"] .guide-card {
  background-image: radial-gradient(circle at 12% 12%, rgba(56,189,248,0.12), transparent 55%);
}

html[dir="rtl"] .guide-benefits li {
  padding-left: 0;
  padding-right: 24px;
}

html[dir="rtl"] .guide-benefits li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .guide-doc-mock {
  transform: rotate(4deg);
}

html[dir="rtl"] .guide-doc-mock-bar {
  margin-left: auto;
  margin-right: 0;
}

html[dir="rtl"] .guide-modal-close {
  right: auto;
  left: 16px;
}

html[dir="rtl"] .guide-modal h3 {
  padding-right: 0;
  padding-left: 20px;
}

html[dir="rtl"] .case-card {
  text-align: right;
}

html[dir="rtl"] .case-badge {
  right: auto;
  left: 26px;
}

html[dir="rtl"] .fab-stack {
  right: auto;
  left: 20px;
  align-items: flex-start;
}

html[dir="rtl"] .scroll-top-btn {
  left: auto;
  right: 20px;
}

@media (max-width: 767px) {
  html[dir="rtl"] .fab-stack { left: 16px; right: auto; }
  html[dir="rtl"] .scroll-top-btn { right: 16px; left: auto; }
}

@media (max-width: 479px) {
  html[dir="rtl"] .scroll-top-btn { right: 14px; left: auto; }
}

html[dir="rtl"] .dual-photo-caption {
  text-align: right;
}