/* ========== CONTACT PAGE ========== */

/* Hero — transparent so the shader background shows through,
   matching index/services/packages. */
.ios-hero.contact-hero {
  background: transparent;
}

/* Netlify honeypot — MUST be hidden from real users.
   Without this the "Do not fill this in" field renders on the page. */
.hidden-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Form card (purple glass) ---------- */
.ios-form-card {
  background: linear-gradient(135deg, rgba(40, 10, 80, 0.7) 0%, rgba(15, 5, 40, 0.5) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(120, 50, 200, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 0 rgba(180, 100, 255, 0.2);
}

.ios-form-section {
  padding: var(--card-pad-y) var(--card-pad-x);
  border-bottom: 0.5px solid rgba(120, 50, 200, 0.2);
}

.ios-form-section:last-child {
  border-bottom: none;
}

.ios-form-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: #fff;
}

.ios-form-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.ios-field {
  margin-bottom: var(--space-4);
}

.ios-field:last-child {
  margin-bottom: 0;
}

.ios-field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(233, 213, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

/* Shared field styling. font-size 16px+ prevents iOS Safari
   from auto-zooming the viewport on focus. */
.ios-field-input,
.ios-field-textarea {
  width: 100%;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid rgba(120, 50, 200, 0.3);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-family: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}

.ios-field-textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}

.ios-field-input:hover,
.ios-field-textarea:hover {
  border-color: rgba(168, 85, 247, 0.45);
}

.ios-field-input:focus,
.ios-field-textarea:focus {
  border-color: #a855f7;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.22);
}

.ios-field-input::placeholder,
.ios-field-textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

/* Invalid state — only after the user has interacted, so the form
   doesn't look broken on first load. */
.ios-field-input:user-invalid,
.ios-field-textarea:user-invalid {
  border-color: #ff453a;
  box-shadow: 0 0 0 3px rgba(255, 69, 58, 0.18);
}

/* Autofill: Chrome forces a white/yellow inset background otherwise. */
.ios-field-input:-webkit-autofill,
.ios-field-textarea:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px rgba(45, 15, 85, 0.95) inset;
  caret-color: #fff;
}

/* Select — custom purple chevron, replaces the inline style */
select.ios-field-input {
  cursor: pointer;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23c084fc' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* The dropdown list itself is OS-rendered — needs dark colours
   explicitly or options render white-on-white on Windows. */
select.ios-field-input option {
  background: #1a0733;
  color: #fff;
}

/* ---------- Consent ---------- */
.ios-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--space-5);
  cursor: pointer;
}

.ios-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0;
  accent-color: #a855f7;
  cursor: pointer;
}

.ios-consent span {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
}

/* ---------- Info list ("What happens next") ---------- */
.ios-info-list {
  background: linear-gradient(135deg, rgba(40, 10, 80, 0.6) 0%, rgba(15, 5, 40, 0.4) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(120, 50, 200, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.ios-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-inline);
  padding: var(--row-pad-y) var(--row-pad-x);
  border-bottom: 0.5px solid rgba(120, 50, 200, 0.18);
}

.ios-info-item:last-child {
  border-bottom: none;
}

.ios-info-item .info-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(120, 50, 200, 0.4) 0%, rgba(80, 20, 150, 0.3) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(120, 50, 200, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

.ios-info-item .info-content {
  flex: 1;
  min-width: 0;
}

.ios-info-item .info-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
  color: #fff;
}

.ios-info-item .info-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.45;
}

/* ---------- Alert ---------- */
.ios-alert {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-inline);
  padding: var(--row-pad-y) var(--row-pad-x);
  background: linear-gradient(135deg, rgba(52, 199, 89, 0.14) 0%, rgba(40, 10, 80, 0.4) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(52, 199, 89, 0.3);
  border-radius: var(--radius-md);
}

.ios-alert .alert-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green, #34C759);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.ios-alert .alert-content {
  flex: 1;
  min-width: 0;
}

.ios-alert .alert-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
  color: #fff;
}

.ios-alert .alert-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.45;
}

/* ---------- Form status message ---------- */
.form-status {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.45;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  display: none;
}

.form-status.is-error {
  display: block;
  color: #ffb4ae;
  background: rgba(255, 69, 58, 0.12);
  border: 1px solid rgba(255, 69, 58, 0.35);
}

/* ---------- Responsive ---------- */
/* Padding scales automatically via --card-pad-* / --row-pad-* tokens. */
