/* Custom small utilities + component classes (plain CSS, no Tailwind @apply) */
.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 200ms ease;
}
.nav-link:hover { color: #ffffff; }

.mobile-link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  transition: background-color 200ms ease;
}
.mobile-link:hover { background-color: rgba(255, 255, 255, 0.05); }

.mobile-cta {
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  border-radius: 0.5rem;
  background-color: #33a483; /* primary-500 */
  padding: 0.5rem 1rem;
  font-weight: 600;
  transition: background-color 200ms ease;
}
.mobile-cta:hover { background-color: #4fb596; /* primary-400 */ }

.label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.input {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(15, 23, 42, 0.6); /* ink/60 */
  padding: 0.5rem 0.75rem;
  outline: none;
  color: #ffffff;
  transition: border-color 200ms ease;
}
.input:focus { border-color: #4fb596; /* primary-400 */ }

.card {
  border-radius: 1rem; /* 16px rounded-2xl */
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08); /* shadow-soft */
}

.card-title { margin-top: 1rem; font-size: 1.125rem; font-weight: 600; }
.card-text { margin-top: 0.5rem; color: rgba(255, 255, 255, 0.8); }

.icon-wrap {
  display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center;
  border-radius: 0.75rem; background-color: rgba(51, 164, 131, 0.15); color: #9fe3cf; /* primary-300 */
}
.icon { width: 24px; height: 24px; }

.property-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
}

.property-img { height: 11rem; width: 100%; background-size: cover; background-position: center; }
.property-photo { height: 11rem; width: 100%; object-fit: cover; object-position: center; display: block; border-bottom: 1px solid rgba(255,255,255,0.06); }

.badge {
  display: inline-flex; align-items: center; border-radius: 0.375rem; /* md */
  background-color: rgba(51, 164, 131, 0.15); color: #9fe3cf; padding: 0.25rem 0.5rem;
}

.step {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
}
.step-number {
  display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center;
  border-radius: 9999px; background-color: rgba(51, 164, 131, 0.2); color: #9fe3cf; font-weight: 700;
}
.step-title { margin-top: 0.75rem; font-size: 1.125rem; font-weight: 600; }

.check {
  display: inline-flex; width: 1.25rem; height: 1.25rem; align-items: center; justify-content: center;
  border-radius: 9999px; background-color: rgba(51, 164, 131, 0.2); color: #9fe3cf; font-size: 0.75rem;
}

/* Fancy gradients for portfolio placeholders */
.gradient-a { background-image: linear-gradient(135deg, #33a483 0%, #184f42 100%); }
.gradient-b { background-image: linear-gradient(135deg, #7fd0b3 0%, #1b6d59 100%); }
.gradient-c { background-image: linear-gradient(135deg, #4fb596 0%, #123b33 100%); }

/* Smooth scroll behavior for anchor links as a native fallback */
html { scroll-behavior: smooth; }

/* Gallery helpers */
.gallery-img { width: 100%; height: 100%; object-fit: cover; border-radius: 0.75rem; display: block; }

/* Toast notifications */
.toast-container {
  position: fixed; inset: 0 auto auto 0; right: 1rem; top: 1rem; z-index: 1000;
  display: grid; gap: 0.5rem; justify-items: end;
}
.toast {
  display: grid; grid-auto-flow: column; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; border-radius: 0.75rem;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff; box-shadow: 0 10px 30px rgba(2,6,23,0.25);
}
.toast__icon { width: 22px; height: 22px; }
.toast--success { border-color: rgba(51, 164, 131, 0.5); }
.toast--error { border-color: rgba(239, 68, 68, 0.5); }
.toast__close { cursor: pointer; opacity: 0.7; }
.toast__close:hover { opacity: 1; }

/* Button loading state */
.is-loading { position: relative; pointer-events: none; opacity: 0.8; }
.is-loading::after {
  content: ""; width: 16px; height: 16px; border-radius: 9999px;
  border: 2px solid rgba(255,255,255,0.6); border-top-color: transparent;
  display: inline-block; margin-left: 8px; animation: spin 0.8s linear infinite; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
