:root {
  --bg: #F4EFEC;
  --ink: #1B1717;
  --muted: #6B6360;
  --line: #E6DEDA;
  --accent: #B3261E;
  --wa: #138A43;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  padding: max(56px, env(safe-area-inset-top)) 16px max(48px, env(safe-area-inset-bottom));
}

.card {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar {
  width: 176px;
  height: 176px;
  flex-shrink: 0;
  padding: 5px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.name {
  margin: 28px 0 0;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: center;
}

.actions {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.btn {
  height: 56px;
  border-radius: 16px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-call { background: var(--accent); }
.btn-wa { background: var(--wa); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(27, 23, 23, .14); }
.btn:active { transform: translateY(0); }

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.phone {
  margin-top: 16px;
  min-height: 44px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .02em;
}

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.row {
  min-height: 68px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background-color .15s ease, transform .15s ease;
}
.row:hover { background: #fff; transform: translateY(-1px); }

.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon svg { width: 22px; height: 22px; }

.text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
  min-width: 0;
}
.label { font-weight: 600; font-size: 16px; }
.handle {
  font-size: 14px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arrow { width: 18px; height: 18px; color: var(--muted); }

.hint {
  margin: 40px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.btn:focus-visible, .row:focus-visible, .phone:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

@media (max-width: 360px) {
  .name { font-size: 34px; }
  .actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .row { transition: none; }
}
