/* Layout blocks matching site-design.jpg mockup */

.section-block { padding: 72px 0; }
.section-block--white { background: #fff; }
.section-block--gray { background: var(--bg-2); }

.section-subtitle-center {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: -24px auto 36px;
  line-height: 1.65;
  font-size: 0.95rem;
}

.section-title-center {
  text-align: center;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
  color: var(--text);
}

/* ---- About (mockup: text+stats left, photo right) ---- */
.about-mockup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-mockup__left h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.about-mockup__left p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.about-stat {
  text-align: center;
  padding: 16px 8px;
}
.about-stat__icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 10px;
  color: var(--accent);
}
.about-stat__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.6; }
.about-stat__num {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}
.about-stat__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 6px;
}
.about-mockup__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: start;
}
.about-mockup__photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}
.about-mockup__photo--main {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}
.about-mockup__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- How (mockup: steps left, photo right) ---- */
.how-mockup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.how-mockup__steps { display: flex; flex-direction: column; gap: 0; }
.how-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.how-step:last-child { border-bottom: none; }
.how-step__n {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 4px;
}
.how-step h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.how-step p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
.how-mockup__photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}
.how-mockup__photo img { width: 100%; height: 100%; object-fit: cover; }
.how-mockup__cta { margin-top: 28px; }

/* ---- Services grid (mockup: 4x2 Що ми передаємо) ---- */
.deliver-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.deliver-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.deliver-item:hover { box-shadow: var(--shadow); }
.deliver-item__img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-2);
}
.deliver-item__img img,
.deliver-item__img video { width: 100%; height: 100%; object-fit: cover; display: block; }
.deliver-item h3 {
  padding: 12px 14px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.35;
}

/* ---- News (mockup: featured left + list right) ---- */
.news-mockup {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: start;
}
.news-featured {
  display: block;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}
.news-featured:hover { box-shadow: var(--shadow); }
.news-featured__img { aspect-ratio: 4 / 3; overflow: hidden; }
.news-featured__img img { width: 100%; height: 100%; object-fit: cover; }
.news-featured__body { padding: 20px 22px 24px; }
.news-featured .date {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 8px;
}
.news-featured h3 {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.news-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.news-item__img {
  width: 88px;
  height: 88px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.news-item__img img { width: 100%; height: 100%; object-fit: cover; }
.news-item .date {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.news-item h3 {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}
.news-footer { text-align: center; margin-top: 32px; }

/* ---- Contacts (mockup: info left, map right) ---- */
.contacts-mockup {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.contacts-info { display: flex; flex-direction: column; gap: 20px; }
.contact-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}
.contact-row__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border-radius: var(--radius);
  color: var(--accent);
}
.contact-row__icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.contact-row strong { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 4px; }
.contact-row span, .contact-row a { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.contact-row a:hover { color: var(--accent); }
.contacts-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 360px;
  background: var(--bg-2);
}
.contacts-map iframe { width: 100%; height: 360px; border: 0; display: block; }
.contacts-map img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; display: block; }

/* ---- Generic mockup cards (team, reviews, offices, faq) ---- */
.mockup-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mockup-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.mockup-card:hover { box-shadow: var(--shadow); }

@media (max-width: 960px) {
  .about-mockup, .how-mockup, .news-mockup, .contacts-mockup { grid-template-columns: 1fr; }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); }
  .deliver-grid { grid-template-columns: repeat(2, 1fr); }
  .about-mockup__photos { max-width: 560px; }
  .how-mockup__photo { order: -1; aspect-ratio: 16 / 10; }
}

@media (max-width: 600px) {
  .deliver-grid { grid-template-columns: 1fr 1fr; }
  .mockup-cards-3 { grid-template-columns: 1fr; }
  .about-stats-row { grid-template-columns: 1fr 1fr; }
}
