:root {
  color-scheme: light;
  --text: #151a23;
  --muted: #74819a;
  --soft-blue: #78a9ff;
  --blue: #377cff;
  --page-bg:
    radial-gradient(circle at 50% 24%, rgba(112, 168, 255, 0.25), transparent 27rem),
    radial-gradient(circle at 8% 42%, rgba(189, 215, 255, 0.38), transparent 16rem),
    linear-gradient(180deg, #fbfdff 0%, #f3f8ff 48%, #fbfdff 100%);
  --body-shine:
    linear-gradient(115deg, transparent 0 18%, rgba(255, 255, 255, 0.62) 21%, transparent 24%),
    linear-gradient(70deg, transparent 0 56%, rgba(199, 222, 255, 0.4) 60%, transparent 64%);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --stroke: rgba(143, 171, 220, 0.24);
  --shadow: 0 24px 70px rgba(92, 123, 178, 0.2);
  --inner: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --strong-text: #111722;
  --card-border: rgba(255, 255, 255, 0.78);
  --control-bg: rgba(255, 255, 255, 0.72);
  --bubble-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(233, 241, 255, 0.9));
  --hero-bg:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(230, 240, 255, 0.52)),
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.95), transparent 35%);
  --hero-shine: radial-gradient(circle at 52% 42%, rgba(255, 255, 255, 0.94), transparent 34%);
  --link-bg:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(110, 164, 255, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(246, 250, 255, 0.64));
  --link-sweep: linear-gradient(115deg, transparent 0 24%, rgba(255, 255, 255, 0.9) 42%, rgba(209, 229, 255, 0.38) 50%, transparent 66% 100%);
  --preloader-bg:
    radial-gradient(circle at 50% 42%, rgba(118, 171, 255, 0.28), transparent 18rem),
    linear-gradient(180deg, #fbfdff, #eef6ff);
  --map-filter: saturate(0.82) contrast(0.96) brightness(1.04);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --text: #eef5ff;
  --muted: #a8b7d0;
  --soft-blue: #8cb8ff;
  --blue: #75a8ff;
  --page-bg:
    radial-gradient(circle at 50% 18%, rgba(85, 142, 255, 0.22), transparent 24rem),
    radial-gradient(circle at 8% 42%, rgba(106, 171, 255, 0.12), transparent 16rem),
    linear-gradient(180deg, #09111f 0%, #101b2d 48%, #07101c 100%);
  --body-shine:
    linear-gradient(115deg, transparent 0 18%, rgba(128, 179, 255, 0.1) 21%, transparent 24%),
    linear-gradient(70deg, transparent 0 56%, rgba(255, 255, 255, 0.055) 60%, transparent 64%);
  --surface: rgba(22, 33, 51, 0.74);
  --surface-strong: rgba(18, 28, 45, 0.88);
  --stroke: rgba(141, 183, 255, 0.22);
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.36);
  --inner: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --strong-text: #ffffff;
  --card-border: rgba(167, 202, 255, 0.18);
  --control-bg: rgba(23, 34, 53, 0.72);
  --bubble-bg: linear-gradient(145deg, rgba(38, 55, 83, 0.96), rgba(17, 28, 46, 0.9));
  --hero-bg:
    linear-gradient(145deg, rgba(29, 43, 68, 0.9), rgba(18, 31, 53, 0.72)),
    radial-gradient(circle at 50% 38%, rgba(109, 164, 255, 0.12), transparent 35%);
  --hero-shine: radial-gradient(circle at 52% 42%, rgba(165, 202, 255, 0.14), transparent 36%);
  --link-bg:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(111, 166, 255, 0.22), transparent 24%),
    linear-gradient(135deg, rgba(29, 43, 66, 0.88), rgba(15, 25, 42, 0.72));
  --link-sweep: linear-gradient(115deg, transparent 0 24%, rgba(205, 225, 255, 0.2) 42%, rgba(116, 172, 255, 0.22) 50%, transparent 66% 100%);
  --preloader-bg:
    radial-gradient(circle at 50% 42%, rgba(86, 145, 255, 0.22), transparent 18rem),
    linear-gradient(180deg, #09111f, #101d32);
  --map-filter: saturate(0.72) contrast(0.95) brightness(0.76);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: auto;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background: var(--page-bg);
  background-attachment: fixed;
  background-size: cover;
  letter-spacing: 0;
  transition: background 320ms ease, color 320ms ease;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background: var(--body-shine);
  opacity: 0.65;
}

img,
svg,
iframe {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--preloader-bg);
  transition: opacity 520ms ease, visibility 520ms ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(210px, 72vw);
  padding: 28px 24px 24px;
  border: 1px solid var(--card-border);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 18px 38px rgba(87, 128, 194, 0.16), var(--inner);
  animation: loaderRise 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.preloader-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--bubble-bg);
  box-shadow:
    0 0 0 4px rgba(113, 171, 255, 0.14),
    0 0 36px rgba(80, 145, 255, 0.28),
    0 18px 38px rgba(95, 124, 170, 0.18),
    var(--inner);
}

.preloader-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preloader-card p {
  margin: 0;
  color: var(--strong-text);
  font-size: 14px;
  font-weight: 800;
}

.preloader-bar {
  position: relative;
  width: 120px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(205, 219, 242, 0.78);
}

.preloader-bar i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, #6ba7ff, transparent);
  animation: loaderBar 1.1s ease-in-out 2;
}

.page-shell {
  position: relative;
  isolation: isolate;
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 14px 24px;
}

.topbar {
  position: relative;
  z-index: 100;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  min-height: 54px;
}

.company-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  background: var(--bubble-bg);
  box-shadow: 0 10px 22px rgba(109, 130, 170, 0.18), var(--inner);
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.company-mark:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(89, 123, 184, 0.22), var(--inner);
  filter: saturate(1.08);
}

.company-mark img,
.floating-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-missing {
  opacity: 0;
}

.company-mark.has-image span,
.floating-logo.has-image span {
  opacity: 0;
}

.company-mark span {
  position: relative;
  z-index: 1;
  font-size: 7px;
  font-weight: 500;
  line-height: 1.18;
  text-align: center;
}

.powered {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  color: var(--muted);
  font-size: clamp(10px, 2.8vw, 13px);
  font-weight: 500;
  white-space: nowrap;
}

.powered strong {
  color: var(--strong-text);
  font-weight: 800;
  letter-spacing: 0;
}

.theme-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  background: var(--control-bg);
  box-shadow: 0 12px 28px rgba(118, 139, 174, 0.14), var(--inner);
  color: var(--strong-text);
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, color 220ms ease, background 220ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(79, 130, 224, 0.18), 0 0 18px rgba(121, 171, 255, 0.16), var(--inner);
}

.theme-toggle:active {
  transform: scale(0.94);
}

.theme-toggle svg {
  position: absolute;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 240ms ease, transform 240ms ease;
}

.moon-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.sun-icon {
  opacity: 0;
  transform: rotate(-60deg) scale(0.55);
}

:root[data-theme="dark"] .moon-icon {
  opacity: 0;
  transform: rotate(60deg) scale(0.55);
}

:root[data-theme="dark"] .sun-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.status-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 78px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--control-bg);
  box-shadow: 0 12px 28px rgba(118, 139, 174, 0.14), var(--inner);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.status-badge::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.78), transparent);
  transform: translateX(-120%);
  display: none;
}

:root[data-theme="dark"] .status-badge::after {
  background: linear-gradient(100deg, transparent, rgba(165, 204, 255, 0.18), transparent);
}

.status-badge i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #31d655;
  box-shadow: 0 0 0 6px rgba(49, 214, 85, 0.12), 0 0 16px rgba(49, 214, 85, 0.78);
}

.hero {
  position: relative;
  padding: 10px 0 110px;
  z-index: 0;
}

.hero-card {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  height: 176px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 31px;
  background: var(--hero-bg);
  box-shadow: var(--shadow), var(--inner);
}

.hero-card::before,
.hero-card::after {
  position: absolute;
  inset: -24% -10%;
  content: "";
  background:
    linear-gradient(125deg, transparent 22%, rgba(255, 255, 255, 0.95) 29%, transparent 36%),
    linear-gradient(155deg, transparent 38%, rgba(132, 179, 255, 0.23) 42%, rgba(255, 255, 255, 0.8) 47%, transparent 55%);
  filter: blur(1px);
  opacity: 0.82;
  transform: rotate(-6deg);
}

:root[data-theme="dark"] .hero-card::before {
  opacity: 0.24;
}

:root[data-theme="dark"] .hero-card::after {
  opacity: 0.38;
}

.hero-card::after {
  inset: auto -20% -32% -20%;
  height: 105px;
  background:
    radial-gradient(ellipse at 42% 45%, rgba(255, 255, 255, 0.92), transparent 42%),
    linear-gradient(160deg, transparent 12%, rgba(118, 167, 255, 0.22), transparent 72%);
  opacity: 0.95;
}

.banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shine {
  position: absolute;
  inset: 0;
  background: var(--hero-shine);
}

.hero h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
}

.titlename {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 24px;
  width: 100%;
  color: var(--strong-text);
  font-size: 28px;
  font-weight: 800;
}

.youtube svg {
  fill: #ff0000;
}

.floating-logo {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 142px;
  height: 142px;
  overflow: hidden;
  border: 3px solid var(--stroke);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.24), transparent 58%),
    var(--bubble-bg);
  box-shadow:
    0 0 0 4px rgba(107, 169, 255, 0.17),
    0 0 38px rgba(85, 145, 255, 0.36),
    0 24px 48px rgba(90, 117, 164, 0.22),
    var(--inner);
  transform: translateX(-50%);
  transition: transform 260ms ease, box-shadow 260ms ease, filter 260ms ease;
}

.floating-logo:hover {
  transform: translateX(-50%) translateY(-4px) scale(1.025);
  box-shadow:
    0 0 0 5px rgba(107, 169, 255, 0.2),
    0 0 46px rgba(58, 132, 255, 0.45),
    0 30px 58px rgba(90, 117, 164, 0.26),
    var(--inner);
  filter: saturate(1.08);
}

.floating-logo span {
  position: relative;
  z-index: 1;
  margin-top: 32px;
  font-size: 32px;
  font-weight: 400;
}

.link-list {
  display: grid;
  gap: 14px;
}

.description-card {
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid var(--card-border);
  background: var(--surface);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  min-height: 64px;
}

.description-card h1 {
  display: inline-block;
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid var(--card-border);
  background: var(--surface-strong);
  color: var(--strong-text);
  font-size: 1rem;
  font-weight: 700;
}

.description-card p {
  margin: 0;
}

.link-card {
  --spot-x: 88%;
  --spot-y: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --lift: 0px;
  --card-scale: 1;
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 46px;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  overflow: hidden;
  padding: 10px 18px;
  border: 1px solid var(--card-border);
  border-radius: 22px;
  background: var(--link-bg);
  box-shadow: 0 12px 28px rgba(99, 120, 160, 0.12), var(--inner);
  color: var(--strong-text);
  font-size: 19px;
  font-weight: 500;
  text-align: left;
  isolation: isolate;
  cursor: pointer;
  transition:
    transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 240ms ease,
    border-color 240ms ease,
    background 240ms ease;
  transform: translateY(var(--lift)) scale(var(--card-scale));
}

.copy-card {
  width: 100%;
  appearance: none;
}

.copy-card.is-copied {
  border-color: rgba(49, 214, 85, 0.45);
  box-shadow: 0 16px 42px rgba(49, 214, 85, 0.12), 0 0 24px rgba(49, 214, 85, 0.14), var(--inner);
}

.copy-card.is-copied .copy-label {
  color: #31d655;
}

.link-card::before {
  position: absolute;
  inset: 1px;
  z-index: -1;
  content: "";
  border-radius: inherit;
  background: var(--link-sweep);
  opacity: 0.78;
  transform: translateX(-115%);
  display: none;
  transition: opacity 240ms ease;
}

.link-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(55, 124, 255, 0.2), transparent 34%),
    linear-gradient(270deg, rgba(255, 255, 255, 0.68), transparent 48%);
  opacity: 0;
  transition: opacity 220ms ease;
}

:root[data-theme="dark"] .link-card::after {
  background:
    linear-gradient(90deg, rgba(81, 143, 255, 0.16), transparent 34%),
    linear-gradient(270deg, rgba(171, 207, 255, 0.1), transparent 48%);
}

.link-card:hover,
.link-card:focus-visible {
  border-color: rgba(158, 195, 255, 0.72);
  box-shadow: 0 16px 42px rgba(79, 130, 224, 0.17), 0 0 24px rgba(121, 171, 255, 0.18), var(--inner);
  outline: none;
  --lift: -3px;
  --card-scale: 1.01;
}

.link-card:hover::before,
.link-card:focus-visible::before {
  opacity: 1;
}

.link-card:hover::after,
.link-card:focus-visible::after {
  opacity: 1;
}

.link-card:active {
  --lift: 0px;
  --card-scale: 0.982;
  transition-duration: 90ms;
}

.link-card:hover .icon-bubble {
  transform: scale(1.05) rotate(-3deg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 12px 24px rgba(65, 115, 210, 0.18);
}

.link-card:hover .arrow {
  color: #1f65d8;
  transform: translateX(3px);
}

.icon-bubble,
.arrow,
.phone-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bubble-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 10px 22px rgba(83, 117, 179, 0.12);
  transition: transform 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.icon-bubble {
  position: relative;
  width: 44px;
  height: 44px;
}

.icon-bubble::after,
.arrow::after {
  position: absolute;
  inset: -1px;
  content: "";
  border-radius: inherit;
  border: 1px solid rgba(117, 168, 255, 0.42);
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}

.icon-bubble::after {
  display: none;
}

.icon-bubble svg,
.phone-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.instagram svg {
  color: #ff2f7d;
}

.telegram svg {
  color: #2b7cff;
  fill: currentColor;
  stroke: none;
}

.website svg {
  color: #377cff;
}

.custom svg {
  color: #745bff;
}

.arrow {
  position: relative;
  justify-self: end;
  width: 42px;
  height: 42px;
  color: var(--muted);
}

.arrow::after {
  display: none;
}

.arrow svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card {
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  gap: 18px;
  min-height: 178px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--card-border);
  border-radius: 25px;
  background: var(--surface-strong);
  box-shadow: 0 16px 38px rgba(99, 120, 160, 0.14), var(--inner);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  position: absolute;
  inset: 1px;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.72), transparent 32%, rgba(111, 164, 255, 0.1));
  opacity: 0.7;
}

:root[data-theme="dark"] .info-card::before {
  background: linear-gradient(128deg, rgba(169, 205, 255, 0.08), transparent 32%, rgba(111, 164, 255, 0.12));
}

.contact-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
  min-width: 0;
  padding-top: 18px;
}

.phone-icon {
  width: 44px;
  height: 44px;
  color: #2256ac;
}

.contact-copy p {
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.42;
}

.save-contact-trigger {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--control-bg);
  box-shadow: 0 10px 24px rgba(83, 117, 179, 0.12), var(--inner);
  color: var(--strong-text);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.save-contact-trigger:hover,
.save-contact-trigger:focus-visible {
  border-color: rgba(117, 168, 255, 0.52);
  box-shadow: 0 14px 30px rgba(79, 130, 224, 0.18), var(--inner);
  outline: none;
  transform: translateY(-2px);
}

.save-contact-trigger:active {
  transform: scale(0.97);
}

.soft-line {
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: #d8e1ef;
}

.dots {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 8px;
}

.dots span {
  width: 10px;
  height: 3px;
  border-radius: 99px;
  background: #d8e1ef;
}

.dots .active {
  width: 5px;
  height: 5px;
  background: var(--blue);
}

.map-frame {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 142px;
  border: 0;
}

.footer {
  padding: 22px 0 0;
  color: #8390a9;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}

.footer p {
  margin: 0;
}

.order-button {
  margin-top: 14px;
  padding: 8px 16px;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: var(--control-bg);
  color: var(--strong-text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 220ms ease;
}

.order-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(109, 130, 170, 0.18);
  background: var(--surface);
}

.order-button:active {
  transform: scale(0.96);
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: end center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 24, 0.42);
}

.contact-sheet {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 390px);
  padding: 28px 22px 22px;
  border: 1px solid var(--card-border);
  border-radius: 30px;
  background: var(--surface-strong);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22), var(--inner);
  transform: translateY(18px) scale(0.98);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-modal.is-open .contact-sheet {
  transform: translateY(0) scale(1);
}

.contact-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  background: var(--control-bg);
  color: var(--muted);
  cursor: pointer;
}

.contact-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.contact-avatar {
  position: relative;
  width: 84px;
  height: 84px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--bubble-bg);
  box-shadow:
    0 0 0 4px rgba(107, 169, 255, 0.16),
    0 0 32px rgba(85, 145, 255, 0.24),
    0 18px 38px rgba(90, 117, 164, 0.2),
    var(--inner);
}

.contact-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-sheet h2 {
  margin: 2px 0 0;
  color: var(--strong-text);
  font-size: 24px;
  font-weight: 800;
}

.contact-phone {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.contact-save {
  width: 100%;
  min-height: 52px;
  margin-top: 6px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #377cff, #75a8ff);
  box-shadow: 0 18px 36px rgba(55, 124, 255, 0.28);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-save:hover,
.contact-save:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(55, 124, 255, 0.34);
}

.contact-save:active {
  transform: scale(0.98);
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 360ms ease, transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ambientFlow {
  from {
    background-position: 0% 20%;
  }

  to {
    background-position: 100% 80%;
  }
}

@keyframes badgeSheen {

  0%,
  58% {
    transform: translateX(-120%);
  }

  82%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes cardSettle {
  from {
    transform: translateY(10px) scale(0.98);
  }

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

@keyframes silkDrift {
  from {
    transform: translateX(-2%) translateY(0);
  }

  to {
    transform: translateX(2%) translateY(-5%);
  }
}

@keyframes logoFloat {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -4px;
  }
}

@keyframes loaderRise {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }

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

@keyframes loaderPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.035);
  }
}

@keyframes loaderBar {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes glassSweep {

  0%,
  18% {
    transform: translateX(-115%);
  }

  58%,
  100% {
    transform: translateX(115%);
  }
}

@keyframes iconBreathe {

  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 10px 22px rgba(83, 117, 179, 0.12);
  }

  50% {
    transform: translateY(-1px) scale(1.025);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 14px 28px rgba(85, 145, 255, 0.2);
  }
}

@keyframes iconRing {

  0%,
  58%,
  100% {
    opacity: 0;
    transform: scale(0.92);
  }

  72% {
    opacity: 0.72;
  }

  90% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes arrowNudge {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(2px);
  }
}

@keyframes arrowRing {

  0%,
  62%,
  100% {
    opacity: 0;
    transform: scale(0.92);
  }

  78% {
    opacity: 0.52;
  }

  94% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.82);
  }
}

@media (max-width: 389px) {
  .page-shell {
    padding-inline: 10px;
  }

  .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 5px;
  }

  .company-mark {
    width: 38px;
    height: 38px;
  }

  .powered {
    font-size: 10.5px;
  }

  .status-badge {
    min-width: 64px;
    height: 32px;
    gap: 5px;
    padding: 0 8px;
    font-size: 11.5px;
  }

  .status-badge i {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 4px rgba(49, 214, 85, 0.12), 0 0 12px rgba(49, 214, 85, 0.7);
  }

  .theme-toggle {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 340px) {
  .page-shell {
    padding-inline: 8px;
  }

  .topbar {
    gap: 4px;
  }

  .company-mark {
    width: 34px;
    height: 34px;
  }

  .powered {
    font-size: 9.5px;
  }

  .powered strong {
    font-size: 10px;
  }

  .theme-toggle {
    width: 30px;
    height: 30px;
  }

  .theme-toggle svg {
    width: 15px;
    height: 15px;
  }

  .status-badge {
    min-width: 58px;
    height: 30px;
    padding-inline: 7px;
    font-size: 10.5px;
  }
}

@media (min-width: 431px) {
  .page-shell {
    padding-top: 48px;
  }

  .hero-card {
    height: 190px;
  }
}

@media (hover: none),
(pointer: coarse),
(max-width: 540px) {

  body::before,
  .hero-card::before,
  .hero-card::after,
  .hero-shine,
  .info-card::before,
  .link-card::after {
    display: none;
  }

  .page-shell {
    padding-bottom: 18px;
  }

  .preloader-card,
  .theme-toggle,
  .status-badge,
  .link-card,
  .info-card,
  .save-contact-trigger,
  .order-button,
  .contact-sheet {
    backdrop-filter: none;
  }

  .link-card,
  .icon-bubble,
  .arrow,
  .floating-logo,
  .company-mark {
    transition-duration: 140ms;
  }

  .link-card:hover,
  .link-card:focus-visible,
  .company-mark:hover {
    transform: none;
    filter: none;
  }
  
  .floating-logo:hover {
    transform: translateX(-50%);
    filter: none;
  }
}

.perf-lite *,
.perf-lite *::before,
.perf-lite *::after {
  animation: none !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

.perf-lite body::before,
.perf-lite .hero-card::before,
.perf-lite .hero-card::after,
.perf-lite .hero-shine,
.perf-lite .info-card::before,
.perf-lite .link-card::before,
.perf-lite .link-card::after {
  display: none !important;
}

.perf-lite .preloader-card,
.perf-lite .theme-toggle,
.perf-lite .status-badge,
.perf-lite .hero-card,
.perf-lite .link-card,
.perf-lite .info-card,
.perf-lite .save-contact-trigger,
.perf-lite .order-button,
.perf-lite .contact-modal-backdrop,
.perf-lite .contact-sheet {
  backdrop-filter: none !important;
  box-shadow: 0 8px 20px rgba(60, 80, 120, 0.1), var(--inner);
}

.perf-lite .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Share Modal & Button --- */
.share-profile-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  background: var(--control-bg);
  box-shadow: 0 12px 28px rgba(118, 139, 174, 0.14), var(--inner);
  color: var(--strong-text);
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, color 220ms ease, background 220ms ease;
  margin-left: auto;
}
.share-profile-btn:hover,
.share-profile-btn:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(79, 130, 224, 0.18), 0 0 18px rgba(121, 171, 255, 0.16), var(--inner);
}
.share-profile-btn:active {
  transform: scale(0.94);
}
.share-profile-btn svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 340px) {
  .share-profile-btn {
    width: 30px;
    height: 30px;
  }
  .share-profile-btn svg {
    width: 15px;
    height: 15px;
  }
}

.share-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}
.share-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.share-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 430px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background: var(--surface);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  z-index: 1000;
  padding: 24px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.share-modal.is-open {
  transform: translateX(-50%) translateY(0);
}

.share-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.share-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--strong-text);
}
.close-share-btn {
  background: var(--control-bg);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--strong-text);
  cursor: pointer;
  transition: background 200ms ease;
}
.close-share-btn:hover {
  background: var(--border);
}
.close-share-btn svg {
  width: 16px;
  height: 16px;
}

.share-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.qr-code-wrapper {
  background: white;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.qr-code-wrapper img {
  width: 180px;
  height: 180px;
  display: block;
}

.copy-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  border: none;
  background: var(--brand);
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease;
}
.copy-link-btn:hover {
  filter: brightness(1.1);
}
.copy-link-btn:active {
  transform: scale(0.96);
}
.copy-link-btn.copied {
  background: #10b981;
}
.copy-link-btn svg {
  width: 18px;
  height: 18px;
}