/* Hugent — contact */

.page-contact main {
  padding-bottom: 20px;
}

/* ---------- Hero ---------- */

.ct-hero {
  padding: 96px 24px 0;
  max-width: var(--container);
}

.ct-hero__eyebrow {
  margin-bottom: 20px;
}

.ct-hero h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 720px;
  margin-bottom: 8px;
}

.ct-hero__tagline {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
}

.ct-hero__copy {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}

.ct-hero__copy a {
  color: var(--ink);
  text-decoration: underline;
}

.ct-nap {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.ct-nap__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.ct-nap a,
.ct-nap p {
  font-size: 14.5px;
  color: var(--ink);
}

/* ---------- Layout ---------- */

.ct-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 52px;
}

/* ---------- FAQ ---------- */

.ct-faq {
  margin-top: 88px;
  padding-bottom: 24px;
  max-width: 780px;
}

.ct-faq__eyebrow {
  margin-bottom: 16px;
}

.ct-faq h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.ct-faq__tagline {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 36px;
}

.faq-group {
  margin-bottom: 32px;
}

.faq-group__title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.faq-list {
  display: grid;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item[open] {
  background: var(--paper);
  border-radius: 12px;
  border-bottom-color: transparent;
  padding: 2px 16px 4px;
  margin-bottom: 2px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.45;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 9px;
  height: 1px;
}

.faq-icon::after {
  width: 1px;
  height: 9px;
  transition: opacity 0.18s ease;
}

.faq-item[open] .faq-icon::after {
  opacity: 0;
}

.faq-item p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  padding-bottom: 16px;
  max-width: 60ch;
}

/* ---------- Form card ---------- */

.ct-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.ct-card__title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

/* ---------- Success state ---------- */

.ct-success {
  text-align: center;
  padding: 48px 16px;
}

.ct-success__title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.ct-success__copy {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto 24px;
}

.ct-form {
  display: grid;
  gap: 18px;
}

.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ct-field {
  display: grid;
  gap: 7px;
}

.ct-field label,
.ct-fieldset legend {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.ct-field .ct-optional {
  color: var(--muted);
  font-weight: 400;
}

.ct-field input,
.ct-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.ct-field textarea {
  min-height: 116px;
  resize: vertical;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: #9b978f;
}

.ct-field input:focus,
.ct-field textarea:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--teal);
}

/* ---------- Choice groups ---------- */

.ct-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.ct-fieldset legend {
  padding: 0;
  margin-bottom: 9px;
}

.ct-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ct-choice {
  position: relative;
  display: inline-flex;
}

.ct-choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.ct-choice span {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  color: #4a4843;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.ct-choice span:hover {
  border-color: rgba(20, 20, 20, 0.24);
}

.ct-choice input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.ct-choice input:focus-visible + span {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ---------- Submit ---------- */

.ct-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 4px;
}

.ct-submit button {
  font-family: inherit;
  border: 0;
  cursor: pointer;
}

.ct-consent {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 38ch;
}

.ct-consent a {
  border-bottom: 1px solid var(--line);
}

.ct-status {
  font-size: 13px;
  color: var(--ink);
  background: var(--cream-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.ct-status[hidden] {
  display: none;
}

/* ---------- Aside ---------- */

.ct-aside {
  display: grid;
  gap: 16px;
}

.ct-panel {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.ct-panel--dark {
  background: var(--ink-card);
  color: #fff;
}

.ct-panel--light {
  background: var(--cream-card);
}

.ct-panel h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
}

.ct-panel p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.ct-panel--dark p {
  color: var(--muted-on-dark);
}

.ct-contact-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ct-contact-list li {
  display: grid;
  gap: 2px;
}

.ct-contact-list span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.ct-contact-list a {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line-on-dark);
}

.ct-contact-list a:hover {
  border-bottom-color: var(--teal);
}

.ct-points {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.ct-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #4a4843;
}

.ct-points li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- Responsive ---------- */

@media (max-width: 940px) {
  .ct-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ct-hero {
    padding-top: 62px;
  }
  .ct-card {
    padding: 24px;
  }
  .ct-row {
    grid-template-columns: 1fr;
  }
  .ct-panel {
    padding: 24px;
  }
}
