/* Ottava WhatsApp hire screenshot walkthrough (/how-to#whatsapp)
   and the matching FAQ deep-link style. Ported from signed-off mock.css. */

.whatsapp-guide {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid #bfd3e4;
  scroll-margin-top: 80px;
}

.guide-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.guide-label {
  display: inline-block;
  color: #0d7366;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.guide-heading h2 {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 800;
  color: #152b46;
  margin-bottom: 16px;
}

.guide-heading p {
  color: #475569;
  line-height: 1.75;
  font-size: 17px;
}

.hire-steps {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 24px;
}

.hire-step {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 18px;
  padding: 28px;
  border: 1px solid #dbe6ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 10px #0f172a04;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e6f3ef;
  color: #0e7167;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-copy {
  min-width: 0;
}

.step-copy h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #18324d;
  margin: 2px 0 12px;
}

.step-copy p {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
  margin: 0 0 20px;
}

.step-copy > p:last-child {
  margin-bottom: 0;
}

.card-shot {
  display: block;
  width: 620px;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid #dcf0e6;
  margin-top: 24px;
}

.with-phone {
  grid-template-columns: 40px minmax(0, 1fr) 288px;
  gap: 18px;
}

.phone {
  margin: 0 0 0 8px;
  align-self: start;
}

.phone img {
  display: block;
  width: 272px;
  max-width: 100%;
  height: auto;
  border: 5px solid #172126;
  border-radius: 24px;
  box-shadow: 0 8px 24px #0f172a1c;
}

.phone figcaption {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
  margin: 12px 4px 0;
  text-align: center;
}

.details-box {
  border: 1px solid #dbe6ed;
  border-radius: 12px;
  padding: 20px 24px;
  background: #f7fafc;
}

.details-box p {
  margin: 0;
  font-size: 15px;
}

.details-box .list-label {
  font-size: 12px;
  color: #526779;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 800;
  margin-top: 16px;
  margin-bottom: 8px;
}

.details-list {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  color: #334155;
  font-size: 15px;
  line-height: 1.65;
}

.details-list li {
  position: relative;
  padding-left: 21px;
}

.details-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #128c7e;
  font-weight: 800;
}

.details-list li:last-child {
  grid-column: 1 / -1;
}

.details-box .adult-detail {
  border-top: 1px solid #dbe6ed;
  padding-top: 14px;
  margin-top: 14px;
}

.specific-howto {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #2f5597;
  font-weight: 600;
  text-underline-offset: 4px;
}

@media (max-width: 767px) {
  .whatsapp-guide {
    margin-top: 48px;
    padding-top: 32px;
  }

  .guide-heading {
    margin-bottom: 28px;
  }

  .guide-heading h2 {
    font-size: 25px;
  }

  .guide-heading p {
    font-size: 16px;
  }

  .hire-steps {
    gap: 20px;
  }

  .hire-step {
    padding: 20px 16px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }

  .step-num {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .step-copy h3 {
    font-size: 18px;
    line-height: 1.5;
    margin-top: 0;
  }

  .step-copy p {
    font-size: 15px;
    line-height: 1.8;
  }

  .card-shot {
    width: 100%;
    max-width: none;
    margin-top: 20px;
  }

  .hire-step:first-child picture {
    display: block;
  }

  .hire-step:first-child .card-shot {
    width: calc(100% + 44px);
    max-width: calc(100% + 44px);
    margin-left: -44px;
  }

  .with-phone {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .phone {
    grid-column: 1 / -1;
    margin: 6px auto 0;
    max-width: 274px;
  }

  .phone img {
    width: 274px;
  }

  .details-box {
    padding: 16px;
    margin-left: -44px;
    margin-top: 20px;
  }

  .details-list {
    grid-template-columns: 1fr;
    gap: 9px;
    font-size: 15px;
  }

  .details-list li:last-child {
    grid-column: auto;
  }

  .specific-howto {
    line-height: 1.65;
  }
}
