/* ============================================================ */
/* CONTACT PAGE STYLES                                          */
/* ============================================================ */

body {
  background: #ffffff;
  color: #0f1315;
}

/* ============================================================ */
/* SECTION 1 - HERO BANNER                                      */
/* ============================================================ */
.section-contact-hero {
  position: relative;
  width: 100%;
  height: 439px;
  overflow: hidden;
  background: #ffffff;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.63;
}

.contact-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 48px;
}

.header-pill.contact-pill {
  background: rgba(30, 30, 30, 0.6);
  gap: 8px;
  padding: 8px 24px;
}

.header-pill.contact-pill nav {
  gap: 16px;
}

.header-pill.contact-pill nav a.active {
  font-family: 'Azeret Mono', monospace;
  font-weight: 900;
  font-size: 24px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-title {
  position: absolute;
  left: 230px;
  top: 305px;
  z-index: 5;
  font-family: 'Geist', sans-serif;
  font-size: 70px;
  font-weight: 500;
  color: #0f1315;
  text-shadow: -3px 5px 4px rgba(0, 0, 0, 0.44);
  line-height: 1;
}

/* ============================================================ */
/* SECTION 2 - FORM                                             */
/* ============================================================ */
.section-contact-form {
  position: relative;
  width: 100%;
  background: #ffffff;
  padding: 60px 40px 80px;
  overflow: hidden;
  min-height: 600px;
}

.lineart-decoration {
  position: absolute;
  right: 26px;
  top: 200px;
  width: 455px;
  height: 804px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
  transform: scaleX(-1);
}

.lineart-decoration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.form-container {
  position: relative;
  z-index: 1;
  max-width: 1210px;
  margin: 0 auto;
  padding: 0 190px 0 190px;
}

.contact-intro {
  font-family: 'Geist', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #0f1315;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 833px;
}

.contact-intro strong {
  font-weight: 700;
}

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

.form-row {
  display: flex;
  gap: 44px;
}

.form-row.full-width .form-field {
  width: 100%;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.form-field label {
  position: absolute;
  top: 12px;
  left: 16px;
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #131415;
  pointer-events: none;
  line-height: 1;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(135, 137, 138, 0.45);
  border: none;
  border-radius: 10px;
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  color: #131415;
  padding: 32px 16px 12px 16px;
  outline: none;
  transition: background 0.2s ease;
}

.form-field input {
  height: 57px;
}

.form-field input.input-large {
  height: 101px;
  padding-top: 40px;
}

.form-field textarea {
  height: 144px;
  resize: vertical;
  min-height: 144px;
  padding-top: 40px;
  font-family: 'Geist', sans-serif;
}

.form-field input:focus,
.form-field textarea:focus {
  background: rgba(135, 137, 138, 0.6);
  box-shadow: 0 0 0 2px rgba(64, 176, 229, 0.3);
}

.form-submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.btn-submit {
  padding: 14px 42px;
  background: #f83f42;
  color: #ffffff;
  font-family: 'Azeret Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 2px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: translateY(0);
}

/* ============================================================ */
/* FOOTER DARK VARIANT (same as apropos)                        */
/* ============================================================ */
footer.footer-dark {
  background: #1E1E1E;
  color: #ffffff;
}

footer.footer-dark .footer-logo-text { color: #ffffff; }
footer.footer-dark .footer-nav a { color: #ffffff; }
footer.footer-dark .footer-bottom { border-top-color: rgba(255, 255, 255, 0.15); }
footer.footer-dark .footer-bottom span,
footer.footer-dark .footer-bottom a { color: #ffffff; }

/* ============================================================ */
/* RESPONSIVE                                                   */
/* ============================================================ */
@media (max-width: 1100px) {
  .form-container { padding: 0 40px; }
  .contact-title { left: 60px; font-size: 56px; }
}

@media (max-width: 900px) {
  .section-contact-hero { height: 360px; }
  .header-pill.contact-pill nav a.active { font-size: 16px; }
  .contact-title { left: 40px; top: 240px; font-size: 42px; }

  .section-contact-form { padding: 40px 24px 60px; }
  .form-container { padding: 0; }

  .form-row {
    flex-direction: column;
    gap: 24px;
  }

  .contact-intro { font-size: 16px; }

  .lineart-decoration { opacity: 0.1; width: 300px; height: 500px; }
}

@media (max-width: 600px) {
  .section-contact-hero { height: 280px; }
  .contact-title { left: 24px; top: 180px; font-size: 32px; }

  .form-field label { font-size: 14px; top: 10px; left: 14px; }
  .form-field input,
  .form-field textarea { font-size: 14px; padding: 28px 14px 10px; }
  .form-field input { height: 50px; }

  .btn-submit { font-size: 16px; padding: 12px 32px; }

  .form-submit { justify-content: center; }
}
