/* ==========================================================================
   contact.css — Contact page
   www.aelabrak.com | v1.0
   ========================================================================== */

.section-eyebrow {
  display: block; font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-text-muted); margin-bottom: 12px;
}

.contact-hero {
  padding-top: calc(var(--nav-height-mobile) + 48px);
  padding-bottom: 80px;
  background: var(--color-bg);
  min-height: 80vh;
}

@media (min-width: 1024px) {
  .contact-hero { padding-top: calc(var(--nav-height-desktop) + 64px); }
}

.contact-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-hero-inner {
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
    align-items: start;
  }
}

.contact-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 12px 0 20px;
}

.contact-headline-accent { color: var(--color-bg-navy); }

.contact-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0 0 40px;
  max-width: 480px;
}

/* Channel cards */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-channel-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(13, 34, 64, 0.08);
  border-color: rgba(13, 34, 64, 0.2);
}

.contact-channel-card--primary {
  background: rgba(37, 211, 102, 0.06);
  border-color: rgba(37, 211, 102, 0.3);
}

.contact-channel-card--primary:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.5);
}

.contact-channel-card--location { cursor: default; }
.contact-channel-card--location:hover { transform: none; box-shadow: none; border-color: var(--color-border); }

.contact-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-cta-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel-icon--email { background: var(--color-bg-navy); }
.contact-channel-icon--loc { background: var(--color-highlight); }

.contact-channel-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.contact-channel-value {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.contact-channel-sub {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.contact-channel-arrow {
  margin-left: auto;
  color: var(--color-text-muted);
  font-size: 1.125rem;
  flex-shrink: 0;
}

/* Form card */
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 6px;
}

.contact-form-sub {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-required { color: var(--color-highlight); }

.form-input {
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder { color: var(--color-text-muted); opacity: 0.7; }
.form-input:focus {
  outline: none;
  border-color: var(--color-bg-navy);
  box-shadow: 0 0 0 3px rgba(13, 34, 64, 0.08);
  background: #ffffff;
}

.form-input.error { border-color: #e53e3e; }
.form-input.valid { border-color: var(--color-cta-primary); }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-error {
  font-size: 0.8125rem;
  color: #e53e3e;
  font-weight: 500;
  min-height: 18px;
}

.contact-form-submit { width: 100%; justify-content: center; }

/* Success / Error states */
.form-success {
  text-align: center;
  padding: 32px;
  background: rgba(37, 211, 102, 0.06);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 14px;
  margin-top: 8px;
}

.form-success-icon {
  width: 52px; height: 52px;
  background: var(--color-cta-primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.form-success-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.form-success-body {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.form-send-error {
  font-size: 0.9375rem;
  color: #e53e3e;
  background: rgba(229, 62, 62, 0.06);
  border: 1px solid rgba(229, 62, 62, 0.2);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 8px;
}

.form-send-error a { color: var(--color-cta-primary); }
