/* Renewal review landing pages.
   Builds on base.css (sections, sheets, colours, buttons, lines, form controls)
   and only adds what the framework has no class for. Brand brown: #472c10.
   Everything is scoped to <main class="rr-page">, so the site's nav, footer and
   cookie banner keep their own styles. */

main.rr-page {
  font-family: Poppins, sans-serif;
  color: #4a4a4a;
}
.rr-page h1,
.rr-page h2,
.rr-page h3,
.rr-page h4 {
  font-family: Montserrat, sans-serif;
}
.rr-page h2 {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: #472c10;
  margin: 0;
}
/* base.css sets p to Poppins 300 with no fallback; Google Fonts supplies 400-600 only. */
.rr-page p,
.rr-page li {
  font-family: Poppins, sans-serif;
  font-weight: 400;
}
.rr-page p {
  margin: 0;
}
.rr-section p,
.rr-check {
  color: #4a4a4a;
}
.rr-page a:not(.u-btn) {
  color: inherit;
}
.rr-page a:focus-visible,
.rr-page .u-btn:focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: 3px;
}
.rr-sheet {
  padding-left: 18px;
  padding-right: 18px;
  box-sizing: border-box;
}
.rr-icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Warmer than the framework's flat grey, closer to the brand tan. */
.rr-page .u-grey-5 {
  background-color: #f7f2ea;
}
.rr-rule {
  width: 88px;
  height: 3px;
  margin: 6px 0 22px;
}

/* Hero */
.rr-hero {
  background-image: radial-gradient(circle at 88% 18%, rgba(230, 211, 179, 0.16), transparent 55%);
}
.rr-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 466px;
  column-gap: 32px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}
.rr-hero h1 {
  grid-column: 1 / -1;
  font-size: 3.25rem;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 36px;
}
.rr-hero p {
  color: #ffffff;
  line-height: 1.75;
}
.rr-hero-main p {
  max-width: 590px;
  font-size: 1.125rem;
  line-height: 1.6;
}
.rr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: 32px;
}
.rr-btn.u-btn {
  display: inline-block;
  padding: 16px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
}
.rr-hero .rr-btn.u-btn {
  color: #472c10 !important;
}
.rr-form .rr-btn.u-btn {
  background-color: #472c10;
  color: #ffffff;
}
.rr-form .rr-btn.u-btn:hover {
  background-color: #2f1c0a;
}
.rr-form .rr-btn.u-btn[disabled] {
  opacity: 0.65;
  cursor: default;
}
.rr-hero .rr-btn.u-btn:hover {
  background-color: #e6d3b3 !important;
}
.rr-hero-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rr-hero .rr-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}
.rr-hero .rr-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.92);
}
.rr-trust .rr-icon {
  color: #e6d3b3;
  stroke-width: 2.5;
}
/* Larger list that stands in the hero's right column in place of a photo. */
.rr-hero .rr-trust-big {
  flex-direction: column;
  gap: 22px;
  margin: 0;
}
.rr-hero .rr-trust-big li {
  gap: 16px;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.35;
  color: #ffffff;
}
.rr-trust-big .rr-icon {
  font-size: 2.25rem;
  stroke-width: 3;
}
.rr-page .rr-photo {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
}
/* Sections */
.rr-section {
  padding: 80px 0;
}
/* Anchor target that sits above the form, so the fixed 86px site nav doesn't cover the
   heading. An offset element also works for base.js, which scrolls by element position. */
.rr-page .rr-anchor {
  position: absolute;
  top: -86px;
}

/* Form */
.rr-form-grid {
  display: grid;
  grid-template-columns: 446px minmax(0, 1fr);
  column-gap: 62px;
  align-items: start;
}
.rr-form-intro p {
  line-height: 1.75;
  margin-bottom: 16px;
}
.rr-form-contact {
  border-top: 1px solid #ddd3c4;
  margin-top: 28px;
  padding-top: 28px;
}
.rr-form-intro .rr-contact-title {
  font-weight: 600;
  color: #111111;
  margin-bottom: 14px;
}
.rr-page a.rr-contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-weight: 600;
  font-size: 1.0625rem;
  color: #472c10;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.rr-contact-link:hover .rr-contact-icon {
  background-color: #472c10;
  color: #ffffff;
}
.rr-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #e6d3b3;
  color: #472c10;
  font-size: 20px;
  transition: background-color 0.15s, color 0.15s;
}
.rr-contact-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #6b6b6b;
  line-height: 1.3;
}
.rr-page .rr-form {
  background-color: #ffffff;
  border: 1px solid #ece4d8;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 12px 32px rgba(71, 44, 16, 0.08);
}
/* Spam trap field: off screen for people, still present for bots. */
.rr-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.rr-form .u-form-group {
  margin: 0 0 22px;
  min-width: 0;
}
.rr-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
}
.rr-form .u-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111111;
  margin-bottom: 8px;
  padding: 0;
}
.rr-optional {
  font-weight: 400;
}
.rr-input.u-input {
  box-sizing: border-box;
  min-height: 50px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  font: inherit;
  font-size: 0.9375rem;
  color: #111111;
}
.rr-input.u-input:focus {
  border-color: #472c10;
  box-shadow: 0 0 0 1px #472c10;
  outline: none;
}
textarea.rr-input.u-input {
  min-height: 96px;
  resize: vertical;
}
.rr-covers {
  border: 0;
  margin: 0 0 18px;
  padding: 0;
}
.rr-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
}
.rr-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.6;
  cursor: pointer;
}
.rr-check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0 4px;
  accent-color: #472c10;
}
.rr-consent {
  margin-bottom: 24px;
}
.rr-page .rr-consent a {
  text-decoration: underline;
}
.rr-page .rr-form-status {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 18px !important;
}
.rr-form-status.is-error {
  color: #a4161a;
}
.rr-form-status.is-success {
  color: #1b6b3a;
}

/* Cover */
.rr-cover-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 466px;
  column-gap: 56px;
  align-items: center;
}
.rr-page .rr-cover-photo {
  aspect-ratio: 16 / 9;
  object-position: center 40%;
}
.rr-cover-title {
  max-width: 620px;
}
.rr-cover-intro {
  max-width: 620px;
  line-height: 1.75;
}
.rr-cover-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  margin-top: 44px;
}
.rr-cover-card {
  background-color: #faf7f2;
  border: 1px solid #ece4d8;
  border-top: 4px solid #472c10;
  border-radius: 12px;
  padding: 32px 32px 14px;
}
.rr-cover-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #472c10;
  margin: 0 0 14px;
}
.rr-cover-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: #472c10;
  color: #e6d3b3;
  font-size: 24px;
}
.rr-cover-lead,
.rr-cover-item p {
  line-height: 1.7;
}
.rr-cover-lead {
  margin-bottom: 18px !important;
}
.rr-cover-item {
  border-bottom: 1px solid #e3dacb;
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.rr-cover-item:last-child {
  border-bottom: 0;
}
.rr-cover-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #472c10;
  margin: 0 0 4px;
}

/* How a review works */
.rr-steps {
  counter-reset: rr-step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.rr-steps li {
  counter-increment: rr-step;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(71, 44, 16, 0.07);
}
.rr-steps li::before {
  content: counter(rr-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #472c10;
  font-family: Montserrat, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 18px;
}
.rr-steps h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  color: #472c10;
  margin: 0 0 8px;
}
.rr-steps p {
  line-height: 1.7;
}

/* Closing call to action */
.rr-cta {
  background-color: #e6d3b3;
}
.rr-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.rr-page .rr-cta h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}
.rr-cta p {
  color: #472c10;
  font-size: 1.0625rem;
}
.rr-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
}
.rr-page .rr-btn-dark.u-btn {
  background-color: #472c10;
  color: #ffffff !important;
}
.rr-page .rr-btn-dark.u-btn:hover {
  background-color: #2f1c0a;
}
.rr-page a.rr-cta-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1.125rem;
  color: #472c10;
  text-decoration: none;
}

/* The site footer's 20px top margin would show as a white strip under a grey section. */
main.rr-page + .u-footer {
  margin-top: 0;
}

@media (max-width: 1199px) {
  .rr-hero h1 {
    font-size: 2.75rem;
  }
  .rr-hero-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    column-gap: 36px;
  }
  .rr-cover-head {
    grid-template-columns: minmax(0, 1fr) 380px;
    column-gap: 36px;
  }
  .rr-form-grid {
    grid-template-columns: 320px minmax(0, 1fr);
    column-gap: 44px;
  }
}

@media (max-width: 991px) {
  .rr-hero-grid,
  .rr-form-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 44px;
  }
  .rr-cover-head {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 28px;
  }
  .rr-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }
}

@media (max-width: 767px) {
  .rr-page .u-sheet {
    width: calc(100% - 40px) !important;
  }
  .rr-sheet {
    padding-left: 0;
    padding-right: 0;
  }
  .rr-section {
    padding: 56px 0;
  }
  .rr-hero-grid {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .rr-hero h1 {
    font-size: 2.25rem;
    margin-bottom: 24px;
  }
  .rr-hero-main p {
    font-size: 1rem;
  }
  .rr-page h2 {
    font-size: 1.75rem;
  }
  .rr-cover-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }
  .rr-page .rr-form {
    padding: 24px 20px;
  }
  .rr-cover-card {
    padding: 24px 20px 8px;
  }
  .rr-page .rr-cta h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 575px) {
  .rr-field-row,
  .rr-check-grid,
  .rr-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}
