/* About page — structured blocks */
.vp-about-page .vp-about-hero {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.vp-about-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.vp-about-panel {
  padding: 32px;
  border: 1px solid var(--vp-border);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 12px 40px rgba(15, 31, 61, 0.05);
}

.vp-about-panel--gallery {
  padding: 24px;
  background: #fff;
}

.vp-about-panel--values {
  background: linear-gradient(135deg, #0f1f3d 0%, #1a3a6e 55%, #0047ab 100%);
  border-color: transparent;
  color: #fff;
}

.vp-about-panel--values .vp-about-eyebrow,
.vp-about-panel--values .vp-about-panel__title,
.vp-about-panel--values p {
  color: #fff;
}

.vp-about-eyebrow {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vp-brand, #0047ab);
}

.vp-about-panel__title {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--vp-text);
}

.vp-about-lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--vp-text);
  font-weight: 600;
}

.vp-about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.vp-about-split--reverse .vp-about-split__media {
  order: -1;
}

.vp-about-split__content p {
  margin: 0 0 16px;
  color: var(--vp-text-muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.vp-about-split__content p:last-child {
  margin-bottom: 0;
}

.vp-about-split__media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--vp-border);
  background: #fff;
  min-height: 280px;
}

.vp-about-split__media--hero {
  min-height: 360px;
  max-height: 480px;
}

.vp-about-panel--mission .vp-about-split__media {
  max-height: 380px;
  min-height: 0;
}

.vp-about-split__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: inherit;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.vp-about-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.vp-about-gallery figure {
  margin: 0;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--vp-border);
}

.vp-about-gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vp-about-values-head {
  margin-bottom: 24px;
  max-width: 560px;
}

.vp-about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vp-about-value {
  padding: 22px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.vp-about-value__icon {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.vp-about-value h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
}

.vp-about-value p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  opacity: 0.92;
}

.vp-about-contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 28px;
  align-items: start;
}

.vp-about-contact-wrap__intro p {
  margin: 0 0 16px;
  color: var(--vp-text-muted);
  line-height: 1.7;
}

.vp-about-contact-meta {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  font-size: 0.98rem;
}

.vp-about-contact-meta__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
}

.vp-about-contact-meta__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 71, 171, 0.08);
  color: var(--vp-brand, #0047ab);
}

.vp-about-contact-meta a {
  color: var(--vp-text);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
  flex: 1;
  min-height: 36px;
  display: flex;
  align-items: center;
}

#forma-zvyazku {
  scroll-margin-top: 120px;
}

.vp-about-contact-meta a:hover {
  text-decoration: underline;
}

.vp-about-contact-wrap__form .vp-about-contact {
  margin: 0;
  max-width: 100%;
}

.vp-about-contact {
  padding: 24px;
  border: 1px solid var(--vp-border);
  border-radius: 16px;
  background: #fff;
}

.vp-about-contact__form {
  display: grid;
  gap: 16px;
}

.vp-about-contact__field span {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--vp-text);
}

.vp-about-contact__field .required {
  color: var(--vp-price-sale, #c62828);
}

.vp-about-contact__optional {
  font-weight: 400;
  color: var(--vp-text-muted, #6b7280);
  font-size: 0.9em;
}

.vp-about-contact__field input,
.vp-about-contact__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--vp-border);
  border-radius: var(--vp-radius-sm);
  font: inherit;
  color: var(--vp-text);
  background: #fff;
}

.vp-about-contact__field textarea {
  resize: vertical;
  min-height: 110px;
}

.vp-about-contact__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.vp-about-contact__status {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--vp-radius-sm);
  font-size: 0.95rem;
}

.vp-about-contact__status.is-success {
  background: #e8f5e9;
  color: #2e7d32;
}

.vp-about-contact__status.is-error {
  background: #ffebee;
  color: #c62828;
}

.vp-about-contact .vp-btn--primary {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.vp-delivery-page .vp-delivery-rekvizyty ul {
  margin-top: 8px;
}

.vp-delivery-page .vp-delivery-note {
  height: 100%;
}

.vp-delivery-page .vp-anchor-section {
  scroll-margin-top: 120px;
}

@media (max-width: 1024px) {
  .vp-about-contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .vp-about-split,
  .vp-about-split--reverse {
    grid-template-columns: 1fr;
  }

  .vp-about-split--reverse .vp-about-split__media {
    order: 0;
  }

  .vp-about-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vp-about-values {
    grid-template-columns: 1fr;
  }

  .vp-about-contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .vp-about-panel {
    padding: 22px 18px;
  }

  .vp-rules-grid--3,
  .vp-rules-grid--2 {
    grid-template-columns: 1fr;
  }
}
