:root {
  color-scheme: dark;
  font-family: "DM Sans", sans-serif;
  --blue-deep: #081e4d;
  --blue: #1f3b75;
  --gold-muted: #b78926;
  --red: #c41e3a;
  --gold: #efb810;
  --gold-bright: #f9ab04;
  background: var(--blue-deep);
  color: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: start center;
  background-color: var(--blue-deep);
  background-image: linear-gradient(rgb(8 30 77 / 0.84), rgb(8 30 77 / 0.9)), url("https://iili.io/nq2a78Q.md.jpg"), linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px), linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-position: center, center, center, center;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-size: cover, cover, 28px 28px, 28px 28px;
  background-attachment: fixed, fixed, fixed, fixed;
}

.profile-card {
  width: min(100%, 460px);
  padding: 38px 18px 96px;
}

.profile-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  margin-bottom: 26px;
  text-align: center;
}

.profile-logo {
  width: min(100%, 300px);
  min-width: 0;
  aspect-ratio: 2.9;
  display: grid;
  place-items: center;
  padding: 8px 14px;
  border-bottom: 2px solid var(--gold-muted);
}

.profile-logo img {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: block;
  object-fit: contain;
}

h1,
p {
  margin: 0;
}

h1 {
  font-size: 1rem;
}

#business-handle {
  margin-top: 7px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.eyebrow {
  margin-top: 16px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.links-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-item a {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 8px;
  border-bottom: 1px solid rgb(239 184 16 / 0.34);
  background: transparent;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.link-item a::after {
  margin-left: auto;
  color: var(--gold);
  content: "→";
  font-size: 1.15rem;
  font-weight: 400;
  transition: transform 160ms ease;
}

.link-item a:hover,
.link-item a:focus-visible {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateX(4px);
}

.link-item a:hover::after,
.link-item a:focus-visible::after {
  transform: translateX(3px);
}

.link-item a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.phone-card {
  border-bottom: 1px solid rgb(239 184 16 / 0.34);
}

.phone-toggle {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 8px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
  transition: color 160ms ease, transform 160ms ease;
}

.phone-toggle::-webkit-details-marker {
  display: none;
}

.phone-toggle::after {
  margin-left: auto;
  color: var(--gold);
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  transition: transform 160ms ease;
}

.phone-card[open] .phone-toggle::after {
  content: "−";
}

.phone-toggle:hover,
.phone-toggle:focus-visible {
  color: var(--gold-bright);
  transform: translateX(4px);
}

.phone-toggle:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.phone-panel {
  display: grid;
  gap: 10px;
  padding: 0 8px 14px 41px;
}

.phone-link {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.phone-link:hover,
.phone-link:focus-visible {
  color: var(--gold-bright);
}

.extension-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: rgb(255 255 255 / 0.85);
  font-size: 0.84rem;
}

.link-icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  font-size: 1rem;
}

.facebook { color: var(--color); }
.instagram { color: var(--color); }
.whatsapp { color: var(--color); }
.email { color: var(--color); }
.website { color: var(--color); }

@media (min-width: 480px) {
  body {
    place-items: center;
  }

  .profile-card {
    padding-inline: 24px;
  }
}