/* Contact page (ct-*) */
.ct {
  --navy: #0a1530; --navy2: #12275a; --royal: #243f7c; --gold: #f5b800; --gold2: #ffd84d;
  --ink: #0f1b33; --mute: #5a6a88; --line: #dfe6f2; --edge: #c7d5ee; --sky: #eef3fb; --wa: #1faa59;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); padding: 2rem 0 3rem;
}
.ct *, .ct *::before, .ct *::after { box-sizing: border-box; }
.ct h2, .ct p, .ct ul, .ct ol { margin: 0; }
.ct a { text-decoration: none; }
.ct-wrap { width: min(100% - 2rem, 1200px); margin-inline: auto; display: grid; gap: 1.6rem; }
.ct a:focus-visible, .ct button:focus-visible, .ct input:focus-visible, .ct textarea:focus-visible { outline: 3px solid var(--royal); outline-offset: 2px; border-radius: .5rem; }

/* Quick contact tiles */
.ct-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.ct-q {
  position: relative; display: flex; align-items: center; gap: .85rem; min-width: 0; padding: 1rem 1.1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 16px 32px -26px rgba(10,21,48,.65);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ct-q:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 24px 38px -26px rgba(10,21,48,.7); }
.ct-q-ico { display: grid; place-items: center; flex: none; width: 2.9rem; height: 2.9rem; border-radius: 50%; color: var(--gold2); background: linear-gradient(145deg, var(--navy2), var(--navy)); box-shadow: 0 0 0 2px rgba(245,184,0,.55); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.ct-q:hover .ct-q-ico { transform: scale(1.1) rotate(-8deg); }
.ct-q-txt { display: flex; flex-direction: column; min-width: 0; }
.ct-q-txt b { font-size: 1rem; line-height: 1.2; }
.ct-q-txt small { margin-top: .15rem; font-size: .84rem; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-q--wa .ct-q-ico { background: linear-gradient(145deg, #25c068, var(--wa)); color: #fff; box-shadow: 0 0 0 2px rgba(31,170,89,.35); }
.ct-q--wa:hover { border-color: var(--wa); }

/* Layout */
.ct-grid { display: grid; gap: 1.6rem; align-items: start; }
@media (min-width: 960px) { .ct-grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); } }
.ct-side { display: grid; gap: 1.2rem; }

/* Cards */
.ct-card { padding: clamp(1.2rem, 3vw, 2rem); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 1.1rem; box-shadow: 0 22px 44px -34px rgba(10,21,48,.7); }
.ct-card--sm { padding: 1.2rem 1.3rem; }
.ct-h2 { font: 700 1.45rem/1.25 Poppins, Inter, sans-serif; color: var(--navy); }
.ct-h2::after, .ct-h3::after { content: ""; display: block; width: 2.6rem; height: 3px; margin-top: .55rem; border-radius: 3px; background: linear-gradient(90deg, #c9961a, var(--gold2)); }
.ct-h3 { font: 700 1.02rem/1.3 Poppins, Inter, sans-serif; color: var(--navy); margin-bottom: .9rem; }
.ct-help { margin-top: .7rem; font-size: .9rem; line-height: 1.6; color: var(--mute); }
.ct-card--sm .ct-help { margin-top: 0; }

/* Form */
.ct-form { display: grid; gap: 1.2rem; margin-top: 1.4rem; }
.ct-two { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .ct-two { grid-template-columns: 1fr; } }
.ct-field { display: grid; gap: .35rem; align-content: start; min-width: 0; border: 0; padding: 0; margin: 0; }
.ct-field label, .ct-field legend { padding: 0; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--royal); }
.ct-input {
  width: 100%; min-height: 2.9rem; padding: .65rem .85rem; border: 1.5px solid var(--edge); border-radius: .7rem; background: #fff;
  font: 400 1rem/1.4 Inter, system-ui, sans-serif; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.ct-input:hover { border-color: #9db3de; }
.ct-input:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(36,63,124,.15); }
.ct-input[aria-invalid="true"] { border-color: #c0392b; }
.ct-textarea { min-height: 9rem; resize: vertical; }
.ct-note { font-size: .8rem; line-height: 1.5; color: var(--mute); }
.ct-note--row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ct-count { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ct-err { font-size: .85rem; font-weight: 600; color: #a3242b; }
.ct-alert { margin-top: 1.1rem; padding: .85rem 1rem; border-radius: .8rem; background: #fdecec; border: 1px solid #efc4c7; color: #8a1a20; }
.ct-alert p { font-weight: 700; font-size: .92rem; }
.ct-alert ul { margin-top: .4rem; padding-left: 1.1rem; font-size: .88rem; display: grid; gap: .2rem; }

/* Topic chips */
.ct-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .15rem; }
.ct-chip { position: relative; cursor: pointer; }
.ct-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-chip span {
  display: inline-flex; align-items: center; min-height: 2.5rem; padding: .45rem .95rem; border: 1.5px solid var(--edge); border-radius: 99px; background: #fff;
  font-size: .9rem; font-weight: 600; color: var(--ink); transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.ct-chip:hover span { border-color: var(--royal); transform: translateY(-1px); }
.ct-chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--gold2); box-shadow: 0 8px 16px -10px rgba(10,21,48,.9); }
.ct-chip input:focus-visible + span { outline: 3px solid var(--royal); outline-offset: 2px; }

/* Buttons */
.ct-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.ct-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.9rem; padding: .65rem 1.3rem; border-radius: .75rem; border: 1.5px solid transparent;
  font: 600 .95rem/1.1 Inter, system-ui, sans-serif; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.ct-btn:hover { transform: translateY(-2px); }
.ct-btn:disabled { opacity: .65; cursor: wait; transform: none; }
.ct-btn--gold { color: var(--navy); background: linear-gradient(135deg, var(--gold2), var(--gold) 55%, #c9961a); box-shadow: 0 12px 22px -14px rgba(245,184,0,.95), inset 0 1px 0 rgba(255,255,255,.5); }
.ct-btn--wa { color: #fff; background: linear-gradient(135deg, #25c068, var(--wa)); box-shadow: 0 12px 22px -14px rgba(31,170,89,.9); }
.ct-btn--line { color: var(--navy); background: #fff; border-color: var(--edge); }
.ct-btn--line:hover { border-color: var(--royal); background: var(--sky); }
.ct-btn--block { width: 100%; margin-top: 1rem; }

/* Confirmation */
.ct-done { display: grid; gap: 1.1rem; justify-items: start; }
.ct-tick { display: grid; place-items: center; color: #1faa59; }
.ct-tick circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: ct-draw .7s ease forwards; }
.ct-tick path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: ct-draw .45s .55s ease forwards; }
@keyframes ct-draw { to { stroke-dashoffset: 0; } }
.ct-done h2 { font: 700 1.5rem/1.25 Poppins, Inter, sans-serif; color: var(--navy); }
.ct-done-lede { font-size: 1rem; line-height: 1.6; color: var(--mute); }
.ct-steps { list-style: none; padding: 0; display: grid; gap: .8rem; width: 100%; counter-reset: s; }
.ct-steps li { position: relative; display: grid; gap: .15rem; padding: .85rem 1rem .85rem 3.3rem; border-radius: .9rem; background: var(--sky); counter-increment: s; }
.ct-steps li::before { content: counter(s); position: absolute; left: 1rem; top: .85rem; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--navy); color: var(--gold2); font: 700 .85rem/1 Poppins, sans-serif; }
.ct-steps b { color: var(--navy); }
.ct-steps span { font-size: .9rem; line-height: 1.55; color: var(--mute); }

/* Side column */
.ct-addr { display: block; font-style: normal; font-size: .95rem; line-height: 1.7; color: var(--mute); }
.ct-addr strong { display: block; color: var(--navy); }
.ct-hours { display: flex; justify-content: space-between; gap: 1rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .9rem; }
.ct-hours span { color: var(--mute); }
.ct-links { list-style: none; padding: 0; display: grid; gap: .55rem; }
.ct-links a { display: inline-block; font-size: .93rem; font-weight: 600; color: var(--royal); border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.ct-links a:hover { color: var(--navy); border-bottom-color: var(--gold); }

@media (max-width: 760px) { .ct-quick { grid-template-columns: 1fr; gap: .6rem; } .ct-q-txt small { white-space: normal; } }
@media (max-width: 520px) { .ct-actions .ct-btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .ct *, .ct *::before, .ct *::after { transition: none !important; animation: none !important; } .ct-tick circle, .ct-tick path { stroke-dashoffset: 0; } }
