/* contact-us.css */

.contact-page {
  background: #fff;
}

.contact-container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* HERO */
.contact-hero {
  min-height: 360px;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(7, 31, 63, .38), rgba(7, 31, 63, .52)),
    url("../images/contact-hero.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  right: -20px;
  height: 18px;
  background:
    radial-gradient(circle at 12px 18px, transparent 13px, #fff 14px) repeat-x;
  background-size: 32px 18px;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
}

.contact-hero-content p {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.contact-hero-content h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -.5px;
  text-shadow: 0 4px 14px rgba(0,0,0,.35);
}

.contact-hero-content span {
  display: block;
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  line-height: 1.65;
}

/* FAQ */
.faq-section {
  padding: 42px 0 34px;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  padding: 20px 0;
  background: transparent;
  border: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 900;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  color: var(--accent);
  font-size: 26px;
  line-height: 1;
}

.faq-answer {
  display: none;
  padding: 0 0 24px;
  max-width: 900px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer h3 {
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
}

.faq-answer p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

/* DIVIDER */
.contact-wave {
  width: 100%;
  height: 7px;
  margin: 34px 0 0;
  background: transparent !important;
  position: relative;
}

.contact-wave::after {
  content: "";
  display: block;
  width: 120px;
  height: 7px;
  background: var(--accent);
  border-radius: 999px;
}

/* CONTACT FORM SECTION */
.contact-form-section {
  background: var(--primary-dark);
  padding: 64px 0 72px;
  color: #fff;
  position: relative;
}

.contact-form-section::after {
  content: "";
  position: absolute;
  left: -20px;
  right: -20px;
  bottom: -1px;
  height: 18px;
  background:
    radial-gradient(circle at 12px 0, transparent 13px, #eef1f2 14px) repeat-x;
  background-size: 32px 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.6fr;
  gap: 70px;
  align-items: start;
}

.contact-help p {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.contact-help h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 26px;
  line-height: 1.15;
}

.contact-help span {
  display: block;
  color: rgba(255,255,255,.84);
  font-size: 16px;
  line-height: 1.65;
}

/* FORM CARD */
.contact-card {
  background: #fff;
  color: var(--text);
  padding: 38px;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin: 0 0 22px;
  color: var(--primary-dark);
  font-size: 26px;
  line-height: 1.15;
}

.contact-card label {
  display: block;
  margin: 16px 0 6px;
  color: var(--text);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card em {
  color: var(--accent);
  font-style: normal;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  width: 100%;
  border: 1px solid #cfd5dd;
  border-radius: 3px;
  padding: 14px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}

.contact-card textarea {
  min-height: 150px;
  resize: vertical;
}

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

.contact-card button {
  margin-top: 24px;
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 15px 28px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-card button:hover {
  background: var(--accent-dark);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq-question {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .contact-container {
    width: min(100% - 24px, 1120px);
  }

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

  .contact-card {
    padding: 26px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .faq-section {
    padding: 36px 0 28px;
  }

  .faq-question {
    font-size: 18px;
    padding: 18px 0;
  }

  .faq-answer p {
    font-size: 15px;
  }
}