:root {
  --navy: #071426;
  --navy2: #102540;
  --navy3: #173a5f;
  --gold: #c6a56b;
  --gold2: #e4cc98;
  --text: #111827;
  --muted: #5f6875;
  --shadow: 0 18px 45px rgba(7,20,38,0.14);
}

/* =========================================================
   HERO
========================================================= */

.contact-hero {
  position: relative;
  width: 100%;
  height: 58vh;
  min-height: 440px;
  background: #020817;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    url("../img/contact-hero-space5.png")
    center center / cover no-repeat;

  transform: scale(1.03);

  filter:
    saturate(1.08)
    contrast(1.05);

  z-index: 1;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(2,8,23,0.35) 0%,
      rgba(2,8,23,0.22) 34%,
      rgba(2,8,23,0.10) 58%,
      rgba(2,8,23,0.20) 100%
    ),

    radial-gradient(
      circle at 50% 50%,
      rgba(59,130,246,0.10),
      transparent 38%
    ),

    radial-gradient(
      circle at 80% 20%,
      rgba(198,165,107,0.16),
      transparent 34%
    );

  z-index: 2;
}

.contact-hero-inner {
  position: absolute;
  left: 8%;
  top: 50%;

  transform:
    translateY(-50%)
    translateY(12px);

  z-index: 10;

  max-width: 820px;

  color: #fff;

  text-shadow:
    0 4px 22px rgba(0,0,0,0.55);

  opacity: 0;

  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.contact-hero-inner.show {
  opacity: 1;

  transform:
    translateY(-50%)
    translateY(0);
}

.contact-hero .hero-lead {
  color: var(--gold2);

  font-size: 0.9rem;

  letter-spacing: 0.24em;

  margin: 0 0 20px;
}

.contact-hero h1 {
  font-size: clamp(2.4rem,5vw,4.6rem);

  line-height: 1.35;

  margin: 0 0 22px;

  letter-spacing: 0.08em;
}

.contact-hero p {
  max-width: 720px;

  font-size: 1.08rem;

  line-height: 1.95;

  color: rgba(255,255,255,0.90);
}

/* =========================================================
   INTRO
========================================================= */

.contact-intro {
  position: relative;

  z-index: 5;

  margin-top: -70px;

  background: #fff;

  border-radius: 24px;

  padding: 72px 42px;

  box-shadow: var(--shadow);
}

.contact-intro p {
  max-width: 900px;

  margin: 0 auto;

  text-align: center;

  color: #334155;

  line-height: 2.1;
}

/* =========================================================
   CONTACT METHODS
========================================================= */

.contact-method-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 18px;
}

.contact-method-card {
  background: #fff;

  border-radius: 18px;

  padding: 22px 18px;

  text-decoration: none;

  box-shadow:
    0 12px 30px rgba(7,20,38,0.10);

  border:
    1px solid rgba(198,165,107,0.18);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-method-card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 20px 42px rgba(7,20,38,0.15);
}

.method-top {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-bottom: 16px;
}

.method-icon {
  width: 68px;
  height: 68px;
  min-width: 68px;

  display: flex;

  align-items: center;

  justify-content: center;

  background:
    rgba(198,165,107,0.12);

  border-radius: 18px;
}

.method-icon img {
  width: 42px;
  height: 42px;

  object-fit: contain;
}

.method-head {
  flex: 1;
}

.method-label {
  display: inline-block;

  background: var(--gold);

  color: var(--navy);

  font-size: 0.62rem;

  letter-spacing: 0.1em;

  font-weight: 700;

  padding: 4px 9px;

  border-radius: 999px;

  margin-bottom: 7px;
}

.contact-method-card h2 {
  margin: 0;

  color: var(--navy);

  font-size: 0.98rem;

  line-height: 1.45;
}

.method-main {
  color: var(--navy);

  font-size: 0.98rem;

  font-weight: 700;

  margin: 0 0 10px;

  line-height: 1.5;

  word-break: break-word;
}

.contact-method-card p {
  color: var(--muted);

  line-height: 1.7;

  margin: 0;

  font-size: 0.88rem;
}

/* =========================================================
   FORM
========================================================= */

.contact-form-section {
  background: #fff;

  border-radius: 24px;

  padding: 76px 42px;

  box-shadow: var(--shadow);
}

.contact-form {
  max-width: 820px;

  margin: 0 auto;
}

.form-row {
  margin-bottom: 24px;
}

.form-row label {
  display: block;

  color: var(--navy);

  font-weight: 700;

  margin-bottom: 8px;
}

.form-row label span {
  display: inline-block;

  background: var(--gold);

  color: var(--navy);

  font-size: 0.72rem;

  padding: 2px 8px;

  border-radius: 999px;

  margin-left: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;

  font-family: inherit;

  font-size: 1rem;

  padding: 14px 16px;

  border: 1px solid #d7dde6;

  border-radius: 10px;

  background: #f8fafc;

  color: var(--text);
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;

  border-color: var(--gold);

  background: #fff;

  box-shadow:
    0 0 0 3px rgba(198,165,107,0.18);
}

.hp-field {
  display: none;
}

.form-note {
  text-align: center;

  color: var(--muted);

  line-height: 1.8;

  margin: 20px 0 28px;
}

.submit-btn {
  display: block;

  width: 100%;
  max-width: 360px;

  margin: 0 auto;

  border: none;

  cursor: pointer;

  padding: 16px 34px;

  border-radius: 999px;

  background: var(--gold);

  color: var(--navy);

  font-size: 1.05rem;

  font-weight: 700;

  letter-spacing: 0.08em;

  font-family: inherit;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);

  opacity: 0.9;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

  .contact-method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 900px) {

  .contact-hero {
    height: 58vh;
    min-height: 420px;
  }

  .contact-hero-inner {
    left: 24px;
    right: 24px;
  }

  .contact-intro {
    margin-top: -40px;
  }

}

@media (max-width: 560px) {

  .contact-hero {
    min-height: 460px;
  }

  .contact-hero h1 {
    font-size: 2.2rem;
  }

  .contact-intro,
  .contact-form-section {
    padding: 56px 22px;

    border-radius: 18px;
  }

  .contact-method-grid {
    grid-template-columns: 1fr;
  }

  .contact-method-card {
    padding: 24px 20px;
  }

  .method-icon {
    width: 62px;
    height: 62px;
    min-width: 62px;
  }

  .method-icon img {
    width: 38px;
    height: 38px;
  }

}