/* ============================================================
   HELIOCASTLE — CONTACT
   Phone / email / social blocks.
   ============================================================ */

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

.contact {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(60px, 7vw, 110px) var(--pad-x) clamp(70px, 8vw, 120px);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 46px);
}

.contact-block {
  position: relative;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
/* gold tick that grows across the top rule */
.contact-block::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--gold);
  transition: width 0.6s var(--ease);
}
.contact-block:hover::before { width: 100%; }

.contact-icon {
  width: 38px;
  height: 38px;
  color: var(--gold);
  opacity: 0.9;
  margin-bottom: 20px;
  transition: transform 0.5s var(--ease), filter 0.5s;
}
.contact-icon svg { width: 100%; height: 100%; }
.contact-block:hover .contact-icon {
  transform: translateY(-3px);
  filter: drop-shadow(0 0 14px rgb(var(--accent-rgb) / 0.35));
}

.contact-block h3 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.contact-block > a {
  display: block;
  font-size: 16px;
  color: var(--muted);
  letter-spacing: 0.03em;
  padding: 5px 0;
  width: fit-content;
  transition: color 0.3s;
}
.contact-block > a:hover { color: var(--gold); }

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin-top: 4px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: rgb(var(--ink-rgb) / 0.75);
  border: 1px solid rgb(var(--ink-rgb) / 0.12);
  transition: color 0.35s, border-color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
}
.socials svg { width: 19px; height: 19px; }
.socials a:hover {
  color: var(--gold);
  border-color: var(--gold-soft);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgb(var(--shadow-rgb) / calc(0.5 * var(--shadow-a))), 0 0 22px rgb(var(--accent-rgb) / 0.14);
}
