:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --panel: #ffffff;
  --text: #172033;
  --muted: #667085;
  --line: #d9e0ea;
  --primary: #1f2450;
  --phone: #2870c9;
  --whatsapp: #18a85b;
  --sms: #d99b10;
  --email: #56657d;
  --shadow: 0 20px 50px rgba(27, 39, 68, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.shell {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 10px;
  display: grid;
  place-items: center;
}

.panel {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  direction: rtl;
  margin-bottom: 12px;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.language-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border-radius: 22px;
  background: var(--primary);
  color: var(--muted);
  font-size: 0.8rem;
  padding: 0 10px;
  white-space: nowrap;
}

.language-label span {
  color: #fff;
}

.globe {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  display: block;
}

select {
  min-height: 34px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: #fff;
  padding: 0 4px;
  font: inherit;
}

select option {
  background: #fff;
  color: var(--text);
}

.tag-icon {
  width: 64px;
  height: 64px;
  position: relative;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(145deg, #edf3ff, #f8fbff);
}

.tag-icon::before {
  content: "";
  width: 32px;
  height: 40px;
  display: block;
  border-radius: 12px 12px 12px 4px;
  background: linear-gradient(145deg, #ff6277, #e94059);
  transform: rotate(-8deg);
  box-shadow: 0 8px 18px rgba(233, 64, 89, 0.25);
}

.tag-icon span {
  position: absolute;
  top: 22px;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
}

h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.35rem, 5.2vw, 1.85rem);
  line-height: 1.1;
}

.lead {
  margin: 10px auto 0;
  max-width: 38ch;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.5;
}

.owner-card {
  margin: 16px 0 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
  text-align: center;
}

.owner-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.owner-card strong {
  display: block;
  font-size: 1.05rem;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  padding: 9px 10px;
  font-size: 0.95rem;
}

.button.phone {
  background: var(--phone);
}

.button.whatsapp {
  background: var(--whatsapp);
}

.button.sms {
  background: var(--sms);
}

.button.email {
  background: var(--email);
}

.button.secondary {
  grid-column: 1 / -1;
  background: var(--primary);
}

[dir="ltr"] .lead {
  line-height: 1.5;
}

@media (max-width: 380px) {
  .panel {
    padding: 14px;
  }

  .topbar {
    gap: 8px;
  }

  .eyebrow {
    font-size: 0.74rem;
  }

  .language-label {
    gap: 6px;
    padding: 0 8px;
    font-size: 0.74rem;
  }

  .button {
    font-size: 0.88rem;
  }
}
