/* Pressed pallets landing — Nord Panels theme integration */
.pallet-page {
  --pallet-bg: #f7f7f7;
  --pallet-soft: rgba(0, 0, 0, 0.55);
  --pallet-line: rgba(0, 0, 0, 0.12);
  color: var(--text-color);
}

.pallet-section {
  padding: clamp(56px, 8vw, 100px) 0;
}

.pallet-section--soft {
  background: var(--pallet-bg);
}

.pallet-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pallet-soft);
  margin-bottom: 16px;
}

.pallet-eyebrow::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--link-color);
  margin-right: 10px;
  vertical-align: middle;
}

.pallet-h1,
.pallet-h2 {
  font-family: var(--font-accent);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.pallet-h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin: 0 0 20px;
  text-transform: uppercase;
}

.pallet-h1 span {
  display: block;
}

.pallet-h1 .accent {
  color: var(--link-color);
}

.pallet-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  margin: 0 0 16px;
  text-transform: uppercase;
}

.pallet-lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--pallet-soft);
  max-width: 58ch;
  line-height: 1.6;
}

.pallet-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pallet-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--link-color);
  background: var(--link-color);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pallet-btn:hover {
  background: #c41e1e;
  border-color: #c41e1e;
  color: #fff;
  transform: translateY(-1px);
}

.pallet-btn--ghost {
  background: transparent;
  color: var(--text-color);
  border-color: rgba(0, 0, 0, 0.25);
}

.pallet-btn--ghost:hover {
  background: var(--text-color);
  border-color: var(--text-color);
  color: #fff;
}

.pallet-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.pallet-section--hero {
  padding-top: clamp(40px, 6vw, 72px);
}

.pallet-hero-media {
  display: flex;
  min-height: 100%;
}

.pallet-hero-proof {
  position: relative;
  flex: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #111;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.06);
}

.pallet-hero-proof img {
  width: 100%;
  height: 100%;
  min-height: clamp(300px, 38vw, 480px);
  max-height: 520px;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

.pallet-hero-proof__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, transparent 100%);
}

.pallet-hero-proof__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--link-color);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pallet-hero-proof__txt {
  font-family: var(--font-accent);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.pallet-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  min-height: 280px;
  max-height: 420px;
}

.pallet-statbar {
  margin-top: clamp(32px, 4vw, 56px);
  border-top: 2px solid var(--text-color);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.pallet-stat {
  padding: 22px 18px;
  border-right: 1px solid var(--pallet-line);
}

.pallet-stat:last-child {
  border-right: none;
}

.pallet-stat__num {
  font-family: var(--font-accent);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1;
  font-weight: 700;
}

.pallet-stat__lbl {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pallet-soft);
}

.pallet-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.pallet-points {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.pallet-points li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--pallet-soft);
}

.pallet-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--link-color);
}

.pallet-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--pallet-line);
  border: 1px solid var(--pallet-line);
}

.pallet-adv {
  background: #fff;
  padding: 28px 24px;
  transition: background 0.2s ease, color 0.2s ease;
}

.pallet-adv:hover {
  background: var(--text-color);
  color: #fff;
}

.pallet-adv__ix {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--pallet-soft);
}

.pallet-adv:hover .pallet-adv__ix {
  color: var(--link-color);
}

.pallet-adv h3 {
  font-family: var(--font-accent);
  font-size: 1.05rem;
  text-transform: uppercase;
  margin: 14px 0 10px;
  line-height: 1.15;
}

.pallet-adv p {
  font-size: 14px;
  color: var(--pallet-soft);
  line-height: 1.55;
}

.pallet-adv:hover p {
  color: rgba(255, 255, 255, 0.78);
}

.pallet-cmp {
  border-top: 2px solid var(--text-color);
}

.pallet-cmp-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  border-bottom: 1px solid var(--pallet-line);
}

.pallet-cmp--triple .pallet-cmp-row {
  grid-template-columns: 1.05fr 1fr 1fr 1fr;
}

.pallet-cmp-cell--wood,
.pallet-cmp-cell--plastic {
  color: var(--pallet-soft);
}

.pallet-cmp-head .pallet-cmp-cell--wood,
.pallet-cmp-head .pallet-cmp-cell--plastic {
  font-family: var(--font-accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  opacity: 0.65;
}

.pallet-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pallet-process-step {
  padding: 22px 18px;
  background: #fff;
  border: 1px solid var(--pallet-line);
  border-radius: 6px;
}

.pallet-process-step__n {
  display: block;
  font-family: var(--font-accent);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--link-color);
  margin-bottom: 12px;
}

.pallet-process-step h3 {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.pallet-process-step p {
  font-size: 14px;
  color: var(--pallet-soft);
  line-height: 1.55;
  margin: 0;
}

.pallet-models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}

.pallet-model {
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--pallet-line);
  border-radius: 6px;
}

.pallet-model--main {
  border-color: var(--link-color);
  box-shadow: 0 12px 32px rgba(224, 36, 36, 0.1);
}

.pallet-model__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--link-color);
  margin-bottom: 8px;
}

.pallet-model__name {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.pallet-model__specs {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pallet-model__specs li span {
  display: block;
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
}

.pallet-model__specs li em {
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pallet-soft);
  margin-top: 2px;
}

.pallet-model__use {
  font-size: 13px;
  color: var(--pallet-soft);
  line-height: 1.45;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--pallet-line);
}

.pallet-logistics-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--pallet-line);
  border: 1px solid var(--pallet-line);
}

.pallet-logistics-stat {
  background: #fff;
  padding: 28px 20px;
  text-align: center;
}

.pallet-logistics-stat__n {
  font-family: var(--font-accent);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--link-color);
  line-height: 1;
}

.pallet-logistics-stat__l {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pallet-soft);
}

.pallet-ph--export {
  border: none;
  border-radius: 10px;
  min-height: 100%;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  padding: 0;
}

.pallet-ph--export img {
  object-fit: cover;
  object-position: center;
}

#pallet-export .pallet-grid-2 {
  align-items: stretch;
}

#pallet-export .pallet-export-media {
  display: flex;
  min-height: 100%;
}

#pallet-export .pallet-ph--export {
  flex: 1;
  width: 100%;
  min-height: 100%;
}

#pallet-logistics .pallet-grid-2 {
  align-items: stretch;
}

#pallet-logistics .pallet-logistics-media {
  display: flex;
  min-height: 100%;
}

#pallet-logistics .pallet-ph--logistics {
  flex: 1;
  width: 100%;
  min-height: 100%;
  border: none;
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

#pallet-logistics .pallet-ph--logistics img {
  object-fit: cover;
  object-position: center;
}

.pallet-points li strong,
.pallet-points__label {
  color: var(--text-color);
  font-weight: 600;
}

.pallet-cmp-feat {
  padding: 18px 16px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pallet-soft);
  display: flex;
  align-items: center;
}

.pallet-cmp-cell {
  padding: 18px 16px;
  border-left: 1px solid var(--pallet-line);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.pallet-cmp-cell--ours {
  background: rgba(224, 36, 36, 0.08);
}

.pallet-cmp-cell--theirs {
  color: var(--pallet-soft);
}

.pallet-cmp-head .pallet-cmp-feat {
  color: transparent;
}

.pallet-cmp-head .pallet-cmp-cell--ours,
.pallet-cmp-head .pallet-cmp-cell--theirs {
  font-family: var(--font-accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
}

.pallet-cmp-head .pallet-cmp-cell--theirs {
  opacity: 0.55;
}

.pallet-cmp-ok {
  color: var(--link-color);
  font-weight: 700;
}

.pallet-spec-head {
  margin-bottom: clamp(20px, 3vw, 28px);
}

.pallet-spec-head .pallet-h2 {
  margin-top: 12px;
}

.pallet-spec-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 40px);
}

.pallet-spec-main {
  display: flex;
  flex-direction: column;
}

.pallet-spec-media {
  display: flex;
  justify-content: center;
  width: 100%;
}

.pallet-spec-visual {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 720 / 1360;
  overflow: hidden;
  border-radius: 10px;
  background: #1a1a1a;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.08);
}

.pallet-spec-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.pallet-spec-visual__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 16px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  pointer-events: none;
}

.pallet-spec-visual__load {
  font-family: var(--font-accent);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
}

.pallet-spec-visual__sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 1100px) {
  .pallet-spec-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 360px);
    gap: clamp(32px, 4vw, 56px);
    align-items: stretch;
  }

  .pallet-spec-main {
    justify-content: space-between;
    min-height: 100%;
  }

  .pallet-spec-note {
    margin-top: auto;
    padding-top: 18px;
  }

  .pallet-spec-media {
    align-items: stretch;
    justify-content: flex-end;
  }

  .pallet-spec-visual {
    max-width: none;
    height: 100%;
    aspect-ratio: auto;
  }
}

.pallet-ph--spec {
  flex: 1;
  width: 100%;
  min-height: 100%;
  padding: 0;
  border-style: solid;
}

.pallet-ph--spec img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pallet-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pallet-spec-table tr {
  border-bottom: 1px solid var(--pallet-line);
}

.pallet-spec-table th {
  text-align: left;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--pallet-soft);
  padding: 14px 16px 14px 0;
  width: 46%;
  vertical-align: top;
}

.pallet-spec-table td {
  padding: 14px 0;
  font-weight: 600;
}

.pallet-spec-table .hi {
  display: inline-block;
  background: var(--link-color);
  color: #fff;
  padding: 2px 8px;
}

.pallet-spec-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--pallet-soft);
}

.pallet-spec-note a {
  color: var(--link-color);
  font-weight: 600;
}

.pallet-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pallet-app-grid.pallet-app-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}

.pallet-app h3 {
  font-family: var(--font-accent);
  font-size: 1rem;
  text-transform: uppercase;
  margin: 16px 0 8px;
  line-height: 1.15;
}

.pallet-app p {
  font-size: 14px;
  color: var(--pallet-soft);
  line-height: 1.5;
}

.pallet-gallery {
  position: relative;
}

.pallet-gallery-swiper {
  overflow: hidden;
}

.pallet-gallery-slide {
  display: block;
  overflow: hidden;
  border: 1px solid var(--pallet-line);
  border-radius: 4px;
  aspect-ratio: 16 / 9;
  cursor: zoom-in;
  background: #fff;
}

.pallet-gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.25s ease;
}

.pallet-gallery-slide:hover img {
  opacity: 0.92;
}

.pallet-gallery-pagination {
  position: relative;
  margin-top: 20px;
}

.pallet-app .pallet-ph {
  min-height: 220px;
  padding: 0;
  border-style: solid;
}

.pallet-ph {
  position: relative;
  background: var(--pallet-bg);
  border: 1px dashed var(--pallet-line);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border-radius: 4px;
  overflow: hidden;
}

.pallet-ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-height: 0;
  max-height: none;
  border-radius: 0;
}

.pallet-ph__tag {
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--link-color);
  color: #fff;
  padding: 3px 8px;
}

.pallet-ph--tall {
  min-height: 320px;
}

.pallet-ph--fill {
  min-height: 340px;
}

.pallet-ph--what {
  min-height: 380px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 10px;
  background: #141414;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(0, 0, 0, 0.1);
}

.pallet-ph--what img {
  object-position: center center;
}

.pallet-ph--what__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 20px 18px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.45) 50%, transparent 100%);
  pointer-events: none;
}

.pallet-ph--what__load {
  font-family: var(--font-accent);
  font-size: clamp(1.4rem, 2.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
}

.pallet-ph--what__sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

#pallet-factory .pallet-grid-2 {
  align-items: stretch;
}

#pallet-factory .pallet-factory-media {
  display: flex;
  min-height: 100%;
}

#pallet-factory .pallet-ph--fill {
  flex: 1;
  width: 100%;
  min-height: 100%;
  padding: 0;
  border-style: solid;
}

.pallet-ph--factory {
  border: none;
  border-radius: 10px;
  background: #0f0f0f;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.08);
}

.pallet-ph--factory img {
  object-position: center center;
}

.pallet-ph--factory__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.4) 55%, transparent 100%);
  pointer-events: none;
}

.pallet-ph--factory__tag {
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--link-color);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pallet-ph--factory__stat {
  font-family: var(--font-accent);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}

.pallet-fac-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--pallet-line);
  border: 1px solid var(--pallet-line);
  margin-top: 24px;
}

.pallet-fac-stat {
  background: #fff;
  padding: 20px;
}

.pallet-fac-stat__n {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.05;
}

.pallet-fac-stat__l {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pallet-soft);
}

.pallet-faq-block {
  width: 100%;
}

.pallet-faq-head {
  margin-bottom: clamp(20px, 3vw, 28px);
}

.pallet-faq-head .pallet-h2 {
  margin-top: 12px;
}

.pallet-faq {
  border-top: 2px solid var(--text-color);
  width: 100%;
}

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

.pallet-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 4px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-weight: 600;
  font-size: 16px;
}

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

.pallet-faq summary .sign {
  color: var(--link-color);
  flex-shrink: 0;
  width: 18px;
  font-weight: 700;
  transition: transform 0.15s ease;
}

.pallet-faq details[open] summary .sign {
  transform: rotate(45deg);
}

.pallet-faq .ans {
  padding: 0 4px 22px 38px;
  color: var(--pallet-soft);
  font-size: 15px;
  max-width: none;
  line-height: 1.6;
}

.pallet-cta {
  background: var(--text-color);
  color: #fff;
}

.pallet-cta .pallet-h2,
.pallet-cta .pallet-eyebrow {
  color: #fff;
}

.pallet-cta .pallet-eyebrow::before {
  background: var(--link-color);
}

.pallet-cta .pallet-lead {
  color: rgba(255, 255, 255, 0.78);
}

.pallet-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.pallet-direct {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pallet-direct a {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 18px;
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pallet-direct a:hover {
  background: var(--link-color);
  border-color: var(--link-color);
  transform: translateX(4px);
}

.pallet-direct .k {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

.pallet-direct .v {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 600;
}

.pallet-form {
  background: #fff;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 4px;
}

.pallet-form .field {
  margin-bottom: 14px;
}

.pallet-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pallet-soft);
  margin-bottom: 6px;
}

.pallet-form input,
.pallet-form textarea {
  width: 100%;
  background: var(--pallet-bg);
  border: 1px solid var(--pallet-line);
  color: var(--text-color);
  font-family: var(--font-main);
  font-size: 15px;
  padding: 12px 14px;
  transition: border-color 0.15s ease;
}

.pallet-form input:focus,
.pallet-form textarea:focus {
  outline: none;
  border-color: var(--link-color);
}

.pallet-form input.pallet-input--error,
.pallet-form textarea.pallet-input--error {
  border-color: var(--link-color);
  box-shadow: 0 0 0 1px var(--link-color);
}

.pallet-form textarea {
  resize: vertical;
  min-height: 96px;
}

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

.pallet-form .pallet-btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  border: none;
  cursor: pointer;
}

.pallet-form-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--pallet-soft);
  text-align: center;
}

.pallet-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--pallet-line);
  margin-bottom: 0;
}

.pallet-nav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}

.pallet-nav__inner::-webkit-scrollbar {
  display: none;
}

.pallet-nav a {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--pallet-soft);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.pallet-nav a:hover {
  color: var(--link-color);
}

.pallet-mcta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: none;
  gap: 1px;
  background: #000;
}

.pallet-mcta a {
  flex: 1;
  text-align: center;
  padding: 14px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--link-color);
  color: #fff;
}

.pallet-mcta a.alt {
  background: #000;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Pallet page scroll reveals — cascades & micro-interactions */
.pallet-page .home-reveal--now {
  transition-duration: 1s;
}

.pallet-h1 > span {
  display: block;
}

.pallet-statbar .pallet-stat {
  opacity: 0;
}

.pallet-statbar.is-visible .pallet-stat {
  animation: pallet-stat-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pallet-statbar.is-visible .pallet-stat:nth-child(1) { animation-delay: 0.08s; }
.pallet-statbar.is-visible .pallet-stat:nth-child(2) { animation-delay: 0.16s; }
.pallet-statbar.is-visible .pallet-stat:nth-child(3) { animation-delay: 0.24s; }
.pallet-statbar.is-visible .pallet-stat:nth-child(4) { animation-delay: 0.32s; }

@keyframes pallet-stat-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pallet-adv-grid .pallet-adv,
.pallet-models-grid .pallet-model,
.pallet-app-grid .pallet-app,
.pallet-process-grid .pallet-process-step {
  opacity: 0;
}

.pallet-adv-grid.is-visible .pallet-adv,
.pallet-models-grid.is-visible .pallet-model,
.pallet-app-grid.is-visible .pallet-app,
.pallet-process-grid.is-visible .pallet-process-step {
  animation: pallet-card-in 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pallet-process-grid.is-visible .pallet-process-step:nth-child(1) { animation-delay: 0.06s; }
.pallet-process-grid.is-visible .pallet-process-step:nth-child(2) { animation-delay: 0.14s; }
.pallet-process-grid.is-visible .pallet-process-step:nth-child(3) { animation-delay: 0.22s; }
.pallet-process-grid.is-visible .pallet-process-step:nth-child(4) { animation-delay: 0.30s; }

.pallet-logistics-stats .pallet-logistics-stat {
  opacity: 0;
}

.pallet-logistics-stats.is-visible .pallet-logistics-stat {
  animation: pallet-stat-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pallet-logistics-stats.is-visible .pallet-logistics-stat:nth-child(1) { animation-delay: 0.08s; }
.pallet-logistics-stats.is-visible .pallet-logistics-stat:nth-child(2) { animation-delay: 0.16s; }
.pallet-logistics-stats.is-visible .pallet-logistics-stat:nth-child(3) { animation-delay: 0.24s; }

.pallet-adv-grid.is-visible .pallet-adv:nth-child(1) { animation-delay: 0.06s; }
.pallet-adv-grid.is-visible .pallet-adv:nth-child(2) { animation-delay: 0.14s; }
.pallet-adv-grid.is-visible .pallet-adv:nth-child(3) { animation-delay: 0.22s; }
.pallet-adv-grid.is-visible .pallet-adv:nth-child(4) { animation-delay: 0.30s; }
.pallet-adv-grid.is-visible .pallet-adv:nth-child(5) { animation-delay: 0.38s; }
.pallet-adv-grid.is-visible .pallet-adv:nth-child(6) { animation-delay: 0.46s; }

.pallet-models-grid.is-visible .pallet-model:nth-child(1) { animation-delay: 0.08s; }
.pallet-models-grid.is-visible .pallet-model:nth-child(2) { animation-delay: 0.18s; }
.pallet-models-grid.is-visible .pallet-model:nth-child(3) { animation-delay: 0.28s; }

.pallet-app-grid.is-visible .pallet-app:nth-child(1) { animation-delay: 0.06s; }
.pallet-app-grid.is-visible .pallet-app:nth-child(2) { animation-delay: 0.12s; }
.pallet-app-grid.is-visible .pallet-app:nth-child(3) { animation-delay: 0.18s; }
.pallet-app-grid.is-visible .pallet-app:nth-child(4) { animation-delay: 0.24s; }
.pallet-app-grid.is-visible .pallet-app:nth-child(5) { animation-delay: 0.30s; }
.pallet-app-grid.is-visible .pallet-app:nth-child(6) { animation-delay: 0.36s; }

@keyframes pallet-card-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pallet-adv-grid.is-visible .pallet-adv__ix {
  animation: pallet-ix-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pallet-adv-grid.is-visible .pallet-adv:nth-child(1) .pallet-adv__ix { animation-delay: 0.18s; }
.pallet-adv-grid.is-visible .pallet-adv:nth-child(2) .pallet-adv__ix { animation-delay: 0.26s; }
.pallet-adv-grid.is-visible .pallet-adv:nth-child(3) .pallet-adv__ix { animation-delay: 0.34s; }
.pallet-adv-grid.is-visible .pallet-adv:nth-child(4) .pallet-adv__ix { animation-delay: 0.42s; }
.pallet-adv-grid.is-visible .pallet-adv:nth-child(5) .pallet-adv__ix { animation-delay: 0.50s; }
.pallet-adv-grid.is-visible .pallet-adv:nth-child(6) .pallet-adv__ix { animation-delay: 0.58s; }

@keyframes pallet-ix-pop {
  from {
    opacity: 0;
    transform: scale(0.55);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.pallet-cmp--triple .pallet-cmp-row:not(.pallet-cmp-head) {
  opacity: 0;
}

.pallet-cmp--triple.is-visible .pallet-cmp-row:not(.pallet-cmp-head) {
  animation: pallet-cmp-row-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pallet-cmp--triple.is-visible .pallet-cmp-row:nth-child(2) { animation-delay: 0.06s; }
.pallet-cmp--triple.is-visible .pallet-cmp-row:nth-child(3) { animation-delay: 0.12s; }
.pallet-cmp--triple.is-visible .pallet-cmp-row:nth-child(4) { animation-delay: 0.18s; }
.pallet-cmp--triple.is-visible .pallet-cmp-row:nth-child(5) { animation-delay: 0.24s; }
.pallet-cmp--triple.is-visible .pallet-cmp-row:nth-child(6) { animation-delay: 0.30s; }
.pallet-cmp--triple.is-visible .pallet-cmp-row:nth-child(7) { animation-delay: 0.36s; }

@keyframes pallet-cmp-row-in {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pallet-faq details {
  opacity: 0;
}

.pallet-faq.is-visible details {
  animation: pallet-faq-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pallet-faq.is-visible details:nth-child(1) { animation-delay: 0.06s; }
.pallet-faq.is-visible details:nth-child(2) { animation-delay: 0.12s; }
.pallet-faq.is-visible details:nth-child(3) { animation-delay: 0.18s; }
.pallet-faq.is-visible details:nth-child(4) { animation-delay: 0.24s; }
.pallet-faq.is-visible details:nth-child(5) { animation-delay: 0.30s; }
.pallet-faq.is-visible details:nth-child(6) { animation-delay: 0.36s; }
.pallet-faq.is-visible details:nth-child(7) { animation-delay: 0.42s; }

@keyframes pallet-faq-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pallet-form .pallet-btn.home-reveal.is-visible,
.pallet-btns .pallet-btn.home-reveal.is-visible {
  animation: home-cta-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pallet-hero-proof__cap {
  opacity: 0;
}

.pallet-hero-media.is-visible .pallet-hero-proof__cap {
  animation: pallet-cap-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

@keyframes pallet-cap-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .pallet-hero-grid,
  .pallet-grid-2,
  .pallet-quote-grid {
    grid-template-columns: 1fr;
  }

  .pallet-adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pallet-app-grid.pallet-app-grid--6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pallet-app-grid:not(.pallet-app-grid--6) {
    grid-template-columns: repeat(2, 1fr);
  }

  .pallet-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pallet-models-grid {
    grid-template-columns: 1fr;
  }

  .pallet-logistics-stats {
    grid-template-columns: 1fr;
  }

  .pallet-hero-media {
    order: -1;
  }

  .pallet-hero-proof img {
    min-height: 240px;
    max-height: 320px;
  }
}

@media (max-width: 768px) {
  .pallet-statbar {
    grid-template-columns: 1fr 1fr;
  }

  .pallet-hero-proof img {
    min-height: 220px;
    max-height: 280px;
  }

  .pallet-stat {
    border-bottom: 1px solid var(--pallet-line);
  }

  .pallet-stat:nth-child(2) {
    border-right: none;
  }

  .pallet-cmp-row {
    grid-template-columns: 1fr;
  }

  .pallet-cmp:not(.pallet-cmp--triple) .pallet-cmp-feat {
    background: var(--pallet-bg);
    border-bottom: 1px solid var(--pallet-line);
  }

  .pallet-cmp:not(.pallet-cmp--triple) .pallet-cmp-cell {
    border-left: none;
    border-bottom: 1px solid var(--pallet-line);
  }

  .pallet-cmp:not(.pallet-cmp--triple) .pallet-cmp-head {
    display: none;
  }

  .pallet-cmp:not(.pallet-cmp--triple) .pallet-cmp-cell--ours::before {
    content: "Прессованный: ";
    font-weight: 700;
    color: var(--link-color);
  }

  .pallet-cmp:not(.pallet-cmp--triple) .pallet-cmp-cell--theirs::before,
  .pallet-cmp:not(.pallet-cmp--triple) .pallet-cmp-cell--wood::before {
    content: "Деревянный: ";
    font-weight: 600;
    color: var(--pallet-soft);
  }

  /* 3-way compare — card per row */
  .pallet-cmp--triple {
    border-top: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .pallet-cmp--triple .pallet-cmp-row {
    display: block;
    border: 1px solid var(--pallet-line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
  }

  .pallet-cmp--triple .pallet-cmp-head {
    display: none;
  }

  .pallet-cmp--triple .pallet-cmp-feat {
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-color);
    background: var(--pallet-bg);
    border-bottom: 1px solid var(--pallet-line);
  }

  .pallet-cmp--triple .pallet-cmp-cell {
    display: grid;
    grid-template-columns: minmax(96px, 42%) 1fr;
    gap: 10px;
    align-items: center;
    padding: 11px 14px;
    border-left: none;
    border-bottom: 1px solid var(--pallet-line);
    font-size: 13px;
    line-height: 1.35;
  }

  .pallet-cmp--triple .pallet-cmp-val {
    text-align: right;
    font-weight: 500;
  }

  .pallet-cmp--triple .pallet-cmp-cell:last-child {
    border-bottom: none;
  }

  .pallet-cmp--triple .pallet-cmp-cell--ours {
    background: rgba(224, 36, 36, 0.06);
  }

  .pallet-cmp--triple .pallet-cmp-cell::before {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.25;
  }

  .pallet-cmp--triple .pallet-cmp-cell--ours::before {
    content: "Прессованный";
    color: var(--link-color);
  }

  .pallet-cmp--triple .pallet-cmp-cell--wood::before {
    content: "Деревянный";
    color: var(--pallet-soft);
  }

  .pallet-cmp--triple .pallet-cmp-cell--plastic::before {
    content: "Пластиковый";
    color: var(--pallet-soft);
  }

  .pallet-cmp--triple .pallet-cmp-ok {
    display: none;
  }

  #pallet-compare .pallet-h2 {
    font-size: clamp(1.2rem, 4.8vw, 1.65rem);
    line-height: 1.15;
  }

  .pallet-process-grid {
    grid-template-columns: 1fr;
  }

  .pallet-app-grid.pallet-app-grid--6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pallet-spec-visual {
    max-width: 280px;
    margin: 0 auto;
  }

  .pallet-ph--spec {
    min-height: 280px;
  }

  #pallet-factory .pallet-ph--fill {
    min-height: 280px;
  }

  #pallet-export .pallet-ph--export {
    min-height: 280px;
  }

  #pallet-logistics .pallet-ph--logistics {
    min-height: 280px;
  }

  .pallet-adv-grid {
    grid-template-columns: 1fr;
  }

  .pallet-app-grid:not(.pallet-app-grid--6) {
    grid-template-columns: 1fr;
  }

  body.pallet-page-active {
    padding-bottom: 52px;
  }

  .pallet-mcta {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pallet-statbar .pallet-stat,
  .pallet-adv-grid .pallet-adv,
  .pallet-models-grid .pallet-model,
  .pallet-app-grid .pallet-app,
  .pallet-process-grid .pallet-process-step,
  .pallet-logistics-stats .pallet-logistics-stat,
  .pallet-cmp--triple .pallet-cmp-row:not(.pallet-cmp-head),
  .pallet-faq details,
  .pallet-hero-proof__cap {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
}

/* Test protocols / certificates */
.pallet-cert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
}

.pallet-cert {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--pallet-line);
  border-radius: 6px;
  overflow: hidden;
}

.pallet-cert__preview {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #f7f7f7;
  border-bottom: 1px solid var(--pallet-line);
}

.pallet-cert-doc {
  width: 100%;
  height: auto;
  max-width: 100%;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: top center;
  display: block;
}

.pallet-cert__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--link-color);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
}

.pallet-cert__body {
  flex: 0 0 auto;
  margin-top: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pallet-cert-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pallet-soft);
}

.pallet-cert__body h3 {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.25;
}

.pallet-cert__body p {
  margin: 0;
  font-size: 13px;
  color: var(--pallet-soft);
  line-height: 1.5;
}

.pallet-cert__dl {
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--link-color);
}

@media (max-width: 639px) {
  .pallet-cert-grid {
    grid-template-columns: 1fr;
  }
}
