/**
 * Contact page — clean editorial layout
 * Scoped to body.page-contact
 */

:root {
  --ct-ink: #0f172a;
  --ct-muted: #64748b;
  --ct-red: #c4121a;
  --ct-red-deep: #9f0f16;
  --ct-soft: #fff6f5;
  --ct-bg: #f7f8fb;
  --ct-card: #ffffff;
  --ct-line: rgba(15, 23, 42, 0.08);
  --ct-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  --ct-font: "Plus Jakarta Sans", "Poppins", system-ui, sans-serif;
  --ct-radius: 22px;
}

body.page-contact {
  background:
    radial-gradient(720px 280px at 8% -10%, rgba(196, 18, 26, 0.07), transparent 55%),
    radial-gradient(520px 240px at 100% 0%, rgba(15, 23, 42, 0.04), transparent 50%),
    var(--ct-bg);
  color: var(--ct-ink);
  -webkit-font-smoothing: antialiased;
}

body.page-contact h1,
body.page-contact h2,
body.page-contact h3,
body.page-contact h4 {
  font-family: var(--ct-font);
  letter-spacing: -0.03em;
}

.ct-page {
  padding-bottom: 3rem;
}

.ct-hero {
  padding: clamp(2.4rem, 5vw, 3.6rem) 0 0.5rem;
}

.ct-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ct-line);
  color: var(--ct-red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ct-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
}

.ct-hero p {
  margin: 0;
  max-width: 38rem;
  color: var(--ct-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.ct-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.25rem;
  align-items: stretch;
  padding: 1.5rem 0 2rem;
}

.ct-card {
  background: var(--ct-card);
  border: 1px solid var(--ct-line);
  border-radius: var(--ct-radius);
  box-shadow: var(--ct-shadow);
}

.ct-form {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ct-form-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ct-form h2,
.ct-aside h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.ct-form .ct-lead,
.ct-aside .ct-lead {
  margin: 0 0 1.25rem;
  color: var(--ct-muted);
  font-size: 0.92rem;
}

.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.ct-field--full { grid-column: 1 / -1; }

.ct-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}

.ct-field .req { color: var(--ct-red); }

.ct-field input,
.ct-field textarea,
.ct-field select {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  padding: 0.78rem 0.95rem;
  color: var(--ct-ink);
  font-size: 0.95rem;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.ct-field input:focus,
.ct-field textarea:focus,
.ct-field select:focus {
  outline: none;
  background: #fff;
  border-color: rgba(196, 18, 26, 0.45);
  box-shadow: 0 0 0 4px rgba(196, 18, 26, 0.08);
}

.ct-field textarea { min-height: 140px; resize: vertical; }

.ct-alert {
  border: 0;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.ct-alert--ok { background: #ecfdf5; color: #047857; }
.ct-alert--err { background: #fef2f2; color: #b91c1c; }

.ct-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  align-self: flex-start;
  border: 0;
  border-radius: 999px;
  background: var(--ct-red);
  color: #fff;
  font-weight: 800;
  padding: 0.85rem 1.35rem;
  margin-top: auto;
  box-shadow: 0 10px 22px rgba(196, 18, 26, 0.22);
  transition: transform .15s ease, background .15s ease;
}

.ct-submit:hover {
  background: var(--ct-red-deep);
  color: #fff;
  transform: translateY(-1px);
}

.ct-aside { display: flex; flex-direction: column; gap: 1rem; }

.ct-info {
  padding: clamp(1.15rem, 3vw, 1.5rem);
}

.ct-channels {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.ct-channel {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  padding: 0.85rem;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.ct-channel:hover {
  background: var(--ct-soft);
  border-color: rgba(196, 18, 26, 0.16);
  transform: translateY(-1px);
  color: inherit;
}

.ct-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #fff;
  color: var(--ct-red);
  border: 1px solid var(--ct-line);
}

.ct-channel strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ct-muted);
}

.ct-channel > span:last-child span,
.ct-channel p {
  display: block;
  margin: 0.15rem 0 0;
  color: var(--ct-ink);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.45;
}

.ct-map {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--ct-line);
  margin-top: 1rem;
  background: #eef2f6;
}

.ct-map iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: 0;
}

.ct-social {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid #eef2f6;
  text-align: center;
}

.ct-social p {
  margin: 0 0 0.75rem;
  color: var(--ct-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ct-social a,
.ct-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 0.2rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  color: var(--ct-ink);
  font-size: 1rem;
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.ct-social a:hover,
.ct-social-link:hover {
  color: var(--ct-red);
  background: var(--ct-soft);
  border-color: rgba(196, 18, 26, 0.16);
}

.ct-faq {
  padding: 0.5rem 0 2.5rem;
}

.ct-faq-head {
  margin-bottom: 1.15rem;
}

.ct-faq-head h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
}

.ct-faq-list {
  display: grid;
  gap: 0.7rem;
}

.ct-faq-item {
  border: 1px solid var(--ct-line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--ct-shadow);
}

.ct-faq-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(196, 18, 26, 0.2);
}

.ct-faq-list .accordion-button {
  padding: 1rem 1.15rem;
  font-family: var(--ct-font);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--ct-ink);
  background: #fff;
  box-shadow: none;
}

.ct-faq-list .accordion-button:not(.collapsed) {
  color: var(--ct-red-deep);
  background: var(--ct-soft);
}

.ct-faq-list .accordion-button:focus {
  box-shadow: none;
}

.ct-faq-list .accordion-body {
  padding: 0 1.15rem 1.1rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 991px) {
  .ct-shell { grid-template-columns: 1fr; }
  .ct-grid { grid-template-columns: 1fr; }
}
