@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  color-scheme: light;
  --deep: #173b3a;
  --deep-2: #245451;
  --accent: #c58c62;
  --ink: #203331;
  --muted: #71817d;
  --paper: #fffefa;
  --line: #e8eeea;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 15% 10%, rgba(197, 140, 98, 0.16), transparent 34rem),
    linear-gradient(135deg, #edf3ef, #f7f5ef);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 20px 24px;
}

.business-card {
  position: relative;
  width: min(100%, 440px);
  overflow: hidden;
  padding: 42px 42px 32px;
  text-align: center;
  background: var(--paper);
  border: 1px solid rgba(23, 59, 58, 0.07);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(28, 58, 51, 0.13);
  animation: rise-in 650ms ease-out both;
}

.accent {
  position: absolute;
  inset: 0 0 auto;
  height: 9px;
  background: linear-gradient(90deg, var(--deep), #63877b, var(--accent));
}

.portrait-wrap {
  width: 132px;
  height: 132px;
  margin: 0 auto 24px;
  padding: 5px;
  border: 1px solid rgba(197, 140, 98, 0.7);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 59, 58, 0.10);
}

.portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.qr-wrap {
  width: 212px;
  height: 212px;
  margin: 30px auto 24px;
  padding: 5px;
  border: 1px solid rgba(197, 140, 98, 0.7);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 59, 58, 0.10);
}

.qr {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

h1 {
  margin: 0;
  color: var(--deep);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 7vw, 38px);
  line-height: 1.15;
  font-weight: 700;
}

.role {
  margin: 9px 0 0;
  color: var(--deep-2);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.intro {
  max-width: 290px;
  margin: 20px auto 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.contact-list {
  display: grid;
  gap: 10px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 5px 2px;
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 160ms ease, transform 160ms ease;
}

.contact-item:hover {
  color: var(--deep-2);
  transform: translateX(3px);
}

.contact-icon {
  display: inline-flex;
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--deep);
  background: #edf3ef;
  font-size: 16px;
}

.contact-icon.whatsapp {
  color: #287a56;
  background: #eaf5ed;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 24px;
  padding: 14px 20px;
  border-radius: 999px;
  color: #fff;
  background: var(--deep);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(23, 59, 58, 0.17);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.primary-button:hover {
  background: var(--deep-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(23, 59, 58, 0.22);
}

.primary-button span {
  font-size: 18px;
}

.footer-note {
  margin: 23px 0 0;
  color: #89958f;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 13px;
  font-style: italic;
}

.page-footer {
  margin: 20px 0 0;
  color: #82908a;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.page-footer span {
  padding: 0 5px;
  color: var(--accent);
}

a:focus-visible {
  outline: 3px solid rgba(197, 140, 98, 0.7);
  outline-offset: 4px;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .page {
    justify-content: flex-start;
    padding: 24px 14px;
  }

  .business-card {
    padding: 36px 25px 28px;
    border-radius: 20px;
  }

  .portrait-wrap {
    width: 116px;
    height: 116px;
    margin-bottom: 21px;
  }

  .qr-wrap {
    width: 116px;
    height: 116px;
    margin-bottom: 21px;
  }

  .contact-item {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
