/* ============================================================
   site.css — Escarole supplemental styles
   Handles mobile nav toggle + form feedback states.
   Works alongside the existing escarole.webflow.css
   ============================================================ */

/* ----------------------------------------------------------
   FORM BASE STYLES
   (replaces the webflow.css w-input / w-form rules that
   were lost when the site was exported from Webflow)
   ---------------------------------------------------------- */

.contact-form_component form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.contact-form_component label {
  display: block;
  width: 100%;
  margin-bottom: .25rem;
  color: var(--green-25);
  font-weight: 500;
}

.contact_text-field {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: .5rem 1.25rem;
  color: var(--green-25);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s ease;
}

.contact_text-field:focus {
  border-color: var(--main-green);
}

.contact_text-field.text-area {
  resize: vertical;
  min-height: 7rem;
}

.f-field-wrapper {
  display: block;
  width: 100%;
}

.btn-wrapper {
  width: 100%;
}

.button.is-form-submit {
  display: block;
  width: 100%;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

/* ----------------------------------------------------------
   BEANS SECTION — centered button
   ---------------------------------------------------------- */
.section_beans .btn-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ----------------------------------------------------------
   MOBILE NAV TOGGLE BUTTON
   ---------------------------------------------------------- */

.spark-simple-menu-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.spark-simple-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--green-25, #99ffda);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Animate to X when open */
.spark-simple-menu-button.nav-open .spark-line-1 {
  transform: translateY(9px) rotate(45deg);
}
.spark-simple-menu-button.nav-open .spark-line-2 {
  opacity: 0;
}
.spark-simple-menu-button.nav-open .spark-line-3 {
  transform: translateY(-9px) rotate(-45deg);
}

/* ----------------------------------------------------------
   MOBILE NAV MENU OPEN STATE
   ---------------------------------------------------------- */

@media screen and (max-width: 991px) {
  .spark-simple-menu-button {
    display: flex;
  }

  .spark-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 1.25rem;
    right: 1.25rem;
    z-index: 999;
    flex-direction: column;
    padding: 1rem 1.5rem;
    border-radius: 32px;
  }

  .spark-nav-menu.nav-open {
    display: flex;
  }
}

/* Keep nav menu visible on desktop */
@media screen and (min-width: 992px) {
  .spark-nav-menu {
    display: flex !important;
  }
  .spark-simple-menu-button {
    display: none !important;
  }
}

/* ----------------------------------------------------------
   FORM SUCCESS / ERROR MESSAGES
   ---------------------------------------------------------- */

.success-message {
  background-color: var(--green-0);
  border-radius: 1rem;
  color: var(--main-teal);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.error-message {
  color: #ffb4b4;
  background-color: transparent;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* ----------------------------------------------------------
   SUBMIT BUTTON DISABLED STATE
   ---------------------------------------------------------- */

.button.is-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ----------------------------------------------------------
   NAV POSITIONING FIX
   (ensures nav wrapper is relative for dropdown positioning)
   ---------------------------------------------------------- */

.rounded-edge-nav-bar-inner {
  position: relative;
}

/* ----------------------------------------------------------
   BEANS SECTION — center the button across all columns
   ---------------------------------------------------------- */

.section_beans .content-component {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section_beans .content-header {
  width: 100%;
  text-align: center;
  align-items: center;
}

.section_beans .content_features-wrapper {
  width: 100%;
}
