@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #060705;
  --lime: #7ed321;
  --lime-soft: #c1ff62;
  --text: #f2f5ec;
  --muted: #939b88;
  --hairline: rgba(255, 255, 255, 0.07);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- Background ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -18%, rgba(34, 48, 22, 0.55), transparent 62%),
    radial-gradient(100% 70% at 50% 118%, rgba(16, 26, 12, 0.7), transparent 66%),
    linear-gradient(180deg, #080a06 0%, #050604 48%, #060705 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.glow-a {
  top: -250px;
  left: -200px;
  width: 540px;
  height: 540px;
  background: radial-gradient(
    circle,
    rgba(126, 211, 33, 0.14) 0%,
    rgba(126, 211, 33, 0.04) 38%,
    transparent 68%
  );
  animation: drift-a 26s ease-in-out infinite alternate;
}

.glow-b {
  right: -200px;
  bottom: -260px;
  width: 540px;
  height: 540px;
  background: radial-gradient(
    circle,
    rgba(88, 150, 48, 0.12) 0%,
    rgba(40, 70, 26, 0.06) 45%,
    transparent 68%
  );
  animation: drift-b 32s ease-in-out infinite alternate;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(78% 58% at 50% 36%, #000 0%, transparent 78%);
  mask-image: radial-gradient(78% 58% at 50% 36%, #000 0%, transparent 78%);
}

.motif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
}

.watermark {
  position: absolute;
  top: 50%;
  right: -16%;
  width: min(78vw, 560px);
  opacity: 0.045;
  transform: translateY(-50%) rotate(-8deg);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

@keyframes drift-a {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(48px, 36px, 0) scale(1.1);
  }
}

@keyframes drift-b {
  from {
    transform: translate3d(0, 0, 0) scale(1.05);
  }
  to {
    transform: translate3d(-42px, -30px, 0) scale(1);
  }
}

/* ---------- Layout ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.share {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 16px);
  right: 18px;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #dfe5d5;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px -14px rgba(0, 0, 0, 0.8);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.share svg {
  width: 17px;
  height: 17px;
}

.share:hover {
  color: #08130a;
  background: var(--lime-soft);
  border-color: var(--lime-soft);
}

.share:active {
  transform: scale(0.94);
}

.shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: max(68px, calc(env(safe-area-inset-top, 0px) + 54px)) 18px
    max(26px, calc(env(safe-area-inset-bottom, 0px) + 18px));
}

/* ---------- Card ---------- */

.card {
  position: relative;
  width: 100%;
  max-width: 424px;
  padding: 24px 22px 22px;
  border-radius: 28px;
  background:
    radial-gradient(130% 70% at 50% -8%, rgba(193, 255, 98, 0.09), transparent 58%),
    linear-gradient(168deg, rgba(20, 24, 16, 0.94) 0%, rgba(9, 11, 8, 0.96) 55%, rgba(7, 8, 6, 0.98) 100%);
  box-shadow:
    0 48px 100px -48px rgba(0, 0, 0, 0.95),
    0 18px 44px -30px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  backdrop-filter: blur(20px) saturate(120%);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(
    165deg,
    rgba(193, 255, 98, 0.32) 0%,
    rgba(255, 255, 255, 0.07) 26%,
    rgba(255, 255, 255, 0.02) 55%,
    rgba(126, 211, 33, 0.2) 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- Top line ---------- */

.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #dbe3cd;
  white-space: nowrap;
}

.eyebrow i {
  display: block;
  width: 15px;
  height: 1px;
  background: linear-gradient(90deg, #7ed321, #c1ff62);
  box-shadow: 0 0 8px rgba(193, 255, 98, 0.7);
}

.loc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  white-space: nowrap;
}

.loc svg {
  width: 10px;
  height: 10px;
  color: var(--lime);
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.mark {
  width: 56px;
  height: auto;
  flex: none;
  filter: drop-shadow(0 0 20px rgba(126, 211, 33, 0.35));
}

.brand h1 {
  margin: 0;
  font-size: clamp(26px, 7.4vw, 30px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand p {
  margin: 8px 0 0;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.31em;
  text-transform: uppercase;
  color: var(--lime-soft);
}

/* ---------- Actions ---------- */

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.action {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 11px 12px;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  color: var(--lime-soft);
  background: linear-gradient(160deg, rgba(193, 255, 98, 0.14), rgba(126, 211, 33, 0.03));
  border: 1px solid rgba(193, 255, 98, 0.16);
  border-radius: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ico svg {
  width: 17px;
  height: 17px;
}

.action:hover {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  border-color: rgba(193, 255, 98, 0.36);
  box-shadow: 0 10px 26px -18px rgba(0, 0, 0, 0.9);
  transform: translateY(-1px);
}

.action:active {
  transform: scale(0.98);
}

/* ---------- Save contact ---------- */

.save {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin-top: 12px;
  padding: 0 18px;
  overflow: hidden;
  color: #08130a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #8ae32b 0%, #c1ff62 52%, #a6ef3f 100%);
  border: 0;
  border-radius: 16px;
  box-shadow:
    0 18px 40px -16px rgba(126, 211, 33, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.save::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 22%,
    rgba(255, 255, 255, 0.4) 46%,
    transparent 62%
  );
  transform: translateX(-130%);
  transition: transform 0.7s ease;
}

.save:hover::before {
  transform: translateX(130%);
}

.save svg {
  position: relative;
  width: 19px;
  height: 19px;
}

.save:hover {
  transform: translateY(-1px);
  box-shadow:
    0 22px 46px -16px rgba(126, 211, 33, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.save:active {
  transform: scale(0.985);
}

/* ---------- Services ---------- */

.services {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}

.sec-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 13px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.sec-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent);
}

.services ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c8cfbd;
}

.services li::before {
  content: "";
  flex: none;
  width: 4px;
  height: 4px;
  margin-top: 0.45em;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(126, 211, 33, 0.85);
}

/* ---------- Socials ---------- */

.socials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.social-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 64px;
  padding: 8px 6px;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.social-tile .ico {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

.social-tile .ico svg {
  width: 15px;
  height: 15px;
}

.social-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #dfe5d5;
}

.social-tile:hover {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  border-color: rgba(193, 255, 98, 0.36);
  box-shadow: 0 10px 26px -18px rgba(0, 0, 0, 0.9);
  transform: translateY(-1px);
}

.social-tile:active {
  transform: scale(0.98);
}

.action:focus-visible,
.save:focus-visible,
.social-tile:focus-visible,
.share:focus-visible {
  outline: 2px solid var(--lime-soft);
  outline-offset: 2px;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  z-index: 20;
  padding: 10px 16px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: rgba(16, 21, 12, 0.92);
  border: 1px solid rgba(193, 255, 98, 0.2);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: reveal 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.06s;
}

.reveal:nth-child(3) {
  animation-delay: 0.12s;
}

.reveal:nth-child(4) {
  animation-delay: 0.18s;
}

.reveal:nth-child(5) {
  animation-delay: 0.24s;
}

.reveal:nth-child(6) {
  animation-delay: 0.3s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Desktop share alignment ---------- */

@media (min-width: 520px) {
  .share {
    right: calc(50% - 230px);
  }
}

/* ---------- Compact heights ---------- */

@media (max-height: 780px) {
  .card {
    padding: 20px 20px 18px;
  }

  .hero {
    margin-top: 16px;
  }

  .actions {
    margin-top: 18px;
  }

  .action,
  .save {
    min-height: 54px;
  }

  .services {
    margin-top: 18px;
    padding-top: 15px;
  }

  .services ul {
    gap: 8px 12px;
  }

  .socials {
    margin-top: 16px;
  }

  .social-tile {
    min-height: 60px;
  }
}

@media (max-height: 680px) {
  .shell {
    padding-top: max(56px, calc(env(safe-area-inset-top, 0px) + 46px));
    padding-bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 10px));
  }

  .card {
    padding: 16px 18px 12px;
    border-radius: 24px;
  }

  .hero {
    gap: 12px;
    margin-top: 12px;
  }

  .mark {
    width: 48px;
  }

  .brand h1 {
    font-size: 25px;
  }

  .brand p {
    margin-top: 6px;
    font-size: 8px;
  }

  .actions {
    gap: 8px;
    margin-top: 14px;
  }

  .action {
    gap: 8px;
    min-height: 48px;
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 14px;
  }

  .ico {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .ico svg {
    width: 15px;
    height: 15px;
  }

  .save {
    min-height: 48px;
    margin-top: 8px;
    font-size: 13.5px;
    border-radius: 14px;
  }

  .services {
    margin-top: 12px;
    padding-top: 10px;
  }

  .sec-head {
    margin-bottom: 10px;
  }

  .services ul {
    gap: 6px 12px;
  }

  .services li {
    font-size: 9.5px;
  }

  .socials {
    gap: 7px;
    margin-top: 10px;
  }

  .social-tile {
    min-height: 56px;
    padding: 6px 4px;
    border-radius: 13px;
  }

  .social-tile .ico {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }

  .social-label {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .glow {
    animation: none;
  }

  .action,
  .save,
  .social-tile,
  .share,
  .save::before {
    transition: none;
  }
}
