/* ALP Stage 4 conversion layer — 2026-09-26 */

/* Native file inputs used by the legacy feedback forms. */
.form-e > input[type="file"],
.form-group > input[type="file"],
.alp-stage2-form__file-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  padding: 7px;
  color: #33463a;
  font: inherit;
  background: #f7faf8;
  border: 1px dashed #9fc0aa;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.form-e > input[type="file"]::file-selector-button,
.form-group > input[type="file"]::file-selector-button,
.alp-stage2-form__file-input::file-selector-button {
  min-height: 38px;
  margin-right: 12px;
  padding: 9px 15px;
  color: #fff;
  font: 700 14px/1.2 inherit;
  background: #1f6a3c;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.form-e > input[type="file"]:hover,
.form-group > input[type="file"]:hover,
.alp-stage2-form__file-input:hover {
  background: #f0f7f2;
  border-color: #1f6a3c;
}

.form-e > input[type="file"]:hover::file-selector-button,
.form-group > input[type="file"]:hover::file-selector-button,
.alp-stage2-form__file-input:hover::file-selector-button {
  background: #185530;
}

.form-e > input[type="file"]:focus-visible,
.form-group > input[type="file"]:focus-visible,
.alp-stage2-form__file-input:focus-visible {
  outline: 0;
  border-color: #1f6a3c;
  box-shadow: 0 0 0 3px rgba(31, 106, 60, .16);
}

/* Proof block for the five priority commercial pages. */
.alp-stage4-proof {
  margin: 36px 0;
  padding: 28px;
  color: #183024;
  background: linear-gradient(145deg, #f4f8f5 0%, #fff 72%);
  border: 1px solid #d8e6dc;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(16, 57, 34, .07);
}

.alp-stage4-proof__header {
  max-width: 760px;
  margin-bottom: 22px;
}

.alp-stage4-proof__eyebrow {
  display: inline-block;
  margin-bottom: 7px;
  color: #1f6a3c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.alp-stage4-proof h2 {
  margin: 0 0 9px;
  color: #14291e;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.alp-stage4-proof__header p {
  margin: 0;
  color: #4e6356;
  font-size: 17px;
  line-height: 1.55;
}

.alp-stage4-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.alp-stage4-proof__card {
  overflow: hidden;
  margin: 0;
  background: #fff;
  border: 1px solid #dce8df;
  border-radius: 14px;
}

.alp-stage4-proof__card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.alp-stage4-proof__card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eaf1ec;
  transition: transform .25s ease;
}

.alp-stage4-proof__card a:hover img {
  transform: scale(1.025);
}

.alp-stage4-proof__card figcaption {
  min-height: 64px;
  padding: 13px 15px 15px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.alp-stage4-proof__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 22px 0 0;
  padding: 18px 20px;
  list-style: none;
  background: #edf5ef;
  border-radius: 13px;
}

.alp-stage4-proof__facts li {
  position: relative;
  margin: 0;
  padding-left: 21px;
  color: #405448;
  line-height: 1.45;
}

.alp-stage4-proof__facts li::before {
  position: absolute;
  top: .47em;
  left: 0;
  width: 9px;
  height: 9px;
  background: #2e7d4b;
  border-radius: 50%;
  content: "";
}

.alp-stage4-proof__facts strong {
  color: #173322;
}

.alp-stage4-proof__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.alp-stage4-proof__action,
.alp-stage4-proof .ticket-btn.alp-stage4-proof__action {
  display: inline-flex;
  box-sizing: border-box;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 11px 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  background: #1f6a3c;
  border: 1px solid #1f6a3c;
  border-radius: 10px;
  cursor: pointer;
}

.alp-stage4-proof__action--secondary {
  color: #1f6a3c;
  background: #fff;
}

.alp-stage4-proof__action:hover,
.alp-stage4-proof .ticket-btn.alp-stage4-proof__action:hover {
  color: #fff;
  background: #185530;
  border-color: #185530;
}

.alp-stage4-proof__action--secondary:hover {
  color: #174e2d;
  background: #edf5ef;
  border-color: #8ab49a;
}

.alp-stage4-calculator-bridge {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 28px;
  padding: 16px 18px;
  color: #264233;
  background: #edf5ef;
  border: 1px solid #cfe0d4;
  border-radius: 12px;
}

.alp-stage4-calculator-bridge strong,
.alp-stage4-calculator-bridge span {
  display: block;
}

.alp-stage4-calculator-bridge strong {
  margin-bottom: 3px;
  color: #163522;
  font-size: 17px;
}

.alp-stage4-calculator-bridge a {
  flex: 0 0 auto;
  padding: 10px 15px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  background: #1f6a3c;
  border-radius: 9px;
}

@media (max-width: 760px) {
  .alp-stage4-proof {
    margin: 26px 0;
    padding: 20px 16px;
    border-radius: 15px;
  }

  .alp-stage4-proof__grid {
    grid-template-columns: 1fr;
  }

  .alp-stage4-proof__card {
    display: grid;
    grid-template-columns: 42% 1fr;
  }

  .alp-stage4-proof__card a {
    display: contents;
  }

  .alp-stage4-proof__card img {
    height: 100%;
    min-height: 132px;
    aspect-ratio: auto;
  }

  .alp-stage4-proof__card figcaption {
    display: flex;
    min-height: 0;
    align-items: center;
  }

  .alp-stage4-proof__facts {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .alp-stage4-proof__actions,
  .alp-stage4-proof__action,
  .alp-stage4-proof .ticket-btn.alp-stage4-proof__action {
    width: 100%;
  }

  .alp-stage4-calculator-bridge {
    align-items: stretch;
    flex-direction: column;
  }

  .alp-stage4-calculator-bridge a {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .alp-stage4-proof__card img,
  .form-e > input[type="file"],
  .form-group > input[type="file"],
  .alp-stage2-form__file-input {
    transition: none;
  }
}
