/* =========================================================
   CONTACT PAGE WRAPPER
   ========================================================= */

.page-wrap{
  max-width:1440px;
  width:100%;
  margin:0 auto;
  padding-top:var(--header-h);
}

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

.hero-contact{
  width:min(1280px, 100% - 120px);
  margin:20px auto 52px;
}

.hero-contact-inner{
  max-width:720px;
}

.hero-contact h1{
  font-size:72px;
  line-height:1.0;
  font-weight:900;
  margin:0 0 44px; /* spacing under heading */
}

.hero-contact-lead{
  font-size:18px;
  line-height:1.55;
  margin:0 0 6px;
  color:var(--wb-text);
}

/* Removed: .hero-contact-meta */

/* =========================================================
   CONTACT GRID
   ========================================================= */

.contact-grid{
  width:min(1280px, 100% - 120px);
  margin:40px auto 20px;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:20px;
}

.contact-card{
  background:var(--wb-pill);
  border-radius:24px;
  padding:40px;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.contact-card h2{
  font-size:20px;
  line-height:1.2;
  font-weight:800;
  margin:0;
}

.contact-card p{
  font-size:16px;
  line-height:1.6;
  margin:0;
}

.contact-link{
  font-size:16px;
  text-decoration:none;
  color:var(--wb-blue);
}

.contact-link:hover,
.contact-link:focus-visible{
  text-decoration:underline;
}

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

@media (max-width:980px){
  .hero-contact{
    width:100%;
    margin:10px auto 10px;
    padding:0 25px;
  }

  .hero-contact-inner{
    max-width:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
  }

  /* H1: same size + behaviour as product hero */
  .hero-contact h1{
    font-size:clamp(40px,6.2vw + 4px,72px);
    line-height:1.03;
    max-width:680px;
    margin:15px 0 20px;
    font-weight:900;
  }
  /* P: same size + spacing as product hero */
  .hero-contact-lead{
    width:100%;
    max-width:680px;
    font-size:clamp(17px,4vw,21px);
    line-height:1.45;
    margin:0 0 35px;
    text-align:center;
  }

  /* hide forced line break on mobile */
  .hero-contact p br {
    display:none;
  }

  .contact-grid{
    width:100%;
    padding:0 25px;
    grid-template-columns:1fr;
    margin-top:20px;
    margin-bottom:20px;
  }

  .contact-card{
    padding:32px;
  }

  .contact-card p{
    max-width:680px;
  }
}