:root {
  --bg: #050505;
  --card: #0a0a0a;
  --gold: #c9a24a;
  --gold-bright: #e2c06a;
  --gold-dim: rgba(201, 162, 74, 0.35);
  --ink: #f4efe4;
  --muted: rgba(244, 239, 228, 0.58);
  --soft: rgba(244, 239, 228, 0.34);
  --font-brand: "Cinzel", Georgia, serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

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

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.4;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(5, 5, 5, 0.35) 0%, rgba(5, 5, 5, 0.82) 42%, #050505 68%),
    radial-gradient(ellipse 80% 50% at 70% 0%, rgba(201, 162, 74, 0.12), transparent 55%),
    url("https://images.unsplash.com/photo-1533106497176-45ae19e68ba2?auto=format&fit=crop&w=1600&q=70")
      center / cover no-repeat,
    #050505;
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1.25rem 1rem calc(1.25rem + var(--safe-bottom));
}

.card {
  width: min(420px, 100%);
  padding: 2rem 1.35rem 1.5rem;
  border: 1px solid var(--gold-dim);
  background:
    linear-gradient(180deg, rgba(18, 16, 12, 0.88), rgba(8, 8, 8, 0.94));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
  opacity: 0.7;
}

.card::before {
  top: 8px;
  left: 8px;
  border-right: 0;
  border-bottom: 0;
}

.card::after {
  top: 8px;
  right: 8px;
  border-left: 0;
  border-bottom: 0;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal:nth-child(1) { animation-delay: 0.04s; }
.reveal:nth-child(2) { animation-delay: 0.14s; }
.reveal:nth-child(3) { animation-delay: 0.24s; }
.reveal:nth-child(4) { animation-delay: 0.34s; }
.reveal:nth-child(5) { animation-delay: 0.44s; }
.reveal:nth-child(6) { animation-delay: 0.54s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.brand {
  text-align: center;
}

.monogram {
  width: 3.1rem;
  height: 3.1rem;
  margin: 0 auto 0.85rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-brand);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  box-shadow: inset 0 0 0 3px rgba(5, 5, 5, 0.85), 0 0 0 1px rgba(201, 162, 74, 0.15);
}

.brand-name {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.rule {
  width: 3.5rem;
  height: 1px;
  margin: 0.7rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.brand-title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.identity {
  text-align: center;
}

.identity h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 14vw, 3.75rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 0.95;
  color: var(--gold-bright);
  text-transform: uppercase;
}

.role {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.location {
  margin: 0.55rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.services-line {
  margin: 0;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
  line-height: 1.6;
}

.actions {
  display: grid;
  gap: 0.95rem;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

.action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 4.1rem;
  padding: 0.65rem 0.4rem;
  text-decoration: none;
  color: var(--gold-bright);
  border: 1px solid var(--gold-dim);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.action span:last-child {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.action-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
}

.action-icon svg {
  width: 100%;
  height: 100%;
}

.action:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 74, 0.06);
}

.action:active {
  transform: scale(0.98);
}

.btn-save {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.2rem;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: #14110c;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border: 1px solid var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(201, 162, 74, 0.22);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-save svg {
  width: 1.15rem;
  height: 1.15rem;
}

.btn-save:hover {
  box-shadow: 0 16px 36px rgba(201, 162, 74, 0.32);
}

.btn-save:active {
  transform: scale(0.985);
}

.scan-note {
  margin: 0;
  text-align: center;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}

.services {
  text-align: center;
  padding-top: 0.25rem;
  border-top: 1px solid var(--gold-dim);
}

.service-grid {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0.85rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 0.5rem;
}

.service-grid li {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-grid .icon {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--gold);
}

.service-grid .icon svg {
  width: 100%;
  height: 100%;
}

.values {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.motto {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--muted);
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--gold-dim);
}

.trust-item {
  display: grid;
  gap: 0.3rem;
  justify-items: center;
  text-align: center;
  color: var(--soft);
  font-size: 0.48rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.trust-item .icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--gold);
}

.trust-item .icon svg {
  width: 100%;
  height: 100%;
}

@media (min-width: 900px) {
  .shell {
    justify-content: end;
    padding-right: clamp(2rem, 8vw, 7rem);
  }

  .card {
    width: min(440px, 42vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
