/* Тётя Валя — landing page styles. Brand matches the Telegram bot cards. */

:root {
  --cream: #FBF1E1;
  --paper: #FFFBF3;
  --sand: #F3E3C8;
  --ink: #22191A;
  --ink-soft: #5A4B47;
  --on-dark-soft: #E9DED6;
  --accent: #F4B942;      /* mustard — main accent, change here to recolor */
  --pink: #F7C6C7;
  --mint: #9FDDD4;
  --mint-light: #CFEFEA;
  --cherry: #D7263D;
  --cherry-light: #FF6B7D;
  --green: #1B998B;
  --video-bg: #EADFD0;    /* matches the background of assets/hero.mp4 */

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, sans-serif;

  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(34, 25, 26, .07) 2px, transparent 2.5px) 0 0 / 34px 34px,
    var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--cherry); }
h1, h2, h3, p { margin: 0; }
h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
}
h3 { font-size: 21px; font-weight: 800; }
.muted { font-size: 18px; line-height: 1.45; color: var(--ink-soft); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* gingham tablecloth strip */
.gingham {
  height: 28px;
  border-bottom: var(--border);
  background:
    repeating-linear-gradient(90deg, rgba(215, 38, 61, .55) 0 14px, transparent 14px 28px),
    repeating-linear-gradient(0deg, rgba(215, 38, 61, .55) 0 14px, transparent 14px 28px),
    var(--paper);
}

/* highlight marker */
.hl {
  background: var(--accent);
  padding: 0 12px;
  border-radius: 14px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hl-pink { background: var(--pink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: var(--border);
  border-radius: 16px;
  padding: 18px 28px;
  font: 800 19px var(--font-body);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); color: var(--ink); }
.btn:focus-visible { outline: 3px solid var(--cherry); outline-offset: 3px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); }
.btn-light { background: var(--paper); }
.btn-sm { padding: 12px 20px; font-size: 16px; border-radius: 14px; box-shadow: 5px 5px 0 var(--ink); }
.btn-on-dark { border-color: var(--paper); box-shadow: 6px 6px 0 var(--paper); }
.btn-on-dark:hover { box-shadow: 8px 8px 0 var(--paper); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--paper); box-shadow: 6px 6px 0 var(--paper); }
.btn-ghost:hover { color: var(--paper); box-shadow: 8px 8px 0 var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- nav ---------- */
.nav {
  padding-top: 22px; padding-bottom: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper);
  padding: 10px 20px; border-radius: 999px; text-decoration: none;
  font: 700 15px var(--font-display); letter-spacing: .04em;
}
.logo:hover { color: var(--paper); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.nav-links { display: flex; gap: 28px; font-weight: 600; font-size: 16px; }
.nav-links a { text-decoration: none; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero {
  padding-top: 24px; padding-bottom: 64px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px;
}
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.pill {
  align-self: flex-start;
  border: var(--border); border-radius: 999px; background: var(--paper);
  padding: 8px 18px; font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(38px, 5.4vw, 74px); line-height: 1.03; letter-spacing: -.02em;
}
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--ink-soft); max-width: 560px; }
.trust {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 22px; font-weight: 600; font-size: 15px; color: var(--ink-soft);
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg, .privacy svg {
  fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none;
}

.hero-art { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.hero-stage { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1; }
.hero-circle {
  position: absolute; inset: 4%; border-radius: 50%;
  background: var(--video-bg); border: 4px solid var(--ink); box-shadow: 12px 12px 0 var(--ink);
}
.hero-media { position: absolute; inset: 4%; border-radius: 50%; overflow: hidden; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }

.bubble {
  position: absolute;
  background: var(--paper); border: var(--border);
  border-radius: 22px 22px 22px 6px;
  padding: 12px 18px; font-weight: 800; font-size: 17px; white-space: nowrap;
  box-shadow: 5px 5px 0 var(--ink);
}
.bubble-pink { background: var(--pink); border-radius: 22px 22px 6px 22px; }
.bubble-dark { background: var(--ink); color: var(--paper); box-shadow: 5px 5px 0 var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.red-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cherry); }
.b1 { --r: -4deg; left: -2%; top: 12%; }
.b2 { --r: 3deg; right: -3%; top: 30%; }
.b3 { --r: -2deg; left: 4%; bottom: 10%; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-10px) rotate(var(--r, 0deg)); }
}
.float { animation: float 4s ease-in-out infinite; }
.b2 { animation-delay: -1.3s; }
.b3 { animation-delay: -2.6s; }
@media (max-width: 520px) {
  .bubble { font-size: 14px; padding: 9px 13px; }
  .b2 { right: 0; }
  .b1 { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- sections ---------- */
.band { background: var(--paper); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); }
.band-sand { background: var(--sand); }
.band > .wrap { padding-top: 72px; padding-bottom: 72px; }
.section { padding-top: 80px; padding-bottom: 80px; }
.section-tight { padding-bottom: 80px; }
.section-inner { display: flex; flex-direction: column; gap: 14px; }

.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.split-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.split-art { flex: 1 1 260px; display: flex; justify-content: center; }
.split-art img { width: min(100%, 340px); height: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- cards ---------- */
.card {
  background: var(--cream);
  border: var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
}
.card p { font-size: 17px; line-height: 1.45; color: var(--ink-soft); }
.card-paper { background: var(--paper); }
.card-accent { background: var(--accent); }
.card-accent p, .card-mint p { color: var(--ink); }
.card-mint { background: var(--mint-light); }
.card-dark { background: var(--ink); color: var(--paper); box-shadow: 6px 6px 0 var(--cherry); }
.card-dark p { color: var(--on-dark-soft); }

.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); border: var(--border);
  display: grid; place-items: center;
  font: 900 22px var(--font-display);
}
.step-pink { background: var(--pink); }
.step-mint { background: var(--mint); }

.big-num { font: 900 44px/1 var(--font-display); }
.big-num small { font-size: 20px; }
.big-num.red { color: var(--cherry-light); }
.big-quote { font: 900 26px/1.15 var(--font-display); }

/* ---------- upload ---------- */
.upload-box {
  background: var(--paper);
  border: 4px solid var(--ink); border-radius: 36px; box-shadow: 12px 12px 0 var(--ink);
  padding: clamp(24px, 4vw, 48px);
  display: flex; flex-wrap: wrap; gap: 36px; align-items: center;
}
.upload-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.upload-text h2 { font-size: clamp(28px, 3.2vw, 42px); }
.privacy { font-size: 15px; line-height: 1.45; color: var(--ink-soft); display: flex; align-items: flex-start; gap: 8px; }
.privacy svg { margin-top: 2px; }
.upload-form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.dropzone {
  width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 220px; padding: 24px; text-align: center; cursor: pointer;
  border: 4px dashed var(--ink); border-radius: 28px; background: var(--cream);
  transition: background .15s ease, transform .15s ease;
}
.dropzone svg { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dropzone.is-over { background: var(--pink); transform: scale(1.01); }
.dropzone.has-files { background: var(--mint-light); }
.dropzone:focus-within { outline: 3px solid var(--cherry); outline-offset: 4px; }
.dz-title { font: 700 20px var(--font-display); }
.dz-sub { font-size: 16px; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 14px; background: var(--paper); }
.small-link { font-size: 15px; font-weight: 600; }

/* ---------- prices ---------- */
.price-grid { margin-top: 18px; }
.price { position: relative; border-radius: 28px; padding: 28px; gap: 14px; }
.price p { font-size: 16px; }
.price-tag { font: 900 34px var(--font-display); margin-top: auto; }
.card-dark.price { box-shadow: 6px 6px 0 var(--accent); }
.badge {
  position: absolute; top: -16px; right: 22px;
  background: var(--accent); color: var(--ink);
  border: var(--border); border-radius: 999px; padding: 4px 14px; font-weight: 800; font-size: 14px;
}

/* ---------- FAQ ---------- */
#faq .split-main { gap: 16px; }
#faq h2 { margin-bottom: 12px; }
#faq { align-items: flex-start; }
.faq {
  background: var(--paper); border: var(--border); border-radius: 22px;
  padding: 20px 24px; box-shadow: 5px 5px 0 var(--ink);
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 16px; font-weight: 800; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 3px solid var(--cherry); outline-offset: 6px; border-radius: 6px; }
.faq p { margin-top: 14px; font-size: 17px; line-height: 1.5; color: var(--ink-soft); }
.plus { font: 24px/1 var(--font-display); transition: transform .2s; }
.faq[open] .plus { transform: rotate(45deg); }

/* ---------- final CTA ---------- */
.cta {
  background: var(--ink); color: var(--paper);
  border-radius: 40px; box-shadow: 12px 12px 0 var(--accent);
  padding: clamp(28px, 5vw, 56px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 32px; overflow: hidden;
}
.cta-text { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.cta-text h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.05; }
.cta-text p { font-size: 19px; line-height: 1.45; color: var(--on-dark-soft); }
.accent-text { color: var(--accent); }
.cta-art { flex: 1 1 240px; display: flex; justify-content: center; }
.cta-art img { width: min(100%, 280px); height: auto; }

/* ---------- footer ---------- */
.footer { border-top: 4px solid var(--ink); background: var(--paper); }
.footer-inner {
  padding-top: 28px; padding-bottom: 28px;
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center;
  font-size: 15px; color: var(--ink-soft);
}
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-logo { font: 700 16px var(--font-display); color: var(--ink); }
