/* =========================================================
 * Service Pages template
 * Path: wp-content/themes/hennessey/dws/assets/style/service-pages.css
 * Enqueued from page-service-template.php
 * ======================================================= */

.breadcrumb {
  display: none !important;
}

.site-footer {
  margin-top: 0px !important;
  border-top: none !important;
}

.seo-section-case:after {
  border-bottom: 80px solid #52bff1 !important;
}

.seo-section-tiger:after {
  border-top: 80px solid #52bff1 !important;
}

/* ===== BANNER CF7 FORM ===== */
.banner-form .wpcf7-form {
  display: block;
}

.banner-form .wpcf7-form>p {
  width: 100%;
  margin: 0 0 14px;
}

.banner-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.banner-form input.wpcf7-form-control,
.banner-form select.wpcf7-form-control,
.banner-form textarea.wpcf7-form-control,
.banner-form input[type="text"],
.banner-form input[type="email"],
.banner-form input[type="tel"],
.banner-form select,
.banner-form textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 12px 14px !important;
  border: 1px solid #d5dbe2 !important;
  border-radius: 6px !important;
  font-size: .8rem !important;
  line-height: 1.3 !important;
  color: #333 !important;
  background: #fff !important;
  margin: 0 !important;
  height: auto !important;
}

.banner-form select,
.banner-form select.wpcf7-form-control {
  color: #666 !important;
}

.banner-form textarea,
.banner-form textarea.wpcf7-form-control {
  resize: vertical !important;
  max-height: 110px !important;
}

.banner-form ::placeholder {
  color: #8a94a0;
  opacity: 1;
}

.banner-form input.wpcf7-submit,
.banner-form input[type="submit"] {
  display: block !important;
  width: 100% !important;
  background: #f5a623 !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  font-size: .9rem !important;
  padding: 14px !important;
  border-radius: 30px !important;
  cursor: pointer !important;
  margin: 2px 0 0 !important;
  height: auto !important;
  white-space: nowrap !important;
}

.banner-form input.wpcf7-submit:hover,
.banner-form input[type="submit"]:hover {
  background: #e0961a !important;
}

.banner-form .wpcf7-spinner {
  margin: 6px auto 0;
  display: block;
}

.banner-form .wpcf7 .wpcf7-response-output {
  margin: 10px 0 0;
  font-size: .8rem;
  border-radius: 6px;
}

.banner-form .wpcf7-not-valid-tip {
  font-size: .72rem;
  margin-top: 4px;
}

.place-1 p,
.place-2 p {
  display: flex;
  gap: 5px;
}

.place-1,
.place-2 {
  margin-bottom: 15px;
}

.wpcf7-response-output {
  color: black;
}

/* ===== TEMPLATE HELPERS (responsive) ===== */
.pi-serif {
  font-family: 'Operetta 8', Georgia, serif;
  font-weight: 500;
}

.pi-h2 {
  font-family: 'Operetta 8', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.2;
  color: #26557a;
  margin: 0 0 20px;
}

.pi-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.pi-wrap--wide {
  max-width: 1000px;
  margin: 0 auto;
}

.pi-wrap--cards {
  max-width: 960px;
  margin: 0 auto;
}

.pi-body,
.pi-body p,
.pi-body li {
  font-size: .98rem;
  line-height: 1.75;
  color: #333;
}

.pi-body p {
  margin: 0 0 18px;
}

.pi-body ul,
.pi-body ol {
  padding-left: 22px;
  margin: 0 0 18px;
}

.pi-btn {
  display: inline-block;
  background: #f5a623;
  color: #fff !important;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 30px;
}

.pi-btn:hover {
  background: #e0961a;
  color: #fff !important;
}

.pi-hero-stats {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  padding: 11px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  max-width: 560px;
}

.pi-hero-stats__item {
  flex: 1 1 150px;
  min-width: 130px;
}

.pi-hero-stats__item+.pi-hero-stats__item {
  border-left: 1px solid rgba(255, 255, 255, .18);
  padding-left: 22px;
}

.pi-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.pi-card {
  flex: 1 1 420px;
  max-width: 445px;
  min-width: 260px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(26, 60, 90, .07);
  padding: 26px 28px;
  box-sizing: border-box;
}

.pi-card--blue {
  border-top: 4px solid #2ba8dc;
}

.pi-card--orange {
  border-top: 4px solid #f5a623;
}

.pi-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pi-card__num {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-family: 'Operetta 8', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pi-card__num--blue {
  background: #2ba8dc;
}

.pi-card__num--orange {
  background: #f5a623;
}

.pi-card__title {
  font-family: 'Operetta 8', Georgia, serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: #3a6a8c;
  margin: 0;
  line-height: 1.3;
}

.pi-card__body p,
.pi-card__body li {
  font-size: .88rem;
  line-height: 1.6;
  color: #444;
}

.pi-card__body p {
  margin: 0 0 12px;
}

.pi-card__body p:last-child {
  margin-bottom: 0;
}

.pi-card__icon img {
  max-width: 44px;
  height: auto;
  display: block;
}

.pi-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pi-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
  font-size: .9rem;
}

.pi-table th {
  background: #f5a623;
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 16px 18px;
}

.pi-table td {
  padding: 18px;
  color: #666;
  vertical-align: top;
  border-left: 1px solid #ececec;
}

.pi-table td:first-child {
  border-left: none;
  color: #222;
  font-weight: 600;
}

.pi-table tbody tr {
  border-bottom: 1px solid #ececec;
}

.pi-table tbody tr:last-child {
  border-bottom: none;
}

@media (max-width: 781px) {
  .pi-hero-stats__item+.pi-hero-stats__item {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
    padding-top: 16px;
  }

  .pi-card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 22px 20px;
  }

  .pi-card__num {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
}

/* ---------- hero typography ---------- */
.pi-hero__eyebrow {
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: 2px;
  color: #FBFF36;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.pi-hero__title {
  font-family: 'Operetta 8', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 4.8vw, 3rem);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 20px;
  text-transform: none;
}
