/* Contact page — uses brand tokens from styles.css. */

.ct { padding: 0 0 clamp(48px, 7vw, 88px); }

/* ---------- dark hero intro ---------- */
.ct__hero { position: relative; overflow: hidden; background: var(--white); color: var(--ink); text-align: center;
  padding: clamp(56px, 8vw, 96px) var(--pad-x) clamp(120px, 14vw, 180px); }
.ct__glow { display: none; }
.ct__eyebrow { position: relative; font-family: var(--poppins); font-weight: 700; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--g1); margin: 0 0 14px; }
.ct__title { position: relative; font-family: var(--poppins); font-weight: 800; font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05; margin: 0 0 14px; text-transform: uppercase; color: var(--ink); }
.ct__lead { position: relative; font-size: 16px; color: var(--grey-800); line-height: 1.6; margin: 0 auto 28px; max-width: 46ch; }
.ct__channels { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.ct__chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: #f7f7f6; border: 1px solid var(--line); color: var(--ink); font-family: var(--inter);
  font-size: 13.5px; text-decoration: none; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.ct__chip svg { width: 16px; height: 16px; flex: none; color: var(--ink); }
.ct__chip:hover { background: #efefed; border-color: var(--line); }

/* ---------- floating card ---------- */
.ct__wrap { display: flex; justify-content: center; margin-top: clamp(-96px, -9vw, -64px); position: relative; z-index: 2; }
.ct__panel { width: 100%; max-width: 640px; background: var(--white); border-radius: 24px; padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 8px 24px rgba(16,24,40,.06); }

.ct__seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; max-width: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 24px; }
.ct__seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 999px; background: var(--ink);
  transition: transform .32s cubic-bezier(.4,0,.2,1), width .32s cubic-bezier(.4,0,.2,1); z-index: 0; }
.ct__seg-btn { position: relative; z-index: 1; border: 0; background: none; padding: 10px 22px; border-radius: 999px; white-space: nowrap; font-family: var(--poppins); font-weight: 600; font-size: 14px; color: #6b6b6b; cursor: pointer; transition: color .32s cubic-bezier(.4,0,.2,1); }
.ct__seg-btn.is-on { color: #fff; }

.ct-field { margin-bottom: 18px; }
.ct-field--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-field__label { display: block; font-family: var(--poppins); font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.ct-field__label span { color: #9a9a9a; font-weight: 400; }
.ct-field__input, .ct-field__area { width: 100%; font-family: var(--inter); font-size: 15px; color: var(--ink);
  background: #f8f9fc; border: 1px solid #e3e6ee; border-radius: 12px; padding: 14px 16px; }
.ct-field__area { min-height: 130px; resize: vertical; }
.ct-field__input::placeholder, .ct-field__area::placeholder { color: #9aa0ad; }
.ct-field__input:focus, .ct-field__area:focus { outline: 0; border-color: var(--g2); box-shadow: 0 0 0 3px rgba(255,65,108,.12); background: #fff; }
.ct-field__err { display: none; font-size: 12px; color: var(--red); margin-top: 5px; }
.ct-field.has-error .ct-field__input, .ct-field.has-error .ct-field__area { border-color: var(--red); }
.ct-field.has-error .ct-field__err { display: block; }
.ct-select { position: relative; }
.ct-select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; border-right: 2px solid #9a9a9a; border-bottom: 2px solid #9a9a9a; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.ct-select select { appearance: none; -webkit-appearance: none; padding-right: 40px; }

.ct-ticket { margin-bottom: 4px; }

/* ---------- consent checkboxes ---------- */
.ct-consent { display: flex; flex-direction: column; gap: 14px; margin: 6px 0 24px; }
.ct-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-family: var(--inter); font-size: 13.5px; color: #444; line-height: 1.5; }
.ct-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-check__box { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1.5px solid #d4d8e0;
  background: #fff; position: relative; transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.ct-check__box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(40deg); opacity: 0; }
.ct-check input:checked + .ct-check__box { background: var(--g1); border-color: var(--g1); }
.ct-check input:checked + .ct-check__box::after { opacity: 1; }
.ct-check input:focus-visible + .ct-check__box { box-shadow: 0 0 0 3px rgba(255,65,108,.18); }
.ct-check a { color: var(--g1); text-decoration: none; }
.ct-check a:hover { text-decoration: underline; }
.ct-consent .ct-field__err { margin: -8px 0 0 32px; }
.ct-consent .ct-field__err.show { display: block; }

.ct-foot { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.ct-submit { width: 100%; justify-content: center; padding: 16px 26px; }
.ct-foot__note { font-size: 12.5px; color: #9a9a9a; margin: 0; text-align: center; }

.ct-done { text-align: center; padding: 30px 10px; }
.ct-done__mark { font-size: 42px; }
.ct-done__title { font-family: var(--poppins); font-weight: 800; font-size: 24px; margin: 12px 0 8px; }
.ct-done__text { font-size: 15px; color: #555; line-height: 1.6; max-width: 42ch; margin: 0 auto 22px; }

.ct-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; padding: 12px 20px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.2); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 50; }
.ct-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 820px) {
  .ct-field--2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ct__panel { border-radius: 18px; padding: 24px 16px; }
  .ct__seg { display: grid; width: 100%; }
  .ct__seg-btn { padding: 10px 6px; font-size: 13px; text-align: center; }
  .ct__wrap { margin-top: clamp(-64px, -12vw, -40px); }
}
