/* ==========================================================================
   Contact page
   1. Channels — how to reach the society
   2. Form + head office / map
   (Page hero, forms, .tbc, CTA band: components.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Channels
   -------------------------------------------------------------------------- */

.ct-channels__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--space-lg);
}

.ct-channel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--space-xl) var(--space-lg);
  background-color: var(--clr-white);
  border: 1px solid var(--clr-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.ct-channel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--clr-leaf-tint);
  color: var(--clr-primary);
}

.ct-channel__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.ct-channel__label {
  margin-top: var(--space-md);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-muted);
}

.ct-channel__value {
  margin-top: var(--space-xs);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.5;
  color: var(--clr-ink);
  overflow-wrap: anywhere;
}

a.ct-channel__value {
  color: var(--clr-primary);
}

a.ct-channel__value:hover {
  color: var(--clr-primary-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* --------------------------------------------------------------------------
   2. Form + head office / map
   -------------------------------------------------------------------------- */

.ct-main__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: start;
  gap: var(--space-2xl);
}

.ct-form__title {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  letter-spacing: -0.02em;
}

.ct-form__intro {
  margin-bottom: var(--space-lg);
  font-size: 0.9375rem;
  color: var(--clr-muted);
}

.ct-office {
  overflow: hidden;
  background-color: var(--clr-white);
  border: 1px solid var(--clr-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Map embed placeholder — swap for the provider's <iframe> */
.ct-map {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: var(--space-lg);
  text-align: center;
  background:
    linear-gradient(var(--clr-hairline) 1px, transparent 1px) 0 0 / 2rem 2rem,
    linear-gradient(90deg, var(--clr-hairline) 1px, transparent 1px) 0 0 / 2rem 2rem,
    var(--clr-primary-tint);
}

.ct-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ct-map__pin {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: var(--shadow-md);
}

.ct-map__pin svg {
  width: 1.375rem;
  height: 1.375rem;
}

.ct-map__note {
  margin-top: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--clr-muted);
}

.ct-office__body {
  padding: var(--space-lg);
}

.ct-office__label {
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-primary);
}

.ct-office__addr {
  margin-top: var(--space-xs);
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.6;
  color: var(--clr-ink);
}

.ct-office__body .link-arrow {
  margin-top: var(--space-md);
}

@media (max-width: 64rem) {
  .ct-main__grid {
    grid-template-columns: 1fr;
  }
}
