/* ============================================================
   MEILS – CUSTOMS INQUIRY PAGE
============================================================ */

/* Hero */
.ci-hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-mid) 55%, #1a8080 100%);
  padding: 100px 48px 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; min-height: 220px; position: relative; overflow: hidden;
}
.ci-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(62,201,110,.12) 0%, transparent 60%);
}
.ci-hero-content { position: relative; z-index: 1; }
.ci-hero-content h1 { font-size: 2.2rem; font-weight: 800; color: #fff; margin: 12px 0 10px; }
.ci-hero-content p  { color: rgba(255,255,255,.8); font-size: .95rem; max-width: 500px; line-height: 1.65; }
.ci-hero-icon {
  font-size: 6rem; color: rgba(255,255,255,.08);
  position: absolute; right: 80px; top: 50%; transform: translateY(-50%);
}

/* Main */
.ci-main { background: var(--gray-bg); padding: 48px 0 72px; }
.ci-container { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* Steps */
.ci-steps {
  display: flex; align-items: flex-start; gap: 8px;
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--gray-border);
  padding: 24px 28px; margin-bottom: 28px; flex-wrap: wrap;
}
.ci-step { display: flex; align-items: flex-start; gap: 14px; flex: 1; min-width: 160px; }
.ci-step-num {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal-mid); color: #fff;
  font-size: .8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.ci-step strong { font-size: .84rem; font-weight: 700; color: var(--text-dark); display: block; margin-bottom: 3px; }
.ci-step p      { font-size: .76rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
.ci-step-arrow  { color: var(--gray-border); font-size: .9rem; padding-top: 6px; flex-shrink: 0; }

/* Card */
.ci-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow); padding: 36px 40px;
}

/* Form header */
.ci-form-header { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--gray-border); }
.ci-form-header h2 { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.ci-form-header p  { font-size: .84rem; color: var(--text-muted); line-height: 1.6; }

/* Fields */
.ci-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.ci-field label { font-size: .82rem; font-weight: 600; color: var(--text-dark); }
.ci-field .req  { color: #e53e3e; }

.ci-field textarea,
.ci-field input[type="text"],
.ci-field input[type="email"],
.ci-field input[type="tel"] {
  width: 100%; border: 1.5px solid var(--gray-border); border-radius: 10px;
  padding: 11px 14px; font-family: inherit; font-size: .85rem;
  color: var(--text-dark); background: #fff;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.ci-field textarea:focus,
.ci-field input:focus {
  outline: none; border-color: var(--teal-mid);
  box-shadow: 0 0 0 3px rgba(15,94,94,.1);
}
.ci-field textarea.error,
.ci-field input.error { border-color: #e53e3e; }

.ci-char-count { font-size: .72rem; color: var(--text-muted); text-align: right; }

/* Service type radio cards */
.ci-service-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ci-svc-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 14px 10px; border-radius: 10px;
  border: 1.5px solid var(--gray-border);
  cursor: pointer; text-align: center;
  font-size: .78rem; font-weight: 600; color: var(--text-muted);
  transition: border-color .2s, background .2s, color .2s;
}
.ci-svc-card:hover { border-color: var(--teal-mid); color: var(--teal-mid); }
.ci-svc-card input { display: none; }
.ci-svc-card i { font-size: 1.2rem; }
.ci-svc-card:has(input:checked) {
  border-color: var(--teal-mid); background: rgba(15,94,94,.06); color: var(--teal-mid);
}

/* Grid 2 col */
.ci-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }

/* Submit */
.ci-submit-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.ci-submit-btn {
  padding: 13px 32px; border-radius: 10px; border: none;
  background: var(--cta-orange); color: #fff;
  font-family: inherit; font-size: .9rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; gap: 9px;
  transition: background .2s, transform .15s;
}
.ci-submit-btn:hover   { background: #e07800; transform: translateY(-1px); }
.ci-submit-btn.loading { opacity: .7; pointer-events: none; }
.ci-privacy { font-size: .72rem; color: var(--text-muted); line-height: 1.5; }
.ci-privacy a { color: var(--teal-mid); text-decoration: none; }

/* Success */
.ci-success {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; text-align: center; padding: 48px 24px;
}
.ci-success.hidden { display: none; }
.ci-success-icon i { font-size: 4rem; color: var(--green); }
.ci-success h2 { font-size: 1.4rem; font-weight: 800; color: var(--text-dark); }
.ci-success p  { font-size: .88rem; color: var(--text-muted); max-width: 380px; line-height: 1.7; }
.ci-back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 10px;
  background: var(--teal-mid); color: #fff;
  font-size: .84rem; font-weight: 700; text-decoration: none;
  transition: background .2s;
}
.ci-back-btn:hover { background: var(--teal-dark); }

/* Responsive */
@media (max-width: 768px) {
  .ci-hero { padding: 100px 24px 48px; flex-direction: column; }
  .ci-hero-icon { display: none; }
  .ci-card { padding: 24px 20px; }
  .ci-grid-2 { grid-template-columns: 1fr; }
  .ci-service-cards { grid-template-columns: repeat(2, 1fr); }
  .ci-steps { gap: 16px; }
  .ci-step-arrow { display: none; }
  .ci-submit-row { flex-direction: column; align-items: flex-start; }
}
