/* Contact page — requires index-styles.css */

/* Bot prevention: page hidden until JS timer fires */
#content { display: none; }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-lt) 100%);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.025) 80px),
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.025) 80px);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 20px; max-width: none; }
.page-hero > .container > p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin: 0 auto; max-width: 54ch; }

/* ── CONTACT SECTION ── */
.contact-section { background: var(--off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

/* ── FORM ── */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-wrap h2 { color: var(--navy); margin-bottom: 8px; }

.form-intro {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
  max-width: none;
  line-height: 1.7;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-field label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.required { color: var(--orange); }

.form-field input[type="text"],
.form-field input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}
.form-field input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,98,10,0.12);
  background: var(--white);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  font-size: 1rem;
  padding: 14px 28px;
}
.btn-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* ── ASIDE CARDS ── */
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
}
.contact-card-support { border-left-color: var(--steel); }

.contact-card-icon {
  width: 40px;
  height: 40px;
  background: var(--orange-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.contact-card-support .contact-card-icon { background: var(--steel-lt); }

.contact-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
  fill: none;
}
.contact-card-support .contact-card-icon svg { stroke: var(--steel); }

.contact-card h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 8px; }
.contact-card p  { color: var(--muted); font-size: 0.88rem; max-width: none; margin-bottom: 12px; line-height: 1.6; }

.contact-link {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.contact-link:hover { color: var(--orange-lt); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { flex-direction: row; flex-wrap: wrap; }
  .contact-card { flex: 1; min-width: 220px; }
}

@media (max-width: 600px) {
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-aside { flex-direction: column; }
}
