:root {
  --blue-400: #5B7BF5;
  --blue-500: #3A5BE0;
  --blue-600: #2D4BD2;
  --blue-700: #2139B0;
  --blue-800: #172A86;
  --ink: #060B2B;
  --ice: #A9EEFF;
  --text: #0E1640;
  --muted: #5A6390;
  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  font-family: var(--font-body);
  color: var(--white, #fff);
  background:
    radial-gradient(60% 40% at 100% 0%, rgba(169, 238, 255, 0.18), transparent 60%),
    linear-gradient(170deg, var(--blue-500), var(--blue-800));
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
}
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 8px; }

.ico {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- Card shell ---------- */
.card {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: max(20px, env(safe-area-inset-top)) 20px max(28px, env(safe-area-inset-bottom));
  isolation: isolate;
  overflow: hidden;
}
.card__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.card__glow {
  position: absolute;
  top: 60px; left: 50%;
  width: 420px; height: 420px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 160, 255, 0.5), transparent 65%);
  filter: blur(40px);
}
.card__wave { position: absolute; top: 330px; left: 0; width: 100%; height: 160px; fill: rgba(255, 255, 255, 0.06); }

@media (min-width: 560px) {
  body { align-items: flex-start; padding: 40px 0; }
  .card {
    border-radius: 32px;
    background: linear-gradient(170deg, var(--blue-500), var(--blue-700));
    box-shadow: 0 40px 100px -30px rgba(6, 11, 43, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    padding: 24px 28px 32px;
  }
}

.card__top { display: flex; align-items: center; justify-content: space-between; }
.card__logo { width: 104px; height: auto; }
.card__share {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: var(--blue-600);
  cursor: pointer;
  transition: transform 0.3s var(--ease-out);
}
.card__share:active { transform: scale(0.94); }

/* ---------- Profile ---------- */
.profile { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 0 24px; }
.profile__avatar {
  width: 148px; height: 148px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(169, 238, 255, 0.5));
  box-shadow: 0 24px 60px -20px rgba(6, 11, 43, 0.6);
  animation: rise 0.9s var(--ease-out) both;
}
.profile__avatar span {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--blue-400), var(--blue-700));
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 46px;
  letter-spacing: -0.02em;
}
.profile__name {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 7.4vw, 32px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  animation: rise 0.9s 0.08s var(--ease-out) both;
}
.profile__role {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  animation: rise 0.9s 0.14s var(--ease-out) both;
}
.profile__role span { color: var(--ice); margin: 0 4px; }

.quick { display: flex; gap: 14px; margin-top: 22px; animation: rise 0.9s 0.2s var(--ease-out) both; }
.quick a {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}
.quick a:hover, .quick a:active { background: #fff; color: var(--blue-600); transform: translateY(-2px); }

/* ---------- Save button ---------- */
.btn-save {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-700);
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 18px 40px -16px rgba(6, 11, 43, 0.55);
  transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease-out);
  animation: rise 0.9s 0.26s var(--ease-out) both;
}
.btn-save:hover { background: var(--ink); color: #fff; }
.btn-save:active { transform: scale(0.98); }

/* ---------- Blocks ---------- */
.block { margin-top: 30px; display: grid; gap: 10px; animation: rise 0.9s 0.32s var(--ease-out) both; }
.block h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 4px;
}
.row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
a.row:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(6, 11, 43, 0.5); }
a.row:active { transform: scale(0.98); }
.row__ico {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #E8ECFA;
  color: var(--blue-600);
}
.row__ico--wa { background: #E3F8EC; color: #13A35A; }
.row__text { display: flex; flex-direction: column; min-width: 0; font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.row__text small { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }

.about { text-align: center; font-size: 15px; color: rgba(255, 255, 255, 0.85); line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 4px 0 6px; }
.tags li {
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.map {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  aspect-ratio: 16 / 10;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.credit {
  margin-top: 32px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}
.credit a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.4); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
}
.toast .ico { color: var(--ice); width: 18px; height: 18px; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
