:root {
  --bg: #0b0a09;
  --bg-2: #121110;
  --bg-3: #1a1814;
  --gold: #dac278;
  --gold-2: #e4c374;
  --gold-deep: #b48c41;
  --text: #f6f1e6;
  --muted: #b7b1a8;
  --line: rgba(218, 194, 120, 0.32);
  --serif: "Playfair Display", Georgia, serif;
  --display: "Cinzel", "Playfair Display", serif;
  --sans: "Open Sans", system-ui, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { appearance: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(11, 10, 9, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  max-width: 58vw;
  cursor: pointer;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.brand-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}
.brand:hover,
.brand:active,
.brand.is-active {
  transform: scale(1.03);
  filter: drop-shadow(0 0 12px rgba(218, 194, 120, 0.28));
}

.topbar-phone {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.topbar-phone:hover,
.topbar-phone:active {
  color: var(--gold-2);
  border-color: var(--gold);
}

.hero, .info, .packages, .form-section, .contacts {
  padding: 48px 20px;
}

.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 36px 20px 56px;
  background:
    radial-gradient(90% 70% at 50% -10%, rgba(218, 194, 120, 0.16), transparent 55%),
    linear-gradient(180deg, #161310 0%, var(--bg) 78%);
}

.logo-lockup {
  display: block;
  width: min(100%, 420px);
  margin: 0 auto 18px;
  text-align: center;
  color: #fff;
  cursor: pointer;
}
.logo-name {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 7.4vw, 34px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1.2;
}
.logo-since {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.logo-since span {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  transform-origin: center;
  transition: transform 0.5s ease, background 0.35s ease;
}
.logo-lockup:hover .logo-since span,
.logo-lockup.is-active .logo-since span {
  transform: scaleX(1.04);
  background: var(--gold);
}
.logo-lockup-sm { margin: 0 auto 18px; }
.logo-lockup-sm .logo-name { font-size: 16px; letter-spacing: 0.24em; }
.logo-lockup-sm .logo-since { font-size: 9px; }

.eyebrow, .section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 11px;
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 16px;
}
.hero h1 {
  margin-left: auto;
  margin-right: auto;
}
h1 { font-size: clamp(34px, 10vw, 58px); }
h2 { font-size: 32px; }

.hero-lead, .section-lead {
  color: var(--muted);
  max-width: 36em;
  margin: 0 0 24px;
}
.hero-lead {
  margin-left: auto;
  margin-right: auto;
}
.section-head {
  position: relative;
}
.section-head .section-lead { margin-bottom: 24px; }
.hero-actions {
  justify-content: center;
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
}

.hero-actions, .facts, .contact-grid {
  display: grid;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: transparent;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.btn-gold { background: var(--gold); color: #141414; }
.btn-ghost { color: var(--gold); }
.btn-block { width: 100%; }
.btn:hover:not(:disabled),
.btn:active:not(:disabled),
.btn.is-active:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(218, 194, 120, 0.18);
}
.btn-gold:hover:not(:disabled),
.btn-gold:active:not(:disabled),
.btn-gold.is-active:not(:disabled) {
  background: var(--gold-2);
}
.btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.btn-ghost:hover,
.btn-ghost:active,
.btn-ghost.is-active {
  background: rgba(218, 194, 120, 0.1);
}

.plaque {
  position: relative;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 28%),
    var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.plaque::before,
.plaque::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}
.plaque::before {
  top: 8px;
  left: 8px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}
.plaque::after {
  right: 8px;
  bottom: 8px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.interactive {
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.interactive:hover,
.interactive:active,
.interactive.is-active {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(218, 194, 120, 0.28);
  background:
    linear-gradient(180deg, rgba(218, 194, 120, 0.08), transparent 40%),
    var(--bg-3);
}
.interactive:hover::before,
.interactive:hover::after,
.interactive:active::before,
.interactive:active::after,
.interactive.is-active::before,
.interactive.is-active::after {
  width: 22px;
  height: 22px;
}

.info { background: linear-gradient(180deg, #100f0d, var(--bg)); }
.facts { list-style: none; padding: 0; margin: 8px 0 0; }
.facts li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 22px 18px;
}
.facts span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.08em;
}
.facts strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.facts p { margin: 0; color: var(--muted); }

.packages { padding-bottom: 24px; }
.pack {
  margin: 8px 0 20px;
  padding: 32px 18px 22px;
  text-align: center;
}
.pack-featured {
  background:
    linear-gradient(180deg, rgba(218, 194, 120, 0.12), transparent 42%),
    var(--bg-3);
  box-shadow: 0 0 0 1px var(--gold-2), inset 0 0 0 1px rgba(0,0,0,0.4);
}

.pack-title {
  margin: 0;
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.pack-badge {
  display: inline-block;
  margin: 16px 0 24px;
  padding: 9px 30px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #141414;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 13px;
  transition: transform 0.3s ease, letter-spacing 0.3s ease;
}
.pack:hover .pack-badge,
.pack.is-active .pack-badge {
  transform: scale(1.04);
  letter-spacing: 0.34em;
}

.pack-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 14px;
}
.pack-list b {
  color: var(--gold);
  font-weight: 600;
  font-style: normal;
  font-family: var(--display);
}
.pack-extra { color: var(--muted); letter-spacing: 0.06em; }

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 0 0 18px;
  background: transparent;
  color: #141414;
}
.price-grid div {
  padding: 14px 6px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #e8d08a, var(--gold));
  transition: background 0.25s ease, transform 0.25s ease;
}
.price-grid div:hover,
.price-grid div:active,
.price-grid div.is-active {
  background: linear-gradient(180deg, #f0dc9a, var(--gold-2));
}
.price-grid strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}
.price-grid span {
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #3a3324;
}

.pack-note {
  color: var(--muted);
  font-style: italic;
  font-size: 13px;
  text-align: center;
  margin: 8px 0 0;
}

.form-section {
  background: var(--bg-2);
  text-align: center;
}
.form-section .section-lead {
  margin-left: auto;
  margin-right: auto;
}
#lead-form {
  display: grid;
  gap: 14px;
  padding: 24px 20px;
  width: min(100%, 520px);
  margin: 0 auto;
  text-align: center;
  overflow: visible;
}
label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  text-align: center;
}
.field-caption {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.phone-field { overflow: visible; }
.req {
  position: relative;
  display: inline-flex;
  color: var(--gold);
  cursor: help;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
}
.req-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 50;
  width: max-content;
  max-width: 220px;
  padding: 8px 10px;
  border: 1px solid var(--gold);
  background: #141210;
  color: var(--text);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
  white-space: normal;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.req-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  border: 6px solid transparent;
  border-top-color: var(--gold);
  transform: translateX(-50%);
}
.req:hover .req-tip,
.req:focus .req-tip,
.req:focus-visible .req-tip,
.field-caption:hover .req-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
input, select, textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0a09;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
  text-align: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(218, 194, 120, 0.15);
}
textarea { min-height: 112px; resize: vertical; }

.date-field { position: relative; }
.date-trigger {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0a09;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.date-trigger.has-value { color: var(--text); }
.date-trigger:hover,
.date-trigger[aria-expanded="true"] {
  border-color: var(--gold);
  color: var(--text);
}

.calendar {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  z-index: 40;
  width: min(100%, 320px);
  transform: translateX(-50%);
  padding: 14px 12px 12px;
  background: #141210;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  text-transform: none;
  letter-spacing: 0;
}

.calendar-head {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.calendar-head p {
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 16px;
  text-transform: capitalize;
}
.calendar-head button {
  min-height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold);
  font-size: 22px;
  cursor: pointer;
}
.calendar-head button:hover { border-color: var(--gold); }

.calendar-week,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.calendar-week span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.calendar-days button {
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  cursor: pointer;
}
.calendar-days button:hover:not(:disabled) {
  background: rgba(218, 194, 120, 0.16);
  color: var(--gold);
}
.calendar-days button.is-today { box-shadow: inset 0 0 0 1px var(--line); }
.calendar-days button.is-selected {
  background: var(--gold);
  color: #141414;
}
.calendar-days button:disabled {
  color: #5a564e;
  cursor: default;
}
.form-status { margin: 0; font-size: 14px; }
.form-status.ok { color: var(--gold); }
.form-status.err { color: #ff8a8a; }

.contact-grid .plaque {
  display: block;
  padding: 22px 18px;
}
.contact-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.contact-grid strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.footer {
  padding: 36px 20px 108px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.footer {
  padding: 36px 20px 108px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.footer p { margin: 0 0 8px; }

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 30;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #141414;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.4);
  animation: cta-breathe 3.8s ease-in-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sticky-cta:hover,
.sticky-cta:active,
.sticky-cta.is-active,
.sticky-cta.is-resting {
  animation: none;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 32px rgba(218, 194, 120, 0.28);
}
.sticky-cta.is-resting {
  transform: none;
  box-shadow: 0 10px 28px rgba(0,0,0,0.4);
}

@keyframes cta-breathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(218, 194, 120, 0.4);
  }
  50% {
    transform: scale(1.045);
    box-shadow: 0 12px 30px rgba(218, 194, 120, 0.32), 0 0 0 12px rgba(218, 194, 120, 0);
  }
}

@media (min-width: 860px) {
  .hero, .info, .packages, .form-section, .contacts, .footer {
    padding-left: max(24px, calc(50vw - 520px));
    padding-right: max(24px, calc(50vw - 520px));
  }
  .hero-actions { grid-template-columns: 220px 220px; }
  .facts, .packages, .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    align-items: stretch;
  }
  .packages > .section-head,
  .packages > .pack-note {
    grid-column: 1 / -1;
  }
  .facts li, .pack { margin: 0; height: 100%; }
  .sticky-cta { display: none; }
  .brand-img { height: 52px; }
}

@media (hover: none) {
  .interactive:hover { transform: none; }
}

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js-reveal[data-dir="up"] .reveal:not(.is-in) {
  transform: translateY(-40px);
}
.js-reveal .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.js-reveal .reveal.is-in.interactive:hover,
.js-reveal .reveal.is-in.interactive.is-active,
.js-reveal .reveal.is-in.interactive:active {
  transform: translateY(-4px);
}

.info,
.packages,
.form-section,
.contacts {
  position: relative;
}
.info::before,
.packages::before,
.form-section::before,
.contacts::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(180px, 42vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transform: translateX(-50%) scaleX(0.35);
  transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.info.is-in::before,
.packages.is-in::before,
.form-section.is-in::before,
.contacts.is-in::before {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .sticky-cta { animation: none; }
  .info::before,
  .packages::before,
  .form-section::before,
  .contacts::before {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
    transition: none;
  }
}
