/* Contact page + confirmation. Loaded alongside common.css. */

.ct-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 32px 72px;
}
.ct-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.ct-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.15;
  margin: 0 0 16px;
}
.ct-cms {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}
.ct-cms p { margin: 0 0 14px; }
.ct-cms a { color: var(--purple); text-decoration: underline; }

.ct-h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin: 32px 0 16px;
}

/* FAQ accordion (native details) */
.ct-faq { display: flex; flex-direction: column; gap: 8px; }
.ct-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: hidden;
}
.ct-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ct-faq-item summary::-webkit-details-marker { display: none; }
.ct-faq-item summary::after {
  content: '';
  width: 9px; height: 9px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.18s;
  flex-shrink: 0;
}
.ct-faq-item[open] summary::after { transform: rotate(-135deg); }
.ct-faq-answer {
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.ct-faq-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--purple);
  text-decoration: none;
}
.ct-faq-link:hover { text-decoration: underline; }

/* Contact channels */
.ct-channels { display: flex; flex-wrap: wrap; gap: 12px; }
.ct-channel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.ct-channel:hover { border-color: var(--purple-border); box-shadow: 0 4px 16px rgba(61, 31, 140, 0.06); }
.ct-channel svg { flex-shrink: 0; }
.ct-channel--wa svg { color: #25d366; }
.ct-channel--mail svg { color: var(--purple); }

/* Opening hours */
.ct-hours {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 420px;
}
.ct-hours td { padding: 10px 16px; font-size: 14px; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.ct-hours tr:last-child td { border-bottom: none; }
.ct-hours td:first-child { font-weight: 500; color: var(--text-primary); }
.ct-hours tr:nth-child(even) td { background: var(--bg-secondary); }

.ct-aside { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }
.ct-aside-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

/* Confirmation */
.ct-confirm {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.ct-confirm-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(26, 26, 24, 0.08);
}
.ct-confirm-img { height: 220px; background: var(--bg-secondary); }
.ct-confirm-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ct-confirm-body { padding: 36px 40px 40px; text-align: center; }
.ct-confirm-icon {
  width: 64px; height: 64px;
  margin: -68px auto 20px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(26, 26, 24, 0.12);
  position: relative;
}
.ct-confirm-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0 0 12px;
}
.ct-confirm-text, .ct-confirm-msg { font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin: 0 0 12px; }
.ct-confirm-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.ct-confirm-btn {
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.ct-confirm-btn--primary { background: var(--purple); color: #fff; }
.ct-confirm-btn--primary:hover { background: var(--purple-mid); }
.ct-confirm-btn--outline { border: 1.5px solid var(--purple); color: var(--purple); }
.ct-confirm-btn--outline:hover { background: #f7f4fd; }

@media (max-width: 900px) {
  .ct-layout { grid-template-columns: 1fr; }
  .ct-aside { position: static; }
}
@media (max-width: 600px) {
  .ct-wrap { padding: 24px 20px 60px; }
  .ct-confirm-body { padding: 28px 24px 32px; }
}
