/* ============================================================
   contact.css — Contact page (contact.html)
   Page-specific styles only. Prefix: ctc-
   Shared components (.btn, .section, .hours-table, .container)
   live in components.css and are NOT redefined here.
   Mobile-first. Only var(--token) — never hardcode values.
   ============================================================ */

/* ── S1 · Contact channels (teal hero) ───────────────────── */
.ctc-hero {
  background-color: var(--color-primary);
  color: var(--color-surface);
  padding-block: var(--space-3xl);
}

.ctc-hero__inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.ctc-hero__title {
  color: var(--color-surface);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
}

.ctc-hero__sub {
  color: var(--color-primary-light);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  max-width: 52ch;
  margin-inline: auto;
}

.ctc-channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

@media (min-width: 480px) {
  .ctc-channels {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ctc-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xl) var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.ctc-channel:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.ctc-channel__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xs);
}

.ctc-channel__label {
  display: block;
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  color: var(--color-text);
}

.ctc-channel__value {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
}

/* Bellen */
.ctc-channel--call .ctc-channel__icon {
  background: var(--color-primary-light);
}

.ctc-channel--call .ctc-channel__value {
  color: var(--color-primary);
}

/* WhatsApp */
.ctc-channel--whatsapp .ctc-channel__icon {
  background: rgba(37, 211, 102, 0.1);
}

.ctc-channel--whatsapp .ctc-channel__value {
  color: var(--color-whatsapp);
}

/* Afspraak Maken */
.ctc-channel--book .ctc-channel__icon {
  background: var(--color-accent-light);
}

.ctc-channel--book .ctc-channel__value {
  color: var(--color-accent);
}

.ctc-hero__note {
  margin-top: var(--space-lg);
  color: var(--color-primary-light);
  font-size: var(--text-sm);
}

/* ── S2 · Email form ─────────────────────────────────────── */
.ctc-form {
  max-width: 640px;
  margin-inline: auto;
  margin-top: var(--space-2xl);
}

.ctc-form__group {
  margin-bottom: var(--space-lg);
}

.ctc-form__label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.ctc-form__optional {
  font-weight: var(--weight-normal);
  color: var(--color-text-muted);
}

.ctc-form__input,
.ctc-form__textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: var(--space-md);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.ctc-form__input::placeholder,
.ctc-form__textarea::placeholder {
  color: var(--color-text-muted);
}

.ctc-form__input:focus,
.ctc-form__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.ctc-form__textarea {
  resize: vertical;
  line-height: var(--leading-normal);
}

.ctc-form__privacy {
  margin-top: var(--space-lg);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

/* ── S3 · Location + hours (matches homepage pattern) ───── */
.location__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

@media (min-width: 768px) {
  .location__inner {
    grid-template-columns: 1.15fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
  }
}

.location__map {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .location__map {
    aspect-ratio: unset;
    height: 440px;
  }
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.location__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.location__hours-block {
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
}

.location__hours-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.location__notes {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-xs) 0;
}

.location__note {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-snug);
}

.location__note-icon {
  flex-shrink: 0;
  line-height: 1;
}

.location__note-link {
  color: var(--color-primary);
  font-weight: var(--weight-semibold);
  transition: opacity var(--transition-fast);
}

.location__note-link:hover {
  opacity: 0.75;
}
