:root {
  --bg: #141414;
  --panel: #1c1c1c;
  --text: #f2efe9;
  --muted: #a9a49b;
  --orange: #E05A1A;
  --teal: #64ACAB;
  --line: #2a2a2a;
}
* { box-sizing: border-box; margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  position: relative;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  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='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
}
header.site {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
  position: relative; z-index: 1;
}
.brand { font-family: 'Satoshi', sans-serif; font-weight: 900; letter-spacing: 0.18em; color: #C3490F; font-size: 15px; }
.city-line { color: var(--muted); font-size: 14px; }
main { max-width: 960px; margin: 0 auto; padding: 40px 24px 80px; position: relative; z-index: 1; }
h1 { font-family: 'Satoshi', sans-serif; font-weight: 900; font-size: clamp(28px, 5vw, 44px); line-height: 1.1; }
.intro { color: var(--muted); margin: 14px 0 36px; max-width: 560px; line-height: 1.55; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; display: flex; flex-direction: column; gap: 8px;
}
.card.lite { border-top: 3px solid var(--teal); }
.card.signature { border-top: 3px solid var(--orange); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.tag.lite { color: var(--teal); }
.tag.signature { color: var(--orange); }
.low { font-size: 12px; color: var(--orange); font-weight: 600; }
.card h3 { font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 20px; }
.detail { color: var(--muted); font-size: 14px; }
.price { font-family: 'Satoshi', sans-serif; font-weight: 900; font-size: 24px; margin-top: 8px; }
.book {
  margin-top: 10px; padding: 13px; border: 0; border-radius: 10px;
  background: var(--orange); color: #fff; font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 15px; cursor: pointer;
}
.card.lite .book { background: var(--teal); color: #0E0E0E; }
.book:disabled { background: var(--line); color: var(--muted); cursor: default; }
.book:hover:not(:disabled) { filter: brightness(1.08); }
.cards-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 6px; }
.cards-note.center { margin-top: 10px; }

.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 10;
  display: flex; align-items: flex-end; justify-content: center;
}
@media (min-width: 640px) { .overlay { align-items: center; } }
.sheet {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px 18px 0 0; width: 100%; max-width: 480px;
  padding: 28px 24px 34px; max-height: 92vh; overflow-y: auto; position: relative;
  animation: rise .22s ease-out;
}
@media (min-width: 640px) { .sheet { border-radius: 18px; } }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sheet { animation: none; } }
.close { position: absolute; top: 14px; right: 16px; background: none; border: 0; color: var(--muted); font-size: 26px; cursor: pointer; }
.sheet h2 { font-family: 'Satoshi', sans-serif; font-weight: 900; font-size: 22px; }
.sheet-sub { color: var(--muted); font-size: 14px; margin: 6px 0 18px; }
form label { display: block; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
form input:not([type=checkbox]) {
  display: block; width: 100%; margin-top: 6px; padding: 12px;
  border-radius: 9px; border: 1px solid var(--line); background: var(--bg);
  color: var(--text); font-size: 15px; font-family: 'Inter', sans-serif;
}
form input:focus-visible { outline: 2px solid var(--orange); }
label.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; }
label.check input { margin-top: 2px; }
.pay { width: 100%; }
.err { color: #e0684b; font-size: 13px; margin-top: 10px; min-height: 18px; }
.promo-msg { display: block; font-size: 12px; margin-top: 4px; min-height: 14px; }
.promo-msg.ok { color: var(--teal); }
.promo-msg.bad { color: #e0684b; }

.thanks h1 { margin-top: 12px; }
.thanks-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px; margin: 24px 0; max-width: 420px;
  display: flex; flex-direction: column; gap: 8px;
}
.thanks-card h3 { font-family: 'Satoshi', sans-serif; font-weight: 700; }
.cta {
  display: block; max-width: 420px; text-align: center; padding: 14px;
  border-radius: 10px; text-decoration: none; font-weight: 600; margin-bottom: 12px;
}
.cta.whatsapp { background: #1f3d2e; color: #7fd6a1; }
.cta.app { background: var(--orange); color: #fff; }

.sheet-details { display: flex; flex-direction: column; gap: 5px; margin: 10px 0 20px; padding: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.sheet-price { font-family: 'Satoshi', sans-serif; font-weight: 900; font-size: 20px; margin-top: 4px; }
.terms-link { background: none; border: 0; padding: 0; color: var(--orange); text-decoration: underline; cursor: pointer; font: inherit; }
.terms-sheet { max-width: 560px; }
.terms-body { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 14px 0 18px; }
.terms-body h3 { color: var(--text); font-family: 'Satoshi', sans-serif; font-weight: 700; font-size: 16px; margin: 18px 0 6px; }
.terms-body p { margin-bottom: 10px; }
.terms-body strong { color: var(--text); }
.terms-body.standalone { max-width: 640px; }

/* hidden must always win over the overlay's display:flex */
.overlay[hidden] { display: none !important; }

.pick-label { font-family: 'Satoshi', sans-serif; font-weight: 700; margin: 4px 0 10px; }
.dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; margin-bottom: 18px; }
.date-chip {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 1px;
  color: var(--text); cursor: pointer; font-family: 'Inter', sans-serif;
}
.date-chip:hover:not(:disabled) { border-color: var(--orange); }
.date-chip.selected { border-color: var(--orange); background: #241812; }
.date-chip.full { opacity: 0.4; cursor: default; }
.chip-day { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.chip-num { font-family: 'Satoshi', sans-serif; font-weight: 900; font-size: 20px; }
.chip-month { font-size: 11px; color: var(--muted); }
.chip-left { font-size: 10px; color: var(--orange); font-weight: 600; margin-top: 2px; }
.chosen { color: var(--text); font-size: 14px; margin-bottom: 14px; font-weight: 600; }
