:root {
  --bg: #f3e7d0;
  --bg-card: #fbf3e3;
  --ink: #2b211a;
  --brown: #5a3a23;
  --rust: #a6422a;
  --gold: #d99a3e;
  --line: #d8c4a0;
  --shadow: 0 10px 30px rgba(60, 40, 20, .18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Oswald", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(217,154,62,.18), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(166,66,42,.12), transparent 45%),
    var(--bg);
  line-height: 1.5;
}

/* ---------- ШАПКА ---------- */
.site-header {
  background: var(--bg-card);
  border-bottom: 3px solid var(--brown);
  text-align: center;
  padding: 22px 16px 16px;
}
.header-inner { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; }
.logo {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.2));
}
.tagline {
  margin: 0;
  font-family: "Pacifico", cursive;
  color: var(--rust);
  font-size: 1.35rem;
  letter-spacing: .5px;
}

/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
  max-width: 1100px;
  margin: 36px auto;
  padding: 0 20px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 14px;
  border: 6px solid var(--bg-card);
  box-shadow: var(--shadow);
}
.hero-text { position: relative; }
.slogan {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.02;
  margin: 0 0 14px;
  text-transform: uppercase;
  color: var(--brown);
}
.slogan span { color: var(--rust); }
.hero-sub { font-size: 1.2rem; max-width: 28ch; color: #4a3a2c; }
.smoke {
  display: inline-block;
  font-size: 2.6rem;
  margin-top: 14px;
  animation: float 2.4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}

/* ---------- СЕКЦИИ ---------- */
.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  color: var(--brown);
  margin: 0 0 6px;
}
.section-title::after {
  content: "";
  display: block;
  width: 90px; height: 4px;
  margin: 10px auto 0;
  background: var(--rust);
  border-radius: 3px;
}

/* ---------- ФОРМА ---------- */
.contact {
  max-width: 640px;
  margin: 60px auto;
  padding: 0 20px;
}
.contact-sub { text-align: center; color: #5a4636; margin: 8px 0 26px; }
.complaint-form {
  background: var(--bg-card);
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform .08s;
}
.complaint-form.shake { animation: shake .4s; }
@keyframes shake {
  0%,100% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(-10px) rotate(-1deg); }
  40% { transform: translateX(10px) rotate(1deg); }
  60% { transform: translateX(-8px) rotate(-1deg); }
  80% { transform: translateX(8px) rotate(1deg); }
}
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-weight: 500; margin-bottom: 6px; color: var(--brown); }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: #fffaf0;
  color: var(--ink);
  resize: vertical;
  transition: border-color .2s, transform .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }

.captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: #fffaf0;
  border: 2px dashed var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: .98rem;
}
.captcha-label { color: var(--brown); font-weight: 500; }
.captcha-check { cursor: pointer; user-select: none; }
.captcha-check input { transform: translateY(2px); margin-right: 4px; }

.progress-wrap {
  height: 26px;
  background: #efe2c8;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
  border: 2px solid var(--line);
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--rust));
  transition: width .25s;
}
.progress-text {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 500; color: var(--ink);
}

.form-error {
  background: #fdecec;
  border: 2px solid var(--rust);
  color: var(--rust);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 16px;
  font-weight: 500;
  text-align: center;
}

.submit-zone {
  position: relative;
  min-height: 56px;
}
.submit-btn {
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #fff;
  background: var(--rust);
  border: none;
  border-radius: 12px;
  padding: 14px 32px;
  cursor: pointer;
  box-shadow: 0 6px 0 #7d2f1c;
  transition: top .18s ease, left .18s ease, transform .1s, background .2s;
  position: relative;
  top: 0; left: 0;
}
.submit-btn:active { transform: translateY(3px); box-shadow: 0 3px 0 #7d2f1c; }
.submit-btn.runaway { position: absolute; }

/* ---------- ОТЗЫВЫ ---------- */
.reviews { max-width: 1100px; margin: 70px auto; padding: 0 20px; }
.reviews-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.review {
  background: var(--bg-card);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  margin: 0;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.review:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: 0 16px 34px rgba(60,40,20,.22); }
.stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 2px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 14px; font-size: 1.08rem; color: #3a2c20; }
.review figcaption { font-weight: 500; color: var(--rust); }

/* ---------- ПОДВАЛ ---------- */
.site-footer {
  text-align: center;
  padding: 26px 16px;
  background: var(--brown);
  color: #f3e7d0;
  font-size: .95rem;
}

/* ---------- КАПЧА «НЕ ШАШЛЫК» (reCAPTCHA-стиль) ---------- */
.rc-overlay[hidden] { display: none; }
.rc-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(20, 14, 8, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: rc-fade .2s ease;
}
@keyframes rc-fade { from { opacity: 0; } to { opacity: 1; } }

.rc-modal {
  width: 100%;
  max-width: 330px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  font-family: "Roboto", "Oswald", system-ui, sans-serif;
  color: #1a1a1a;
}
.rc-modal.shake { animation: shake .4s; }

.rc-head {
  position: relative;
  background: #1c75d3;
  color: #fff;
  padding: 14px 16px 16px;
}
.rc-head-sub { margin: 0; font-size: .95rem; }
.rc-head-target { margin: 2px 0 0; font-size: 1.5rem; font-weight: 700; line-height: 1; }
.rc-close {
  position: absolute;
  top: 6px; right: 8px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.85);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
}
.rc-close:hover { color: #fff; }

.rc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: #fff;
  padding: 3px;
}
.rc-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
  background: #ead9bb;
  transition: transform .12s;
}
.rc-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform .25s;
}
.rc-cell:hover img { transform: scale(1.05); }
.rc-cell:active { transform: scale(.96); }
.rc-cell.sel::after {
  content: "✓";
  position: absolute;
  top: 4px; left: 4px;
  width: 22px; height: 22px;
  background: #1c75d3;
  color: #fff;
  border-radius: 50%;
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
.rc-cell.sel { outline: 4px solid #1c75d3; outline-offset: -4px; }

.rc-fail {
  margin: 0;
  padding: 10px 16px;
  background: #fdecec;
  color: #c0392b;
  font-size: .9rem;
  font-weight: 500;
  text-align: center;
}

.rc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-top: 1px solid #eee;
}
.rc-tools { display: flex; gap: 10px; font-size: 1.25rem; color: #5f6368; }
.rc-tool {
  background: transparent;
  border: none;
  cursor: default;
  color: inherit;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0;
}
#rc-refresh, #rc-audio { cursor: pointer; }
#rc-refresh:hover, #rc-audio:hover { color: #1c75d3; }
#rc-audio.playing { color: #1c75d3; animation: rc-pulse .7s ease-in-out infinite; }
@keyframes rc-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
.rc-verify {
  font-family: "Roboto", "Oswald", sans-serif;
  background: #1c75d3;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 9px 20px;
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
}
.rc-verify:hover { background: #155fad; }

/* ---------- ЛЕТАЮЩИЙ КУМ ---------- */
.flying-kum {
  position: fixed;
  top: 0;
  left: 0;
  width: 140px;
  height: auto;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.35));
}
.flying-kum.flying { opacity: 1; }

@media (max-width: 760px) {
  .flying-kum { width: 96px; }
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .hero-sub { margin-inline: auto; }
}
