:root {
  --ink: #10213b;
  --muted: #5d6b7d;
  --primary: #005366;
  --accent: #d7a445;
  --line: #d9e3e8;
  --soft: #f5fafb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #eaf3f5;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.brochure {
  width: min(1120px, calc(100vw - 32px));
  margin: 24px auto;
}

.page {
  min-height: 1000px;
  margin: 0 0 22px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  page-break-after: always;
  break-after: page;
}

.cover {
  display: grid;
  align-content: space-between;
  background:
    radial-gradient(circle at top right, rgba(215, 164, 69, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.cover-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cover-top img {
  width: 260px;
  height: auto;
}

.cover-copy {
  max-width: 900px;
  padding: 72px 0;
}

.kicker {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #081b38;
  line-height: 1.08;
}

h1 {
  font-size: 3.7rem;
}

h2 {
  font-size: 2.35rem;
}

p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.cover-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cover-grid article,
.feature-grid article {
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.cover-grid strong,
.feature-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 1.05rem;
}

.cover-grid span,
.feature-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.section-head {
  max-width: 940px;
  margin-bottom: 26px;
}

.image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.image-row.single-row {
  grid-template-columns: 1fr;
  margin-top: 20px;
}

figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--soft);
  break-inside: avoid;
  page-break-inside: avoid;
}

figure img {
  width: 100%;
  display: block;
  background: #fff;
}

.wide-shot img {
  max-height: 650px;
  object-fit: cover;
  object-position: top center;
}

figcaption {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  background: #fff;
}

.feature-grid {
  margin-top: 18px;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.matrix-grid article {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  break-inside: avoid;
  page-break-inside: avoid;
}

.matrix-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 1.04rem;
}

.matrix-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.cover-grid article,
.feature-grid article {
  break-inside: avoid;
  page-break-inside: avoid;
}

.closing {
  display: grid;
  align-content: space-between;
}

.closing-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
}

.closing-card h2,
.closing-card p {
  color: #fff;
}

.closing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.closing-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.closing-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
}

.closing-grid span {
  color: var(--muted);
  line-height: 1.55;
}

@media print {
  @page {
    size: A4;
    margin: 10mm;
  }

  body {
    background: #fff;
  }

  .brochure {
    width: auto;
    margin: 0;
  }

  .page {
    min-height: 276mm;
    margin: 0;
    border: 0;
    border-radius: 0;
    page-break-after: always;
    break-after: page;
    padding: 12mm;
  }

  .cover-top,
  .section-head,
  .cover-grid,
  .feature-grid,
  .matrix-grid,
  .image-row,
  .closing-grid,
  figure,
  article,
  .closing-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  h1 {
    font-size: 30pt;
  }

  h2 {
    font-size: 21pt;
  }

  p {
    font-size: 9.6pt;
  }

  .cover-copy {
    padding: 42mm 0 34mm;
  }

  .cover-top img {
    width: 55mm;
  }

  .image-row {
    gap: 12px;
  }

  .wide-shot img {
    max-height: 145mm;
  }

  .image-row figure img {
    max-height: 120mm;
    object-fit: cover;
    object-position: top center;
  }

  .matrix-grid article,
  .cover-grid article,
  .feature-grid article,
  .closing-grid article {
    min-height: auto;
    padding: 12px;
  }

  figcaption {
    font-size: 8.8pt;
    padding: 9px 11px;
  }
}
