/* Brochure download page (/brochure/). Builds on our-garden-rooms.css (ggr-ogr, ggr-intro, ggr-close). */

.br-points { list-style: none; margin: 0 0 32px; padding: 0; }
.br-points li { position: relative; padding-left: 30px; margin: 0 0 10px; color: var(--ogr-ink); }
.br-points li::before {
  content: "";
  position: absolute; left: 2px; top: 0.5em;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--color-primary);
  border-bottom: 2.5px solid var(--color-primary);
  transform: rotate(-45deg);
}

/* the site's one enquiry form style (see .ggr-enquiry in style.css): stone card, white 52px fields
   with a 1px line and 8px radius, 15px / 500 labels, the primary button full width */
.br-form {
  background: var(--color-stone);
  border-radius: var(--radius-md);
  padding: 28px;
  max-width: 480px;
}
.br-field { margin-bottom: 16px; }
.br-field label { display: block; font-weight: 500; font-size: 15px; line-height: 1.5; color: var(--ogr-ink); margin-bottom: 6px; }
.br-field input {
  width: 100%;
  min-height: 52px;
  font: inherit; font-size: 16px; line-height: 1.4;
  padding: 13px 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ogr-ink);
}
.br-field input:focus-visible { outline: 2px solid var(--color-btn); outline-offset: 1px; border-color: var(--color-btn); box-shadow: 0 0 0 3px rgba(79, 117, 31, 0.22); }
.br-field input[aria-invalid="true"] { border-color: var(--color-error); }
.br-error { margin: 6px 0 0; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--color-error); min-height: 0; } /* 4.7:1 on the stone card */
.br-error:empty { display: none; }
.br-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.br-form .btn[disabled] { opacity: 0.7; cursor: progress; }
.br-form .br-note { font-size: 15px; line-height: 1.5; margin: 16px 0 0; color: var(--color-ink-soft); }
.br-note a { color: var(--color-primary-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; } /* dark green: 7:1 on the stone card; underline + weight set it apart from the note text */
.br-status { margin: 12px 0 0; font-size: 15px; font-weight: 600; color: var(--color-error); }
.br-status:empty { display: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.br-done { background: var(--color-stone); border-radius: var(--radius-md); padding: 28px; max-width: 480px; }
.br-done h2 { font-size: 28px; margin-bottom: 18px; }
.br-done a:not(.btn) { color: var(--color-primary-dark); }
.br-done p:last-child { margin: 0; }

/* fanned brochure pages */
.br-preview { position: relative; min-height: 520px; }
.br-page {
  position: absolute;
  height: auto;
  border-radius: 4px; /* paper, not a card: the sheets keep their own corner and their shadow (they are fanned on top of each other) */
  background: #fff;
  box-shadow: 0 28px 50px -24px rgba(50, 63, 70, 0.55), 0 2px 6px rgba(50, 63, 70, 0.12);
}
.br-page--front { width: 62%; left: 19%; top: 0; z-index: 3; }
.br-page--back { width: 48%; left: 0; top: 70px; z-index: 1; transform: rotate(-6deg); }
.br-page--side { width: 48%; right: 0; top: 70px; z-index: 2; transform: rotate(6deg); }

.ggr-br .ggr-close h2 { margin-bottom: 28px; }

@media (max-width: 767px) {
  .ggr-br .ggr-intro__grid { display: flex; flex-direction: column; }
  .br-preview { order: -1; align-self: stretch; width: 100%; min-height: 0; height: 92vw; max-height: 440px; }
  .br-form, .br-done { padding: 20px; }
}
