/* About + Contact pages */

.zbs-page {
  --zbs-red: #c30000;
  --zbs-red-dark: #a00000;
  --zbs-navy: #1a202c;
  --zbs-text: #1a1a1a;
  --zbs-muted: #666;
  --zbs-line: #e8e8e8;
  --zbs-bg: #f5f5f5;
  --zbs-white: #fff;

  font-family: 'Segoe UI', Tahoma, 'Noto Sans Arabic', Arial, sans-serif;
  color: var(--zbs-text);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  line-height: 1.65;
}

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

.zbs-page-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zbs-red);
  margin-bottom: 12px;
}

.zbs-page-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--zbs-white);
}

.zbs-page-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 0 28px;
}

.zbs-page-heading {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--zbs-text);
  position: relative;
  padding-bottom: 12px;
}

.zbs-page-heading::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--zbs-red);
}

.zbs-page-desc {
  color: var(--zbs-muted);
  margin: 0 0 28px;
  max-width: 560px;
}

.zbs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: inherit;
}

.zbs-btn--primary {
  background: var(--zbs-red);
  color: #fff;
  border-color: var(--zbs-red);
}

.zbs-btn--primary:hover {
  background: var(--zbs-red-dark);
  border-color: var(--zbs-red-dark);
  color: #fff;
}

.zbs-btn--white {
  background: #fff;
  color: var(--zbs-navy);
  border-color: #fff;
}

.zbs-btn--white:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.zbs-btn--outline {
  background: transparent;
  color: var(--zbs-navy);
  border-color: var(--zbs-line);
}

.zbs-btn--outline:hover {
  border-color: var(--zbs-red);
  color: var(--zbs-red);
}

.zbs-btn--block {
  width: 100%;
}

/* Hero */
.zbs-page-hero {
  background: linear-gradient(135deg, var(--zbs-navy) 0%, #2d3748 100%);
  padding: 64px 28px;
  width: 100%;
}

.zbs-page-hero--compact {
  padding: 48px 28px;
}

.zbs-page-hero__inner {
  max-width: 900px;
}

.zbs-page-hero__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 18px;
  display: block;
}

/* Stats */
.zbs-stats {
  background: var(--zbs-white);
  border-bottom: 1px solid var(--zbs-line);
  padding: 0 28px;
}

.zbs-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 100%;
}

.zbs-stat {
  text-align: center;
  padding: 32px 16px;
  border-inline-end: 1px solid var(--zbs-line);
}

.zbs-stat:last-child {
  border-inline-end: none;
}

.zbs-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--zbs-red);
  line-height: 1;
  margin-bottom: 8px;
}

.zbs-stat span {
  font-size: 13px;
  color: var(--zbs-muted);
  font-weight: 600;
}

/* Sections */
.zbs-page-section {
  padding: 56px 28px;
  background: var(--zbs-white);
  width: 100%;
}

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

.zbs-page-section__head {
  margin-bottom: 32px;
}

.zbs-about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.zbs-about-text p {
  color: var(--zbs-muted);
  margin: 0 0 16px;
  font-size: 15px;
}

.zbs-checklist {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.zbs-checklist li {
  position: relative;
  padding: 10px 0 10px 0;
  padding-inline-start: 28px;
  border-bottom: 1px solid var(--zbs-line);
  font-size: 14px;
  color: var(--zbs-text);
}

.zbs-checklist li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 16px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--zbs-red);
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--zbs-red) 40%, transparent 42%);
}

.zbs-aside-card {
  background: var(--zbs-bg);
  border: 1px solid var(--zbs-line);
  padding: 32px 28px;
  text-align: center;
}

.zbs-aside-card img {
  margin: 0 auto 16px;
  display: block;
  object-fit: contain;
}

.zbs-aside-card h3 {
  margin: 0 0 10px;
  letter-spacing: 0.12em;
  font-size: 18px;
}

.zbs-aside-card p {
  color: var(--zbs-muted);
  font-size: 14px;
  margin: 0 0 18px;
}

.zbs-aside-link {
  display: block;
  color: var(--zbs-red);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.zbs-aside-link:hover {
  text-decoration: underline;
}

/* Why grid */
.zbs-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.zbs-why-item {
  background: var(--zbs-white);
  border: 1px solid var(--zbs-line);
  padding: 28px 20px;
  text-align: center;
}

.zbs-why-item__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  color: var(--zbs-red);
}

.zbs-why-item__icon svg {
  width: 100%;
  height: 100%;
}

.zbs-why-item h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
}

.zbs-why-item p {
  font-size: 13px;
  color: var(--zbs-muted);
  margin: 0;
}

/* CTA */
.zbs-page-cta {
  background: var(--zbs-red);
  padding: 56px 28px;
  text-align: center;
  color: #fff;
}

.zbs-page-cta h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin: 0 0 10px;
}

.zbs-page-cta p {
  margin: 0 0 24px;
  opacity: 0.9;
}

/* Contact */
.zbs-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.zbs-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.zbs-contact-card {
  background: var(--zbs-white);
  border: 1px solid var(--zbs-line);
  padding: 28px;
}

.zbs-contact-card--dark {
  background: var(--zbs-navy);
  border-color: var(--zbs-navy);
  color: #fff;
}

.zbs-contact-card--dark .zbs-contact-card__label {
  color: rgba(255, 255, 255, 0.55);
}

.zbs-contact-card--dark a {
  color: #fff;
}

.zbs-contact-card--dark a:hover {
  color: #ffb3b3;
}

.zbs-contact-card__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--zbs-muted);
  margin-bottom: 8px;
}

.zbs-contact-card h3 {
  margin: 0 0 20px;
  font-size: 18px;
}

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

.zbs-contact-list strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zbs-muted);
  margin-bottom: 4px;
}

.zbs-contact-card--dark .zbs-contact-list strong {
  color: rgba(255, 255, 255, 0.45);
}

.zbs-contact-list span,
.zbs-contact-list a {
  font-size: 14px;
  color: inherit;
  text-decoration: none;
  line-height: 1.5;
}

.zbs-contact-list a:hover {
  color: var(--zbs-red);
}

.zbs-contact-quick {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.zbs-contact-form-wrap {
  background: var(--zbs-bg);
  border: 1px solid var(--zbs-line);
  padding: 32px 28px;
}

.zbs-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.zbs-form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.zbs-form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--zbs-text);
}

.zbs-form-row label span {
  color: var(--zbs-red);
}

.zbs-form-row input,
.zbs-form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--zbs-line);
  background: var(--zbs-white);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.zbs-form-row input:focus,
.zbs-form-row textarea:focus {
  border-color: var(--zbs-navy);
}

.zbs-form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.zbs-form-status {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.zbs-form-status.is-ok {
  color: #0a7a3e;
}

.zbs-form-status.is-error {
  color: var(--zbs-red);
}

.zbs-form-status[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .zbs-stats__grid,
  .zbs-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .zbs-about-grid,
  .zbs-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .zbs-page-hero,
  .zbs-page-section,
  .zbs-page-cta,
  .zbs-stats {
    padding-left: 16px;
    padding-right: 16px;
  }

  .zbs-stats__grid,
  .zbs-why-grid,
  .zbs-form-row--2 {
    grid-template-columns: 1fr;
  }

  .zbs-stat {
    border-inline-end: none;
  }
}
