.flex-hero {
  overflow: hidden;
  padding: 64px 0 72px;
}

.flex-hero .product-hero-grid {
  align-items: center;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
}

.flex-hero h1 {
  max-width: 760px;
}

.flex-hero__benefits {
  display: grid;
  gap: 9px;
  margin: 24px 0;
}

.flex-hero__benefits span {
  align-items: center;
  color: #314744;
  display: flex;
  font-weight: 600;
  gap: 10px;
}

.flex-hero__benefits span::before {
  align-items: center;
  background: #e6f0ec;
  border-radius: 50%;
  color: #2d625b;
  content: '✓';
  display: inline-flex;
  flex: 0 0 24px;
  font-size: 14px;
  height: 24px;
  justify-content: center;
}

.flex-hero__price {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.flex-hero__price strong {
  color: var(--hazo-ink);
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -.035em;
}

.flex-hero__price span,
.flex-hero__smallprint {
  color: #63716e;
}

.flex-hero__smallprint {
  font-size: 13px;
  margin: 14px 0 0;
}

.flex-proof-link {
  align-items: center;
  border-top: 1px solid #d7e1dd;
  color: #425653;
  display: flex;
  font-size: 13px;
  gap: 13px;
  line-height: 1.4;
  margin-top: 26px;
  max-width: 590px;
  padding-top: 18px;
}

.flex-proof-link:hover,
.flex-proof-link:focus-visible {
  color: var(--hazo-green);
}

.flex-proof-link__mark {
  color: var(--hazo-green);
  flex: 0 0 auto;
  font-family: "Comfortaa", sans-serif;
  font-size: 21px;
  font-weight: 700;
}

.flex-hero__image {
  background: #edf3f0;
  display: block;
  isolation: isolate;
  min-height: 520px;
}

.flex-hero__image img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
}

.flex-hero__image::after {
  background: linear-gradient(180deg, transparent 58%, rgba(15, 35, 33, .62));
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.flex-hero__image-action {
  bottom: 22px;
  color: #fff;
  display: flex;
  font-size: 17px;
  font-weight: 700;
  justify-content: space-between;
  left: 24px;
  position: absolute;
  right: 24px;
  z-index: 2;
}

.flex-essentials {
  background: #eef4f1;
  padding: 72px 0;
}

.flex-section-heading h2,
.flex-specs h2 {
  color: var(--hazo-ink);
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(30px, 4.2vw, 46px);
  letter-spacing: -.035em;
  margin: 0 0 12px;
}

.flex-section-heading p:last-child {
  color: #5e6d69;
  font-size: 17px;
  margin: 0 auto;
}

.flex-feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flex-feature-card {
  background: #fff;
  border: 1px solid #d8e2de;
  border-radius: 18px;
  min-height: 210px;
  padding: 24px;
}

.flex-feature-card__number {
  color: #b58a38;
  display: block;
  font-family: "Comfortaa", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  margin-bottom: 30px;
}

.flex-feature-card h3 {
  color: var(--hazo-ink);
  font-family: "Comfortaa", sans-serif;
  font-size: 19px;
  margin: 0 0 10px;
}

.flex-feature-card p {
  color: #5c6b68;
  line-height: 1.55;
  margin: 0;
}

.flex-compare-row {
  align-items: center;
  border-top: 1px solid #d0ddd8;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
  padding-top: 22px;
}

.flex-compare-row a {
  color: var(--hazo-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.flex-design {
  padding-bottom: 76px;
  padding-top: 76px;
}

.flex-choice-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flex-choice-card {
  background: #f7f9f8;
  border: 1px solid #d9e2df;
  border-radius: 20px;
  overflow: hidden;
}

.flex-choice-card--wide {
  grid-column: span 2;
}

.flex-choice-card picture {
  align-items: center;
  background: #eaf1ee;
  display: flex;
  height: 214px;
  justify-content: center;
  overflow: hidden;
}

.flex-choice-card img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.flex-choice-card--wide img {
  box-sizing: border-box;
  object-fit: contain;
  padding: 10px clamp(16px, 3vw, 34px);
}

.flex-choice-card > div {
  min-height: 130px;
  padding: 20px 22px 22px;
  position: relative;
}

.flex-choice-card > div > span {
  color: #b58a38;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.flex-choice-card h3 {
  color: var(--hazo-ink);
  font-family: "Comfortaa", sans-serif;
  font-size: 20px;
  margin: 7px 0 6px;
}

.flex-choice-card p {
  color: #5f6e6a;
  line-height: 1.5;
  margin: 0;
}

.flex-centred-action {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 34px;
}

.flex-centred-action span {
  color: #6d7976;
  font-size: 12px;
}

.flex-specs {
  background: #183c39;
  color: #fff;
  padding: 66px 0 70px;
}

.flex-specs .eyebrow {
  color: #edc268;
}

.flex-specs h2 {
  color: #fff;
  margin-bottom: 0;
}

.flex-specs__heading {
  align-items: end;
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.flex-specs .btn-outline {
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

.flex-specs .btn-outline:hover,
.flex-specs .btn-outline:focus-visible {
  background: #fff;
  color: #183c39;
}

.flex-spec-grid {
  border-bottom: 1px solid rgba(255,255,255,.18);
  border-top: 1px solid rgba(255,255,255,.18);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0 18px;
}

.flex-spec-grid > div {
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 21px 20px 22px 0;
}

.flex-spec-grid > div:nth-last-child(-n+3) {
  border-bottom: 0;
}

.flex-spec-grid dt {
  color: #c7d7d2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.flex-spec-grid dd {
  font-family: "Comfortaa", sans-serif;
  font-size: 17px;
  margin: 7px 0 0;
}

.flex-specs__note {
  color: #c5d5d0;
  font-size: 12px;
  margin: 0;
}

.flex-projects {
  padding-bottom: 76px;
  padding-top: 72px;
}

.flex-project-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flex-project-grid figure {
  border-radius: 20px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.flex-project-grid figure::after {
  background: linear-gradient(180deg, transparent 52%, rgba(13, 33, 31, .78));
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.flex-project-grid picture {
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
}

.flex-project-grid img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
  width: 100%;
}

.flex-project-grid figure:hover img {
  transform: scale(1.025);
}

.flex-project-grid figcaption {
  bottom: 20px;
  color: #fff;
  font-family: "Comfortaa", sans-serif;
  font-size: 18px;
  font-weight: 700;
  left: 20px;
  position: absolute;
  right: 20px;
  z-index: 1;
}

.flex-order-help {
  padding-bottom: 70px;
  padding-top: 66px;
}

.flex-help-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flex-help-grid a {
  background: #fff;
  border: 1px solid #d9e2df;
  border-radius: 16px;
  color: var(--hazo-ink);
  display: grid;
  gap: 6px;
  min-height: 154px;
  padding: 22px;
}

.flex-help-grid a:hover,
.flex-help-grid a:focus-visible {
  border-color: var(--hazo-green);
  box-shadow: 0 10px 28px rgba(34, 67, 62, .09);
  transform: translateY(-2px);
}

.flex-help-grid span {
  color: #b58a38;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.flex-help-grid strong {
  font-family: "Comfortaa", sans-serif;
  font-size: 19px;
}

.flex-help-grid small {
  color: #63706d;
  font-size: 14px;
}

.flex-faq {
  border-top: 1px solid #d4dedb;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

.flex-faq details {
  border-bottom: 1px solid #d4dedb;
  padding: 19px 26px 19px 0;
}

.flex-faq details:nth-child(odd) {
  margin-right: 24px;
}

.flex-faq summary {
  color: var(--hazo-ink);
  cursor: pointer;
  font-weight: 700;
}

.flex-faq p {
  color: #5d6c68;
  line-height: 1.55;
  margin: 12px 0 0;
}

.flex-quote {
  padding-bottom: 82px;
  padding-top: 76px;
}

.flex-quote .hazo-quote-form {
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
}

@media (max-width: 1050px) {
  .flex-hero .product-hero-grid {
    gap: 36px;
    grid-template-columns: 1fr 1fr;
  }

  .flex-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flex-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flex-choice-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .flex-hero {
    padding: 38px 0 46px;
  }

  .flex-hero .product-hero-grid {
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .flex-hero h1 {
    font-size: 38px;
  }

  .flex-hero__copy .lede {
    font-size: 17px;
  }

  .flex-hero__price {
    display: grid;
    gap: 2px;
  }

  .flex-proof-link {
    align-items: flex-start;
  }

  .flex-hero__image {
    min-height: 360px;
    order: -1;
  }

  .flex-hero__image-action {
    bottom: 17px;
    font-size: 15px;
    left: 18px;
    right: 18px;
  }

  .flex-essentials,
  .flex-design,
  .flex-projects,
  .flex-order-help,
  .flex-quote {
    padding-bottom: 46px;
    padding-top: 46px;
  }

  .flex-section-heading {
    margin-bottom: 28px;
    text-align: left;
  }

  .flex-section-heading h2,
  .flex-specs h2 {
    font-size: 31px;
  }

  .flex-section-heading p:last-child {
    font-size: 15px;
  }

  .flex-feature-grid {
    gap: 10px;
  }

  .flex-feature-card {
    border-radius: 14px;
    min-height: 178px;
    padding: 18px;
  }

  .flex-feature-card__number {
    margin-bottom: 20px;
  }

  .flex-feature-card h3 {
    font-size: 16px;
  }

  .flex-feature-card p {
    font-size: 13px;
  }

  .flex-compare-row {
    align-items: flex-start;
    flex-direction: column;
    font-size: 14px;
    gap: 5px;
  }

  .flex-choice-grid,
  .flex-project-grid,
  .flex-help-grid,
  .flex-faq {
    grid-template-columns: 1fr;
  }

  .flex-choice-card--wide {
    grid-column: auto;
  }

  .flex-choice-card picture {
    height: 190px;
  }

  .flex-choice-card > div {
    min-height: 0;
  }

  .flex-specs {
    padding: 48px 0 50px;
  }

  .flex-specs__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .flex-specs__heading .btn {
    width: 100%;
  }

  .flex-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flex-spec-grid > div {
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
    padding-right: 12px;
  }

  .flex-spec-grid > div:nth-last-child(-n+2) {
    border-bottom: 0 !important;
  }

  .flex-spec-grid dd {
    font-size: 14px;
    line-height: 1.45;
  }

  .flex-project-grid {
    gap: 12px;
  }

  .flex-help-grid {
    gap: 10px;
  }

  .flex-help-grid a {
    min-height: 0;
  }

  .flex-faq details,
  .flex-faq details:nth-child(odd) {
    margin-right: 0;
    padding-right: 0;
  }
}

@media (max-width: 420px) {
  .flex-hero h1 {
    font-size: 34px;
  }

  .flex-feature-grid {
    grid-template-columns: 1fr;
  }

  .flex-feature-card {
    min-height: 0;
  }

  .flex-spec-grid {
    grid-template-columns: 1fr;
  }

  .flex-spec-grid > div:nth-last-child(2) {
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flex-help-grid a,
  .flex-project-grid img {
    transition: none;
  }
}

.flex-catalogue-cta {
  background: #173f3b;
  color: #fff;
  padding: 48px 0;
}

.flex-catalogue-cta__inner {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: space-between;
}

.flex-catalogue-cta h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  margin: 4px 0 8px;
}

.flex-catalogue-cta p:last-child {
  color: rgba(255,255,255,.82);
  margin: 0;
  max-width: 680px;
}

.flex-catalogue-cta .btn {
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  .flex-catalogue-cta {
    padding: 36px 0;
  }

  .flex-catalogue-cta__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
  }

  .flex-catalogue-cta .btn {
    width: 100%;
  }
}
