/* Become verified — footer expand form (shared across site) */

.verify-wrap {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.35s ease,
    margin 0.4s ease;
}

.verify-wrap.is-open {
  max-height: 920px;
  opacity: 1;
  margin-top: 36px;
}

.verify-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--ink, #030712);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
  background: linear-gradient(
    152deg,
    #ffffff 0%,
    #eef0fb 32%,
    #e8f7fc 68%,
    #f8fbff 100%
  );
  border: 1px solid rgba(37, 47, 199, 0.14);
  box-shadow:
    0 24px 48px -20px rgba(14, 18, 79, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.verify-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(85% 70% at 0% 100%, rgba(37, 47, 199, 0.1) 0%, transparent 58%),
    radial-gradient(65% 55% at 100% 0%, rgba(0, 210, 255, 0.16) 0%, transparent 52%);
  z-index: 0;
}

.verify-card > * {
  position: relative;
  z-index: 1;
}

/* Display title — single line on typical viewports */
.verify-card h3,
.verify-card .verify-card__title {
  font-family: "Urbanist", system-ui, sans-serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
  max-width: none;
  white-space: nowrap;
  background: linear-gradient(100deg, #0e124f 0%, #252fc7 52%, #0088b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.verify-card .vc-sub {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--n5, #4c4c4c);
  margin: 0 0 28px;
  max-width: 52ch;
}

.verify-form.contact-cue-form {
  gap: 0;
}

.verify-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
  margin-bottom: 28px;
}

@media (max-width: 640px) {
  .verify-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .verify-card h3,
  .verify-card .verify-card__title {
    white-space: normal;
    font-size: clamp(20px, 5.5vw, 28px);
  }
}

.verify-field-full {
  grid-column: 1 / -1;
}

.verify-card .contact-cue-field label {
  color: var(--ink, #030712);
}

.verify-card .contact-cue-field input,
.verify-card .contact-cue-field textarea {
  border-bottom-color: rgba(3, 7, 18, 0.22);
  color: var(--ink, #030712);
  background: transparent;
}

.verify-card .contact-cue-field input::placeholder,
.verify-card .contact-cue-field textarea::placeholder {
  color: #b8b8b8;
}

.verify-card .contact-cue-field input:focus,
.verify-card .contact-cue-field textarea:focus {
  border-bottom-color: var(--blue, #252fc7);
}

.verify-card .contact-cue-field textarea {
  min-height: 96px;
}

/* Full gradient CTA (not flat Contact override) */
.verify-card .contact-cue-submit.btn-gradient {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  padding: 16px 28px;
  min-height: 52px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--n0, #fff);
  border: none;
  border-radius: var(--radius, 12px);
  box-shadow: 0 10px 28px -10px rgba(14, 18, 79, 0.45);
  background-color: #1a228f;
  background-image: linear-gradient(
    135deg,
    #0e124f 0%,
    #252fc7 42%,
    #00a8d4 100%
  );
  background-size: 100% 100%;
  background-position: 50% 50%;
}

.verify-card .contact-cue-submit.btn-gradient:hover {
  animation: none;
  filter: brightness(1.08);
  box-shadow: 0 14px 32px -10px rgba(14, 18, 79, 0.55);
  background-image: linear-gradient(
    135deg,
    #141a6b 0%,
    #1d259f 38%,
    #00b8e6 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .verify-card .contact-cue-submit.btn-gradient:hover {
    filter: brightness(1.06);
  }
}

.verify-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, rgba(238, 240, 251, 0.95) 0%, rgba(232, 247, 252, 0.95) 100%);
  border: 1px solid rgba(37, 47, 199, 0.18);
  border-radius: 16px;
  padding: 22px 24px;
  color: var(--ink, #030712);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.verify-success.is-shown {
  display: flex;
}

.verify-success .vs-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--cyan, #00d2ff);
  color: var(--ink, #030712);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.verify-success strong {
  display: block;
  font-family: "Urbanist", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink, #030712);
}

.verify-success-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--n5, #4c4c4c);
}

html[lang="ar"] .verify-card h3,
html[lang="ar"] .verify-card .verify-card__title,
html[lang="ar"] .verify-success strong {
  font-family: "Tajawal", system-ui, sans-serif;
  font-weight: 800;
}

html[lang="ar"] .verify-card .vc-sub,
html[lang="ar"] .verify-card .contact-cue-field label,
html[lang="ar"] .verify-card .contact-cue-field input,
html[lang="ar"] .verify-card .contact-cue-field textarea {
  font-family: "Tajawal", system-ui, sans-serif;
}
