/* ============================================================
   Крылья Сибири — поддоны. Современная визитка без библиотек.
   ============================================================ */

:root {
  --ink: #101b16;
  --ink-soft: #1a2a22;
  --paper: #f7f4ed;
  --paper-2: #efeae0;
  --white: #ffffff;
  --accent: #cf7a35;
  --accent-dark: #b86524;
  --muted: #68746d;
  --line: rgba(16, 27, 22, 0.13);
  --line-light: rgba(255, 255, 255, 0.14);
  --radius: 22px;
  --radius-sm: 12px;
  --font: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.shell {
  width: calc(100% - 48px);
  max-width: 1180px;
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

.kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.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;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:active {
  transform: translateY(1px);
}

.btn--accent {
  background: var(--accent);
  color: #1b120a;
}

.btn--accent:hover {
  background: var(--accent-dark);
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: var(--ink-soft);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--paper);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
}

.btn--small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.84rem;
}

.btn--wide {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: wait;
}

/* ---------- Шапка ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 244, 237, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.brand__mark {
  width: 44px;
  height: 44px;
  color: var(--accent);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__text strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand__text small {
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.nav a {
  padding: 6px 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  border-bottom-color: var(--accent);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar__phone {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.topbar__inner > .topbar__phone {
  margin-left: auto;
}

/* ---------- Первый экран ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7vw, 96px) 0 clamp(56px, 7vw, 100px);
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(207, 122, 53, 0.34), transparent 62%),
    linear-gradient(155deg, #101b16 0%, #17261f 58%, #0c1511 100%);
  color: var(--paper);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 6.2vw, 5.1rem);
  line-height: 0.97;
  letter-spacing: -0.05em;
}

.hero h1 span {
  color: var(--accent);
}

.hero__lead {
  max-width: 44ch;
  margin: 24px 0 28px;
  color: #c7d2ca;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: #a9b9b0;
  font-size: 0.82rem;
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 26px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

.hero__badge {
  position: absolute;
  left: -18px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.hero__badge strong {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.hero__badge span {
  color: var(--muted);
  font-size: 0.72rem;
}

/* ---------- Цифры ---------- */

.metrics {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metrics__grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px 24px;
  border-left: 1px solid var(--line);
}

.metrics__grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.metrics__grid strong {
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  letter-spacing: -0.04em;
}

.metrics__grid span {
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Секции ---------- */

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section--muted {
  background: var(--paper-2);
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section__head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.95rem);
}

.section__head p {
  max-width: 62ch;
  margin-top: 16px;
  color: var(--muted);
}

.section--dark .section__head p {
  color: #b7c5bc;
}

.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}

.section__note {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.section--dark .kicker,
.section--dark .section__note {
  color: var(--accent);
}

/* ---------- Товар ---------- */

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.product__media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center 60%;
  border-radius: var(--radius);
}

.product__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.product__top h3 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.chip {
  display: inline-flex;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.product__body > p {
  max-width: 50ch;
  margin: 16px 0 0;
  color: var(--muted);
}

.product__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 26px 0 22px;
}

.product__price strong {
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}

.product__price span {
  color: var(--muted);
}

.specs {
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.specs div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.specs dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.specs dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: right;
}

.product .btn {
  align-self: flex-start;
}

/* ---------- Доставка и оплата ---------- */

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

.duo__item {
  padding: 28px 40px 0 0;
}

.duo__item + .duo__item {
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

.duo__item h3 {
  font-size: 1.22rem;
}

.duo__item > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- Преимущества ---------- */

.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.benefit {
  padding: 30px 44px 30px 0;
  border-bottom: 1px solid var(--line);
}

.benefit:nth-child(even) {
  padding-left: 44px;
  border-left: 1px solid var(--line);
}

.benefit > span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.benefit h3 {
  margin: 12px 0 8px;
  font-size: 1.18rem;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- Фотографии ---------- */

.gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: 218px;
  gap: 14px;
}

.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--paper-2);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery__item:hover img {
  transform: scale(1.045);
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item figcaption {
  position: absolute;
  left: 13px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(9, 17, 13, 0.58);
  color: #fff;
  font-size: 0.75rem;
  backdrop-filter: blur(6px);
}

/* ---------- Цена и условия ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.split__copy h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.95rem);
}

.split__copy p {
  max-width: 42ch;
  margin: 18px 0 26px;
  color: #b7c5bc;
}

.terms {
  margin: 0;
  border-top: 1px solid var(--line-light);
}

.terms div {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-light);
}

.terms dt {
  color: #9db0a5;
  font-size: 0.9rem;
}

.terms dd {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  text-align: right;
}

/* ---------- Шаги ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps li {
  padding: 30px 36px 0 0;
  border-right: 1px solid var(--line);
}

.steps li:last-child {
  padding-right: 0;
  border-right: 0;
}

.steps li > span {
  color: var(--accent);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.steps h3 {
  margin: 14px 0 8px;
  font-size: 1.18rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- Вопросы ---------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 1.03rem;
  font-weight: 600;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  max-width: 72ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Заявка ---------- */

.order {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.order__copy h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.95rem);
}

.order__copy > p {
  max-width: 42ch;
  margin: 18px 0 0;
  color: #b7c5bc;
}

.order__contacts {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.order__contacts li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--paper);
}

.order__contacts span {
  color: #8ea196;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order__contacts a {
  color: var(--paper);
  font-size: 1.08rem;
  font-weight: 600;
  text-decoration: none;
}

.order-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.order-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #3d4b43;
  font-size: 0.8rem;
  font-weight: 600;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #d8d1c4;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 400;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(207, 122, 53, 0.25);
  outline-offset: 1px;
}

.order-form textarea {
  min-height: 84px;
  resize: vertical;
}

.consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px !important;
  color: #5d6b63 !important;
  font-size: 0.77rem !important;
  font-weight: 400 !important;
  line-height: 1.45;
}

.consent input {
  width: auto;
  margin-top: 3px;
  flex: 0 0 auto;
}

.consent a {
  color: var(--accent-dark);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  min-height: 1.2em;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.form-message.ok {
  color: #2b6b45;
}

.form-message.error {
  color: #a83b2c;
}

/* ---------- Подвал ---------- */

.footer {
  padding: 56px 0 26px;
  background: #0b1410;
  color: #aab9af;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.8fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-light);
}

.footer__top--simple {
  grid-template-columns: 1fr auto;
}

.brand--footer {
  color: var(--paper);
}

.footer__brand p {
  max-width: 40ch;
  margin: 16px 0 0;
  font-size: 0.88rem;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__nav a {
  color: #c5d1c8;
  font-size: 0.88rem;
  text-decoration: none;
}

.footer__nav a:hover {
  color: var(--paper);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.footer__contacts a {
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 20px;
  color: #7f9187;
  font-size: 0.76rem;
}

.footer__requisites {
  padding-top: 12px;
  color: #6d7f75;
  font-size: 0.7rem;
  line-height: 1.5;
}

.footer__requisites p {
  margin: 0;
  max-width: 120ch;
}

/* ---------- Мобильная кнопка ---------- */

.mobile-cta {
  display: none;
}

/* ---------- Политика ПД ---------- */

.policy {
  max-width: 820px;
  padding: 56px 0 76px;
}

.policy h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.policy h2 {
  margin-top: 1.6em;
  font-size: 1.22rem;
}

.policy p,
.policy li {
  color: var(--muted);
}

.policy a {
  color: var(--accent-dark);
}

.policy-back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

/* ---------- Мобильные ---------- */

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .topbar__phone {
    display: none;
  }

  .topbar__actions {
    margin-left: auto;
  }

  .hero__grid,
  .product,
  .split,
  .order {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 16ch;
  }

  .hero__media {
    order: -1;
    max-width: 640px;
  }

  .hero__badge {
    left: 14px;
    bottom: 14px;
  }

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

  .metrics__grid > div {
    padding: 20px 20px;
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .metrics__grid > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .product__media img {
    min-height: 320px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }

  .gallery__item--tall {
    grid-row: span 1;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

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

  .footer__contacts {
    text-align: left;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 78px;
    font-size: 16px;
  }

  .shell {
    width: calc(100% - 32px);
  }

  .topbar__inner {
    min-height: 64px;
    gap: 14px;
  }

  .brand__text small {
    display: none;
  }

  .hero {
    padding: 34px 0 44px;
  }

  .hero__lead {
    margin: 18px 0 22px;
  }

  .hero__badge {
    padding: 10px 14px;
  }

  .hero__badge strong {
    font-size: 1.1rem;
  }

  .metrics__grid strong {
    font-size: 1.35rem;
  }

  .form-row,
  .duo,
  .benefits,
  .footer__top {
    grid-template-columns: 1fr;
  }

  .benefit,
  .benefit:nth-child(even) {
    padding: 24px 0;
    border-left: 0;
  }

  .duo__item,
  .duo__item + .duo__item {
    padding: 22px 0;
    border-left: 0;
  }

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

  .steps li,
  .steps li:last-child {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery__item--wide {
    grid-column: auto;
  }

  .section__head--row {
    display: block;
  }

  .section__note {
    margin-top: 10px;
    max-width: none;
  }

  .terms div {
    gap: 16px;
  }

  .terms dd {
    max-width: 58%;
  }

  .footer__contacts {
    text-align: left;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(247, 244, 237, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }

  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-cta__call {
    background: #e7e1d5;
    color: var(--ink);
  }

  .mobile-cta__order {
    background: var(--accent);
    color: #1b120a;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
