:root {
  --blue: #0f6fa8;
  --blue-dark: #0b5f91;
  --orange: #b45309;
  --ink: #0f172a;
  --muted: #5f6f85;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --dark: #0f172a;
  --font-body:
    "Segoe UI Variable Text",
    "Segoe UI",
    "Aptos",
    "Tahoma",
    sans-serif;
  --font-heading:
    "Segoe UI Variable Display",
    "Segoe UI",
    "Aptos Display",
    "Trebuchet MS",
    sans-serif;
  --font-ui:
    "Segoe UI Variable Text",
    "Segoe UI Semibold",
    "Segoe UI",
    "Aptos",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--sticky-anchor-offset, 140px);
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.page-light {
  background:
    radial-gradient(circle at 12% 10%, rgba(29, 150, 220, 0.12), transparent 26rem),
    radial-gradient(circle at 88% 18%, rgba(245, 138, 31, 0.12), transparent 24rem),
    #ffffff;
}

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

.container {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
}

.header .container {
  width: min(100% - 48px, 1760px);
}

.notice {
  position: sticky;
  top: 0;
  z-index: 11;
  border-bottom: 1px solid #fde68a;
  background: #fef3c7;
}

.notice-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.notice-text {
  color: #713f12;
  font-size: 15px;
  line-height: 1.6;
}

.notice-text strong {
  color: #422006;
}

.notice-link {
  flex: 0 0 auto;
  border-radius: 16px;
  background: var(--blue);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 12px 18px;
  box-shadow: 0 12px 24px rgba(15, 111, 168, 0.22);
}

.header {
  position: sticky;
  top: var(--notice-height, 0px);
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 134px;
  padding: 16px 0;
  transition: padding 180ms ease;
}

.brand-link {
  flex: 0 1 auto;
  max-width: 320px;
  max-height: none;
  overflow: visible;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-width 220ms ease,
    max-height 220ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.logo {
  display: block;
  width: 280px;
  height: auto;
  max-width: 52vw;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #475569;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.nav a:hover {
  color: var(--blue);
  background: rgba(29, 150, 220, 0.07);
}

.nav a.is-active {
  color: #0369a1;
  background: rgba(29, 150, 220, 0.14);
  box-shadow: inset 0 0 0 1px rgba(29, 150, 220, 0.12);
}

.nav-services {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-services::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 18px;
}

.services-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 30;
  width: min(620px, calc(100vw - 32px));
  max-height: min(72vh, 620px);
  overflow-y: auto;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
  padding: 10px 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
}

.services-dropdown::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}

.nav-services:hover .services-dropdown,
.nav-services:focus-within .services-dropdown,
.nav-services.is-open .services-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.services-menu-grid {
  display: block;
  column-count: 2;
  column-gap: 46px;
}

.services-menu-group {
  break-inside: avoid;
  display: grid;
  gap: 4px;
  align-content: start;
  margin: 0 0 12px;
  padding: 4px;
}

.services-menu-title {
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(29, 150, 220, 0.2);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(29, 150, 220, 0.15), rgba(29, 150, 220, 0.06));
  color: #075985;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.25;
  padding: 8px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
  cursor: default;
}

.services-menu-links {
  display: grid;
  gap: 1px;
}

.services-menu-link {
  display: block;
  border-radius: 8px;
  color: #334155;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.25;
  padding: 5px 8px;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.services-menu-link:hover {
  color: var(--blue);
  background: rgba(29, 150, 220, 0.08);
}

.messenger-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.nav-messengers {
  margin-left: 2px;
  padding-left: 2px;
}

.nav-messengers .messenger-icon {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
}

.nav-messengers .messenger-icon img {
  transform: scale(1.68);
  transform-origin: center;
}

.nav-messengers .messenger-icon.instagram {
  opacity: 0.82;
}

.nav-messengers .messenger-icon.instagram:hover {
  opacity: 1;
}

.messenger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: #ffffff;
  color: #ffffff;
  flex: 0 0 auto;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.messenger-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
}

.messenger-icon:hover {
  transform: translateY(-1px);
}

.messenger-icon.is-disabled {
  cursor: not-allowed;
  filter: grayscale(0.25);
  opacity: 0.42;
  pointer-events: none;
}

.instagram-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  z-index: 2;
}

.instagram-callout {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 35;
  width: max-content;
  max-width: 200px;
  border-radius: 14px;
  border: 1px solid rgba(251, 146, 60, 0.36);
  background: linear-gradient(135deg, #fff7ed 0%, #eff6ff 100%);
  color: #334155;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.28;
  text-align: center;
  padding: 7px 10px;
  pointer-events: none;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.instagram-callout::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 12px;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #fff7ed;
  border-left: 5px solid transparent;
}

.langs {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
  width: max-content;
  max-width: none;
  max-height: 60px;
  overflow: visible;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  transition:
    max-width 220ms ease,
    max-height 220ms ease,
    opacity 160ms ease,
    transform 160ms ease,
    padding 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.langs button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475569;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 8px 12px;
}

.langs button::before {
  content: "";
  width: 18px;
  height: 12px;
  border-radius: 3px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.langs button[data-lang="ru"]::before {
  background-image: url("./flags/ru.svg");
}

.langs button[data-lang="ua"]::before {
  background-image: url("./flags/ua.svg");
}

.langs button[data-lang="en"]::before {
  background-image: url("./flags/gb.svg");
}

.langs .active {
  background: var(--blue);
  color: #ffffff;
}

.is-scrolled .header {
  border-bottom-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.is-scrolled .header-row {
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 10px 0;
}

.is-scrolled .brand-link {
  flex: 0 0 0;
  max-width: 0;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

.is-scrolled .langs {
  flex: 0 0 0;
  max-width: 0;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

.is-scrolled .nav {
  order: 0;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
  padding: 10px 18px;
  scrollbar-width: none;
}

.is-scrolled .nav::-webkit-scrollbar {
  display: none;
}

.is-scrolled .instagram-callout {
  opacity: 0;
  transform: translateY(-4px);
  visibility: hidden;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  font-family: var(--font-heading);
  max-width: 680px;
  font-size: clamp(32px, 4.8vw, 56px);
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  line-height: 1.28;
  font-weight: 740;
  letter-spacing: 0;
}

.eyebrow {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section {
  padding: 80px 0;
  scroll-margin-top: var(--sticky-anchor-offset, 150px);
}

.section-soft {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.section-dark {
  background: var(--dark);
  color: #ffffff;
}

.section-dark .eyebrow {
  color: #94a3b8;
}

.lead,
.section-text,
.item-text {
  color: var(--muted);
  line-height: 1.78;
}

.lead {
  max-width: 640px;
  margin-top: 20px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
}

.section-text {
  max-width: 760px;
  margin-top: 16px;
  font-size: 16px;
  letter-spacing: 0;
}

.item-text {
  font-size: 15.5px;
  letter-spacing: 0;
}

.section-dark .section-text,
.section-dark .item-text,
.section-dark .contact-lines {
  color: #cbd5e1;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-side {
  display: grid;
  gap: 24px;
}

.hero-page {
  padding: 80px 0 44px;
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.86), rgba(255, 255, 255, 0.94) 54%, rgba(255, 247, 237, 0.72));
}

.achievements-section {
  padding: 8px 0 40px;
}

.achievements-strip {
  margin-top: 0;
}

.legacy-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(100%, 980px);
  margin: 0 auto 28px;
}

.legacy-stat-card {
  align-content: center;
  justify-items: center;
  min-height: 172px;
  padding: 34px 28px;
  text-align: center;
}

.legacy-stat-card .achievement-value {
  font-size: clamp(42px, 4vw, 54px);
}

.legacy-stat-card .achievement-label {
  max-width: 250px;
  margin: 0 auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(29, 150, 220, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #075985;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 850;
  padding: 7px 13px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 18px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0 24px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(29, 150, 220, 0.22);
}

.btn-secondary {
  border: 1px solid #cbd5e1;
  background: #ffffff;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  box-shadow: 0 18px 34px rgba(29, 150, 220, 0.3);
}

.btn-secondary:hover {
  border-color: rgba(29, 150, 220, 0.34);
  background: #f0f9ff;
}

.card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  padding: 24px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.card:hover {
  border-color: rgba(29, 150, 220, 0.2);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.08);
}

.achievement-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.achievement-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
  pointer-events: none;
}

.achievement-card-sky::before {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.94), rgba(255, 255, 255, 0.6));
}

.achievement-card-mint::before {
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.92), rgba(255, 255, 255, 0.6));
}

.achievement-card-violet::before {
  background: linear-gradient(135deg, rgba(250, 245, 255, 0.92), rgba(255, 255, 255, 0.62));
}

.achievement-card-amber::before {
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.94), rgba(255, 255, 255, 0.62));
}

.achievement-value,
.achievement-label {
  position: relative;
  z-index: 1;
}

.achievement-value {
  color: #0f172a;
  font-family: var(--font-heading);
  font-size: clamp(40px, 4vw, 52px);
  font-weight: 800;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
  letter-spacing: 0;
}

.achievement-label {
  color: #334155;
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
  text-wrap: balance;
}

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.services-hero-page {
  padding: 72px 0 36px;
}

.services-hero-copy {
  max-width: 860px;
}

.services-hero-copy .lead {
  max-width: 760px;
}

.services-section-head {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.services-directions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.home-services-section {
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  padding-bottom: 72px;
  background: #eef6fc;
}

.home-services-section::before {
  display: none;
}

.home-services-section .container {
  position: relative;
  z-index: 1;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.service-direction-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
}

.home-service-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  border-color: rgba(29, 150, 220, 0.18);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.98)),
    #fff;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.08);
  padding: 0;
  transform: translateY(0);
  animation: homeServiceIn 640ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--service-index, 0) * 80ms);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.home-service-card:hover,
.home-service-card:focus-within {
  border-color: rgba(29, 150, 220, 0.36);
  box-shadow: 0 30px 72px rgba(15, 23, 42, 0.13);
  transform: translateY(-4px);
}

.home-service-card:nth-child(5):last-child {
  grid-column: 1 / -1;
}

.home-service-card:nth-child(5):last-child .service-card-body {
  max-width: 980px;
}

.home-service-card::before,
.service-direction-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.8), rgba(255, 255, 255, 0) 58%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.home-service-card:hover::before,
.service-direction-card:hover::before {
  opacity: 1;
}

.service-card-visual {
  position: relative;
  height: clamp(166px, 18vw, 220px);
  min-height: 166px;
  overflow: hidden;
  border-bottom: 1px solid rgba(29, 150, 220, 0.12);
  background:
    radial-gradient(circle at 20% 24%, rgba(29, 150, 220, 0.18), transparent 28%),
    radial-gradient(circle at 78% 78%, rgba(255, 138, 21, 0.18), transparent 30%),
    linear-gradient(135deg, #eef8ff 0%, #ffffff 48%, #fff3e5 100%);
}

.service-card-visual::before {
  content: "";
  position: absolute;
  inset: -60px -20px auto;
  height: 170px;
  background:
    repeating-linear-gradient(165deg, rgba(15, 111, 168, 0.08) 0 1px, transparent 1px 12px);
  opacity: 0.7;
  transform: rotate(-4deg);
}

.service-card-visual::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: rgba(29, 150, 220, 0.1);
  filter: blur(2px);
}

.service-card-image {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-body {
  display: grid;
  gap: 14px;
  padding: 26px 28px 0;
}

.home-service-card .direction-action {
  display: flex;
  width: auto;
  justify-content: center;
  margin: auto 28px 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1d96dc, #0f6fa8);
  box-shadow: 0 14px 30px rgba(29, 150, 220, 0.24);
  color: #fff;
  padding: 14px 18px;
  text-align: center;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.visual-document,
.visual-card,
.visual-passport,
.visual-letter,
.visual-seal,
.visual-dot {
  position: absolute;
  z-index: 1;
  display: block;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.visual-document {
  width: 116px;
  height: 148px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(#dbe7f3 0 0) 20px 34px / 72px 6px no-repeat,
    linear-gradient(#e6eef7 0 0) 20px 56px / 84px 5px no-repeat,
    linear-gradient(#e6eef7 0 0) 20px 74px / 68px 5px no-repeat,
    linear-gradient(155deg, #fff, #f8fbff);
}

.visual-document-main {
  left: 52%;
  top: 28px;
  transform: rotate(-8deg);
}

.visual-document-back {
  right: 22%;
  top: 34px;
  transform: rotate(10deg);
  opacity: 0.72;
}

.visual-card {
  width: 118px;
  height: 76px;
  border-radius: 14px;
  background:
    linear-gradient(#ffffff 0 0) 18px 18px / 34px 6px no-repeat,
    linear-gradient(#ffffff 0 0) 18px 34px / 54px 5px no-repeat,
    linear-gradient(135deg, #0ea5e9, #1d96dc);
}

.visual-card-blue {
  left: 18%;
  top: 54px;
  transform: rotate(-5deg);
}

.visual-passport {
  left: 38%;
  top: 26px;
  width: 110px;
  height: 142px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.38) 0 18px, transparent 19px),
    linear-gradient(145deg, #0f6fa8, #0ea5e9);
  transform: rotate(-8deg);
}

.visual-passport::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 38px;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
}

.visual-letter {
  left: 23%;
  top: 38px;
  width: 144px;
  height: 98px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, transparent 49%, rgba(29, 150, 220, 0.16) 50%) 0 0 / 100% 100%,
    linear-gradient(35deg, transparent 49%, rgba(255, 138, 21, 0.16) 50%) 0 0 / 100% 100%,
    #fff;
  transform: rotate(-4deg);
}

.visual-seal {
  right: 22%;
  bottom: 36px;
  width: 34px;
  height: 34px;
  border: 5px solid rgba(255, 138, 21, 0.84);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.visual-dot {
  width: 26px;
  height: 26px;
  border-radius: 999px;
}

.visual-dot-orange {
  right: 18%;
  top: 46px;
  background: linear-gradient(135deg, #ffb020, #ff8a15);
}

.visual-dot-blue {
  left: 18%;
  bottom: 38px;
  background: linear-gradient(135deg, #4fc3f7, #1d96dc);
}

.home-service-card > *,
.service-direction-card > * {
  position: relative;
  z-index: 1;
}

.service-direction-card h3,
.home-service-card h3,
.service-compact-card h3,
.service-step-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.direction-links,
.compact-links {
  display: grid;
  gap: 8px;
}

.direction-links {
  margin-top: 2px;
}

.direction-links a,
.compact-links a {
  color: #334155;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  transition: color 160ms ease;
}

.home-service-card .direction-links {
  margin-top: 4px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.home-service-card .direction-links a {
  position: relative;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  padding: 12px 28px 12px 0;
  transition:
    color 160ms ease,
    padding-left 160ms ease;
}

.home-service-card .direction-links a::after {
  content: "↗";
  position: absolute;
  top: 50%;
  right: 2px;
  color: rgba(15, 111, 168, 0.62);
  transform: translateY(-50%);
  transition: transform 160ms ease, color 160ms ease;
}

.direction-links a:hover,
.compact-links a:hover {
  color: var(--blue);
}

.home-service-card .direction-links a:hover {
  padding-left: 6px;
}

.home-service-card .direction-links a:hover::after {
  color: var(--orange);
  transform: translate(3px, -55%);
}

.direction-action {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  border-radius: 999px;
  background: rgba(29, 150, 220, 0.1);
  color: #0369a1;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 850;
  padding: 9px 14px;
}

.home-service-card .direction-action:hover {
  background: linear-gradient(135deg, #ff9d26, #ff8a15);
  box-shadow: 0 18px 34px rgba(255, 138, 21, 0.24);
  color: #fff;
  transform: translateY(-2px);
}

@keyframes homeServiceIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trust-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  border: 1px solid rgba(29, 150, 220, 0.14);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(240, 249, 255, 0.94), rgba(255, 255, 255, 0.96) 58%, rgba(255, 247, 237, 0.72));
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  padding: 32px;
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trust-point {
  position: relative;
  border: 1px solid rgba(29, 150, 220, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  color: #0f172a;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.38;
  padding: 16px 16px 16px 42px;
}

.trust-point::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 15px;
  color: var(--blue);
  font-weight: 900;
}

.home-final-cta-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.home-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 32px;
  background: linear-gradient(135deg, #0f172a, #12355a 54%, #075985);
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
  padding: 34px;
}

.home-final-cta h2,
.home-final-cta .section-text {
  color: #ffffff;
}

.home-final-cta .section-text {
  max-width: 720px;
  opacity: 0.84;
}

.home-final-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.services-help-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.services-help-card > div:first-child {
  max-width: 760px;
}

.services-help-card .item-text {
  margin-top: 12px;
}

.services-steps-grid,
.services-compact-grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.services-steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-compact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-step-card,
.service-compact-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
}

.service-step-card .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(29, 150, 220, 0.1);
  color: #0369a1;
  font-family: var(--font-ui);
  font-weight: 900;
  margin-bottom: 0;
}

.service-group-card {
  display: grid;
  gap: 16px;
}

.service-group-meta {
  color: var(--blue);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-group-card h3 {
  font-size: 27px;
  line-height: 1.14;
  font-weight: 760;
}

.service-group-preview {
  display: grid;
  gap: 10px;
}

.service-group-preview span {
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
}

.service-group-preview-link {
  display: inline-flex;
  align-items: center;
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
  transition: color 160ms ease;
}

.service-group-preview-link:hover {
  color: var(--blue);
}

.group-jump-link {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 800;
}

.service-groups-stack {
  display: grid;
  gap: 28px;
  margin-top: 32px;
}

.service-group-block {
  scroll-margin-top: 160px;
}

.service-group-header {
  max-width: 760px;
  margin-bottom: 24px;
}

.service-items-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-item-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
}

.service-item-link {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 800;
}

.dark-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.small-title {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.accent-card {
  border-color: #fed7aa;
  background: #fff7ed;
  box-shadow: none;
}

.accent-card .small-title {
  color: #c2410c;
}

.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.case-pill {
  display: block;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  background: var(--soft);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  padding: 11px 14px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.case-pill:hover,
.case-pill:focus-visible {
  border-color: rgba(29, 150, 220, 0.35);
  box-shadow: 0 12px 24px rgba(29, 150, 220, 0.1);
  transform: translateY(-1px);
}

.instagram-promo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(135deg, rgba(255, 252, 248, 0.98) 0%, rgba(255, 247, 237, 0.96) 44%, rgba(250, 245, 255, 0.96) 100%) padding-box,
    linear-gradient(135deg, rgba(245, 133, 41, 0.5), rgba(253, 218, 119, 0.6), rgba(221, 42, 123, 0.5), rgba(129, 52, 175, 0.48), rgba(81, 91, 212, 0.42)) border-box;
  box-shadow:
    0 22px 48px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.38) inset;
}

.instagram-promo-card::before,
.instagram-promo-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.instagram-promo-card::before {
  top: -32px;
  right: -20px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(221, 42, 123, 0.18) 0%, rgba(221, 42, 123, 0) 72%);
  filter: blur(10px);
}

.instagram-promo-card::after {
  bottom: -46px;
  left: -6px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(81, 91, 212, 0.14) 0%, rgba(81, 91, 212, 0) 74%);
  filter: blur(12px);
}

.instagram-promo-card .eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7c2d92;
}

.instagram-promo-card .eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f58529 0%, #feda77 35%, #dd2a7b 62%, #8134af 82%, #515bd4 100%);
  box-shadow: 0 0 0 4px rgba(221, 42, 123, 0.08);
}

.instagram-promo-card h3 {
  position: relative;
  z-index: 1;
  color: #0f172a;
}

.instagram-promo-card .instagram-side-text {
  position: relative;
  z-index: 1;
  color: #475569;
}

.instagram-promo-card .actions {
  position: relative;
  z-index: 1;
}

.instagram-promo-card .btn-primary {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 78%, #515bd4 100%);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(221, 42, 123, 0.22);
}

.instagram-promo-card .btn-primary:hover,
.instagram-promo-card .btn-primary:focus-visible {
  transform: translateY(-1px);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.process-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 40px;
}

.process-step-card {
  min-height: 100%;
}

.process-step-card h3 {
  margin-top: 0;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(125, 211, 252, 0.84);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.1);
}

.step-number {
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 12px;
}

.service-card,
.faq-item,
.news-mini-card,
.post-card {
  height: 100%;
}

a.news-mini-card {
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

a.news-mini-card:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 150, 220, 0.22);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.11);
}

a.news-mini-card:focus-visible {
  outline: 3px solid rgba(29, 150, 220, 0.24);
  outline-offset: 5px;
}

.service-card h3,
.faq-item h3,
.news-mini-card h3,
.post-card h3 {
  margin-top: 14px;
}

.card-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 800;
}

.news-mini-meta,
.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.news-mini-category,
.post-category {
  color: var(--orange);
}

.news-mini-text,
.post-text {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.72;
  letter-spacing: 0;
}

.post-card {
  min-height: 286px;
  padding: 30px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.post-card h3 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 760;
  letter-spacing: 0;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.11);
}

.news-latest-section {
  overflow: hidden;
}

.news-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.news-carousel-controls {
  display: inline-flex;
  gap: 10px;
  flex: 0 0 auto;
}

.news-arrow {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(29, 150, 220, 0.24);
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue-dark);
  font-size: 21px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.news-arrow:hover,
.news-arrow:focus-visible {
  border-color: rgba(29, 150, 220, 0.46);
  background: #eff8ff;
  box-shadow: 0 16px 34px rgba(29, 150, 220, 0.16);
  transform: translateY(-1px);
}

.news-arrow:disabled,
.news-arrow:disabled:hover,
.news-arrow:disabled:focus-visible {
  border-color: rgba(148, 163, 184, 0.22);
  background: #f8fafc;
  color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.news-carousel-shell {
  position: relative;
  margin-top: 38px;
  overflow: hidden;
}

.news-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px, 386px);
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: clamp(18px, 4vw, 56px);
  padding: 4px clamp(18px, 4vw, 56px) 18px;
  cursor: grab;
  touch-action: pan-x pan-y;
  scrollbar-width: thin;
  scrollbar-color: rgba(29, 150, 220, 0.38) transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42px, #000 calc(100% - 42px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 42px, #000 calc(100% - 42px), transparent 100%);
}

.news-carousel-track:focus-visible {
  outline: 3px solid rgba(29, 150, 220, 0.26);
  outline-offset: 8px;
  border-radius: 28px;
}

.news-carousel-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.news-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 30px;
  scroll-snap-align: start;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.news-card:focus-visible {
  outline: 3px solid rgba(29, 150, 220, 0.24);
  outline-offset: 5px;
}

article.news-card {
  cursor: default;
}

article.news-card:focus-within {
  outline: 3px solid rgba(29, 150, 220, 0.24);
  outline-offset: 5px;
}

.news-card-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  margin: -14px -14px 22px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 18%, rgba(29, 150, 220, 0.2), transparent 36%),
    radial-gradient(circle at 82% 82%, rgba(255, 139, 21, 0.18), transparent 38%),
    linear-gradient(135deg, #f8fbff, #eff8ff 48%, #fff7ed);
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-media-fallback {
  gap: 14px;
  padding: 24px;
}

.news-card-media-fallback img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(29, 150, 220, 0.14));
}

.news-card-media-fallback span {
  max-width: 90%;
  color: var(--blue-dark);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.news-detail-media.news-detail-media-fallback {
  display: grid;
  place-items: center;
  gap: 14px;
  min-height: 320px;
  padding: 32px;
}

.news-detail-media.news-detail-media-fallback img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(29, 150, 220, 0.16));
}

.news-detail-media.news-detail-media-fallback span {
  max-width: 90%;
  color: var(--blue-dark);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.news-card h3 {
  margin-top: 16px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.22;
  font-weight: 780;
  letter-spacing: 0;
}

.news-card-title-link {
  transition: color 0.16s ease;
}

.news-card-title-link:hover,
.news-card-title-link:focus-visible {
  color: var(--blue);
}

.news-card .post-text {
  flex: 1;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.news-card .read-more {
  align-self: flex-start;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 150, 220, 0.22);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.11);
}

.news-card-empty {
  grid-column: 1 / -1;
  min-height: 160px;
  cursor: default;
}

.news-card-loading {
  cursor: default;
}

.news-more-row,
.load-more-row {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.instagram-feed-section {
  border-top: 1px solid rgba(203, 213, 225, 0.72);
  border-bottom: 1px solid rgba(203, 213, 225, 0.72);
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.82), rgba(255, 255, 255, 0.9) 52%, rgba(255, 247, 237, 0.7));
}

.instagram-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 360px));
  justify-content: center;
  gap: 22px;
  margin-top: 38px;
}

.instagram-post-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.instagram-post-card:hover,
.instagram-post-card:focus-visible {
  border-color: rgba(221, 42, 123, 0.28);
  box-shadow: 0 24px 54px rgba(221, 42, 123, 0.12);
  transform: translateY(-3px);
}

.instagram-post-card:focus-visible {
  outline: 3px solid rgba(221, 42, 123, 0.22);
  outline-offset: 4px;
}

.instagram-post-media {
  display: block;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 133, 41, 0.18), transparent 32%),
    radial-gradient(circle at 80% 10%, rgba(221, 42, 123, 0.16), transparent 34%),
    #f8fafc;
}

.instagram-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.instagram-post-body {
  display: grid;
  gap: 10px;
  padding: 20px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.instagram-post-body strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.3;
}

.instagram-feed-status {
  margin-top: 28px;
  border: 1px dashed rgba(29, 150, 220, 0.28);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  line-height: 1.65;
  padding: 18px 20px;
}

.instagram-feed-status:empty {
  display: none;
}

.archive-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 38px;
}

.archive-news-card {
  scroll-margin-top: var(--sticky-anchor-offset, 150px);
}

.archive-news-card .news-card-media {
  aspect-ratio: 16 / 9;
}

.archive-news-content {
  margin-top: 12px;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.68;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  flex: 1;
}

.read-more {
  display: inline-flex;
  margin-top: 24px;
  color: var(--blue);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 800;
}

.news-note {
  margin-top: 40px;
  border: 1px dashed #cbd5e1;
  border-radius: 24px;
  background: rgba(248, 250, 252, 0.82);
  color: var(--muted);
  line-height: 1.7;
  padding: 20px;
}

.news-detail-section {
  padding-top: clamp(34px, 4.2vw, 64px);
  padding-bottom: 80px;
  background:
    radial-gradient(circle at 10% 8%, rgba(29, 150, 220, 0.1), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(255, 139, 21, 0.1), transparent 34%),
    #f8fbff;
}

.news-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 32px;
  align-items: start;
}

.news-detail-card {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.08);
  padding: clamp(28px, 5vw, 58px);
}

.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
}

.news-detail-card h1 {
  margin-top: 22px;
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.news-detail-card .lead {
  max-width: 820px;
  margin-top: 22px;
}

.news-detail-media {
  display: grid;
  place-items: center;
  margin: 34px 0 0;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 16% 18%, rgba(29, 150, 220, 0.22), transparent 34%),
    radial-gradient(circle at 82% 82%, rgba(255, 139, 21, 0.2), transparent 36%),
    linear-gradient(135deg, #f8fbff, #eff8ff 48%, #fff7ed);
}

.news-detail-media img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  display: block;
}

.news-detail-media-fallback {
  min-height: 320px;
  gap: 18px;
  padding: 48px;
}

.news-detail-media-fallback img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(29, 150, 220, 0.16));
}

.news-detail-media-fallback span {
  color: var(--blue-dark);
  font-family: var(--font-ui);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.news-detail-content {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin-top: 34px;
  color: #334155;
  font-size: 18px;
  line-height: 1.82;
}

.news-detail-content p {
  margin: 0;
}

.news-auto-list {
  display: grid;
  gap: 14px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.news-auto-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(29, 150, 220, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.82), rgba(255, 255, 255, 0.94) 52%, rgba(255, 247, 237, 0.58));
  padding: 16px 18px;
}

.news-auto-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(29, 150, 220, 0.12);
  color: var(--blue-dark);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.news-auto-callout {
  border: 1px solid rgba(255, 139, 21, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 139, 21, 0.15), transparent 36%),
    rgba(255, 247, 237, 0.82);
  color: #334155;
  font-weight: 760;
  padding: 20px 22px;
}

.news-detail-source {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: #64748b;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 800;
}

.news-detail-source a {
  color: var(--blue);
}

.news-detail-aside {
  position: static;
  display: grid;
  gap: 18px;
}

.news-detail-aside .actions {
  margin-top: 22px;
}

.news-detail-nav {
  display: grid;
  gap: 6px;
  padding: 24px;
}

.news-detail-empty {
  display: grid;
  gap: 18px;
  place-items: start;
}

@media (max-width: 980px) {
  .news-detail-layout {
    grid-template-columns: 1fr;
  }

  .news-detail-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .news-carousel-track {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
  }

  .news-card-media {
    margin: -10px -10px 18px;
    border-radius: 18px;
  }

  .news-detail-section {
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .news-detail-card {
    border-radius: 26px;
    padding: 24px;
  }

  .news-detail-card h1 {
    font-size: 29px;
  }

  .news-detail-media {
    border-radius: 22px;
  }

  .news-detail-media-fallback {
    min-height: 230px;
    padding: 32px;
  }

  .news-detail-content {
    font-size: 15px;
    line-height: 1.68;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 32px;
  font-size: 15px;
  line-height: 1.6;
}

.messenger-line {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
}

.contact-messenger-links {
  margin-left: 2px;
}

.unavailable {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  opacity: 0.72;
}

.temporarily-unavailable {
  display: inline;
  margin-top: 0;
  white-space: nowrap;
  color: #94a3b8;
  font-size: 12px;
}

.form {
  display: grid;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-label {
  color: #e2e8f0;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.field-hint {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.35;
}

.optional-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-left: 6px;
  border: 1px solid rgba(29, 150, 220, 0.28);
  border-radius: 999px;
  background: rgba(29, 150, 220, 0.12);
  color: #bae6fd;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  vertical-align: middle;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.contact-methods .form-label {
  grid-column: 1 / -1;
}

.contact-method-option {
  position: relative;
  min-width: 0;
}

.contact-method-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.contact-method-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  padding: 8px 10px;
  text-align: center;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.privacy-policy-page {
  background:
    radial-gradient(circle at 10% 12%, rgba(29, 150, 220, 0.12), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(255, 139, 24, 0.12), transparent 26%),
    #f7fbff;
}

.privacy-hero {
  padding: clamp(72px, 9vw, 124px) 0 clamp(36px, 5vw, 70px);
}

.privacy-hero-grid {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
}

.privacy-hero-copy {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(235, 247, 255, 0.86));
  border: 1px solid rgba(151, 205, 239, 0.58);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(17, 55, 91, 0.09);
  padding: clamp(28px, 5vw, 58px);
}

.privacy-hero-copy h1 {
  margin: 12px 0 18px;
  max-width: 760px;
}

.privacy-hero-copy .lead {
  max-width: 820px;
}

.privacy-updated-badge {
  align-items: center;
  background: rgba(29, 150, 220, 0.11);
  border: 1px solid rgba(29, 150, 220, 0.25);
  border-radius: 999px;
  color: #006aa6;
  display: inline-flex;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 850;
  margin-top: 22px;
  padding: 10px 14px;
}

.privacy-hero-card {
  align-self: stretch;
  background: rgba(255, 247, 237, 0.88);
  border: 1px solid rgba(255, 139, 24, 0.28);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(91, 51, 17, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 34px);
}

.privacy-hero-card strong {
  color: var(--ink);
  display: block;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 12px;
}

.privacy-hero-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

.privacy-short-section {
  padding-top: 0;
}

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

.privacy-short-card {
  background: #ffffff;
  border: 1px solid rgba(151, 205, 239, 0.62);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(17, 55, 91, 0.06);
  min-height: 178px;
  padding: 24px;
}

.privacy-short-card span {
  color: var(--blue);
  display: block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.privacy-short-card h2 {
  font-size: 22px;
  margin: 0 0 10px;
}

.privacy-short-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.privacy-short-card a,
.privacy-policy-card a,
.privacy-sidebar-card a:not(.btn) {
  color: #0078b8;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.privacy-short-card a:hover,
.privacy-policy-card a:hover,
.privacy-sidebar-card a:not(.btn):hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-main-section {
  padding-top: 8px;
}

.privacy-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.privacy-policy-stack {
  display: grid;
  gap: 18px;
}

.privacy-policy-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(151, 205, 239, 0.58);
  border-radius: 26px;
  box-shadow: 0 18px 50px rgba(17, 55, 91, 0.055);
  padding: clamp(24px, 3vw, 34px);
}

.privacy-policy-card h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  margin: 0 0 14px;
}

.privacy-policy-card p,
.privacy-policy-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.privacy-policy-card p {
  margin: 0 0 14px;
}

.privacy-policy-card p:last-child {
  margin-bottom: 0;
}

.privacy-policy-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
  padding-left: 22px;
}

.privacy-sidebar {
  position: sticky;
  top: 106px;
}

.privacy-sidebar-card {
  background: linear-gradient(145deg, rgba(235, 247, 255, 0.96), rgba(255, 247, 237, 0.94));
  border: 1px solid rgba(151, 205, 239, 0.72);
  border-radius: 28px;
  box-shadow: 0 22px 58px rgba(17, 55, 91, 0.08);
  padding: 26px;
}

.privacy-sidebar-label {
  color: var(--blue);
  display: inline-flex;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.privacy-sidebar-card h2 {
  font-size: 25px;
  margin: 0 0 12px;
}

.privacy-sidebar-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.privacy-sidebar-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.footer-legal-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
}

.footer-legal-row a {
  color: #0078b8;
  font-family: var(--font-ui);
  font-weight: 800;
  text-decoration: none;
}

.footer-legal-row a:hover,
.footer-legal-row a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .privacy-hero-grid,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .privacy-hero {
    padding-top: 48px;
  }

  .privacy-short-grid {
    grid-template-columns: 1fr;
  }

  .privacy-hero-copy,
  .privacy-hero-card,
  .privacy-short-card,
  .privacy-policy-card,
  .privacy-sidebar-card {
    border-radius: 22px;
  }
}

.contact-method-option input:checked + span {
  border-color: rgba(29, 150, 220, 0.72);
  background: linear-gradient(135deg, rgba(29, 150, 220, 0.96), rgba(14, 116, 144, 0.88));
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(29, 150, 220, 0.18);
}

.contact-method-option span:hover {
  transform: translateY(-1px);
  border-color: rgba(29, 150, 220, 0.46);
}

.phone-row {
  display: grid;
  grid-template-columns: minmax(144px, 0.38fr) minmax(0, 1fr);
  gap: 10px;
}

.is-hidden {
  display: none !important;
}

.form-status {
  display: none;
  margin: -4px 4px 0;
  color: #dbeafe;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}

.form-status.is-success,
.form-status.is-error {
  display: block;
}

.form-status.is-success {
  color: #bbf7d0;
}

.form-status.is-error {
  color: #fecaca;
}

.form-privacy-note {
  margin: -2px 4px 2px;
  color: rgba(226, 232, 240, 0.72);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.form-privacy-note a {
  color: #dbeafe;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.form-privacy-note a:hover,
.form-privacy-note a:focus-visible {
  color: #ffffff;
}

.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  outline: 0;
  padding: 14px 16px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.lead-form textarea {
  min-height: 104px;
}

.submit {
  border: 0;
  border-radius: 18px;
  background: var(--orange);
  color: #ffffff;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  min-height: 48px;
  padding: 0 24px;
}

.submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  display: flex;
  justify-content: center;
  padding: 20px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(239, 246, 255, 0.92));
  pointer-events: none;
}

.cookie-consent-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px 30px;
  width: min(100%, 1320px);
  min-height: 136px;
  border: 1px solid rgba(29, 150, 220, 0.2);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
  padding: 24px 28px;
  pointer-events: auto;
}

.cookie-consent-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding-right: 26px;
  border-right: 1px solid rgba(29, 150, 220, 0.12);
}

.cookie-consent-brand img {
  display: block;
  width: 64px;
  max-width: 100%;
  max-height: 56px;
  height: auto;
  object-fit: contain;
}

.cookie-consent-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.cookie-consent-title {
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}

.cookie-consent-text {
  margin: 0;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.5;
}

.cookie-consent-state {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
  color: #64748b;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.35;
}

.cookie-consent-state strong {
  color: #0369a1;
  font-weight: 900;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  min-width: min(100%, 340px);
}

.cookie-consent-button {
  min-height: 52px;
  border: 1px solid rgba(29, 150, 220, 0.24);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 850;
  padding: 0 24px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.cookie-consent-button:hover {
  transform: translateY(-1px);
}

.cookie-consent-primary {
  background: linear-gradient(135deg, var(--blue), #0e7490);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(29, 150, 220, 0.22);
}

.cookie-consent-secondary {
  background: #ffffff;
  color: #0f172a;
}

.cookie-settings-button {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 121;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border: 1px solid rgba(29, 150, 220, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #e0f2fe 72%, #fff7ed);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  color: #075985;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 900;
  isolation: isolate;
  padding: 0 16px 0 12px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.cookie-settings-button::before,
.cookie-settings-button::after {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border: 1px solid rgba(29, 150, 220, 0.38);
  border-radius: inherit;
  animation: migratoCookieWave 2.6s ease-out infinite;
}

.cookie-settings-button::after {
  animation-delay: 1.3s;
}

.cookie-settings-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.2);
}

.cookie-settings-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 35%, #8b451e 0 3px, transparent 3.4px),
    radial-gradient(circle at 66% 36%, #8b451e 0 2.5px, transparent 2.9px),
    radial-gradient(circle at 52% 66%, #8b451e 0 3.4px, transparent 3.8px),
    linear-gradient(135deg, #fed7aa, #fb923c);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.56),
    inset 0 -3px 5px rgba(180, 83, 9, 0.2);
}

.cookie-settings-text {
  line-height: 1;
}

@keyframes migratoCookieWave {
  0% {
    opacity: 0.52;
    transform: scale(0.86);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.62);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-service-card {
    animation: none;
    transition: none;
  }

  .home-service-card:hover::after,
  .home-service-card:focus-within::after {
    animation: none;
  }

  .cookie-settings-button::before,
  .cookie-settings-button::after {
    animation: none;
  }
}

.company-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.company-visual-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.company-visual-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, rgba(15, 23, 42, 0.1), rgba(255, 255, 255, 0.02)),
    url("./warsaw.webp") center center / cover no-repeat;
  filter: saturate(1.05) contrast(1.04);
}

.company-visual-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(15, 23, 42, 0.05)),
    radial-gradient(circle at 18% 24%, rgba(29, 150, 220, 0.08), transparent 22rem),
    radial-gradient(circle at 78% 18%, rgba(245, 138, 31, 0.08), transparent 18rem);
  pointer-events: none;
}

.company-visual-section > .container {
  width: min(100% - 72px, 1180px);
  position: relative;
  z-index: 1;
}

.company-visual-section .card {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.company-visual-section .section-text,
.company-visual-section .item-text,
.company-visual-section .info-value,
.company-visual-section .instagram-side-text {
  color: #334155;
}

.company-visual-section .hours-value,
.company-visual-section h2,
.company-visual-section h3 {
  color: #0f172a;
}

.company-visual-section .instagram-promo-card {
  background:
    linear-gradient(135deg, rgba(255, 252, 248, 0.52) 0%, rgba(255, 247, 237, 0.46) 44%, rgba(250, 245, 255, 0.5) 100%) padding-box,
    linear-gradient(135deg, rgba(245, 133, 41, 0.36), rgba(253, 218, 119, 0.42), rgba(221, 42, 123, 0.34), rgba(129, 52, 175, 0.32), rgba(81, 91, 212, 0.3)) border-box;
}

.company-side {
  display: grid;
  gap: 24px;
}

.info-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.info-row {
  display: grid;
  gap: 6px;
}

.info-label {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.info-value {
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.65;
  letter-spacing: 0;
}

.hours-value {
  margin-top: 18px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 760;
  line-height: 1.5;
  letter-spacing: 0;
}

.instagram-side-text {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.72;
  letter-spacing: 0;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
  padding: 36px 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-legal {
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.78);
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
  padding: 8px 0 12px;
  flex-shrink: 0;
}

.footer-legal-row {
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  cursor: pointer;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease;
  box-shadow: 0 16px 34px rgba(29, 150, 220, 0.28);
}

.back-to-top:hover {
  background: #0f83c8;
  opacity: 1;
}

.back-to-top::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 64px;
  top: 50%;
  width: max-content;
  max-width: 240px;
  border-radius: 14px;
  background: #0f172a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  opacity: 0;
  padding: 10px 12px;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.back-to-top:hover::before,
.back-to-top:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.show-back-to-top .back-to-top {
  opacity: 0.38;
  pointer-events: auto;
  transform: translateY(0);
}

.show-back-to-top .back-to-top:hover,
.show-back-to-top .back-to-top:focus-visible {
  opacity: 1;
}

@media (max-width: 1760px) {
  .header-row {
    flex-wrap: wrap;
    gap: 12px 18px;
    min-height: 166px;
  }

  .brand-link {
    flex: 0 1 auto;
    max-width: none;
    overflow: visible;
  }

  .logo {
    width: clamp(176px, 17vw, 214px);
    max-width: 100%;
  }

  .nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
    padding-top: 8px;
    font-size: 13px;
  }

  .nav a {
    min-height: 36px;
    padding: 0 10px;
  }

  .nav-messengers {
    gap: 6px;
    padding-left: 2px;
  }

  .nav-messengers .messenger-icon {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .nav-messengers .messenger-icon img {
    transform: scale(1.54);
  }

  .instagram-callout {
    display: none;
  }

  .langs {
    margin-left: auto;
    flex-shrink: 0;
  }

  .langs button {
    font-size: 11px;
    padding: 7px 9px;
  }
}

@media (max-width: 1200px) {
  .home-services-grid,
  .services-directions-grid,
  .services-compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-news-grid,
  .instagram-feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-help-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 1050px) {
  .header-row {
    flex-wrap: wrap;
    gap: 12px 20px;
    min-height: 154px;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding-top: 4px;
  }

  .is-scrolled .nav {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .services-dropdown {
    display: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .contact-grid,
  .company-grid,
  .trust-panel {
    grid-template-columns: 1fr;
  }

  .home-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-overview-grid,
  .service-items-grid,
  .services-menu-grid {
    grid-template-columns: 1fr;
  }

  .services-steps-grid {
    grid-template-columns: 1fr;
  }

  .process-flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-arrow-icon {
    transform: rotate(90deg);
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-carousel-track {
    grid-auto-columns: minmax(300px, 42vw);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
    line-height: 1.55;
  }

  .notice {
    display: none;
  }

  .header {
    top: 0;
  }

  .container {
    width: min(100% - 32px, 1280px);
  }

  .header .container {
    width: min(100% - 32px, 1280px);
  }

  .company-visual-section > .container {
    width: min(100% - 32px, 1180px);
  }

  .header-row {
    min-height: auto;
    gap: 12px;
    justify-content: center;
    padding: 12px 0;
  }

  .logo {
    width: 190px;
    max-width: 74vw;
  }

  .langs {
    order: 2;
    width: 100%;
    max-width: 100%;
    max-height: none;
    gap: 2px;
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    padding: 3px;
    border-radius: 18px;
  }

  .is-scrolled .langs {
    max-width: 100%;
    max-height: none;
  }

  .nav {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
    font-size: 12.5px;
    overflow-x: visible;
    padding: 4px 0 12px;
  }

  .nav a {
    min-height: 36px;
    padding: 0 11px;
  }

  .contact-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone-row {
    grid-template-columns: 1fr;
  }

  .cookie-consent {
    padding: 12px 14px;
  }

  .cookie-consent-card {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 20px;
    padding: 16px;
  }

  .cookie-consent-brand {
    justify-content: flex-start;
    min-width: 0;
    padding: 0 0 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(29, 150, 220, 0.12);
  }

  .cookie-consent-brand img {
    width: 56px;
  }

  .cookie-consent-actions {
    justify-content: stretch;
  }

  .cookie-consent-button {
    flex: 1 1 180px;
  }

  .cookie-settings-button {
    left: 14px;
    min-height: 48px;
    padding: 0 14px 0 10px;
  }

  .cookie-settings-icon {
    width: 26px;
    height: 26px;
  }

  .langs button {
    gap: 5px;
    font-size: 10px;
    padding: 6px 7px;
  }

  .langs button::before {
    width: 16px;
    height: 11px;
  }

  .is-scrolled .nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 10px 14px;
  }

  .messenger-links {
    gap: 6px;
  }

  .messenger-icon {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
  }

  .nav-messengers .messenger-icon {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .nav-messengers .messenger-icon img {
    transform: scale(1.56);
  }

  .instagram-callout {
    top: calc(100% + 10px);
    right: 0;
    max-width: 196px;
    font-size: 11px;
    padding: 9px 11px;
  }

  .section,
  .hero-page {
    padding: 48px 0;
  }

  .hero,
  .hero > *,
  h1,
  .lead {
    min-width: 0;
    max-width: 100%;
  }

  .hero h1,
  .hero-chips,
  .hero .actions {
    max-width: calc(100vw - 32px);
  }

  .hero .lead {
    width: 100%;
    max-width: 360px;
  }

  .hero-chips span {
    max-width: 100%;
    white-space: normal;
  }

  .is-scrolled .nav {
    order: 0;
    width: auto;
    max-width: calc(100vw - 32px);
    justify-content: flex-start;
  }

  .cases,
  .grid-2,
  .grid-3,
  .grid-4,
  .posts-grid,
  .archive-news-grid,
  .instagram-feed-grid,
  .home-services-grid,
  .legacy-stats-grid,
  .trust-points,
  .services-overview-grid,
  .services-directions-grid,
  .services-compact-grid,
  .service-items-grid {
    grid-template-columns: 1fr;
  }

  .services-hero-page {
    padding: 56px 0 28px;
  }

  .service-direction-card,
  .home-service-card,
  .service-step-card,
  .service-compact-card,
  .services-help-card,
  .trust-panel,
  .home-final-cta {
    padding: 24px;
  }

  .home-services-section,
  .trust-section,
  .home-final-cta-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .home-service-card {
    padding: 0;
  }

  .service-card-visual {
    height: 140px;
    min-height: 140px;
  }

  .service-card-body {
    padding: 22px 22px 0;
  }

  .home-service-card .direction-action {
    margin: auto 22px 22px;
  }

  .footer-row {
    flex-direction: column;
  }

  .messenger-line {
    flex-wrap: wrap;
  }

  .temporarily-unavailable {
    display: block;
    flex-basis: 100%;
    margin-top: 4px;
    white-space: normal;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  h1 {
    font-size: 29px;
    line-height: 1.14;
    letter-spacing: 0;
  }

  h2 {
    margin-top: 12px;
    font-size: 26px;
    line-height: 1.16;
    letter-spacing: 0;
  }

  h3 {
    font-size: 19px;
    line-height: 1.26;
  }

  .eyebrow {
    font-size: 10.5px;
    letter-spacing: 0;
  }

  .lead {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.62;
  }

  .section-text,
  .item-text,
  .news-mini-text,
  .post-text,
  .archive-news-content {
    font-size: 14.25px;
    line-height: 1.64;
  }

  .btn {
    min-height: 44px;
    border-radius: 14px;
    font-size: 13.5px;
    padding: 0 17px;
  }

  .card-link,
  .read-more {
    font-size: 13.5px;
  }

  .achievements-section {
    padding: 0 0 32px;
  }

  .achievement-card {
    padding: 24px 20px;
  }

  .legacy-stats-grid {
    gap: 16px;
    margin-bottom: 20px;
  }

  .legacy-stat-card {
    min-height: 150px;
  }

  .achievement-value {
    font-size: 38px;
  }

  .achievement-label {
    font-size: 16px;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 27px;
  }

  h2 {
    font-size: 24px;
  }

  .lead,
  .section-text,
  .item-text,
  .news-mini-text,
  .post-text,
  .archive-news-content {
    font-size: 14px;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .news-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-carousel-controls {
    width: 100%;
    justify-content: space-between;
  }

  .news-carousel-track {
    grid-auto-columns: minmax(260px, calc(100vw - 48px));
    gap: 16px;
    scroll-padding-inline: 22px;
    padding-inline: 22px;
  }

  .news-card {
    min-height: 280px;
    padding: 24px;
  }

  .news-card h3 {
    font-size: 18.5px;
  }

  .instagram-post-body {
    padding: 20px;
  }

  .cookie-settings-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .cookie-settings-button {
    width: 48px;
    padding: 0;
  }
}


/* Documents page */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--blue);
}

.documents-hero {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: stretch;
}

.documents-hero-card,
.documents-help-card {
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
  padding: 28px;
}

.documents-hero-card {
  display: grid;
  align-content: center;
  gap: 22px;
  overflow: hidden;
}

.documents-stack-visual {
  position: relative;
  height: 132px;
  margin: 0 0 8px;
}

.documents-stack-visual span {
  position: absolute;
  inset: 0 4px;
  border: 1px solid rgba(14, 165, 233, 0.26);
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
}

.documents-stack-visual span:nth-child(1) {
  transform: rotate(-5deg) translate(-6px, 12px);
  opacity: 0.72;
}

.documents-stack-visual span:nth-child(2) {
  transform: rotate(3deg) translate(8px, 4px);
  opacity: 0.86;
}

.documents-stack-visual span:nth-child(3) {
  transform: translate(0, -6px);
}

.documents-stack-visual span:nth-child(3)::before,
.documents-stack-visual span:nth-child(3)::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 111, 168, 0.18);
}

.documents-stack-visual span:nth-child(3)::before {
  top: 42px;
}

.documents-stack-visual span:nth-child(3)::after {
  top: 66px;
  right: 74px;
}

.documents-hero-card .small-title,
.documents-hero-card .item-text {
  position: relative;
  z-index: 1;
}

.documents-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 30px;
}

.documents-note {
  flex: 0 0 auto;
  border: 1px solid rgba(15, 111, 168, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: #075985;
  font-size: 13px;
  font-weight: 850;
  padding: 10px 14px;
}


.documents-search-panel {
  display: grid;
  gap: 14px;
  margin: 0 0 26px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
  padding: 20px;
}

.documents-search-label {
  color: #0f172a;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 850;
}

.documents-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.documents-search-row input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(148, 163, 184, 0.46);
  border-radius: 16px;
  background: #f8fafc;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 0 16px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.documents-search-row input:focus {
  border-color: rgba(15, 111, 168, 0.72);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(15, 111, 168, 0.12);
}

.documents-search-clear {
  min-height: 52px;
  border: 1px solid rgba(15, 111, 168, 0.18);
  border-radius: 16px;
  background: #ffffff;
  color: #075985;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  padding: 0 16px;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.documents-search-clear:hover,
.documents-search-clear:focus-visible {
  background: rgba(15, 111, 168, 0.08);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.documents-search-summary {
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.documents-suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

.documents-suggestions > span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #64748b;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.documents-suggestion-chip {
  display: inline-grid;
  gap: 2px;
  min-height: 48px;
  border: 1px solid rgba(15, 111, 168, 0.16);
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  color: #0f172a;
  cursor: pointer;
  font: inherit;
  line-height: 1.25;
  padding: 8px 12px;
  text-align: left;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.documents-suggestion-chip strong {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 850;
}

.documents-suggestion-chip small {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.documents-suggestion-chip:hover,
.documents-suggestion-chip:focus-visible {
  border-color: rgba(15, 111, 168, 0.4);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
}

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

.document-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  min-height: 230px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
  padding: 22px;
}

.document-card-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 90px;
  border-radius: 18px;
  background: linear-gradient(160deg, #eff6ff 0%, #ffffff 100%);
  box-shadow: inset 0 0 0 1px rgba(15, 111, 168, 0.14);
}

.document-card-icon span {
  display: block;
  width: 38px;
  height: 48px;
  border-radius: 8px;
  background:
    linear-gradient(#0f6fa8, #0f6fa8) 10px 16px / 18px 3px no-repeat,
    linear-gradient(#b45309, #b45309) 10px 25px / 24px 3px no-repeat,
    linear-gradient(#0f6fa8, #0f6fa8) 10px 34px / 14px 3px no-repeat,
    #ffffff;
  box-shadow: 0 0 0 1px rgba(15, 111, 168, 0.2);
}

.document-card-body {
  display: grid;
  align-content: start;
  gap: 12px;
}

.document-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.document-card-meta strong {
  border-radius: 999px;
  background: rgba(180, 83, 9, 0.12);
  color: #92400e;
  padding: 4px 8px;
}

.document-card p {
  color: var(--muted);
  line-height: 1.72;
}

.document-card-empty {
  grid-template-columns: 1fr;
  min-height: 140px;
  align-content: center;
}

.document-card-empty h3 {
  max-width: 720px;
  color: #475569;
}

.document-card-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.document-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  padding: 0 16px;
  text-decoration: none;
  white-space: nowrap;
}

.document-download:not(.is-disabled):hover,
.document-download:not(.is-disabled):focus-visible {
  background: var(--blue-dark, #0b5f91);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 111, 168, 0.18);
  transform: translateY(-1px);
}

.document-download.is-disabled {
  background: #e2e8f0;
  color: #64748b;
  cursor: not-allowed;
}

.documents-help-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.documents-help-card .section-text {
  max-width: 700px;
}

@media (max-width: 980px) {
  .documents-hero,
  .documents-grid {
    grid-template-columns: 1fr;
  }

  .documents-section-head,
  .documents-help-card {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .documents-search-row {
    grid-template-columns: 1fr;
  }

  .documents-search-clear {
    width: 100%;
  }

  .documents-suggestions {
    display: grid;
  }

  .document-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px;
  }

  .document-card-icon {
    width: 64px;
    height: 78px;
  }

  .document-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .document-download {
    width: 100%;
  }
}
