:root {
  --bg: #4a2008;
  --bg-deep: #321304;
  --panel: rgba(46, 22, 9, .74);
  --panel-solid: #32190d;
  --gold: #d7a95c;
  --gold-soft: #f0cf8a;
  --cream: #fff4df;
  --muted: rgba(255, 244, 223, .58);
  --green: #2db95d;
  --red: #d8614f;
  --max: 560px;
}

* { box-sizing: border-box; }
html { background: var(--bg-deep); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 42%, rgba(215,169,92,.07), transparent 40%),
    linear-gradient(180deg, #2b1104 0%, var(--bg) 20%, #3c1706 100%);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

.page-shell {
  position: relative;
  width: min(100%, var(--max));
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 0 70px rgba(0,0,0,.35);
}

.hero {
  position: relative;
  height: clamp(340px, 52vh, 520px);
  overflow: hidden;
  background: #221005;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.03);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30,12,4,.02) 45%, rgba(42,17,5,.35) 68%, var(--bg) 98%),
    linear-gradient(90deg, rgba(25,8,1,.09), transparent 20%, transparent 80%, rgba(25,8,1,.09));
  pointer-events: none;
}

.lang-switch {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: 18px;
  z-index: 5;
  display: flex;
  align-items: center;
  padding: 5px;
  border: 1px solid rgba(216,172,95,.45);
  border-radius: 999px;
  background: rgba(37,18,8,.88);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
}

.lang-btn {
  min-width: 58px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: rgba(255,245,225,.86);
  background: transparent;
  cursor: pointer;
  transition: .2s ease;
  font-weight: 600;
  letter-spacing: .02em;
}

.lang-btn.is-active {
  color: #2b1609;
  background: linear-gradient(180deg, #efcf8c, #d6a658);
  box-shadow: inset 0 1px rgba(255,255,255,.35), 0 5px 15px rgba(0,0,0,.2);
}

.content {
  position: relative;
  z-index: 2;
  margin-top: -98px;
  padding: 0 20px calc(36px + env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 50% 12%, rgba(244,198,114,.07), transparent 28%),
    linear-gradient(180deg, rgba(74,32,8,0) 0, var(--bg) 92px, #3b1605 100%);
}

.brand-block { text-align: center; }

.ornament--top {
  margin-bottom: 0;
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  text-shadow: 0 0 18px rgba(215,169,92,.25);
}

.brand-logo {
  display: block;
  width: min(92%, 480px);
  margin: -18px auto -26px;
  mix-blend-mode: normal;
}

.tagline {
  margin: 0 auto;
  max-width: 460px;
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(17px, 4.4vw, 24px);
  letter-spacing: .18em;
  line-height: 1.25;
}

.mini-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 22px;
  color: var(--gold);
  opacity: .9;
}
.mini-rule span { width: 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.mini-rule span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.mini-rule b { font-size: 18px; font-weight: 400; }

.status-pill {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 22px;
  padding: 13px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(216,172,95,.78);
  border-radius: 999px;
  background: rgba(28,14,7,.55);
  box-shadow: 0 8px 28px rgba(0,0,0,.15), inset 0 0 18px rgba(223,176,95,.03);
  color: #fffaf2;
  font-size: clamp(13px, 3.7vw, 18px);
  font-weight: 600;
  letter-spacing: .11em;
  text-align: center;
  white-space: nowrap;
}

.status-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(45,185,93,.07), 0 0 15px rgba(45,185,93,.28);
}
.status-pill.is-closed .status-dot {
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(216,97,79,.07), 0 0 15px rgba(216,97,79,.25);
}

.actions {
  display: grid;
  gap: 14px;
}

.action-card {
  min-height: 104px;
  display: grid;
  grid-template-columns: 74px 1fr 26px;
  align-items: center;
  gap: 16px;
  padding: 14px 17px;
  border: 1px solid rgba(219,170,87,.92);
  border-radius: 24px;
  background:
    linear-gradient(100deg, rgba(255,255,255,.02), transparent 25%),
    rgba(47,22,9,.72);
  box-shadow: 0 13px 34px rgba(0,0,0,.12), inset 0 1px rgba(255,255,255,.025);
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.action-card:active { transform: scale(.985); }
@media (hover:hover) {
  .action-card:hover {
    transform: translateY(-2px);
    border-color: var(--gold-soft);
    background: rgba(58,28,11,.86);
  }
}

.action-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(145deg, #bd8c48, #d4aa66);
  box-shadow: inset 0 1px rgba(255,255,255,.22), 0 7px 18px rgba(0,0,0,.14);
}
.action-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: white;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.action-copy { min-width: 0; display: grid; gap: 5px; }
.action-copy strong {
  font-size: clamp(20px, 5.4vw, 29px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.02em;
}
.action-copy small {
  color: var(--muted);
  font-size: clamp(13px, 3.9vw, 18px);
  line-height: 1.35;
}
.chevron {
  justify-self: end;
  color: var(--gold-soft);
  font-family: Georgia, serif;
  font-size: 45px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-2px);
}

.closing {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 15px;
  margin: 30px 10px 10px;
}
.closing__line { height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.closing__line:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.closing p {
  margin: 0;
  max-width: 280px;
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(20px, 5.2vw, 28px);
  line-height: 1.05;
  text-align: center;
}
.footer-mark {
  text-align: center;
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
  margin-top: 18px;
}

@media (max-width: 390px) {
  .hero { height: 365px; }
  .content { margin-top: -80px; padding-left: 14px; padding-right: 14px; }
  .lang-switch { right: 12px; }
  .lang-btn { min-width: 50px; height: 38px; }
  .status-pill { padding: 11px 14px; letter-spacing: .07em; }
  .action-card { min-height: 92px; grid-template-columns: 62px 1fr 20px; gap: 12px; padding: 12px; border-radius: 21px; }
  .action-icon { width: 56px; height: 56px; border-radius: 15px; }
  .action-icon svg { width: 27px; height: 27px; }
  .chevron { font-size: 38px; }
}

@media (min-width: 700px) {
  body { padding: 24px 0; }
  .page-shell { border-radius: 32px; min-height: calc(100vh - 48px); }
}
