/* ── Contacts hero (шаблон: section.hero) ── */
.hero { padding: 48px 28px 56px; border-bottom: 1px solid var(--line); }

.hero h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 10vw, 160px);
  letter-spacing: -.045em;
  line-height: .86;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero h1 .accent { color: var(--accent); }
.hero h1 em { font-style: italic; font-weight: 500; }

.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.hero-lead { font-size: 18px; line-height: 1.5; max-width: 48ch; font-weight: 500; }
.hero-actions { display: flex; gap: 10px; justify-self: end; flex-wrap: wrap; }

.live {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 24px;
}

.live .dot {
  width: 8px;
  height: 8px;
  background: #1c8551;
  border-radius: 50%;
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* ── Stores ── */
.stores { padding: 80px 28px; border-bottom: 1px solid var(--line); }

.stores-head { display: grid; grid-template-columns: 1fr auto; gap: 48px; margin-bottom: 48px; align-items: end; }
.stores-head h2 { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: clamp(40px, 6vw, 84px); text-transform: uppercase; letter-spacing: -.035em; line-height: .92; }
.stores-head h2 .accent { color: var(--accent); }
.stores-head .num { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 12px; }

.stores-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.store {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .4s var(--ease);
}

.store:hover { transform: translateY(-4px); }

.store .map { aspect-ratio: 1.4; background: var(--bg-2); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.store .body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.store h3 { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 32px; line-height: 1; letter-spacing: -.025em; text-transform: uppercase; }
.store h3 .accent { color: var(--accent); }
.store .addr { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.store .row { display: grid; grid-template-columns: auto 1fr; gap: 12px; font-size: 13px; align-items: start; padding: 6px 0; border-bottom: 1px solid var(--line); }
.store .row:last-of-type { border-bottom: 0; }
.store .row .k { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding-top: 2px; }
.store .row .v { color: var(--ink); font-weight: 500; }
.store .acts { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.store .acts a { flex: 1; text-align: center; padding: 11px 0; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: background .3s; }
.store .acts a.alt { background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
.store .acts a:hover { background: var(--accent); color: var(--ink); }
.store .acts a.alt:hover { background: var(--ink); color: var(--bg); }

/* ── Channels ── */
.channels { padding: 80px 28px; background: var(--paper); border-bottom: 1px solid var(--line); }

.channels-head { margin-bottom: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.channels-head h2 { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: clamp(40px, 6vw, 84px); text-transform: uppercase; letter-spacing: -.035em; line-height: .92; }
.channels-head h2 .accent { color: var(--accent); }
.channels-head p { color: var(--ink-2); font-size: 15px; line-height: 1.65; max-width: 42ch; justify-self: end; text-align: right; }

.chs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.ch {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 168px;
  justify-content: space-between;
  transition: background .3s, color .3s;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.ch:hover { background: var(--ink); color: var(--bg); }
.ch:hover .k { color: rgba(255, 255, 255, .5); }
.ch:hover .meta { color: rgba(255, 255, 255, .6); }

.ch .k { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.ch .v { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.2; letter-spacing: -.015em; word-break: break-word; }
.ch .v .accent { color: var(--accent); }
.ch .meta { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* ── Form section ── */
.form-section { padding: 96px 28px; border-bottom: 1px solid var(--line); }

.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }

.form-aside h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 5.6vw, 72px);
  text-transform: uppercase;
  letter-spacing: -.035em;
  line-height: .94;
  margin-bottom: 20px;
}

.form-aside h2 .accent { color: var(--accent); }
.form-aside p { font-size: 15px; color: var(--ink-2); line-height: 1.65; max-width: 38ch; margin-bottom: 32px; }
.form-aside p a { text-decoration: underline; text-underline-offset: 3px; }

.form-aside .answers {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 4px;
  max-width: 28rem;
}

.form-aside .answers .row {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.form-aside .answers .k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.form-aside .answers .v {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-align: right;
  justify-self: end;
  line-height: 1.4;
}

.form-aside .answers .v .accent { color: var(--accent); }

.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
}

.contact-form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

.field label,
.field .field-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 12px 0;
  color: var(--ink);
  outline: none;
  transition: border-color .25s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--accent);
}

.field textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.5;
}

.field.has-error input,
.field.has-error textarea {
  border-bottom-color: #b42318;
}

.field-error {
  font-size: 13px;
  color: #b42318;
  line-height: 1.4;
}

/* Тема: чіпи замість нативних radio */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.chip {
  display: inline-flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.chip input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chip__text {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.2;
  color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}

.chip:hover .chip__text {
  border-color: var(--ink);
}

.chip input[type="radio"]:checked + .chip__text {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.chip input[type="radio"]:focus-visible + .chip__text {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact-form .hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-form .submit .note {
  flex: 1 1 12rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
  line-height: 1.5;
}

.contact-form .submit button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .25s, color .25s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  flex: 0 0 auto;
}

.contact-form .submit button:hover {
  background: var(--accent);
  color: var(--ink);
}

.form-success {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.form-success .eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.form-success h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -.02em;
  line-height: 1.15;
  max-width: 22ch;
}

/* ── FAQ ── */
.faq { padding: 100px 28px; background: var(--paper); border-bottom: 1px solid var(--line); }

.faq-head { margin-bottom: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.faq-head h2 { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: clamp(40px, 6vw, 84px); text-transform: uppercase; letter-spacing: -.035em; line-height: .92; }
.faq-head h2 .accent { color: var(--accent); }
.faq-head p { color: var(--ink-2); font-size: 14.5px; line-height: 1.65; max-width: 42ch; justify-self: end; text-align: right; }

.qs { display: flex; flex-direction: column; }

.q {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: start;
  transition: background .25s;
}

.q:last-child { border-bottom: 1px solid var(--line); }
.q:hover { background: rgba(0, 0, 0, .02); }
.q .num { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding-top: 4px; }
.q .body h4 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
.q .body p { font-size: 14px; color: var(--ink-2); line-height: 1.65; margin-top: 0; max-width: 64ch; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), margin-top .4s var(--ease); }
.q.open .body p { max-height: 200px; margin-top: 14px; }

.q .toggle { width: 24px; height: 24px; position: relative; transition: transform .4s var(--ease); flex: none; }
.q .toggle::before, .q .toggle::after { content: ""; position: absolute; background: var(--ink); left: 50%; top: 50%; }
.q .toggle::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.q .toggle::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.q.open .toggle::after { transform: translate(-50%, -50%) rotate(90deg); }

@media (max-width: 1100px) {
  .stores-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .form-grid,
  .faq-head,
  .channels-head,
  .stores-head {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .faq-head p,
  .channels-head p {
    text-align: left;
    justify-self: start;
  }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-actions { justify-self: start; }
  .form-section,
  .faq,
  .channels {
    padding-left: 20px;
    padding-right: 20px;
  }
  .contact-form { padding: 24px; }
}

@media (max-width: 640px) {
  .hero,
  .form-section,
  .faq,
  .channels,
  .stores {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .stores-grid { grid-template-columns: 1fr; }

  .contact-form .row2 { grid-template-columns: 1fr; }

  .contact-form .submit {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form .submit button {
    width: 100%;
  }

  .form-aside .answers .row {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 12px;
  }

  .q {
    grid-template-columns: 48px 1fr auto;
    gap: 12px;
  }

  .chip__text {
    min-height: 44px;
    padding: 10px 14px;
  }
}
