/* =========================================================
   ABO-ENQ
   Aberdeen Business Online
   Front-End Styling
   ========================================================= */

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #f5f6f7;
  color: #20252a;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

.abo-page {
  width: 100%;
}

.abo-enquiry {
  width: 100%;
  background: #f5f6f7;
}

.abo-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 72px 30px 84px;
}


/* =========================================================
   ENGINE HEADER
   ========================================================= */

.abo-engine-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 25px;
}

.abo-eyebrow {
  margin-bottom: 7px;
  color: #cf0000;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.abo-engine-heading h1 {
  margin: 0;
  color: #171717;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.8px;
}

.abo-step-status {
  color: #687078;
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

.abo-step-status strong {
  color: #20252a;
}


/* =========================================================
   PROGRESS BAR
   ========================================================= */

.abo-progress {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 18px;
}

.abo-progress-item .bar {
  height: 5px;
  background: #d9dde0;
  border-radius: 5px;
}

.abo-progress-item .label {
  margin-top: 7px;
  color: #92999e;
  font-size: 8.5px;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
}

.abo-progress-item.active .bar {
  background: #cf0000;
}

.abo-progress-item.active .label {
  color: #cf0000;
  font-weight: 900;
}


/* =========================================================
   ENGINE WINDOW
   ========================================================= */

.abo-window {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dce1e4;
  border-radius: 15px;
  box-shadow: 0 14px 35px rgba(20, 30, 38, 0.07);
}

.abo-window-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 17px 24px;
  background: #202a32;
}

.abo-engine-id {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.abo-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  background: #cf0000;
  border-radius: 50%;
}

.abo-window-type {
  color: #aeb6bc;
  font-size: 9px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.abo-main {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.55fr);
}

.abo-form-area {
  padding: 38px;
}

.abo-side {
  padding: 38px 29px;
  background: #f6f7f8;
  border-left: 1px solid #e0e4e7;
}


/* =========================================================
   STEP CONTENT
   ========================================================= */

.abo-step-number {
  color: #cf0000;
  font-size: 9px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.abo-step h2 {
  margin: 6px 0 0;
  color: #20252a;
  font-size: 27px;
  line-height: 1.3;
  font-weight: 900;
}

.abo-intro {
  max-width: 700px;
  margin: 9px 0 27px;
  color: #687078;
  font-size: 13px;
  line-height: 1.75;
}


/* =========================================================
   FIELDS
   ========================================================= */

.abo-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.abo-field {
  margin-bottom: 17px;
}

.abo-grid-2 .abo-field {
  margin-bottom: 0;
}

.abo-field label {
  display: block;
  margin-bottom: 7px;
  color: #20252a;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 800;
}

.abo-required {
  color: #cf0000;
}

.abo-help {
  margin: -2px 0 8px;
  color: #858d92;
  font-size: 10.5px;
  line-height: 1.55;
}

.abo-input {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  background: #ffffff;
  border: 1px solid #cfd5d9;
  border-radius: 7px;
  outline: none;
  color: #20252a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

.abo-input::placeholder {
  color: #9ba2a7;
}

.abo-input:focus {
  border-color: #cf0000;
  box-shadow: 0 0 0 2px rgba(207, 0, 0, 0.07);
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.abo-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #e3e6e8;
}

.abo-nav-note {
  color: #8a9297;
  font-size: 10.5px;
  line-height: 1.55;
  text-align: center;
}

.abo-btn {
  min-height: 50px;
  padding: 0 24px;
  border-radius: 7px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.abo-btn-next {
  border: 0;
  background: #cf0000;
  color: #ffffff;
}

.abo-btn-next:hover {
  background: #b80000;
}


/* =========================================================
   SIDE PANEL
   ========================================================= */

.abo-side-eyebrow {
  color: #cf0000;
  font-size: 9px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.abo-side h3 {
  margin: 7px 0 0;
  color: #20252a;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 900;
}

.abo-side p {
  margin: 10px 0 0;
  color: #687078;
  font-size: 12px;
  line-height: 1.72;
}

.abo-summary {
  margin-top: 22px;
  padding: 18px;
  background: #202a32;
  border-radius: 9px;
}

.abo-summary-label {
  color: #ff6666;
  font-size: 8px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.abo-summary-content {
  margin-top: 7px;
  color: #ffffff;
  font-size: 11.5px;
  line-height: 1.65;
}

.abo-side-tip {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #dce1e4;
  color: #6f777d;
  font-size: 10.5px;
  line-height: 1.65;
}

.abo-side-tip strong {
  color: #20252a;
}


/* =========================================================
   FOOTER
   ========================================================= */

.abo-window-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
  background: #fafafa;
  border-top: 1px solid #e3e6e8;
  color: #92999e;
  font-size: 9px;
  line-height: 1.5;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

  .abo-wrap {
    padding: 50px 18px 65px;
  }

  .abo-engine-heading {
    display: block;
  }

  .abo-step-status {
    margin-top: 13px;
    text-align: left;
  }

  .abo-progress {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 13px;
  }

  .abo-main {
    display: block;
  }

  .abo-form-area {
    padding: 27px 20px;
  }

  .abo-side {
    padding: 27px 20px;
    border-left: 0;
    border-top: 1px solid #e0e4e7;
  }

  .abo-grid-2 {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .abo-nav {
    flex-wrap: wrap;
  }

  .abo-nav-note {
    order: 3;
    width: 100%;
  }

  .abo-window-footer {
    display: block;
  }

  .abo-window-footer div + div {
    margin-top: 5px;
  }
}