/* =====================================================
   Burgundy Collective - Contact page
   ===================================================== */

.contact-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-top: 82px;
  background: url('assets/img/hero-contact.jpg') right center/cover no-repeat;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(36, 36, 36, .72);
}

.contact-hero::after {
  content: '';
  position: absolute;
  right: max(1.5rem, calc((100vw - 900px) / 2));
  bottom: 2.25rem;
  z-index: 1;
  width: clamp(76px, 10vw, 128px);
  height: clamp(76px, 10vw, 128px);
  background: var(--maroon);
  clip-path: polygon(18% 0, 100% 16%, 80% 100%, 0 84%);
}

.contact-hero-accent {
  position: relative;
  z-index: 2;
  height: 5px;
  background: var(--red);
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 5rem 0 4rem;
  text-align: center;
}

.contact-hero-content .hero-kicker {
  justify-content: center;
  color: var(--rose);
}

.contact-hero-content .hero-kicker::before {
  background: var(--red);
}

.contact-hero-content h1 {
  margin-bottom: 1rem;
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 200;
  line-height: 1;
}

.contact-hero-content p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .76);
  font-size: 1.06rem;
}

.contact-main {
  padding: 6rem 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.5fr);
  gap: 3rem;
  align-items: start;
}

.contact-info-cards {
  display: grid;
  gap: 1rem;
}

.info-card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.info-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--rose);
  color: var(--maroon);
  font-size: 1.1rem;
}

.info-card h3 {
  margin-bottom: .45rem;
  color: var(--charcoal);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 200;
}

.info-card p,
.info-card a {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
}

.info-card a:hover {
  color: var(--red);
}

.form-container {
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-container h2 {
  margin-bottom: .6rem;
  color: var(--charcoal);
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 200;
}

.form-container > p {
  margin-bottom: 2rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.form-group.full {
  grid-column: span 2;
}

label {
  color: var(--charcoal);
  font-size: .78rem;
  font-weight: 200;
}

input,
select,
textarea {
  width: 100%;
  padding: .95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--text);
  font: inherit;
  font-size: .95rem;
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--maroon);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(36, 36, 36, .08);
}

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

.form-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 1rem 1.4rem;
  border: 0;
  border-radius: 8px;
  background: var(--maroon);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .84rem;
  font-weight: 200;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.form-btn:hover {
  background: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(36, 36, 36, .18);
}

.contact-cta {
  --cta-image: url('assets/img/hero-contact.jpg');
  padding: 5rem 0;
  text-align: center;
}

.contact-cta h2 {
  margin-bottom: .75rem;
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 200;
}

.contact-cta p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .76);
}

@media (max-width: 920px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .contact-hero {
    min-height: auto;
    padding-top: 74px;
  }

  .contact-hero::after {
    right: 1rem;
    bottom: 1.2rem;
    width: 68px;
    height: 68px;
    opacity: .65;
  }

  .contact-hero-content {
    width: min(100% - 2rem, 900px);
    padding: 4rem 0 3rem;
  }

  .contact-main,
  .contact-cta {
    padding: 4rem 0;
  }

  .contact-info-cards,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }

  .form-container {
    padding: 1.5rem;
  }
}
