/* ============================================================
   Contact page - premium hero + store info
   Royal Fishing Flies Kenya · theme pflat · page_name contact
   ============================================================ */

body#contact #center_column {
  padding-top: 6px;
}

body#contact .contact-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 34px 30px 30px;
  margin: 0 0 22px;
  border-radius: 18px 18px 0 0;
  background:
    radial-gradient(120% 140% at 88% -10%, rgba(108, 194, 74, .30) 0%, rgba(108, 194, 74, 0) 55%),
    linear-gradient(135deg, #0b2418 0%, #16452a 42%, #2f7d3c 100%);
  box-shadow: 0 18px 40px rgba(13, 42, 27, .22);
}

body#contact .contact-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='90' viewBox='0 0 520 90'%3E%3Cpath d='M0 46 Q 65 16 130 46 T 260 46 T 390 46 T 520 46' fill='none' stroke='%23ffffff' stroke-opacity='.10' stroke-width='1.2'/%3E%3C/svg%3E") repeat-x left bottom;
  background-size: 520px 90px;
  pointer-events: none;
}

body#contact .contact-eyebrow {
  display: block;
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #bfe3a8;
}

body#contact .contact-title {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #fff;
  font-weight: 700;
}

body#contact .contact-lead {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 60ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .86);
}

body#contact .contact-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

body#contact .contact-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  background: #fbfcf9;
  border: 1px solid #e6ede2;
  border-radius: 14px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body#contact .contact-card:hover {
  transform: translateY(-2px);
  border-color: #cfe3c4;
  box-shadow: 0 10px 22px rgba(13, 42, 27, .07);
}

body#contact .contact-card__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eaf7e0, #d9f0cb);
  color: #2f7d3c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

body#contact .contact-card h3 {
  margin: 0 0 2px;
  padding: 0;
  border: 0;
  display: block;
  font-size: 14px;
  line-height: 1.3;
  color: #1e2a22;
  font-weight: 700;
}

body#contact .contact-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #5c6670;
}

body#contact .contact-card a {
  color: #2f7d3c;
  text-decoration: none;
  font-weight: 600;
}

body#contact .contact-card a:hover {
  color: #1e5c29;
  text-decoration: underline;
}

@media (max-width: 860px) {
  body#contact .contact-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body#contact .contact-info {
    grid-template-columns: 1fr;
  }
  body#contact .contact-hero {
    padding: 26px 20px 22px;
  }
  body#contact .contact-title {
    font-size: 24px;
  }
}
/* address overflow fix */
body#contact .contact-card { min-width: 0; }
body#contact .contact-card div { min-width: 0; }
body#contact .contact-card__icon { flex-shrink: 0; }
body#contact .contact-card p,
body#contact .contact-card a { overflow-wrap: anywhere; word-break: break-word; }

/* text in front of wave overlay */
body#contact .contact-title { position: relative; z-index: 1; }
body#contact .contact-hero::after { z-index: 0; }
