/* Contact (design frame j8WZr). */

/* ---------------------------------------------------------- hero */
.c-hero { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 40px; }
.c-pill {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 13px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.c-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); flex: none; }
.c-split { display: flex; align-items: flex-end; gap: 80px; }
.c-title {
  flex: 1; font-family: var(--display); font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.02; letter-spacing: -0.033em; max-width: 640px;
}
.c-sub { width: 400px; flex: none; padding-bottom: 10px; font-size: 17px; line-height: 1.65; color: var(--ink-2); }

/* ---------------------------------------------------------- body */
.c-body {
  display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start;
  padding-bottom: 100px;
}
.c-form-card {
  background: var(--surface); border-radius: 32px; box-shadow: var(--shadow);
  padding: 44px; display: flex; flex-direction: column; gap: 28px;
}
.c-card-title { font-family: var(--display); font-size: 19px; letter-spacing: -0.026em; line-height: 1.2; }
.c-card-title--lg { font-size: 26px; letter-spacing: -0.035em; }

#contact-form { display: flex; flex-direction: column; gap: 28px; }
.c-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.c-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.c-field > label, .c-topics legend { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.c-field input, .c-field textarea {
  width: 100%; font: inherit; font-size: 15px; line-height: 1.55; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 15px 16px; transition: border-color .15s ease, background .15s ease;
}
.c-field textarea { min-height: 150px; resize: vertical; }
.c-field input::placeholder, .c-field textarea::placeholder { color: var(--ink-3); opacity: 1; }
.c-field input:hover, .c-field textarea:hover { border-color: var(--ink-3); }
.c-field input:focus, .c-field textarea:focus { background: var(--surface); border-color: var(--sun); outline: none; }
.c-field input:focus-visible, .c-field textarea:focus-visible { outline: 3px solid rgba(255, 107, 53, .35); outline-offset: 1px; }

/* Topic chips: real radio buttons, visually hidden, so arrow keys and
   screen readers treat them as the single-choice group they are. */
.c-topics { border: 0; margin: 0; padding: 0; min-inline-size: 0; gap: 11px; }
.c-topics legend { padding: 0; margin-bottom: 11px; }
.c-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.c-chip { position: relative; cursor: pointer; }
.c-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.c-chip span {
  display: inline-block; padding: 10px 16px; border-radius: 20px;
  background: var(--bg); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink-2); line-height: 1.2;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.c-chip:hover span { border-color: var(--ink-3); color: var(--ink); }
.c-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.c-chip input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 3px; }

.c-foot { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 6px; }
.c-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--ink-2); max-width: 340px; }
.c-check svg { flex: none; margin-top: 1px; color: var(--mint); }
.c-check input {
  appearance: none; -webkit-appearance: none; flex: none; margin: 0;
  width: 19px; height: 19px; border-radius: 6px; background: var(--bg); border: 1px solid var(--ink-3);
  display: grid; place-items: center; cursor: pointer;
}
.c-check input:checked { background: var(--ink); border-color: var(--ink); }
.c-check input:checked::after {
  content: ''; width: 5px; height: 9px; margin-top: -2px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.c-check a { color: var(--ink); font-weight: 600; }
.c-submit { flex: none; padding: 15px 28px; gap: 9px; }

.c-how, .c-sent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.c-how { margin-top: -12px; }
.c-how svg, .c-sent svg { flex: none; margin-top: 2px; }
.c-sent[hidden] { display: none; }
.c-sent { background: #E5F8F0; color: #0F5E43; border-radius: 16px; padding: 14px 16px; font-size: 14px; }
.c-sent a { color: inherit; font-weight: 700; }

/* ---------------------------------------------------------- rail */
.c-rail { display: flex; flex-direction: column; gap: 20px; }
.c-card { border-radius: 28px; padding: 32px; background: var(--surface); }
.c-routes { box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 20px; }
.c-routes-note { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin-top: -8px; }
.c-routes ul { display: flex; flex-direction: column; }
.c-routes li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.c-routes li:first-child { border-top: 0; padding-top: 0; }
.c-routes li:last-child { padding-bottom: 0; }
.c-ico { width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center; color: #fff; }
.c-ico--sun { background: var(--sun); }
.c-ico--violet { background: var(--violet); }
.c-ico--sky { background: var(--sky); }
.c-ico--mint { background: var(--mint); }
.c-route-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.c-route-label, .c-route-subject { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.c-route-text a { font-size: 15px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.c-route-text a:hover { color: var(--sun); }

.c-next { background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 22px; }
.c-next ol { display: flex; flex-direction: column; gap: 14px; }
.c-next li { display: flex; gap: 14px; align-items: flex-start; }
.c-num {
  width: 24px; height: 24px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: var(--amber);
  font-family: var(--display); font-size: 12px; font-weight: 600;
}
.c-next li > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.c-next strong { font-size: 15px; font-weight: 600; line-height: 1.35; }
.c-next strong + span { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .6); }

.c-studio { display: flex; flex-direction: column; gap: 14px; }
.c-studio p { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.c-remote { display: flex; gap: 9px; align-items: flex-start; padding-top: 4px; font-size: 14px !important; font-weight: 500; color: var(--ink-3) !important; }
.c-remote svg { flex: none; margin-top: 3px; }

/* ----------------------------------------------------------- FAQ */
.c-faq { padding-bottom: 100px; display: flex; flex-direction: column; gap: 48px; }
.c-faq .kicker { margin-bottom: 14px; }
.c-faq-title { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.12; }
.c-faq .sec-head > p { max-width: 380px; font-size: 17px; line-height: 1.6; }
.c-faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.c-faq-cols dl { margin: 0; display: flex; flex-direction: column; }
.c-faq-cols dl > div { padding: 28px 0; border-top: 1px solid var(--line); }
.c-faq-cols dl > div:first-child { border-top: 0; padding-top: 0; }
.c-faq-cols dt { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; }
.c-faq-cols dd { margin: 10px 0 0; font-size: 15px; line-height: 1.62; color: var(--ink-2); }
.c-faq-cols dd a { color: var(--sun); font-weight: 600; }

/* ---------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .c-body { grid-template-columns: 1fr; }
  .c-rail { display: grid; grid-template-columns: 1fr 1fr; }
  .c-routes { grid-row: span 2; }
}
@media (max-width: 860px) {
  .c-split { flex-direction: column; align-items: flex-start; gap: 20px; }
  .c-sub { width: auto; max-width: 560px; padding-bottom: 0; }
  .c-hero { padding-top: 48px; padding-bottom: 40px; gap: 28px; }
  .c-form-card { padding: 32px; }
  .c-foot { flex-direction: column; align-items: stretch; gap: 20px; }
  .c-check { max-width: none; }
  .c-rail { grid-template-columns: 1fr; }
  .c-routes { grid-row: auto; }
  .c-faq-cols { grid-template-columns: 1fr; gap: 0; }
  .c-faq-cols dl + dl > div:first-child { border-top: 1px solid var(--line); padding-top: 28px; }
  .c-body, .c-faq { padding-bottom: 64px; }
}
@media (max-width: 560px) {
  .c-row { grid-template-columns: 1fr; }
  .c-form-card { padding: 24px; border-radius: 24px; gap: 22px; }
  .c-card { padding: 24px; border-radius: 24px; }
  .c-submit { white-space: normal; }
}
