/* BikeMan design system blocks. Generated with the design-system skill; every selector is scoped to a .gai- class. */

:root {
  --gai-red: #c90104;
  --gai-red-dark: #b40103;
  --gai-dark: #1d1c21;
  --gai-dark-alt: #2d2d2d;
  --gai-surface: #f3f3f4;
  --gai-white: #ffffff;
  --gai-font: Oswald, "Open Sans", sans-serif;
  --gai-shadow-card: 14px 14px 40px 0 rgba(0, 0, 0, 0.1);
}

/* Shared block shell */
.gai-block {
  position: relative;
  box-sizing: border-box;
  margin: 0 0 60px;
  color: var(--gai-dark);
  font-family: var(--gai-font);
  font-size: 17px;
  font-weight: 400;
  line-height: normal;
}

.gai-block *,
.gai-block *::before,
.gai-block *::after {
  box-sizing: border-box;
}

.gai-block p {
  margin: 0 0 24px;
  padding: 0;
  font-size: 17px;
}

.gai-block p:last-child {
  margin-bottom: 0;
}

.gai-block a {
  color: var(--gai-red);
  font-size: inherit;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

.gai-block a:hover {
  color: var(--gai-red-dark);
}

.gai-block h2.gai-title {
  margin: 0 0 20px;
  padding: 0;
  color: var(--gai-dark);
  font-family: var(--gai-font);
  font-size: 37px;
  font-weight: 700;
  text-transform: none;
}

.gai-block h3 {
  margin: 0 0 20px;
  padding: 0;
  color: var(--gai-dark);
  font-family: var(--gai-font);
  font-size: 30px;
  font-weight: 700;
}

.gai-block ul {
  margin: 0 0 24px;
  padding-left: 18px;
  list-style: disc;
}

.gai-block li {
  margin: 0 0 4px;
  font-size: 17px;
}

.gai-block .gai-lead {
  font-weight: 700;
}

/* Red diamond bullet list */
.gai-block ul.gai-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.gai-block ul.gai-list li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 30px;
}

.gai-block ul.gai-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 4px;
  width: 8px;
  height: 8px;
  background-color: var(--gai-red);
  transform: rotate(45deg);
}

/* Actions and buttons */
.gai-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
  margin-top: 30px;
}

.gai-block a.gai-link {
  position: relative;
  display: inline-block;
  padding: 0 75px 0 0;
  color: var(--gai-red);
  font-size: 15px;
  font-weight: 700;
  line-height: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gai-block a.gai-link::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  margin: auto;
  background-color: var(--gai-red);
  transition: all 0.25s ease-in-out;
}

.gai-block a.gai-link:hover {
  color: var(--gai-red-dark);
}

.gai-block a.gai-link:hover::after {
  right: 10px;
  width: 50px;
  background-color: var(--gai-red-dark);
}

.gai-block a.gai-button {
  display: inline-block;
  padding: 17px 35px;
  border: 1px solid var(--gai-red);
  background-color: var(--gai-red);
  color: var(--gai-white);
  font-size: 15px;
  font-weight: 700;
  line-height: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gai-block a.gai-button:hover {
  border-color: var(--gai-red-dark);
  background-color: var(--gai-red-dark);
  color: var(--gai-white);
}

.gai-block a.gai-button-cube {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 28px 25px 28px 32px;
  color: var(--gai-white);
  font-size: 15px;
  font-weight: 700;
  line-height: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gai-block a.gai-button-cube::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 14px;
  z-index: -1;
  width: 70px;
  height: 70px;
  margin: auto;
  background-color: var(--gai-red);
  transform: rotate(45deg);
  transition: all 0.25s ease-in-out;
}

.gai-block a.gai-button-cube::after {
  content: "";
  position: absolute;
  top: 0;
  right: -75px;
  bottom: 0;
  width: 60px;
  height: 2px;
  margin: auto;
  background-color: var(--gai-white);
  transition: all 0.25s ease-in-out;
}

.gai-block a.gai-button-cube:hover {
  color: var(--gai-white);
}

.gai-block a.gai-button-cube:hover::before {
  transform: rotate(45deg) scale(0.8);
}

.gai-block a.gai-button-cube:hover::after {
  right: -65px;
  width: 50px;
}

/* Intro: page or section opening text */
.gai-intro {
  max-width: 1030px;
}

/* Info sections: terms, delivery, payment and service information */
.gai-sections h3 {
  margin-top: 40px;
}

.gai-sections h3:first-child {
  margin-top: 0;
}

/* Notice: short highlighted note */
.gai-notice {
  padding: 30px 30px 30px 70px;
  background-color: var(--gai-surface);
}

.gai-notice::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 30px;
  width: 14px;
  height: 14px;
  background-color: var(--gai-red);
  transform: rotate(45deg);
}

.gai-block.gai-notice h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 500;
}

/* Benefits: dark band with short selling points */
.gai-benefits {
  padding: 50px;
  background-color: var(--gai-dark);
  color: var(--gai-white);
}

.gai-benefits .gai-benefit-items {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: -20px auto;
}

.gai-benefits .gai-benefit {
  position: relative;
  flex: 1 1 0;
  padding: 20px 40px 20px 60px;
}

.gai-benefits .gai-benefit::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 15px;
  width: 30px;
  height: 30px;
  background-color: var(--gai-red);
  transform: rotate(45deg);
}

.gai-block.gai-benefits h3 {
  margin: 0;
  color: var(--gai-white);
  font-size: 30px;
  font-weight: 500;
}

.gai-block.gai-benefits p {
  margin: -5px 0 0;
  color: var(--gai-white);
}

.gai-block.gai-benefits h2.gai-title {
  margin-bottom: 40px;
  color: var(--gai-white);
}

/* Promo cards: two or three short offers with a link */
.gai-promo .gai-promo-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gai-promo .gai-promo-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 220px;
  padding: 25px 25px 60px;
  background-color: var(--gai-white);
  box-shadow: var(--gai-shadow-card);
}

.gai-promo .gai-promo-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -190px;
  z-index: -1;
  width: 450px;
  height: 450px;
  background-color: var(--gai-surface);
  transform: rotate(45deg);
}

.gai-promo .gai-promo-card::after {
  content: "";
  position: absolute;
  bottom: 30px;
  left: 30px;
  width: 14px;
  height: 14px;
  background-color: var(--gai-red);
  transform: rotate(45deg);
}

.gai-block.gai-promo .gai-promo-card h3 {
  margin: 0 0 15px;
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
}

.gai-block.gai-promo .gai-promo-card p {
  margin-bottom: 20px;
}

.gai-promo .gai-promo-card:nth-child(even) {
  background-color: var(--gai-red);
  color: var(--gai-white);
}

.gai-promo .gai-promo-card:nth-child(even)::before {
  background-color: var(--gai-red-dark);
}

.gai-promo .gai-promo-card:nth-child(even)::after {
  background-color: var(--gai-white);
}

.gai-block.gai-promo .gai-promo-card:nth-child(even) h3,
.gai-block.gai-promo .gai-promo-card:nth-child(even) p,
.gai-block.gai-promo .gai-promo-card:nth-child(even) a.gai-link {
  color: var(--gai-white);
}

.gai-block.gai-promo .gai-promo-card:nth-child(even) a.gai-link::after {
  background-color: var(--gai-white);
}

/* Story: dark feature panel with a cube button */
.gai-story {
  overflow: hidden;
  background-color: var(--gai-dark);
  color: var(--gai-white);
}

.gai-story::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -280px;
  width: 560px;
  height: 560px;
  background-color: var(--gai-dark-alt);
  transform: rotate(45deg);
}

.gai-story::after {
  content: "";
  position: absolute;
  right: 300px;
  bottom: 70px;
  width: 14px;
  height: 14px;
  background-color: var(--gai-red);
  transform: rotate(45deg);
}

.gai-story .gai-story-body {
  position: relative;
  z-index: 1;
  max-width: 65%;
  padding: 100px 110px;
}

.gai-block.gai-story h2.gai-title {
  margin-bottom: 40px;
  color: var(--gai-white);
  font-size: 45px;
}

.gai-block.gai-story p {
  color: var(--gai-white);
}

.gai-story .gai-actions {
  margin-top: 40px;
}

/* Checklist: offer or payment option with diamond bullets */
.gai-checklist {
  max-width: 1030px;
  padding: 50px 60px;
  background-color: var(--gai-surface);
}

/* Contact: two columns of contact details and directions */
.gai-contact .gai-contact-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gai-contact .gai-contact-col {
  padding: 30px;
  background-color: var(--gai-surface);
}

.gai-block.gai-contact .gai-contact-col h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 500;
}

.gai-block.gai-contact .gai-contact-col p {
  margin-bottom: 15px;
}

/* Columns: text in the Bootstrap grid */
.gai-columns {
  overflow: hidden;
}

.gai-block.gai-columns h3 {
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
}

.gai-block.gai-columns p {
  margin-bottom: 15px;
}

.gai-columns .gai-actions {
  margin-top: 20px;
}

@media (max-width: 940px) {
  .gai-benefits .gai-benefit-items {
    flex-direction: column;
    margin: -20px auto;
  }

  .gai-promo .gai-promo-cards,
  .gai-contact .gai-contact-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .gai-story .gai-story-body {
    max-width: 100%;
    padding: 50px 60px;
  }

  .gai-story::before,
  .gai-story::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .gai-benefits {
    padding: 30px 20px;
  }

  .gai-checklist {
    padding: 30px 20px;
  }

  .gai-story .gai-story-body {
    padding: 40px 30px;
  }

  .gai-block h2.gai-title {
    font-size: 30px;
  }

  .gai-block.gai-story h2.gai-title {
    font-size: 37px;
  }
}
