/* Edge Extensions – static-site additions (CTAs + enquiry form) */

/* ---------- Header CTA ---------- */
.bricks-nav-menu > li.ee-nav-cta > a {
  background: var(--primary, #435f7d);
  color: #fff !important;
  border-radius: 4px;
  padding: 0.55em 1.1em !important;
  margin-left: 0.5em;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.bricks-nav-menu > li.ee-nav-cta > a:hover,
.bricks-nav-menu > li.ee-nav-cta > a:focus-visible {
  background: var(--secondary, #eeb49a);
  color: var(--primary, #435f7d) !important;
}
.brx-offcanvas-inner .bricks-nav-menu > li.ee-nav-cta > a {
  display: inline-block;
  margin: 0.75em 0 0;
}

/* ---------- Shared button ---------- */
.ee-btn {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.7em 1.4em;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ee-btn--primary {
  background: var(--primary, #435f7d);
  color: #fff;
}
.ee-btn--primary:hover,
.ee-btn--primary:focus-visible {
  background: #34506a;
  color: #fff;
}
.ee-btn--peach {
  background: var(--secondary, #eeb49a);
  color: var(--primary, #435f7d);
}
.ee-btn--peach:hover,
.ee-btn--peach:focus-visible {
  background: #f5cbb8;
  color: var(--primary, #435f7d);
}
.ee-btn--outline {
  background: transparent;
  border-color: currentColor;
  color: #fff;
}
.ee-btn--outline:hover,
.ee-btn--outline:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---------- CTA band (before footer) ---------- */
.ee-cta {
  background: linear-gradient(135deg, var(--primary, #435f7d) 0%, #34506a 100%);
  color: #fff;
  padding: clamp(56px, 7vw, 96px) var(--space-m, 24px);
  text-align: center;
}
.ee-cta__inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.ee-cta__eyebrow {
  margin: 0;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary, #eeb49a);
}
.ee-cta__title {
  margin: 0;
  color: #fff !important;
  font-family: "Vogue", "Avenir", serif;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.1;
  text-transform: uppercase;
}
.ee-cta__text {
  margin: 0;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}
.ee-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}
.ee-cta__note {
  margin: 4px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Enquiry form ---------- */
.ee-enquiry {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
.ee-enquiry__intro {
  margin: 0 0 24px;
  font-size: 17px;
  text-align: center;
  line-height: 1.6;
}
.ee-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  font-size: 16px;
  width: 100%;
  margin: 0;
}
.ee-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.ee-form .form-group--full {
  grid-column: 1 / -1;
}
.ee-form label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--primary, #435f7d);
}
.ee-form input,
.ee-form select,
.ee-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd6de;
  border-radius: 4px;
  background: #fff;
  color: #222;
  font: inherit;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ee-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23435f7d' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.ee-form textarea {
  min-height: 140px;
  resize: vertical;
}
.ee-form input:focus,
.ee-form select:focus,
.ee-form textarea:focus {
  outline: none;
  border-color: var(--primary, #435f7d);
  box-shadow: 0 0 0 3px rgba(67, 95, 125, 0.18);
}
.ee-form ::placeholder {
  color: #8a949e;
}
.ee-form .ee-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ee-form .submit-button-wrapper {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.ee-form .submit-button-wrapper .ee-btn {
  min-width: 180px;
  position: relative;
}
.ee-form .submit-button-wrapper .ee-btn .loading {
  display: none;
  width: 1.1em;
  height: 1.1em;
}
.ee-form .submit-button-wrapper .ee-btn .loading svg {
  width: 100%;
  height: 100%;
  animation: ee-spin 1s linear infinite;
}
.ee-form.sending .submit-button-wrapper .ee-btn .loading {
  display: inline-block;
}
.ee-form.sending .submit-button-wrapper .ee-btn {
  opacity: 0.75;
  pointer-events: none;
}
.ee-form__status {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.2em;
  font-size: 15px;
  line-height: 1.5;
}
.ee-form__status.is-error {
  color: #b23b3b;
}
.ee-form__status.is-success {
  color: #2f7a4d;
}
.ee-form__privacy {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  color: #6b7580;
}
.ee-form__privacy a {
  color: var(--primary, #435f7d);
  text-decoration: underline;
}
@keyframes ee-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 640px) {
  .ee-form {
    grid-template-columns: 1fr;
  }
  .ee-form .submit-button-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .ee-form .submit-button-wrapper .ee-btn {
    width: 100%;
  }
  .ee-cta__actions .ee-btn {
    width: 100%;
  }
}

/* The pricing page form sits inside a text container – give it breathing room */
.ee-enquiry--pricing {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(67, 95, 125, 0.2);
}
.ee-enquiry--pricing .ee-enquiry__title {
  text-align: center;
  margin: 0 0 12px;
}
