/* ==========================================================
   Frame & Story — design tokens
   A quiet, cinematic palette: near-black charcoal, warm brass
   accent, soft parchment text. One serif display face for
   headlines, one workhorse sans for everything else.
   ========================================================== */

:root {
  --color-bg: #14161a;
  --color-bg-raised: #1b1e24;
  --color-line: #2b2f37;
  --color-text: #ece7dd;
  --color-text-dim: #a7a49c;
  --color-accent: #c9a15a;
  --color-accent-dim: #8f7440;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

h1, h2, h3, .display-font {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { color: #ddb96f; }

/* ---------- Nav ---------- */
.site-nav {
  background: transparent;
  border-bottom: 1px solid var(--color-line);
  padding: 1.1rem 0;
}
.site-nav .brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-text);
}
.site-nav .brand:hover { color: var(--color-text); }

.btn-brass {
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  color: #17181b;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.55rem 1.3rem;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn-brass:hover {
  background: #ddb96f;
  border-color: #ddb96f;
  color: #17181b;
}
.btn-brass:active { transform: translateY(1px); }

.btn-outline-brass {
  background: transparent;
  border: 1px solid var(--color-accent-dim);
  color: var(--color-text);
  border-radius: var(--radius);
}
.btn-outline-brass:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
  background: rgba(201, 161, 90, 0.08);
}

/* ---------- Hero ---------- */
.hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--color-line);
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  max-width: 14ch;
  line-height: 1.08;
}
.hero p.lead {
  color: var(--color-text-dim);
  max-width: 48ch;
  font-size: 1.15rem;
}
.hero-reel {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, #1e222a 0%, #14161a 70%);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.hero-reel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(201, 161, 90, 0.06) 0 2px,
    transparent 2px 34px
  );
}
.hero-reel .play-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--color-accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-label {
  color: var(--color-text-dim);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 2rem;
}

/* ---------- Sample cards ---------- */
.sample-card {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
}
.sample-card video, .sample-card .sample-fallback {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0f1114;
  display: block;
}
.sample-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dim);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
  border-bottom: 1px solid var(--color-line);
}
.sample-card .card-body { padding: 1.25rem 1.35rem 1.5rem; }
.sample-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.sample-card p {
  color: var(--color-text-dim);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- Form ---------- */
.order-panel {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 2.25rem;
}
.form-label { color: var(--color-text-dim); font-size: 0.92rem; }
.form-control, .form-select {
  background: #101216;
  border: 1px solid var(--color-line);
  color: var(--color-text);
  border-radius: var(--radius);
}
.form-control:focus, .form-select:focus {
  background: #101216;
  color: var(--color-text);
  border-color: var(--color-accent-dim);
  box-shadow: 0 0 0 0.2rem rgba(201, 161, 90, 0.15);
}
.form-control::placeholder { color: #63615c; }
.form-control[type="file"] { padding: 0.5rem 0.75rem; }

.payment-choice { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.payment-choice .btn-check + label {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 0.55rem 1.1rem;
  color: var(--color-text-dim);
  background: #101216;
}
.payment-choice .btn-check:checked + label {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(201, 161, 90, 0.08);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-line);
  padding: 2rem 0;
  color: var(--color-text-dim);
  font-size: 0.9rem;
}

/* ---------- Floating contact buttons ---------- */
.floating-contacts {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  z-index: 1040;
}
.floating-contacts a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease;
}
.floating-contacts a:hover { transform: translateY(-2px); }
.fc-whatsapp { background: #25d366; }
.fc-telegram { background: #29a9eb; }
.floating-contacts svg { width: 26px; height: 26px; }

/* ---------- Modal (order confirmation) ---------- */
.modal-content.confirm-modal {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-line);
  color: var(--color-text);
  border-radius: var(--radius);
}
.confirm-modal .order-ref {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-accent);
  letter-spacing: 0.03em;
}
.confirm-modal dt { color: var(--color-text-dim); font-weight: 500; }
.confirm-modal dd { margin-bottom: 0.75rem; }

@media (max-width: 767.98px) {
  .hero { padding: 3.5rem 0 3rem; }
  .order-panel { padding: 1.5rem; }
}
