/* AJYAL — contact page form (design-system aligned) */

.ajyal-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (width >= 1024px) {
  .ajyal-contact {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .ajyal-contact__aside {
    grid-column: span 5;
  }

  .ajyal-contact__main {
    grid-column: span 7;
  }
}

.ajyal-contact__direct {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 2rem 0 0;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: var(--color-navy-800);
  color: #fff;
  box-shadow: var(--shadow-md);
  list-style: none;
}

.ajyal-contact__direct .footer-contact-item {
  margin-inline: 0;
}

.ajyal-contact__meta {
  color: rgba(255, 255, 255, 0.55);
}

.ajyal-contact__panel {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}

@media (width >= 768px) {
  .ajyal-contact__panel {
    padding: 2rem 2.25rem;
  }
}

.ajyal-contact__panel::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-primary-500),
    var(--color-navy-800)
  );
}

.ajyal-contact__header {
  margin-bottom: 1.5rem;
}

.ajyal-contact__eyebrow {
  color: var(--color-primary-500);
}

.ajyal-contact__intro {
  margin-top: 0.5rem;
  color: #525252;
  font-size: 0.95rem;
  line-height: 1.6;
}

.ajyal-contact__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (width >= 768px) {
  .ajyal-contact__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ajyal-contact__field--full {
    grid-column: span 2;
  }
}

.ajyal-contact__field {
  display: grid;
  gap: 0.5rem;
  color: var(--color-navy-800);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: start;
}

.ajyal-contact__field .input,
.ajyal-contact__field textarea.input,
.ajyal-contact__field select.input {
  width: 100%;
  min-height: 3rem;
  font-weight: 400;
  color: var(--color-neutral-800, #262626);
  text-align: start;
}

.ajyal-contact__field .input[dir="ltr"],
.ajyal-contact__field textarea.input[dir="ltr"] {
  text-align: start;
  unicode-bidi: isolate;
}

.ajyal-contact__field textarea.input {
  min-height: 9rem;
  resize: vertical;
  line-height: 1.55;
}

.ajyal-contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.ajyal-contact__status {
  color: #525252;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.ajyal-contact__status:not(:empty) {
  color: var(--color-navy-800);
}
