/* Base Grid */
.grid{ display:grid; gap:20px }
.grid-2,.grid-3{ grid-template-columns:1fr }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns:repeat(2,1fr) }
  .grid-3 { grid-template-columns:repeat(2,1fr) }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns:repeat(3,1fr) }
}

.cta-button {
  cursor: pointer;
  background: var(--dark);
  color: #fff;
}

.cta-button.submit {
  font-weight: 700;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  color: black;
}

.popup-overlay.active {
  display: flex;
}

.popup {
  position: relative;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  width: 50%;
  max-width: 640px;
  overflow: hidden;
}

.popup h2 {
  margin-bottom: 40px;
}

.popup-close {
  cursor: pointer;
  float: right;
  font-size: 32px;
  position: absolute;
  top: 8px;
  right: 16px;
}

#signup-popup .af-form-wrapper {
  margin-top: 20px;
}

#signup-popup .af-element label {
  display: block;
  text-align: left;
  font-weight: 600;
  margin-bottom: 5px !important;
}

#signup-popup .af-element input {
  font-family: 'Libre Franklin', sans-serif;
  width: 100%;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

@media only screen and (max-width: 1024px) {
  .popup {
    width: 85%;
    padding: 1rem;
  }
}

.phone-wrapper .iti {
  width: 100%;
}

.iti__country-container #iti-0__search-input {
  padding-left: 40px !important;
}