/*
Theme Name: Пустой шаблон
Theme URI: https://example.com/
Author: Site owner
Description: Минимальная тема WordPress с отдельными шапкой, подвалом и формами.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: blank-shell
*/

:root {
  --shell-ink: #202833;
  --shell-muted: #687382;
  --shell-line: #e2e7ec;
  --shell-surface: #f7f9fb;
  --shell-focus: #145dcc;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--shell-ink);
  background: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; font-size: 16px; line-height: 1.55; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--shell-focus);
  outline-offset: 3px;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  transform: translateY(-150%);
  background: #fff;
  border: 1px solid var(--shell-line);
}
.skip-link:focus { transform: translateY(0); }
.site-header, .site-footer { width: 100%; background: #fff; }
.site-header { border-bottom: 1px solid var(--shell-line); }
.site-header__inner, .site-footer__inner, .site-main {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 12px;
}
.site-brand { flex: 0 0 auto; text-decoration: none; font-weight: 700; }
.site-brand__logo { display: block; max-width: min(220px, 40vw); max-height: 64px; width: auto; height: auto; }
.site-brand__title { font-size: 20px; }
.site-brand .custom-logo-link { display: block; }
.site-brand .custom-logo { display: block; max-width: min(220px, 40vw); max-height: 64px; width: auto; height: auto; }
.site-navigation ul, .footer-navigation ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-navigation a, .footer-navigation a { text-decoration: none; }
.site-navigation a:hover, .footer-navigation a:hover { text-decoration: underline; }
.site-main { min-height: 46vh; padding-block: 36px; }
.page-content > :first-child { margin-top: 0; }
.site-footer { border-top: 1px solid var(--shell-line); background: var(--shell-surface); }
.site-footer__inner { display: grid; gap: 16px; padding-block: 28px; }
.site-footer__title { margin: 0; font-size: 16px; }
.site-footer__copyright, .site-footer__privacy { color: var(--shell-muted); font-size: 14px; }
.site-footer__copyright { margin: 0; }
.site-footer__privacy { justify-self: start; }
.site-footer__privacy a { text-underline-offset: 3px; }

.form-panel { width: min(100%, 620px); padding: 24px; border: 1px solid var(--shell-line); border-radius: 8px; background: #fff; }
.form-panel__title { margin: 0 0 18px; font-size: 22px; }
.form-field { display: grid; gap: 6px; margin-block: 14px; }
.form-field label, .form-consent { font-size: 14px; }
.form-field input, .form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #b9c2cc;
  border-radius: 4px;
  color: var(--shell-ink);
  font: inherit;
  background: #fff;
}
.form-field textarea { min-height: 128px; resize: vertical; }
.form-consent { display: flex; align-items: flex-start; gap: 9px; margin-block: 18px; }
.form-consent input { flex: 0 0 auto; margin-top: 4px; }
.form-submit {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  font: inherit;
  font-weight: 700;
  background: #27384a;
  cursor: pointer;
}
.form-submit:hover { background: #172432; }
.form-feedback { width: min(100%, 620px); margin: 0 0 16px; padding: 12px 14px; border-radius: 4px; }
.form-feedback--success { background: #e9f5ed; color: #245c35; }
.form-feedback--error { background: #fff0ef; color: #8a2d25; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.forms-page { display: grid; gap: 32px; }
.forms-page__title { margin: 0; }

@media (max-width: 720px) {
  .site-header__inner { align-items: flex-start; flex-direction: column; gap: 12px; }
  .site-navigation ul, .footer-navigation ul { gap: 10px 18px; }
  .site-main { width: min(100% - 28px, 1120px); padding-block: 24px; }
  .form-panel { padding: 18px; }
}
