:root {
  color-scheme: light;
  --cream: #fff9ed;
  --paper: #fffdf8;
  --brown: #4d291d;
  --muted: #7a5a4a;
  --coral: #f37a63;
  --coral-dark: #db604b;
  --sage: #e7efdc;
  --sage-deep: #d7e5c9;
  --blue: #d9effb;
  --line: rgba(77, 41, 29, 0.12);
  --shadow: rgba(92, 54, 39, 0.12);
}

* { box-sizing: border-box; }

html { background: var(--cream); }

body {
  margin: 0;
  color: var(--brown);
  background:
    radial-gradient(circle at 8% 6%, rgba(217, 239, 251, 0.74), transparent 25rem),
    radial-gradient(circle at 92% 18%, rgba(231, 239, 220, 0.8), transparent 26rem),
    var(--cream);
  font-family: ui-rounded, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  min-height: 100vh;
}

a { color: inherit; }

.shell {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
}

.nav {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--brown);
  font-size: 23px;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 6px 18px var(--shadow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--coral-dark); }

.telegram-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 21px;
  border: 0;
  border-radius: 999px;
  color: #fffaf4;
  background: var(--coral);
  box-shadow: 0 10px 24px rgba(219, 96, 75, 0.23);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.telegram-button:hover,
.submit-button:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
}

.telegram-button img { width: 21px; height: 21px; }

.page-hero {
  padding: 74px 0 46px;
  text-align: center;
}

.eyebrow {
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 13px auto 15px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.99;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.55;
}

.faq-list {
  display: grid;
  max-width: 820px;
  margin: 10px auto 88px;
  gap: 13px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 10px 30px rgba(92, 54, 39, 0.06);
}

.faq-item:nth-child(3n + 2) { background: rgba(231, 239, 220, 0.9); }
.faq-item:nth-child(3n) { background: rgba(217, 239, 251, 0.8); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 23px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 780;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--brown);
  background: var(--paper);
  font-size: 22px;
  line-height: 1;
}

.faq-item[open] summary::after { content: "−"; }

.faq-answer {
  padding: 0 25px 24px;
  color: #684737;
  font-size: 16px;
  line-height: 1.65;
}

.faq-answer p { margin: 0; }
.faq-answer p + p { margin-top: 12px; }

.final-card {
  margin-bottom: 52px;
  padding: 54px 28px;
  border-radius: 32px;
  background: var(--coral);
  color: #fffaf4;
  text-align: center;
}

.final-card h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -0.035em;
}

.final-card p {
  max-width: 560px;
  margin: 0 auto 24px;
  font-size: 17px;
  line-height: 1.55;
}

.final-card .telegram-button {
  color: #9c3d2a;
  background: var(--paper);
  box-shadow: 0 10px 25px rgba(92, 54, 39, 0.2);
}

.contact-wrap {
  display: grid;
  min-height: calc(100vh - 180px);
  padding: 54px 0 90px;
  place-items: center;
}

.contact-card {
  width: min(650px, 100%);
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 22px 70px rgba(92, 54, 39, 0.11);
  text-align: center;
}

.contact-dog {
  width: 112px;
  height: 112px;
  margin-bottom: 20px;
  border: 6px solid var(--blue);
  border-radius: 50%;
  box-shadow: 0 10px 28px var(--shadow);
}

.contact-card h1 {
  margin: 0 auto 12px;
  font-size: clamp(36px, 6vw, 56px);
}

.contact-copy {
  max-width: 490px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.feedback-form { text-align: left; }

.feedback-form textarea {
  width: 100%;
  min-height: 190px;
  resize: vertical;
  padding: 19px 20px;
  border: 2px solid transparent;
  border-radius: 22px;
  outline: none;
  color: var(--brown);
  background: var(--sage);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.feedback-form textarea::placeholder { color: #876b5e; }

.feedback-form textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(243, 122, 99, 0.14);
}

.form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 15px;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.submit-button:disabled { cursor: wait; opacity: 0.7; }

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--coral-dark);
  font-size: 14px;
  text-align: center;
}

.success {
  padding: 46px 16px 30px;
  text-align: center;
}

.success-mark { font-size: 48px; }

.success h2 {
  margin: 8px 0 7px;
  font-size: 31px;
}

.success p { margin: 0; color: var(--muted); }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-links { display: flex; gap: 16px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--coral-dark); }

@media (max-width: 700px) {
  .nav { min-height: 76px; }
  .brand img { width: 43px; height: 43px; }
  .nav-links > a:not(.telegram-button) { display: none; }
  .telegram-button { min-height: 44px; padding: 0 16px; }
  .page-hero { padding: 48px 0 34px; }
  .faq-item summary { padding: 19px; font-size: 16px; }
  .faq-answer { padding: 0 19px 20px; font-size: 15px; }
  .contact-wrap { min-height: auto; padding: 34px 0 68px; }
  .contact-card { border-radius: 28px; }
  .contact-dog { width: 96px; height: 96px; }
  .form-bottom { align-items: stretch; flex-direction: column-reverse; }
  .submit-button { width: 100%; }
  .form-note { text-align: center; }
  .footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
