:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --text: #f2f2f2;
  --muted: #9a9a9a;
  --black: #141414;
  --border: rgba(255,255,255,0.08);
  --silver: linear-gradient(135deg,#e8e8e8 0%,#b8b8b8 25%,#f5f5f5 50%,#8a8a8a 75%,#dcdcdc 100%);
  --silver-soft: linear-gradient(135deg,#cfcfcf,#9b9b9b,#e2e2e2);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 8px 30px rgba(0,0,0,0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;

  background: #0a0a0a url('/img/site-bg.jpg') center top / cover no-repeat fixed;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 14px 60px;
  padding-bottom: max(60px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 14px;
}

img { max-width: 100%; display: block; }

/* ---------- БАЗА КАРТОЧКИ ---------- */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}

/* ---------- HERO ---------- */
.card--hero {
  min-height: clamp(440px, 80vh, 620px);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* было space-between */
  background: #0d0d0d;
  /* gap: 24px;  ← УБРАТЬ или закомментировать */
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.4) 60%, rgba(10,10,10,0.9) 100%),
    url('/img/hero/preview.jpg') center/cover no-repeat,
    repeating-linear-gradient(90deg,#1a1a1a 0 60px,#0c0c0c 60px 120px);
  filter: saturate(0.85);
}
.hero-top, .hero-center, .hero-bottom { position: relative; z-index: 1; }
.hero-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; letter-spacing: 0.2em;
  background: var(--silver);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-center {
  text-align: center;
  padding: 0;             /* убрали вертикальный padding, чтобы не мешал */
  margin-top: auto;       /* толкает заголовок вниз */
  margin-bottom: 24px;    /* ← ТЕПЕРЬ регулируется свободно */
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 9vw, 3.6rem);
  line-height: 1.05;
  background: var(--silver);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 30px rgba(255,255,255,0.05);
}
.shine-italic {
  font-style: italic; font-weight: 300;
  background: var(--silver-soft);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- TIMER ---------- */
.timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  flex-wrap: nowrap;
}
.timer-cell {
  display: flex; flex-direction: column; align-items: center;
  flex: 1;
  min-width: 0;
}
.t-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 6vw, 1.8rem);
  font-weight: 500;
  line-height: 1;
  background: var(--silver);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.t-lbl {
  font-size: 0.6rem; color: var(--muted);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: 4px;
}
.t-sep {
  color: #555;
  font-size: clamp(1rem, 4vw, 1.3rem);
  font-family: 'Cormorant Garamond', serif;
  align-self: flex-start;
  margin-top: 2px;
}

/* ---------- INTRO ---------- */
.card--intro { padding: 28px 22px; }
.intro-text p { margin-bottom: 10px; font-size: 0.95rem; }
.intro-meta {
  list-style: none; margin: 18px 0;
  background: var(--surface-2); border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.intro-meta li { padding: 4px 0; font-size: 0.92rem; }
.intro-marriage {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 7vw, 2.4rem);
  letter-spacing: 0.04em;
  text-align: center;
  margin: 8px 0 20px;
  background: var(--silver);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Заметка про тех, кто не будет на регистрации */
.intro-note {
  margin-top: 14px;
}

/* ---------- HEADINGS ---------- */
.h-shine {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(1.4rem, 5vw, 1.6rem);
  background: var(--silver);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.h-shine.sm { font-size: clamp(1.15rem, 4vw, 1.3rem); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ---------- ACCORDION ---------- */
.card--acc summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center;
  user-select: none;
  gap: 12px;
}
.card--acc summary::-webkit-details-marker { display: none; }
.acc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 4.5vw, 1.4rem);
  font-weight: 500;
}
.acc-icon {
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg); transition: transform .3s;
}
.card--acc[open] .acc-icon { transform: rotate(-135deg); }
.acc-content {
  padding: 0 22px 24px;
  animation: fade .35s ease;
}
.acc-content p { margin-bottom: 8px; }
@keyframes fade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- SWIPER 1:1 ---------- */
.swiper {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 18px;
  background: #000;
  aspect-ratio: 1 / 1;
  width: 100%;
}
.swiper-slide { aspect-ratio: 1 / 1; }
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}
.swiper-button-next, .swiper-button-prev {
  color: #fff;
  --swiper-navigation-size: 22px;
}
.swiper-pagination-bullet { background: #fff; opacity: 0.5; }
.swiper-pagination-bullet-active { opacity: 1; }

/* ---------- TIMING ---------- */
.timing { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.timing li {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid var(--border);
}
.t-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 10px; margin-bottom: 4px;
  flex-wrap: wrap;
}
.t-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 3.8vw, 1.15rem);
  font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.t-time {
  font-size: 0.85rem; color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- ALERT ---------- */
.alert {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border: 1px solid rgba(220,220,220,0.18);
  border-left: 3px solid #dcdcdc;
  border-radius: var(--radius-sm);
}
.alert-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--silver);
  color: #0a0a0a;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1;
}
.alert-body { flex: 1; min-width: 0; }
.alert-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--silver);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.alert-text {
  font-size: 0.92rem;
  color: #d8d8d8;
  margin: 0;
}

/* ---------- TABS ---------- */
.tabs {
  display: flex; gap: 6px;
  background: var(--surface-2);
  padding: 5px; border-radius: 999px;
  margin-bottom: 18px;
}
.tab {
  flex: 1; padding: 10px 14px;
  border: none; background: transparent;
  color: var(--muted);
  border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 0.9rem;
  transition: all .2s;
}
.tab--active {
  background: #fff; color: #0a0a0a; font-weight: 500;
}
.tab-content { display: none; }
.tab-content--active { display: block; animation: fade .3s ease; }

/* ---------- QUOTE ---------- */
.card--quote {
  position: relative;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 4vw, 1.25rem);
  padding: 40px 26px;
  color: #f2f2f2;
  background:
    /* мягкий серебристый блик в центре */
    radial-gradient(ellipse at center, rgba(180,180,180,0.08), transparent 70%),
    /* САМА КАРТИНКА — поменяй путь на свой */
    url('/img/quote/bg.png') center / cover no-repeat,
    var(--surface);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

/* чтобы текст был чётко выше фона */
.card--quote p {
  position: relative;
  z-index: 1;
}
/* ---------- BUTTON ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  background: #fff; color: #0a0a0a;
  border: none; border-radius: 999px;
  font-family: inherit; font-size: 0.92rem; font-weight: 500;
  text-decoration: none; cursor: pointer;
  margin-top: 12px;
  transition: transform .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); opacity: .9; }

/* ---------- GAZ ---------- */
.card--gaz {
  padding: 28px 22px;
  background:
    radial-gradient(ellipse at center, rgba(220,220,220,0.07), transparent 70%),
    var(--surface);
}
.btn-gaz {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 28px 20px;
  text-decoration: none;
  border-radius: var(--radius);
  background: var(--silver);
  color: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.5);
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
  overflow: hidden;
}
.btn-gaz::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s ease;
}
.btn-gaz:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.6); }
.btn-gaz:hover::before { transform: translateX(100%); }
.btn-gaz:active { transform: translateY(0); }
.btn-gaz-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 12vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.btn-gaz-sub {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2a2a2a;
  position: relative;
  z-index: 1;
}

/* ---------- FINAL ---------- */
.card--final {
  min-height: 320px;
  padding: 50px 28px;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.final-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('/img/final/bg.png') center / cover no-repeat;
}
.card--final > * { position: relative; z-index: 1; }
.final-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 7vw, 2.8rem);
  background: var(--silver);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.heart {
  display: inline-block;
  margin-left: 6px;
  background: var(--silver);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- FOOTER ---------- */
.footer {
  text-align: center;
  color: var(--black);
  font-size: 0.82rem;
  padding: 20px 0 0;
}

/* ---------- RULES LIST ---------- */
.rules {
  list-style: none;
  counter-reset: rule;
  display: flex; flex-direction: column;
  gap: 10px;
  margin: 14px 0 20px;
}
.rules li {
  counter-increment: rule;
  position: relative;
  padding: 12px 14px 12px 44px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
}
.rules li::before {
  content: counter(rule);
  position: absolute;
  left: 12px; top: 12px;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--silver);
  color: #0a0a0a;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 0.85rem;
}

/* ---------- SUB-ACCORDION ---------- */
.acc-sub {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.acc-sub summary {
  list-style: none; cursor: pointer; user-select: none;
  padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.acc-sub summary::-webkit-details-marker { display: none; }
.acc-title.sm {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
}
.acc-sub .acc-icon {
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg); transition: transform .3s;
}
.acc-sub[open] .acc-icon { transform: rotate(-135deg); }
.acc-sub-content { padding: 0 16px 16px; animation: fade .3s ease; }

/* ---------- PRICE LIST ---------- */
.price { list-style: none; display: flex; flex-direction: column; }
.price li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.price li:last-child { border-bottom: none; }
.p-name { color: #d8d8d8; flex: 1; }
.p-val {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  background: var(--silver);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

.venue-name a,
.h-shine a {
  color: inherit;
  text-decoration: none;
  background: inherit;
  -webkit-background-clip: inherit;
  background-clip: inherit;
  -webkit-text-fill-color: inherit;
  border-bottom: 1px solid rgba(192,192,192,0.35);
  transition: border-color .25s;
}
.venue-name a:hover,
.h-shine a:hover {
  border-bottom-color: var(--silver);
}

/* ---------- ЦИФРА-КРУЖОК (как иконка алерта) ---------- */
.nom-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: var(--silver);
  color: #0a0a0a;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
  margin-left: 4px;
}

/* ---------- КНОПКА «ОТПРАВИТЬ ВИДЕО» ---------- */
.btn-video {
  display: block;
  width: fit-content;
  margin: 18px auto;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--silver);
  color: #0a0a0a;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .03em;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow: 0 4px 14px rgba(192,192,192,0.25);
}
.btn-video:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,192,192,0.4);
}
.btn-video:active {
  transform: translateY(0);
  opacity: .9;
}

/* ---------- ADAPTIVE ---------- */
@media (min-width: 560px) {
  .container { padding: 24px 18px 60px; gap: 18px; }
  .card--intro { padding: 32px 28px; }
  .card--acc summary { padding: 22px 28px; }
  .acc-content { padding: 0 28px 28px; }
}

@media (max-width: 380px) {
  .timer { padding: 12px 6px; gap: 4px; }
  .t-sep { font-size: 0.95rem; }
  .hero-top { font-size: 0.65rem; }
  .btn-gaz { padding: 22px 14px; }
}
