:root {
  --blue: #0f6fa8;
  --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, 120px);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(29, 150, 220, 0.12), transparent 28rem),
    radial-gradient(circle at 82% 20%, rgba(245, 138, 31, 0.12), transparent 24rem),
    #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;
}

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

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

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

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  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;
}

.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;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  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.telegram {
  background: transparent;
}

.messenger-icon.viber {
  background: transparent;
}

.messenger-icon.whatsapp {
  background: transparent;
}

.messenger-icon.instagram {
  background: transparent;
}

.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;
  transform: translateY(0);
  opacity: 1;
  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;
}

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

.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("../assets/flags/ru.svg");
}

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

.langs button[data-lang="en"]::before {
  background-image: url("../assets/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;
}

.service {
  padding: 72px 0 0;
}

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

.section-dark {
  background:
    radial-gradient(circle at 8% 0%, rgba(29, 150, 220, 0.16), transparent 34rem),
    radial-gradient(circle at 92% 18%, rgba(245, 138, 31, 0.12), transparent 28rem),
    var(--dark);
  color: #ffffff;
}

body[data-service] .migrato-shared-bottom-section[data-shared-bottom-section="contact"] {
  margin-top: clamp(36px, 5vw, 72px);
}

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

.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

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

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  padding: 34px;
}

.dark-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 20px 46px rgba(2, 6, 23, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 24px;
}

.contact-section {
  padding: 40px 0 96px;
  scroll-margin-top: var(--sticky-anchor-offset, 120px);
}

.company-section {
  padding: 40px 0 96px;
}

.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("../assets/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, 1100px);
  position: relative;
  z-index: 1;
}

.contact-panel {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 36px;
  background: var(--dark);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  padding: 40px;
}

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

.contact-copy h2,
.section-dark .contact-grid > div:first-child h2 {
  margin-top: 16px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: 0;
}

.contact-copy .eyebrow,
.section-dark .contact-grid > div:first-child .eyebrow {
  color: #94a3b8;
}

.contact-copy .section-text,
.section-dark .contact-grid > div:first-child .section-text,
.contact-lines {
  color: #cbd5e1;
}

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

.contact-form-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
}

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

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

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea,
.dark-card input,
.dark-card select,
.dark-card 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;
}

.contact-form-card textarea,
.dark-card textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-card .lead-form textarea,
.dark-card .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) {
  .cookie-settings-button::before,
  .cookie-settings-button::after {
    animation: none;
  }
}

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

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

.company-card {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  padding: 34px;
}

.company-visual-section .company-card,
.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-card-accent {
  border-color: rgba(245, 138, 31, 0.26);
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.96) 0%, rgba(239, 246, 255, 0.92) 100%);
}

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

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

.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,
.instagram-promo-card .instagram-side-text,
.instagram-promo-card .actions {
  position: relative;
  z-index: 1;
}

.instagram-promo-card .instagram-side-text {
  color: #475569;
}

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

.company-card .eyebrow,
.company-visual-section .card .eyebrow {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.company-card h2,
.company-visual-section .card h2 {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
}

.company-card h3,
.company-visual-section .card h3 {
  margin-top: 10px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 740;
  line-height: 1.3;
  letter-spacing: 0;
}

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

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

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

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

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

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 32px;
  align-items: start;
}

.hero-card,
.side-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  padding: 34px;
  min-height: 0;
}

.hero-card {
  display: flex;
  flex-direction: column;
}

.hero-card .actions {
  margin-top: 32px;
  padding-top: 0;
}

.badge {
  display: inline-flex;
  border: 1px solid rgba(29, 150, 220, 0.25);
  border-radius: 999px;
  background: rgba(29, 150, 220, 0.08);
  color: #0369a1;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 10px 16px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  margin-top: 18px;
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead {
  max-width: 58ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.74;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.service-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-hero-points li {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(29, 150, 220, 0.2);
  border-radius: 999px;
  background: rgba(29, 150, 220, 0.07);
  color: #0369a1;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  padding: 8px 13px;
}

.service-hero-points li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--blue);
  font-weight: 900;
}

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

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

.side-card {
  display: flex;
  flex-direction: column;
  background: var(--dark);
  color: #ffffff;
}

.side-card h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 760;
  letter-spacing: 0;
}

.side-card p,
.side-card li {
  color: #cbd5e1;
  font-size: 15.5px;
  line-height: 1.72;
  letter-spacing: 0;
}

.side-card p {
  margin-top: 14px;
}

.side-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding-left: 20px;
}

.service-sections {
  display: grid;
  gap: 28px;
  margin: 32px 0 0;
}

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

.details-grid-bottom {
  align-items: start;
}

.detail-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  padding: 28px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.detail-card:hover {
  border-color: rgba(29, 150, 220, 0.18);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.08);
}

.details-grid .detail-card {
  display: flex;
  flex-direction: column;
}

.detail-card h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: 0;
}

.detail-card-wide {
  grid-column: 1 / -1;
}

.accent-detail-card {
  background:
    linear-gradient(135deg, rgba(245, 138, 31, 0.06), rgba(255, 255, 255, 0.96)),
    rgba(255, 255, 255, 0.96);
  border-color: rgba(245, 138, 31, 0.32);
}

.detail-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: #334155;
  font-size: 15.5px;
  line-height: 1.65;
}

.detail-text {
  margin: 0;
  color: #334155;
  font-size: 15.5px;
  line-height: 1.72;
}

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

.service-result-card .detail-text {
  max-width: 84ch;
}

.service-result-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-result-list li {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(29, 150, 220, 0.2);
  border-radius: 999px;
  background: rgba(29, 150, 220, 0.07);
  color: #0369a1;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  padding: 0 14px;
}

.service-result-list li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--blue);
  font-weight: 900;
}

.service-related-section {
  margin: 24px 0 0;
}

.service-final-cta-section {
  margin: 30px 0 0;
}

.service-final-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  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: 32px;
}

.service-final-cta-card h2 {
  margin-top: 8px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.14;
  letter-spacing: 0;
}

.service-final-cta-card p {
  max-width: 720px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15.5px;
  line-height: 1.7;
}

.service-final-cta-card .eyebrow {
  color: #7dd3fc;
}

.service-final-cta-card .actions {
  flex-shrink: 0;
  margin-top: 0;
}

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

body[data-service="temporary-work-residence"] .work-service-sections {
  gap: 24px;
}

body[data-service="temporary-work-residence"] .work-service-details-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-service="temporary-work-residence"] .work-service-details-grid .detail-card {
  display: flex;
  flex-direction: column;
}

body[data-service="temporary-work-residence"] .work-service-details-grid .detail-list {
  gap: 9px;
  font-size: 15px;
  line-height: 1.62;
}

.service-info-note,
.work-service-note {
  margin-top: auto;
  border: 1px solid rgba(29, 150, 220, 0.2);
  border-radius: 18px;
  background: rgba(29, 150, 220, 0.07);
  color: #31516f;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
  padding: 14px 16px;
}

.work-service-result-card {
  display: grid;
  gap: 18px;
}

body[data-service="temporary-work-residence"] .work-service-result-card .detail-text {
  max-width: 78ch;
  font-size: 16px;
  line-height: 1.7;
}

.work-service-result-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-service-result-list li {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(29, 150, 220, 0.2);
  border-radius: 999px;
  background: rgba(29, 150, 220, 0.07);
  color: #0369a1;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  padding: 0 14px;
}

.work-service-result-list li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--blue);
  font-weight: 900;
}

.detail-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.price-card {
  margin-top: auto;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  padding: 24px;
}

.price-label {
  color: #5b708f;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.price-value {
  margin-top: 10px;
  color: #0f172a;
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.price-note {
  margin: 14px 0 0;
  color: #556987;
  font-size: 14px;
  font-weight: 560;
  line-height: 1.65;
}

.side-card .price-label {
  color: #5b708f;
}

.side-card .price-note {
  color: #556987;
}

.side-card .fees-line {
  color: #2f405a;
}

.fees-line {
  max-width: 100%;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(100, 116, 139, 0.3);
  color: #2f405a;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.fees-line strong {
  color: #0f172a;
}

body[data-service="temporary-work-residence"] .hero-card .lead {
  max-width: 62ch;
}

.work-service-points {
  display: grid;
  gap: 10px;
  max-width: 62ch;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.work-service-points li {
  position: relative;
  color: #334155;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  padding-left: 18px;
}

.work-service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateY(-50%);
}

body[data-service="temporary-work-residence"] .work-service-actions {
  margin-top: auto;
  padding-top: 30px;
}

body[data-service="temporary-work-residence"] .work-service-actions .btn-secondary {
  border-color: rgba(29, 150, 220, 0.24);
  color: #0369a1;
  background: rgba(29, 150, 220, 0.06);
}

.work-service-summary {
  gap: 14px;
  margin-top: 22px;
  padding-left: 22px;
}

body[data-service="temporary-work-residence"] .work-service-summary li {
  line-height: 1.62;
}

.work-service-price-card {
  margin-top: 28px;
  padding: 24px;
}

body[data-service="temporary-work-residence"] .work-service-price-card .price-label {
  color: #5b708f;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

body[data-service="temporary-work-residence"] .work-service-price-card .price-note {
  max-width: 36ch;
}

body[data-service="temporary-work-residence"] .work-service-price-card .fees-line {
  color: #2f405a;
}

.link-list,
.related-links {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.source-link,
.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  color: #0f172a;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  padding: 14px 16px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    background-color 160ms ease;
}

.source-link:hover,
.related-link:hover {
  border-color: rgba(29, 150, 220, 0.3);
  background: rgba(29, 150, 220, 0.05);
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(29, 150, 220, 0.12);
  transform: translateY(-1px);
}

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

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

@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: 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;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .details-grid,
  .details-grid-bottom {
    grid-template-columns: 1fr;
  }

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

  .company-grid {
    grid-template-columns: 1fr;
  }

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

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

  .header {
    top: 0;
  }

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

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

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

  .section {
    padding: 56px 0;
  }

  body[data-service] .migrato-shared-bottom-section[data-shared-bottom-section="contact"] {
    margin-top: 34px;
  }

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

  .dark-card {
    border-radius: 24px;
    padding: 20px;
  }

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

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

  .hero-card,
  .side-card,
  .detail-card,
  .service-final-cta-card,
  .contact-panel,
  .company-card {
    padding: 22px;
  }

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

  .service-final-cta-card .actions {
    width: 100%;
  }

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

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

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

  .service-hero-points {
    gap: 8px;
    margin-top: 18px;
  }

  .service-hero-points li {
    min-height: 32px;
    font-size: 12.5px;
    padding: 6px 10px;
  }

  .side-card h2,
  .detail-card h2,
  .service-final-cta-card h2,
  .contact-copy h2,
  .company-card h2,
  .company-visual-section h2 {
    font-size: 24px;
    line-height: 1.18;
    letter-spacing: 0;
  }

  .side-card p,
  .detail-card p,
  .service-final-cta-card p,
  .contact-copy .section-text,
  .company-visual-section .section-text,
  .company-visual-section .item-text {
    font-size: 14.25px;
    line-height: 1.64;
  }

  body[data-service="temporary-work-residence"] .work-service-details-grid {
    grid-template-columns: 1fr;
  }

  .service-info-note,
  .work-service-note {
    margin-top: 18px;
  }

  .service-result-list,
  .work-service-result-list {
    display: grid;
    gap: 8px;
  }

  .service-result-list li,
  .work-service-result-list li {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .work-service-points {
    gap: 9px;
    margin-top: 20px;
  }

  .work-service-points li {
    font-size: 14px;
  }

  body[data-service="temporary-work-residence"] .work-service-actions {
    gap: 10px;
    padding-top: 24px;
  }

  body[data-service="temporary-work-residence"] .work-service-actions .btn {
    width: 100%;
  }

  .work-service-price-card {
    padding: 20px;
  }

  .contact-copy h2 {
    font-size: 24px;
  }

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

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

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

  .lead,
  .side-card p,
  .detail-card p,
  .service-final-cta-card p,
  .contact-copy .section-text,
  .company-visual-section .section-text,
  .company-visual-section .item-text {
    font-size: 14px;
  }

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

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