/* ==========================================================================
   ПотолокПро Инженер — бенто-лендинг в тёмной «терминальной» эстетике
   ========================================================================== */

:root {
  --bg: #0b0d0a;
  --bg-1: #101410;
  --bg-2: #151a15;
  --cell: #12170f;
  --line: #232b22;
  --line-hi: #33402f;
  --text: #e8ece4;
  --text-2: #a8b1a2;
  --dim: #8b9582;
  --accent: #c6f24e;
  --accent-dim: #93b53a;
  --danger: #e6625f;

  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  --sans: ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --w: 1200px;
  --pad: clamp(18px, 4vw, 48px);
  --r: 14px;

  --ease: cubic-bezier(.3, .8, .2, 1);
  --dur: .35s;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(80% 50% at 50% -10%, rgba(198, 242, 78, .07), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -.03em; }

h1 {
  font-size: clamp(1.85rem, 5.4vw, 4.2rem);
  font-weight: 600;
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  font-weight: 600;
}

h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }

p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99;
  padding: 12px 20px;
  background: var(--accent);
  color: #0b0d0a;
  font-weight: 700;
}
.skip-link:focus { left: 14px; top: 14px; }

.wrap {
  width: 100%;
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--pad);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: #0a0c08;
  font: 600 .92rem/1 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  background: #d4fa6a;
  box-shadow: 0 10px 30px -14px rgba(198, 242, 78, .8);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 13, 10, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 66px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  flex: none;
}

.logo__chip {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--accent);
  color: #0b0d0a;
}

.logo__badge {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .06em;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 2px;
}

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

.nav a {
  font-size: .88rem;
  color: var(--text-2);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav a:hover { color: var(--text); background: var(--bg-2); }

.header-cta {
  flex: none;
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid var(--line-hi);
  border-radius: 9px;
  white-space: nowrap;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

@media (max-width: 900px) {
  .header-cta { display: none; }
}
.header-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(198, 242, 78, .06);
}

.burger {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid var(--line-hi);
  border-radius: 9px;
  background: transparent;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  width: 17px;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* --- Hero + Bento ------------------------------------------------------- */

.hero {
  padding: clamp(34px, 6vw, 72px) 0 clamp(34px, 5vw, 56px);
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.hero-lead {
  color: var(--text-2);
  font-size: 1rem;
  max-width: 46ch;
  margin: 0 0 4px;
  padding-left: 18px;
  border-left: 2px solid var(--accent-dim);
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.bento__cell {
  background: var(--cell);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(16px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.bento__cell:hover {
  border-color: var(--line-hi);
  transform: translateY(-2px);
}

.bento__cell--hero {
  grid-column: span 2;
  grid-row: span 2;
  gap: 10px;
}

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

.bento__cell--accent {
  background:
    linear-gradient(160deg, rgba(198, 242, 78, .12), transparent 70%),
    var(--cell);
  border-color: var(--line-hi);
}

.bento__label {
  margin: 0;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
}

.bento__big {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -.03em;
  color: var(--accent);
}

.bento__mid {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  letter-spacing: -.02em;
  color: var(--text);
}

.bento__note {
  margin: 0;
  font-size: .84rem;
  line-height: 1.45;
  color: var(--text-2);
}

.bento__cell--accent .bento__mid { color: var(--accent); }

.bento__chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 66px;
  margin-top: auto;
  padding-top: 10px;
}
.bento__chart span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--accent), rgba(198, 242, 78, .18));
  border-radius: 3px 3px 0 0;
  opacity: .85;
  transform-origin: bottom;
  animation: grow 1s var(--ease) both;
}
.bento__chart span:nth-child(2) { animation-delay: .06s; }
.bento__chart span:nth-child(3) { animation-delay: .12s; }
.bento__chart span:nth-child(4) { animation-delay: .18s; }
.bento__chart span:nth-child(5) { animation-delay: .24s; }
.bento__chart span:nth-child(6) { animation-delay: .3s; }
.bento__chart span:nth-child(7) { animation-delay: .36s; }

@keyframes grow {
  from { transform: scaleY(.05); opacity: .1; }
  to { transform: scaleY(1); opacity: .85; }
}

.bento__list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: .88rem;
  color: var(--text-2);
}
.bento__list li {
  position: relative;
  padding-left: 20px;
}
.bento__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: 7px;
  height: 7px;
  border: 1px solid var(--accent-dim);
  border-radius: 2px;
}

/* --- Общий заголовок --------------------------------------------------- */

section { padding-block: clamp(40px, 6vw, 76px); }

.head {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(24px, 3.4vw, 40px);
  max-width: 66ch;
}

.head__tag {
  margin: 0;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dim);
}

.head__sub {
  margin: 0;
  color: var(--text-2);
  font-size: .95rem;
}

/* --- Спецификация ------------------------------------------------------- */

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

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.spec {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(18px, 2.2vw, 26px);
}

.spec h3 {
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.spec dl { margin: 0; display: grid; gap: 10px; }

.spec dl div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
}

.spec dt {
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--dim);
}
.spec dd {
  margin: 0;
  font-size: .9rem;
  color: var(--text);
}

/* --- Типы полотен ------------------------------------------------------ */

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

.type-rows {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.type {
  display: grid;
  grid-template-columns: minmax(190px, .85fr) minmax(0, 1.6fr) 120px 160px;
  gap: clamp(12px, 2.4vw, 32px);
  align-items: center;
  padding: clamp(16px, 2.2vw, 24px);
  background: var(--bg-1);
  transition: background-color var(--dur) var(--ease);
}
.type:hover { background: var(--bg-2); }

.type--hl { background: linear-gradient(90deg, rgba(198, 242, 78, .07), var(--bg-1) 60%); }

.type__meta { display: flex; align-items: baseline; gap: 12px; }

.type__code {
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--accent-dim);
}

.type__desc {
  margin: 0;
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.5;
}

.type__price {
  margin: 0;
  font-family: var(--mono);
  font-size: 1rem;
  text-align: right;
  color: var(--text);
  white-space: nowrap;
}

.type__tags {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}
.type__tags span {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--text-2);
  border: 1px solid var(--line-hi);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

/* --- Калькулятор ------------------------------------------------------- */

.calc-block {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, #0d1109 100%);
}

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.calc-head h2 { margin: 8px 0 14px; }
.calc-head > p {
  color: var(--text-2);
  font-size: .95rem;
  max-width: 44ch;
}

.formula {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--bg-1);
  font-family: var(--mono);
  font-size: .84rem;
  display: grid;
  gap: 6px;
}
.formula p { margin: 0; color: var(--text-2); }
.formula__var { color: var(--accent); }
.formula__op { color: var(--dim); margin-right: 4px; }

.calc {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(18px, 2.6vw, 28px);
  display: grid;
  gap: 16px;
}

.calc__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.calc__field label {
  display: block;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 7px;
}

.calc__field input,
.calc__field select {
  width: 100%;
  padding: 11px 13px;
  background: var(--bg);
  border: 1px solid var(--line-hi);
  border-radius: 9px;
  color: var(--text);
  font: inherit;
  font-family: var(--mono);
  font-size: .92rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  appearance: none;
}
.calc__field input:hover,
.calc__field select:hover { border-color: #3f4f3a; }
.calc__field input:focus,
.calc__field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(198, 242, 78, .12);
}

.calc__field select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-2) 50%),
    linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-2);
  cursor: pointer;
  padding: 11px 13px;
  border: 1px dashed var(--line-hi);
  border-radius: 9px;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.check:hover { border-color: var(--accent-dim); color: var(--text); }

.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 17px;
  height: 17px;
  border: 1px solid var(--line-hi);
  border-radius: 4px;
  background: var(--bg);
  cursor: pointer;
  position: relative;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.check input:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.check input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1.5px;
  width: 4.5px;
  height: 9px;
  border: solid #0b0d0a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.calc__breakdown {
  display: grid;
  gap: 6px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.calc__breakdown p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .85rem;
  color: var(--text-2);
  font-family: var(--mono);
}
.calc__breakdown p span:last-child { color: var(--text); }

.calc__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-hi);
}
.calc__total span {
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
}
.calc__total strong {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -.03em;
  color: var(--accent);
}

/* --- Объекты ----------------------------------------------------------- */

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

.obj-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.obj-list li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 100px;
  gap: clamp(12px, 2.4vw, 30px);
  align-items: center;
  padding: clamp(16px, 2.2vw, 22px);
  background: var(--bg-1);
  transition: background-color var(--dur) var(--ease);
}
.obj-list li:hover { background: var(--bg-2); }

.obj__year {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--dim);
}

.obj-list h3 { margin-bottom: 4px; }
.obj-list p { margin: 0; font-size: .88rem; color: var(--text-2); }

.obj__stat {
  font-family: var(--mono);
  font-size: .9rem;
  text-align: right;
  color: var(--accent);
  white-space: nowrap;
}

/* --- Ночной монтаж ----------------------------------------------------- */

.night {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(60% 100% at 0% 50%, rgba(198, 242, 78, .06), transparent 70%);
}

.night-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}

.night h2 { margin: 8px 0 16px; }
.night p { color: var(--text-2); max-width: 46ch; font-size: .95rem; }

.night__note {
  font-size: .84rem !important;
  color: var(--accent-dim) !important;
  padding: 12px 16px;
  border: 1px solid var(--line-hi);
  border-radius: 9px;
  background: rgba(198, 242, 78, .04);
  max-width: 46ch;
}

.night__schedule {
  display: grid;
  gap: 0;
  border-left: 1px solid var(--line-hi);
  padding-left: clamp(16px, 2.5vw, 28px);
}

.night__schedule div {
  position: relative;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.night__schedule div:last-child { border-bottom: 0; }

.night__schedule div::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(16px, 2.5vw, 28px) - 4px);
  top: 22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(198, 242, 78, .12);
}

.night__schedule span {
  display: block;
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--accent);
  margin-bottom: 3px;
}

.night__schedule p {
  margin: 0;
  font-size: .9rem;
  color: var(--text-2);
}

/* --- FAQ --------------------------------------------------------------- */

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

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

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

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  font-size: .98rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--dur) var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }

.faq-list summary::before {
  content: "+";
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--accent);
  width: 18px;
  flex: none;
  transition: transform var(--dur) var(--ease);
}
.faq-list details[open] summary::before { transform: rotate(45deg); }

.faq-list details p {
  margin: 0;
  padding: 0 0 20px 32px;
  color: var(--text-2);
  font-size: .92rem;
  max-width: 70ch;
  animation: fade .3s var(--ease);
}

@keyframes fade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

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

.order {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(198, 242, 78, .07), transparent 65%),
    var(--bg-1);
}

.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}

.order h2 { margin: 8px 0 14px; }
.order > .wrap p { color: var(--text-2); }

.order-grid > div > p {
  color: var(--text-2);
  font-size: .95rem;
  max-width: 42ch;
}

.order-contacts {
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}
.order-contacts div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.order-contacts dt {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  padding-top: 4px;
}
.order-contacts dd { margin: 0; font-size: .93rem; }
.order-contacts a { text-decoration: none; }
.order-contacts a:hover { color: var(--accent); }

.form {
  background: var(--bg-2);
  border: 1px solid var(--line-hi);
  border-radius: var(--r);
  padding: clamp(18px, 2.6vw, 28px);
  display: grid;
  gap: 14px;
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form__field label {
  display: block;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9aa592;
  margin-bottom: 7px;
}

.form__field input,
.form__field textarea {
  width: 100%;
  padding: 11px 13px;
  background: var(--bg);
  border: 1px solid var(--line-hi);
  border-radius: 9px;
  color: var(--text);
  font: inherit;
  font-size: .92rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  resize: vertical;
}
.form__field input::placeholder,
.form__field textarea::placeholder { color: #5b6555; }
.form__field input:hover,
.form__field textarea:hover { border-color: #3f4f3a; }
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(198, 242, 78, .12);
}
.form__field input:user-invalid,
.form__field textarea:user-invalid { border-color: var(--danger); }

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .8rem;
  color: var(--text-2);
  cursor: pointer;
}

.form__check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  border: 1px solid var(--line-hi);
  border-radius: 4px;
  background: var(--bg);
  cursor: pointer;
  position: relative;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.form__check input:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.form__check input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1.5px;
  width: 4.5px;
  height: 9px;
  border: solid #0b0d0a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form__status {
  margin: 0;
  min-height: 1.2em;
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--accent);
}
.form__status[data-state="error"] { color: var(--danger); }

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

.site-footer {
  border-top: 1px solid var(--line);
  background: #080a07;
  padding-block: clamp(28px, 4vw, 44px);
  font-size: .85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, .8fr);
  gap: clamp(20px, 3.4vw, 48px);
  align-items: start;
}

.footer-note {
  color: var(--dim);
  font-size: .76rem;
  line-height: 1.6;
  margin: 12px 0 0;
  max-width: 44ch;
}

.footer-grid nav {
  display: grid;
  gap: 8px;
}
.footer-grid nav a {
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.footer-grid nav a:hover { color: var(--accent); }

.footer-right {
  display: grid;
  gap: 8px;
  justify-items: start;
}
.footer-right a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--mono);
  font-size: .88rem;
}
.footer-right a:hover { color: var(--accent); }
.footer-right span { color: var(--dim); font-size: .76rem; }

/* --- Появление --------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* --- Адаптив ----------------------------------------------------------- */

@media (max-width: 1040px) {
  .hero-top { grid-template-columns: 1fr; align-items: start; }
  .hero-lead { padding-left: 14px; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__cell--hero { grid-column: span 2; grid-row: span 1; }
  .bento__cell--wide { grid-column: span 2; }

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

  .type {
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: 8px 20px;
  }
  .type__meta { grid-column: 1; }
  .type__desc { grid-column: 1 / -1; }
  .type__price { grid-column: 2; grid-row: 1; }
  .type__tags { grid-column: 2; justify-content: flex-start; }

  .calc-grid,
  .night-grid,
  .order-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
}

@media (max-width: 740px) {
  .header-inner { height: 60px; gap: 12px; }
  .nav { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; margin-left: auto; }

  .nav {
    position: fixed;
    inset: 60px 0 auto 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px var(--pad) 22px;
    background: var(--bg-1);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }

  .nav a { padding: 13px 10px; font-size: 1rem; color: var(--text); }
  .nav a + a { border-top: 1px solid var(--line); }

  .bento { grid-template-columns: 1fr; }
  .bento__cell--hero,
  .bento__cell--wide { grid-column: span 1; }

  .type { grid-template-columns: 1fr; }
  .type__price,
  .type__tags { grid-column: 1; grid-row: auto; text-align: left; }
  .type__price { margin-top: 4px; font-size: 1.05rem; }

  .obj-list li {
    grid-template-columns: 1fr auto;
    gap: 6px 14px;
  }
  .obj__year { grid-column: 1; }
  .obj__stat { grid-column: 2; grid-row: 1; }
  .obj-list li > div { grid-column: 1 / -1; }

  .calc__pair { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }

  .order-contacts div { grid-template-columns: 1fr; gap: 2px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: span 1; }
}

@media (max-width: 400px) {
  .btn { width: 100%; }
  .bento__chart { height: 52px; }
}

/* --- Предпочтения ------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .burger, .form, .calc-block { display: none; }
  body { background: #fff; color: #000; }
}
