:root {
  --blue: #0a82f1;
  --blue-2: #38a6f4;
  --dark: #071c46;
  --text: #132541;
  --muted: #607087;
  --line: rgba(118, 169, 220, 0.24);
  --panel: rgba(255, 255, 255, 0.82);
  --shadow: 0 18px 45px rgba(13, 61, 123, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.75) 0 9rem, transparent 9.2rem),
    linear-gradient(135deg, #e8f6ff 0%, #d7ecff 42%, #c8e5ff 100%);
}

a {
  text-decoration: none;
}

.btn-primary {
  --bs-btn-bg: var(--blue);
  --bs-btn-border-color: var(--blue);
  --bs-btn-hover-bg: #006fd4;
  --bs-btn-hover-border-color: #006fd4;
  font-weight: 800;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(233, 247, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--dark);
  font-weight: 900;
}

.brand-mark span {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}

.navbar .nav-link {
  color: var(--dark);
  font-weight: 800;
}

.nav-cta {
  margin-left: 0.75rem;
  border-radius: 999px;
}

.site-panel {
  width: min(calc(100% - 2rem), 1320px);
  margin: 1.5rem auto 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0 0 1.25rem 1.25rem;
  background:
    radial-gradient(circle at 95% 10rem, rgba(85, 174, 244, 0.36) 0 14rem, transparent 14.2rem),
    radial-gradient(circle at 34% -4rem, rgba(255, 255, 255, 0.8) 0 16rem, transparent 16.2rem),
    linear-gradient(115deg, rgba(210, 235, 255, 0.98), rgba(241, 249, 255, 0.92) 42%, rgba(197, 227, 255, 0.96));
  box-shadow: var(--shadow);
}

.hero-section {
  padding: 0;
}

.site-panel .hero-container {
  max-width: 100%;
  padding: 0;
}

.hero-card {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto auto -10rem -10rem;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.hero-copy {
  width: min(78%, 890px);
  padding: 2.5rem 0 2rem 2.5rem;
}

.phone-panel,
.official-badge,
.hero-card h1,
.hero-subtitle,
.hero-actions,
.hero-benefits {
  position: relative;
  z-index: 4;
}

.phone-panel {

  max-width: 84%;
  padding: 1.08rem 2rem 1.08rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 1.45rem;
  background: rgba(248, 252, 255, 0.76);
}

.phone-row {
  display: grid;
  grid-template-columns: 2.25rem 25.4rem 8rem;
  align-items: center;
  gap: 0.72rem 1.85rem;
  justify-content: start;
  min-height: 3rem;
  color: var(--dark);
  font-size: clamp(1.65rem, 3.25vw, 2.38rem);
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.phone-row+.phone-row {
  margin-top: 0.38rem;
}

.phone-number {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.phone-number:hover,
.phone-number:focus {
  color: inherit;
}

.phone-row strong {
  color: var(--blue);
  font-weight: 900;
}

.phone-panel .phone-number strong {
  color: var(--blue) !important;
}

.phone-icon {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}

.phone-icon svg {
  width: 1.12rem;
  height: 1.12rem;
  display: block;
  fill: #fff;
  transform: rotate(-15deg);
}

.phone-viber {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  line-height: 1;
  text-align: center;
}

.phone-viber picture,
.phone-viber img {
  display: block;
}

.phone-viber img {
  object-fit: cover;
  object-position: center;
  max-width: none;
  width: 9rem;
  height: 2.8rem;
}

.official-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.75rem;
  padding: 0.65rem 1rem;
  border-radius: 0.65rem 0.65rem 0 0;
  background: var(--blue);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
}

.official-badge i {
  width: 1.3rem;
  height: 1.3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dff3ff;
  color: var(--blue);
  font-style: normal;
  font-size: 0.85rem;
}

.hero-card h1 {
  max-width: 760px;
  margin: 1.05rem 0 0.75rem;
  color: var(--dark);
  font-size: clamp(2.7rem, 5.1vw, 4.25rem);
  line-height: 1.12;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 560px;
  margin-bottom: 1.4rem;
  color: #34435f;
  font-size: 1.05rem;
  font-weight: 700;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  width: min(120%, 920px);
}

.action-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 118px;
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 1rem;
  padding: 1.1rem 1.25rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 92% 78%, rgba(180, 222, 252, 0.32), transparent 34%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(238, 248, 255, 0.8));
  color: var(--dark);
  box-shadow: 0 10px 24px rgba(29, 91, 160, 0.08);
  min-width: 14em;
}

.action-card::before,
.action-card::after {
  content: "";
  position: absolute;
  display: block;
  z-index: 1;
  width: 2.9rem;
  height: 5.2rem;
  /* background: url("../assets/dots.png") center / contain no-repeat; */
  opacity: 0.72;
  pointer-events: none;
}

.action-card::before {
  left: 0.55rem;
  top: 1.05rem;
}

/* .action-card::after {
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
} */

.action-card:hover {
  color: var(--dark);
  transform: translateY(-2px);
}

.action-icon {
  position: relative;
  z-index: 2;
  grid-row: 1 / span 2;
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.95rem;
  font-weight: 900;
}

.action-icon svg {
  width: 2rem;
  height: 2rem;
  display: block;
  fill: #fff;
}

.action-icon-image {
  overflow: hidden;
  background: transparent;
}

.action-icon-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.fb-icon {
  font-family: Arial, sans-serif;
  font-size: 2.72rem;
}

.action-card strong {
  position: relative;
  z-index: 2;
  align-self: center;
  font-size: 1.32rem;
  line-height: 1.12;
  text-transform: uppercase;
}

.action-card small {
  position: relative;
  z-index: 2;
  grid-column: 1 / span 2;
  align-self: end;
  max-width: 12.4rem;
  margin-top: 0.55rem;
  color: #35445e;
  font-size: 0.82rem;
  line-height: 1.28;
  font-weight: 600;
}

.action-card b {
  position: absolute;
  z-index: 2;
  right: 0.95rem;
  bottom: 1rem;
  width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 1.32rem;
  line-height: 1;
  padding-left: 0.06rem;
  padding-bottom: 0.08rem;
}

.hero-benefits {
  width: min(100%, 790px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0.8rem;
  padding: 0.7rem 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.8);
}

.hero-benefits div {
  display: grid;
  grid-template-columns: 3.05rem 1fr;
  align-items: center;
  column-gap: 0.78rem;
}

.hero-benefits div+div {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.hero-benefits span {
  grid-row: span 2;
  width: 2.82rem;
  height: 2.82rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7f5ff;
  border: 2px solid #b8ddff;
  color: var(--blue);
  font-weight: 900;
}

.hero-benefits span svg {
  width: 1.72rem;
  height: 1.72rem;
  display: block;
  fill: var(--blue);
}

.hero-benefits strong {
  color: var(--dark);
  font-size: 0.98rem;
  line-height: 1.1;
}

.hero-benefits small {
  color: #26334c;
  font-size: 0.88rem;
  line-height: 1.2;
}

.hero-person {
  position: absolute;
  z-index: 2;
  right: -2.2rem;
  bottom: 0;
  width: 40%;
  height: 98%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
  overflow: hidden;
}

.hero-person img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

.globe-badge {
  position: absolute;
  z-index: 5;
  right: 6rem;
  bottom: 6.4rem;
  width: 12.8rem;
  height: 12.8rem;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(7, 28, 70, 0.16);
  backdrop-filter: blur(2px);
}

.globe-badge::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border-radius: 50%;
  filter: blur(0.25px);
}

.globe-badge img {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 112%;
  height: 112%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  margin-left: -12px;
  margin-top: -12px;
}

.globe-map {
  position: absolute;
  inset: 8%;
  opacity: 0.42;
  background:
    radial-gradient(ellipse at 35% 34%, #fff 0 12%, transparent 12.8%),
    radial-gradient(ellipse at 55% 44%, #fff 0 8%, transparent 8.8%),
    radial-gradient(ellipse at 63% 64%, #fff 0 14%, transparent 14.8%),
    radial-gradient(ellipse at 34% 70%, #fff 0 9%, transparent 9.8%);
  filter: blur(0.7px);
}

.globe-grid,
.globe-grid::before,
.globe-grid::after {
  position: absolute;
  inset: 16%;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.globe-grid::before {
  inset: 2% 34%;
}

.globe-grid::after {
  inset: 34% 2%;
}

.globe-flags {
  position: absolute;
  z-index: 4;
  left: 2.15rem;
  top: 5.05rem;
  width: 8.6rem;
  height: 3.55rem;
  transform: rotate(8deg);
}

.globe-flags::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 0.1rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(7, 28, 70, 0.15);
  filter: blur(5px);
}

.flag {
  position: absolute;
  z-index: 3;
  width: 4.05rem;
  height: 2.42rem;
  border-radius: 0.22rem 0.65rem 0.55rem 0.22rem;
  box-shadow: 0 7px 13px rgba(7, 28, 70, 0.2);
  transform-origin: left center;
  overflow: visible;
}

.flag::before {
  content: "";
  position: absolute;
  left: -0.14rem;
  top: -0.22rem;
  width: 0.18rem;
  height: 3.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 6px rgba(7, 28, 70, 0.2);
}

.flag::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.4), transparent 35%, rgba(0, 0, 0, 0.08) 67%, transparent),
    radial-gradient(ellipse at 78% 48%, rgba(255, 255, 255, 0.28), transparent 42%);
  clip-path: polygon(0 0, 90% 8%, 100% 20%, 91% 50%, 100% 80%, 88% 93%, 0 100%);
}

.flag i {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
  clip-path: polygon(0 0, 90% 8%, 100% 20%, 91% 50%, 100% 80%, 88% 93%, 0 100%);
}

.flag-pl {
  left: 0;
  top: 0.1rem;
  transform: perspective(9rem) rotateY(-14deg) rotate(-5deg);
}

.flag-pl i {
  background: linear-gradient(#fff 0 50%, #e21f35 50% 100%);
}

.flag-lt {
  left: 3.9rem;
  top: 0.16rem;
  transform: perspective(9rem) rotateY(16deg) rotate(5deg);
}

.flag-lt i {
  background: linear-gradient(#f7ce2f 0 33.33%, #13894d 33.33% 66.66%, #d42a35 66.66% 100%);
}

.decor {
  position: absolute;
  color: var(--blue);
  pointer-events: none;
}

.decor-dots {
  right: 2.8rem;
  top: 3.8rem;
  width: 5rem;
  height: 6rem;
  background-image: radial-gradient(circle, var(--blue) 0 2px, transparent 2.5px);
  background-size: 1.25rem 1.25rem;
  opacity: 0.85;
}

.decor-ring-one {
  right: 4.3rem;
  top: 16.6rem;
  width: 1rem;
  height: 1rem;
  border: 3px solid var(--blue);
  border-radius: 50%;
}

.decor-plus {
  left: 72%;
  top: 34%;
  font-size: 2rem;
}

.section-block {
  padding: 2.6rem 0;
}

.site-panel .section-block:first-of-type {
  padding-top: 1.4rem;
}

.site-panel #vacancies {
  padding-top: 1.2rem;
}

.site-panel .section-block+.section-block {
  border-top: 1px solid rgba(118, 169, 220, 0.18);
}

.section-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.section-heading span,
.lead-copy span,
.admin-header span {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading h2,
.lead-copy h2,
.contacts-section h2,
.admin-header h1 {
  margin: 0.35rem 0 0;
  color: var(--dark);
  font-weight: 900;
}

.vacancy-card,
.benefit-cards article,
.lead-panel,
.admin-card {
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.vacancy-card {
  overflow: hidden;
}

.vacancy-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.vacancy-body {
  padding: 1.15rem;
}

.country-pill {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #e5f3ff;
  color: var(--blue);
  font-weight: 900;
  font-size: 0.82rem;
}

.vacancy-card h3 {
  margin: 0.75rem 0 0.45rem;
  color: var(--dark);
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
}

.vacancy-card p,
.about-section p,
.lead-copy p,
.contacts-section p {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.65;
}

.vacancy-card ul {
  min-height: 5rem;
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: #2b3b55;
  font-size: 0.92rem;
  font-weight: 700;
}

.vacancy-toggle {
  position: relative;
}

.vacancy-toggle::after {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-left: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.15rem) rotate(45deg);
  transition: transform 0.2s ease;
}

.vacancy-toggle.is-open::after {
  transform: translateY(0.1rem) rotate(225deg);
}

.vacancy-details-inner {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(24, 137, 235, 0.2);
  border-radius: 0.8rem;
  background: rgba(229, 243, 255, 0.62);
}

.vacancy-details-inner p {
  margin: 0 0 0.85rem;
  color: #2b3b55;
}

.benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  max-width: 1080px;
  margin: 0 auto;
}

.benefit-cards article {
  min-height: 11.1rem;
  padding: 1.7rem 1.45rem 1.45rem;
  text-align: center;
  border-radius: 0.92rem;
}

.benefit-cards span {
  width: 4.85rem;
  height: 4.85rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  color: var(--blue);
}

.benefit-cards span svg {
  width: 3.95rem;
  height: 3.95rem;
  display: block;
  fill: none;
  stroke: #2988ad;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-cards span svg * {
  fill: none;
  stroke: currentColor;
}

.benefit-cards h3 {
  color: var(--dark);
  font-size: 1.42rem;
  line-height: 1.18;
  font-weight: 900;
  margin: 0;
}

.benefits-heading {
  margin-bottom: 1.45rem;
}

.benefits-heading h2 {
  font-size: 1.8rem;
  text-transform: uppercase;
}

.lead-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  padding: 2rem;
}

.lead-copy {
  align-self: start;
}

.lead-steps {
  align-self: end;
  margin-bottom: 3.35rem;
  padding: 1.45rem 1.6rem 1.25rem;
  border-radius: 0.2rem;
  background: linear-gradient(180deg, rgba(231, 246, 255, 0.92), rgba(221, 241, 255, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.lead-steps h3 {
  margin: 0 0 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(103, 163, 214, 0.24);
  color: var(--blue);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.lead-steps ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lead-steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  gap: 0.8rem;
  min-height: 3.2rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(103, 163, 214, 0.22);
  color: var(--dark);
}

.lead-steps li:last-child {
  border-bottom: 0;
}

.lead-steps span {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.lead-steps strong {
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 800;
}

.lead-form {
  grid-row: 1 / span 2;
  grid-column: 2;
  padding: 1.35rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.76);
}

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

.lead-field-textarea,
.lead-field-radio,
.lead-field-checkbox {
  grid-column: 1 / -1;
}

.form-label {
  color: var(--dark);
  font-weight: 800;
}

.form-label span {
  color: #e21f35;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.choice-pill {
  cursor: pointer;
}

.choice-pill input {
  position: absolute;
  opacity: 0;
}

.choice-pill span {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid #b8dfff;
  border-radius: 999px;
  background: #f2f9ff;
  color: var(--dark);
  font-weight: 800;
}

.choice-pill input:checked+span {
  background: var(--blue);
  color: #fff;
}

.privacy-check {
  display: flex;
  gap: 0.6rem;
  margin: 1rem 0 0;
  color: #283952;
  font-weight: 700;
}

.robot-check {
  margin-top: 0.55rem;
}

.form-alert {
  display: none;
  margin-top: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  font-weight: 800;
  text-align: center;
}

.form-alert.is-success {
  display: block;
  background: #e6f8ee;
  color: #0b6b32;
}

.form-alert.is-error {
  display: block;
  background: #ffe9e9;
  color: #a21414;
}

.form-note {
  display: block;
  margin-top: 0.75rem;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.contacts-section {
  padding: 2.5rem 1.5rem;
  background: rgba(12, 124, 224, 0.34);
  border-top: 1px solid rgba(118, 169, 220, 0.18);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2rem;
  align-items: center;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-list li+li {
  margin-top: 0.35rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.contact-list span {
  width: 1.45rem;
  height: 1.45rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}

.contact-list svg {
  width: 0.86rem;
  height: 0.86rem;
  display: block;
  fill: #fff;
}

.contact-list a {
  color: var(--dark);
}

.social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.viber-popup-dialog {
  width: min(calc(100% - 2rem), 700px);
  max-width: 700px;
}

.viber-fallback-modal {
  max-height: calc(100vh - 2rem);
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.viber-popup-header {
  padding: 24px 30px;
  border-bottom: 1px solid #eee;
}

.viber-popup-header .modal-title {
  color: #173a8a;
  font-size: 2.625rem;
  line-height: 1.1;
  font-weight: 700;
}

.viber-popup-body {
  overflow-y: auto;
  padding: 0;
}

.viber-popup-warning {
  margin: 24px;
  padding: 20px;
  border: 1px solid #f3d7aa;
  border-radius: 16px;
  background: #fffaf3;
  color: #222;
  line-height: 1.45;
}

.viber-popup-warning strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.75rem;
  line-height: 1.2;
}

.viber-popup-warning p {
  margin: 0;
  color: #222;
}

.viber-popup-section {
  padding: 0 24px 24px;
}

.viber-popup-section h3 {
  margin: 0 0 0.75rem;
  color: #222;
  font-size: 1.5rem;
  font-weight: 800;
}

.viber-popup-visuals {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  padding: 10px 0 25px;
  color: #173a8a;
  font-size: 2.25rem;
  font-weight: 800;
}

.viber-popup-visual {
  width: 180px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 180px;
  border: 2px solid #ddd;
  border-radius: 18px;
  background: #fff;
  color: #173a8a;
  font-size: 3.125rem;
}

.viber-popup-steps {
  overflow: hidden;
  border: 1px solid #e5eaf2;
  border-radius: 18px;
}

.viber-popup-step {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid #e5eaf2;
}

.viber-popup-step:last-child {
  border-bottom: 0;
}

.viber-popup-step>div:last-child {
  min-width: 0;
}

.viber-popup-step strong,
.viber-popup-step span {
  display: block;
}

.viber-popup-step strong {
  margin-bottom: 0.2rem;
  color: #222;
  font-size: 1.05rem;
}

.viber-popup-step span {
  color: #334155;
  line-height: 1.4;
}

.viber-popup-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 60px;
  border-radius: 50%;
  background: #eef5ff;
  color: #173a8a;
  font-size: 1.625rem;
}

.viber-popup-info {
  margin-top: 18px;
  padding: 18px;
  border-radius: 14px;
  background: #eef5ff;
  color: #173a8a;
  line-height: 1.4;
  font-weight: 700;
}

.viber-popup-confirm {
  width: 100%;
  min-height: 3.75rem;
  margin-top: 18px;
  border-radius: 12px;
  font-size: 1.5rem;
}

.footer {
  padding: 1.2rem 1.5rem;
  background: #8dc4f3;
  color: var(--dark);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--dark);
}

.back-top {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 45;
  width: 3.55rem;
  height: 3.55rem;
  display: inline-grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.42), transparent 36%),
    linear-gradient(145deg, #19a4ff, #0878df);
  box-shadow: 0 16px 34px rgba(7, 91, 176, 0.28);
  color: #fff !important;
  font-family: Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 1400;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.8rem) scale(0.92);
  transition: opacity 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-top:hover,
.back-top:focus-visible {
  box-shadow: 0 20px 40px rgba(7, 91, 176, 0.36);
  transform: translateY(-0.15rem) scale(1.04);
}

.back-top span[aria-hidden="true"] {
  transform: translateY(-0.08rem);
}

.admin-body {
  background: #eef7ff;
}

.login-body {
  min-height: 100vh;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.login-card {
  width: min(100%, 430px);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin-bottom: 1.4rem;
  color: var(--dark);
  font-size: 1.7rem;
  font-weight: 900;
}

.login-hint {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.5rem;
  background: #d7ecff;
  border-right: 1px solid var(--line);
}

.admin-sidebar nav {
  display: grid;
  gap: 0.6rem;
  margin-top: 2rem;
}

.admin-sidebar nav a {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  color: var(--dark);
  font-weight: 900;
}

.admin-sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.7);
}

.admin-sidebar nav a.is-active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(29, 91, 160, 0.08);
}

.admin-content {
  padding: 2rem;
}

.admin-header,
.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
}

.admin-card h2 {
  color: var(--dark);
  font-size: 1.4rem;
  font-weight: 900;
}

.admin-settings-group {
  padding-top: 1rem;
}

.admin-settings-group+.admin-settings-group {
  margin-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.admin-settings-group h3 {
  margin: 0 0 0.8rem;
  color: var(--blue);
  font-size: 1rem;
  font-weight: 900;
}

.admin-settings-option {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.admin-photo-preview {
  display: block;
  width: min(100%, 18rem);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #e5f3ff;
}

.admin-subform {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.lead-filter-form {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(229, 243, 255, 0.48);
}

.lead-empty-message {
  margin: 1rem 0 0;
}

.lead-detail {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.72);
}

.lead-detail+.lead-detail {
  margin-top: 0.75rem;
}

.lead-detail summary {
  cursor: pointer;
  color: var(--dark);
  font-weight: 900;
}

.lead-contact-method {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #e5f3ff;
  color: var(--blue);
  font-size: 0.85rem;
  white-space: nowrap;
}

.lead-delete-form {
  margin: 1rem 0 0;
}

.lead-counter {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #e5f3ff;
  color: var(--blue);
  font-weight: 900;
}

.lead-detail dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0.35rem 1rem;
  margin: 1rem 0 0;
}

.lead-detail dt {
  color: var(--muted);
}

.lead-detail dd {
  margin: 0;
  font-weight: 700;
}

@media (max-width: 1199px) {
  .hero-copy {
    width: 100%;
    padding-right: 2rem;
    padding-bottom: 2rem;
  }

  .hero-person {
    display: none;
    width: 58%;
    height: 54%;
  }

  .globe-badge {
    display: none;
    right: 2rem;
    bottom: 5rem;
  }
}

@media (max-width: 991px) {

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    width: min(100%, 880px);
  }

  .action-card {
    min-height: 8.85rem;
    grid-template-columns: 6.75rem minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
    column-gap: 0.55rem;
    padding: 1rem 2.55rem 1rem 0.9rem;
    border-radius: 1.15rem;
    background:
      radial-gradient(circle at 92% 78%, rgba(180, 222, 252, 0.34), transparent 36%),
      linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(238, 248, 255, 0.78));
    box-shadow: 0 10px 22px rgba(29, 91, 160, 0.12);
  }

  .nav-cta {
    margin: 0.5rem 0 0;
  }

  .hero-card {
    min-height: auto;
  }

  .hero-actions,
  .benefit-cards,
  .lead-panel,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .lead-form {
    grid-row: auto;
    grid-column: auto;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .hero-benefits div+div {
    padding-left: 0;
    border-left: 0;
  }

  .lead-copy {
    text-align: center;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-sidebar nav {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {

  .phone-viber img {
    object-fit: cover;
    object-position: center;
    max-width: none;
    width: 9rem;
    height: 1.8rem;
    padding-left: 0.4rem;
  }

  .topbar .navbar>.container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
  }

  .brand-mark {
    min-width: 0;
    order: 1;
    flex: 1 1 0;
    gap: 0.45rem;
    font-size: clamp(1.28rem, 5.2vw, 1.7rem);
    line-height: 1.05;
    white-space: nowrap;
  }

  .brand-mark span {
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
  }

  .navbar-toggler {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .navbar-collapse {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    margin-top: 0.25rem;
  }

  .navbar-collapse .navbar-nav {
    align-items: flex-start;
    gap: 0.12rem;
    padding: 0.45rem 0 0.25rem 3rem;
  }

  .navbar-collapse .nav-link {
    padding: 0.3rem 0;
  }

  .nav-cta {
    margin: 0.35rem 0 0;
  }

  .site-panel {
    width: 100%;
    margin: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .hero-section {
    padding-top: 0;
  }

  .hero-container {
    padding: 0;
  }

  .hero-card {
    border-radius: 0;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    padding: 1.2rem 0.55rem 2rem;
  }

  .phone-panel {
    max-width: 100%;
    width: 100%;
    padding: 0.85rem 0.58rem 0.85rem 0.2rem;
    border-radius: 1.25rem;
  }

  .phone-row {
    grid-template-columns: minmax(0, 1fr) 5.65rem;
    gap: 0.12rem;
    min-height: 2.75rem;
    font-size: clamp(1.28rem, 6.25vw, 1.72rem);
  }

  .phone-number {
    min-width: 0;
    overflow: hidden;
  }

  .phone-viber {
    position: relative;
    z-index: 5;
    justify-self: end;
    display: inline-flex;
    overflow: hidden;
    min-width: 0;
    padding: 0;
    border-radius: 999px;
  }

  .phone-viber img {
    max-width: 90px;
  }

  .phone-icon {
    display: none;
  }

  .official-badge {
    font-size: 1rem;
  }

  .hero-card h1 {
    max-width: 100%;
    font-size: clamp(1.55rem, 7vw, 2.05rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .action-card {
    min-height: 8.85rem;
    grid-template-columns: 6.75rem minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
    column-gap: 0.55rem;
    padding: 1rem 2.55rem 1rem 0.9rem;
    border-radius: 1.15rem;
    background:
      radial-gradient(circle at 92% 78%, rgba(180, 222, 252, 0.34), transparent 36%),
      linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(238, 248, 255, 0.78));
    box-shadow: 0 10px 22px rgba(29, 91, 160, 0.12);
  }

  .action-card::before {
    display: none;
    left: 1rem;
    top: auto;
    bottom: 1.35rem;
    width: 1.95rem;
    height: 4.05rem;
    border-radius: 0;
    background: url("../assets/dots.png") left bottom / 2.45rem auto no-repeat;
    box-shadow: none;
    opacity: 0.78;
  }

  .action-card::after {
    display: block;
    right: 0.95rem;
    top: 50%;
    width: 2.15rem;
    height: 4.45rem;
    border-radius: 0;
    background: url("../assets/dots.png") center / contain no-repeat;
    box-shadow: none;
    opacity: 0.78;
    transform: translateY(-50%);
  }

  .action-card small {
    display: none;
  }

  .action-icon {
    position: relative;
    grid-row: 1;
    width: 5.9rem;
    height: 5.9rem;
    justify-self: center;
    border: 0.36rem solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 7px 18px rgba(7, 91, 176, 0.18), inset 0 0 0 0.18rem rgba(255, 255, 255, 0.5);
    font-size: 3.15rem;
  }

  .action-icon svg {
    width: 3.15rem;
    height: 3.15rem;
  }

  .action-card strong {
    min-width: 0;
    font-size: clamp(1.38rem, 6vw, 1.86rem);
    line-height: 1.08;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .action-card b {
    display: none;
  }

  .hero-person {
    display: none;
  }

  .globe-badge {
    display: none;
  }

  .hero-benefits {
    display: none;
  }

  .flag {
    width: 3rem;
    height: 1.9rem;
  }

  .globe-flags {
    left: 1.42rem;
    top: 3.35rem;
    width: 5.8rem;
    height: 2.6rem;
  }

  .flag::before {
    height: 2.55rem;
  }

  .flag-lt {
    left: 2.8rem;
  }

  .decor-dots,
  .decor-ring-one,
  .decor-plus {
    display: none;
  }

  .section-block {
    padding: 2.4rem 0;
    scroll-margin-top: 7rem;
  }

  .about-section {
    padding-top: 2.8rem;
  }

  .benefits-heading {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 0 1.25rem;
    padding: 0 1rem;
    text-align: center;
  }

  .benefits-heading h2 {
    display: block !important;
    margin: 0;
    color: var(--dark);
    font-size: 1.55rem;
    line-height: 1.15;
    text-transform: uppercase;
  }

  .lead-panel,
  .admin-card {
    padding: 1rem;
  }

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

  .viber-popup-dialog {
    width: calc(100% - 1rem);
    margin: 0.5rem auto;
  }

  .viber-fallback-modal {
    border-radius: 18px;
  }

  .viber-popup-header {
    padding: 18px 20px;
  }

  .viber-popup-header .modal-title {
    font-size: 1.75rem;
  }

  .viber-popup-warning {
    margin: 16px;
    padding: 16px;
  }

  .viber-popup-warning strong {
    font-size: 1.2rem;
  }

  .viber-popup-section {
    padding: 0 16px 16px;
  }

  .viber-popup-visuals {
    gap: 0.55rem;
    padding-bottom: 18px;
    font-size: 1.5rem;
  }

  .viber-popup-visual {
    height: 78px;
    flex-basis: 112px;
    border-radius: 14px;
    font-size: 2.2rem;
  }

  .viber-popup-step {
    gap: 12px;
    padding: 14px;
  }

  .viber-popup-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 1.3rem;
  }

  .viber-popup-confirm {
    font-size: 1.2rem;
  }

  .admin-content {
    padding: 1rem;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .lead-detail dl {
    grid-template-columns: 1fr;
  }
}
