/* ============================================================================
   AWPS — Contact page: the mint info card and the enquiry form panel.

   Ported from css/style.css §915-992 (`.contact-grid`, `.info-card`, `.form-panel`,
   `.contact-form`). Elementor supplies the two columns and the form widget; everything
   here is the shape the source gives them — the mint panel, the circled icons, the
   off-white form card and its 12px-radius fields.

   Colours alias the Elementor globals, as the rest of the theme does.
   ============================================================================ */

/* ------------------------------------------------------------- info card -- */

.awps-info-card {
  background: var(--awps-mint, #EDF7EE);
  border-radius: var(--awps-radius, 18px);
  padding: 40px 36px;
}

/* `.info-card li { display:flex; gap:16px; margin-bottom:26px }` — the icon-box widget
   already lays the icon beside the text, so this is the row rhythm and the gap.

   These carry a `.elementor-element` step purely for weight: Elementor's own per-element
   CSS lands at (0,3,0) and a two-class selector loses to it regardless of load order. */
.awps-info-card .elementor-element.awps-info-item { margin-bottom: 26px; }
.awps-info-card .elementor-element.awps-info-item:last-of-type { margin-bottom: 0; }

.awps-info-card .awps-info-item .elementor-icon-box-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

/* `.info-card .ic` — a 50px white disc with the icon centred in brand green. */
.awps-info-item .elementor-icon-box-icon {
  flex: 0 0 50px;
  margin: 0 !important;
}
.awps-info-item .elementor-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  color: var(--awps-green, #3FA535);
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: var(--awps-shadow, 0 10px 40px rgba(20, 70, 60, .12));
}

.awps-info-item .elementor-icon-box-content { flex: 1 1 auto; }

/* `.info-card h4 { font-size: 16px }` on the shared Manrope 800 heading — typography.css
   puts h4 at 17px, so this needs the extra class to win. */
.awps-info-card .awps-info-item .elementor-icon-box-title,
.awps-info-card .awps-info-item .elementor-icon-box-title a {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
  color: var(--awps-deep, #14463C);
  margin: 0;
}
.awps-info-card .awps-info-item .elementor-icon-box-description,
.awps-info-card .awps-info-item .elementor-icon-box-description p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--awps-body, #5E6D67);
  margin: 0;
}
.awps-info-item .elementor-icon-box-description a { color: inherit; text-decoration: none; }
.awps-info-item .elementor-icon-box-description a:hover { color: var(--awps-green, #3FA535); }

/* `.whatsapp-btn` is the deep teal pill, not WhatsApp green. */
.awps-info-card .awps-wa-btn { margin-top: 30px; }
.awps-info-card .awps-wa-btn .elementor-button {
  background-color: var(--awps-deep, #14463C);
  background-image: none;
  border-radius: 40px;
  padding: 13px 24px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.75;
  color: #fff;
}
.awps-info-card .awps-wa-btn .elementor-button:hover {
  background-color: var(--awps-green, #3FA535);
}

/* ------------------------------------------------------------ form panel -- */

.awps-form-panel {
  background: #f7f9f7;
  border: 1px solid var(--awps-mint2, #E2F1E4);
  border-radius: var(--awps-radius, 18px);
  padding: 34px 34px 38px;
  box-shadow: var(--awps-shadow, 0 10px 40px rgba(20, 70, 60, .12));
}

.awps-form-panel-title .elementor-heading-title {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.25;
  color: var(--awps-deep, #14463C);
}

/* The form's gaps, label type, field type, borders and radii are set on the widget's own
   controls in _migration/pages.php — Elementor emits those at (0,3,0) and a stylesheet
   rule cannot reliably outrank them. Only the things it has no control for live here:
   the field padding, the required-marker colour, the focus ring and the gradient submit.

   `.contact-form input { padding: 15px 18px }` */
.awps-enquiry-form .elementor-field-textual {
  padding: 15px 18px;
  line-height: 1.75;
  box-shadow: none;
  outline: none;
  transition: border-color .3s;
}
.awps-enquiry-form .elementor-field-textual:focus {
  border-color: var(--awps-green, #3FA535);
  box-shadow: none;
}
/* `.contact-form .req { color: #d1553f }` — Elementor prints the asterisk itself. */
.awps-enquiry-form .elementor-mark-required .elementor-field-label:after { color: #d1553f; }
.awps-enquiry-form .elementor-field-textual::placeholder { color: #9aa8a0; opacity: 1; }
/* The country select shows its prompt in the placeholder grey until a real choice is
   made, matching `.contact-form select:invalid` in the source. */
.awps-enquiry-form select.elementor-field-textual:invalid { color: #9aa8a0; }
.awps-enquiry-form textarea.elementor-field-textual { min-height: 150px; resize: vertical; }

/* `.btn` — the gradient pill. Size, radius and type come from the widget's controls;
   only the gradient has to be here, because the button background control is a flat
   colour. */
.awps-enquiry-form .elementor-button[type="submit"] {
  background-image: linear-gradient(135deg, var(--awps-green, #3FA535) 0%, var(--awps-lime, #A9CE3B) 100%);
  border: 0;
  line-height: 1.75;
}

/* ---------------------------------------------------------------- mobile -- */
/* `@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr } }` and
   `@media (max-width: 640px) { .form-panel { padding: 26px 20px 30px } }`. */
@media (max-width: 900px) {
  .awps-info-card { padding: 34px 26px; }
}
@media (max-width: 640px) {
  .awps-form-panel { padding: 26px 20px 30px; }
  /* .contact-form drops to a single column below 640. */
  .awps-enquiry-form .elementor-field-group { width: 100% !important; }
}
