/* Theme-aligned layouts for policy and contact pages. */
.policy-page,
.contact-page {
  color: #707070;
  background: #fff;
}

.policy-page *,
.contact-page * {
  box-sizing: border-box;
}

/* Policy pages use the theme's global breadcrumb/title above this content. */
.policy-content {
  display: grid;
  width: min(100%, 920px);
  gap: 30px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 70px;
  padding-bottom: 70px;
}

.policy-card {
  padding: 34px;
  border: 1px solid #ebebeb;
  background: #fff;
}

.policy-card__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #292929;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
}

.policy-card__heading i {
  flex: 0 0 auto;
  color: #2caf4e;
  font-size: 20px;
}

.policy-card p {
  margin: 0;
  color: #707070;
  font-size: 13px;
  line-height: 1.85;
}

.policy-card p + p {
  margin-top: 14px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.policy-point {
  min-width: 0;
  padding: 18px 20px;
  border-left: 2px solid #2caf4e;
  background: #f7f7f7;
}

.policy-point__title {
  margin: 0 0 7px;
  color: #292929;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.policy-point p {
  font-size: 12px;
  line-height: 1.7;
}

.policy-notice {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid #ebebeb;
  background: #f7f7f7;
  color: #707070;
  font-size: 12px;
  line-height: 1.75;
}

.policy-notice i {
  flex: 0 0 auto;
  margin-top: 4px;
  color: #2caf4e;
}

.policy-contact {
  padding: 30px 34px;
  border: 1px solid #ebebeb;
  border-left: 3px solid #2caf4e;
  background: #f7f7f7;
  text-align: left;
}

.policy-contact__title {
  margin: 0 0 10px;
  color: #292929;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.policy-contact p {
  margin: 0;
  color: #707070;
  font-size: 13px;
  line-height: 1.75;
}

.policy-contact p + p {
  margin-top: 8px;
}

.policy-contact a {
  color: #2caf4e;
  font-weight: 500;
  text-decoration: none;
}

.policy-contact a:hover {
  color: #292929;
}

.policy-meta {
  margin: -8px 0 0;
  color: #929292;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .policy-content {
    gap: 20px;
    padding-top: 45px;
    padding-bottom: 50px;
  }

  .policy-card,
  .policy-contact {
    padding: 24px 20px;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }
}

/* Refined Contact Us layout. */
.contact-page__section {
  padding: 70px 0;
}

.contact-page__layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  width: min(100%, 1100px);
  margin: 0 auto;
  border: 1px solid #ebebeb;
  background: #fff;
}

.contact-page__panel {
  position: relative;
  min-width: 0;
  padding: 52px 46px;
  overflow: hidden;
  background: #292929;
  color: #fff;
}

.contact-page__panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: #2caf4e;
  content: "";
}

.contact-page__kicker,
.contact-page__form-kicker {
  display: block;
  margin-bottom: 13px;
  color: #2caf4e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-page__panel-title {
  margin: 0 0 18px;
  color: #fff;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.25;
}

.contact-page__panel-text {
  margin: 0;
  color: rgba(255, 255, 255, .65);
  font-size: 13px;
  line-height: 1.85;
}

.contact-page__contact-list {
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.contact-page__contact-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.contact-page__contact-icon {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .16);
  color: #2caf4e;
  font-size: 15px;
}

.contact-page__contact-item h3 {
  margin: 1px 0 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.contact-page__contact-item p {
  margin: 0;
  background: transparent !important;
  color: rgba(255, 255, 255, .65);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.contact-page__contact-item a {
  color: #fff;
}

.contact-page__contact-item a:hover {
  color: #2caf4e;
}

.contact-page__order-note {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding: 17px 18px;
  border-left: 2px solid #2caf4e;
  background: rgba(255, 255, 255, .06);
}

.contact-page__order-note i {
  flex: 0 0 auto;
  margin-top: 4px;
  color: #2caf4e;
}

.contact-page__order-note p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  line-height: 1.7;
}

.contact-page__form-card {
  min-width: 0;
  padding: 50px;
  background: #fff;
}

.contact-page__form-header {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #ebebeb;
}

.contact-page__form-header h2 {
  margin: 0 0 10px;
  color: #292929;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
}

.contact-page__form-header p {
  margin: 0;
  color: #707070;
  font-size: 13px;
  line-height: 1.75;
}

.contact-page__form-card .contact-page__form {
  padding: 0;
  border: 0;
  background: transparent;
}

.contact-page__field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-page__field {
  margin-bottom: 20px;
}

.contact-page__field label {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  color: #292929;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: none;
}

.contact-page__field input,
.contact-page__field textarea {
  display: block;
  width: 100%;
  border: 1px solid #ebebeb;
  border-radius: 0;
  outline: 0;
  background: #f7f7f7;
  color: #292929;
  font-family: inherit;
  font-size: 13px;
  transition: border-color .2s ease, background-color .2s ease;
}

.contact-page__field input {
  height: 46px;
  padding: 0 14px;
}

.contact-page__field textarea {
  min-height: 160px;
  padding: 12px 14px;
  line-height: 1.65;
  resize: vertical;
}

.contact-page__field input:focus,
.contact-page__field textarea:focus {
  border-color: #2caf4e;
  background: #fff;
}

.contact-page__form-footer {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.contact-page__form-footer .btn {
  flex: 0 0 auto;
}

.contact-page__form-footer p {
  max-width: 250px;
  margin: 0;
  color: #929292;
  font-size: 11px;
  line-height: 1.6;
  text-align: right;
}

.contact-page__form-footer a {
  color: #2caf4e;
}

.contact-page__form-footer a:hover {
  color: #292929;
}

@media screen and (max-width: 991px) {
  .contact-page__layout {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .contact-page__panel,
  .contact-page__form-card {
    padding: 42px;
  }
}

@media screen and (max-width: 575px) {
  .contact-page__section {
    padding: 45px 0;
  }

  .contact-page__panel,
  .contact-page__form-card {
    padding: 30px 22px;
  }

  .contact-page__panel-title {
    font-size: 27px;
  }

  .contact-page__form-header h2 {
    font-size: 24px;
  }

  .contact-page__field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-page__form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-page__form-footer .btn {
    width: 100%;
  }

  .contact-page__form-footer p {
    max-width: none;
    text-align: left;
  }
}
