/* ===== Section 09: FAQ + consultation form (Gravity Forms) ===== */

/* Elementor container (CSS class: landing-ff, Content Width: Full Width) */
.landing-ff {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) !important;
  gap: clamp(20px, 3vw, 40px) !important;
  align-items: start !important;
  direction: rtl;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--landing-white);
  padding-block: clamp(40px, 6vw, 88px) !important;
  padding-inline: max(var(--landing-gutter), calc((100% - var(--landing-wrap)) / 2 + var(--landing-gutter))) !important;
}
.landing-ff > .elementor-widget,
.landing-ff > .elementor-element {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
.landing-ff__form {
  position: sticky;
  top: 24px;
  align-self: start;
}

/* ----- FAQ ----- */
.landing-faq { color: var(--landing-text); direction: rtl; }
.landing-faq *,
.landing-faq *::before,
.landing-faq *::after { box-sizing: border-box; }

.landing-faq h2.landing-faq__heading {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem);
  font-weight: 800;
  line-height: 1.5;
  color: var(--landing-navy);
}

.landing-faq details.landing-faq__item {
  margin: 0 0 10px;
  background: var(--landing-gray);
  border-radius: 8px;
}
.landing-faq details.landing-faq__item[open] {
  box-shadow: inset 0 3px 0 var(--landing-yellow);
}

.landing-faq summary.landing-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  list-style: none;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--landing-navy);
}
.landing-faq summary.landing-faq__question::-webkit-details-marker { display: none; }
.landing-faq summary.landing-faq__question::marker { content: ""; }
.landing-faq summary.landing-faq__question::after {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  background-color: var(--landing-navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s ease;
}
.landing-faq details[open] > summary.landing-faq__question::after { transform: rotate(-90deg); }
.landing-faq summary.landing-faq__question:focus-visible {
  outline: 3px solid var(--landing-navy);
  outline-offset: -3px;
  border-radius: 8px;
}

.landing-faq .landing-faq__answer { padding: 0 20px 18px; }
.landing-faq .landing-faq__answer p {
  margin: 0;
  font-size: .9375rem;
  line-height: 2;
  color: var(--landing-text-soft);
}

/* ----- Gravity Forms card (form CSS class: landing-form) ----- */
.landing-ff__form .gform_wrapper,
.landing-ff__form .gform_confirmation_wrapper {
  direction: rtl;
  text-align: right;
  margin: 0 !important;
  padding: clamp(20px, 2.6vw, 30px) !important;
  background: var(--landing-navy) !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: var(--landing-white);
}
.landing-ff__form .gform_wrapper *,
.landing-ff__form .gform_wrapper *::before,
.landing-ff__form .gform_wrapper *::after { box-sizing: border-box; }

.landing-ff__form .gform_heading { margin: 0 0 18px !important; padding: 0 !important; }
.landing-ff__form .gform_wrapper h2.gform_title,
.landing-ff__form .gform_wrapper .gform_title {
  margin: 0 0 6px !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  color: var(--landing-white) !important;
}
.landing-ff__form .gform_wrapper .gform_description {
  margin: 0 !important;
  font-size: .875rem !important;
  line-height: 1.8 !important;
  color: rgba(255, 255, 255, .75) !important;
}
.landing-ff__form .gform_wrapper .gform_required_legend { display: none !important; }

.landing-ff__form .gform_wrapper .gform_fields {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.landing-ff__form .gform_wrapper .gfield {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  min-width: 0;
}

/* labels + required mark (English "(Required)" text is replaced by a yellow star) */
.landing-ff__form .gform_wrapper label.gfield_label,
.landing-ff__form .gform_wrapper legend.gfield_label {
  display: block !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-size: .8125rem !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, .92) !important;
}
.landing-ff__form .gform_wrapper .gfield_label > .gfield_required {
  font-size: 0 !important;
  color: transparent !important;
}
.landing-ff__form .gform_wrapper .gfield_label > .gfield_required::after {
  content: "*";
  margin-inline-start: 4px;
  font-size: 1rem;
  color: var(--landing-yellow);
}

/* fields */
.landing-ff__form .gform_wrapper input[type="text"],
.landing-ff__form .gform_wrapper input[type="tel"],
.landing-ff__form .gform_wrapper input[type="email"],
.landing-ff__form .gform_wrapper input[type="number"],
.landing-ff__form .gform_wrapper select,
.landing-ff__form .gform_wrapper textarea {
  width: 100% !important;
  max-width: 100% !important;
  inline-size: 100% !important;
  height: 48px !important;
  padding: 0 14px !important;
  background: var(--landing-white) !important;
  border: 2px solid transparent !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: var(--landing-navy) !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.landing-ff__form .gform_wrapper input[type="tel"] { direction: ltr; text-align: right; }
.landing-ff__form .gform_wrapper input:focus,
.landing-ff__form .gform_wrapper select:focus,
.landing-ff__form .gform_wrapper textarea:focus {
  outline: none !important;
  border-color: var(--landing-yellow) !important;
  box-shadow: 0 0 0 3px rgba(255, 195, 29, .35) !important;
}

/* request type: radio buttons shown as pills */
.landing-ff__form .gform_wrapper fieldset.gfield { min-inline-size: 0; }
.landing-ff__form .gform_wrapper .gfield_radio {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.landing-ff__form .gform_wrapper .gchoice {
  position: relative;
  display: block !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.landing-ff__form .gform_wrapper .gchoice input[type="radio"] {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  opacity: 0 !important;
  cursor: pointer;
}
.landing-ff__form .gform_wrapper .gchoice label {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 9px 16px !important;
  border: 1.5px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  color: var(--landing-white) !important;
  font-size: .875rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.landing-ff__form .gform_wrapper .gchoice label::before,
.landing-ff__form .gform_wrapper .gchoice label::after { display: none !important; }
.landing-ff__form .gform_wrapper .gchoice input[type="radio"]:checked + label {
  background: var(--landing-yellow);
  border-color: var(--landing-yellow);
  color: var(--landing-navy) !important;
}
.landing-ff__form .gform_wrapper .gchoice input[type="radio"]:focus-visible + label {
  outline: 3px solid var(--landing-white);
  outline-offset: 2px;
}

/* submit */
.landing-ff__form .gform_wrapper .gform_footer,
.landing-ff__form .gform_wrapper .gform-footer {
  margin: 20px 0 0 !important;
  padding: 0 !important;
  justify-content: flex-start;
}
.landing-ff__form .gform_wrapper .gform_button,
.landing-ff__form .gform_wrapper input[type="submit"] {
  width: 100% !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  background: var(--landing-yellow) !important;
  border: 2px solid var(--landing-yellow) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: var(--landing-navy) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.landing-ff__form .gform_wrapper .gform_button:hover,
.landing-ff__form .gform_wrapper .gform_button:focus-visible,
.landing-ff__form .gform_wrapper input[type="submit"]:hover,
.landing-ff__form .gform_wrapper input[type="submit"]:focus-visible {
  background: var(--landing-white) !important;
  border-color: var(--landing-white) !important;
  color: var(--landing-navy) !important;
}
.landing-ff__form .gform_wrapper .gform_button:focus-visible,
.landing-ff__form .gform_wrapper input[type="submit"]:focus-visible {
  outline: 3px solid var(--landing-yellow) !important;
  outline-offset: 3px !important;
}

/* validation */
.landing-ff__form .gform_wrapper .gform_validation_errors {
  margin: 0 0 16px !important;
  padding: 10px 14px !important;
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(255, 180, 168, .7) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: #ffb4a8 !important;
  font-size: .875rem !important;
}
.landing-ff__form .gform_wrapper .gform_validation_errors h2,
.landing-ff__form .gform_wrapper .gform_validation_errors .gform_submission_error {
  margin: 0 !important;
  font-size: .9375rem !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
  color: #ffb4a8 !important;
}
.landing-ff__form .gform_wrapper .gform_validation_errors .gform-icon { display: none !important; }
.landing-ff__form .gform_wrapper .gfield_error input,
.landing-ff__form .gform_wrapper .gfield_error select,
.landing-ff__form .gform_wrapper .gfield_error textarea { border-color: #ffb4a8 !important; }
.landing-ff__form .gform_wrapper .gfield_validation_message,
.landing-ff__form .gform_wrapper .validation_message {
  margin: 6px 0 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  font-size: .8125rem !important;
  line-height: 1.7 !important;
  color: #ffb4a8 !important;
}

/* confirmation */
.landing-ff__form .gform_confirmation_message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 !important;
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  line-height: 1.9 !important;
  color: var(--landing-white) !important;
}
.landing-ff__form .gform_confirmation_message::before {
  content: "\2713";
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--landing-yellow);
  color: var(--landing-navy);
  font-size: 1rem;
  font-weight: 800;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .landing-ff { grid-template-columns: minmax(0, 1fr) !important; }
  .landing-ff__form { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-faq summary.landing-faq__question::after,
  .landing-ff__form .gform_wrapper input,
  .landing-ff__form .gform_wrapper .gchoice label,
  .landing-ff__form .gform_wrapper .gform_button { transition: none; }
}
