/* ==========================================================================
   WIZKET — contact.css · the contact page (contact.html).
   Prefixes: ct- page · ch- hero · cw- "Wiz saved this" · cb- the brief ·
             cl- liftoff · cn- what happens next · cf- FAQ · cd- other doors
   The fastest page on the site: nothing pins, everything ends in WhatsApp.
   ========================================================================== */
.ct {
  --wa: #25d366;
  --ct-max: 1240px;
  background: var(--bg); color: var(--text);
  padding: calc(var(--nav-top) + var(--nav-h) + clamp(2.5rem, 7vh, 4.5rem)) var(--gutter) clamp(4rem, 10vh, 6rem);
}
.ct [hidden] { display: none !important; }
.ct > section { max-width: var(--ct-max); margin: 0 auto; scroll-margin-top: calc(var(--nav-top) + var(--nav-h) + 20px); }
.cb-part, .cb-input { scroll-margin-top: calc(var(--nav-top) + var(--nav-h) + 40px); }
.ct > section + section { margin-top: clamp(4.5rem, 12vh, 8rem); }

.ct-eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem; margin: 0 0 1.4rem;
  font: 500 0.75rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.ct-eyebrow__rule { width: 2.25rem; height: 1px; background: currentColor; opacity: 0.5; }
.ct-h { margin: 0 0 clamp(1.6rem, 4vh, 2.4rem); font: 400 clamp(2.4rem, 6vw, 4.6rem)/0.92 var(--font-display); text-transform: uppercase; }

.ct-copy {
  margin-left: 0.4rem; padding: 4px 10px; border: 0; border-radius: 99px; cursor: pointer;
  background: var(--nav-pill); color: var(--text); font: 600 0.72rem/1 var(--font-body);
}
.ct-copy:hover { background: var(--accent-soft); color: var(--accent); }

/* reveal once on enter (js adds .is-in) */
.js [data-ct-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js [data-ct-reveal].is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- 1 · hero */
.ch {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
  animation: ct-in 0.7s var(--ease-out) both;
}
@keyframes ct-in { from { opacity: 0; transform: translateY(14px); } }
.ch__title { margin: 0; font: 400 clamp(3.6rem, 10vw, 9rem)/0.88 var(--font-display); text-transform: uppercase; }
.ch__line { color: transparent; -webkit-text-stroke: max(1.5px, 0.012em) var(--text); }
.ch__title i { font-style: normal; color: var(--accent); }
.ch__lede { max-width: 30rem; margin: 1.4rem 0 0; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.55; color: var(--muted); }
.ch__status {
  display: inline-flex; align-items: center; gap: 0.55rem; margin: 1.4rem 0 0; padding: 8px 14px; border-radius: 99px;
  background: var(--nav-pill); font: 500 0.82rem/1.2 var(--font-body); color: var(--text);
}
.ch__status i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--wa); animation: ct-pulse 2.4s ease-in-out infinite; }
.ch__status.is-away i { background: var(--muted); animation: none; }
@keyframes ct-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); } 50% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); } }

.ch__doors { display: grid; gap: 12px; }
.ch-door {
  display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 20px; border-radius: 18px;
  background: var(--surface); color: var(--text); text-decoration: none;
  box-shadow: inset 0 0 0 1.5px var(--line2);
  transition: transform 0.45s var(--ease-out), box-shadow 0.3s;
}
.ch-door:hover, .ch-door:focus-visible { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--accent); }
.ch-door--main { box-shadow: inset 0 0 0 2px var(--accent); background: linear-gradient(var(--accent-soft), var(--accent-soft)), var(--surface); }
.ch-door__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--nav-pill); font-size: 1.3rem; }
.ch-door__txt { flex: 1; display: grid; gap: 3px; }
.ch-door__txt b { font: 400 1.45rem/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; }
.ch-door__txt span { font-size: 0.85rem; color: var(--muted); }
.ch-door__go { font-size: 1.3rem; color: var(--accent); transition: transform 0.4s var(--ease-out); }
.ch-door:hover .ch-door__go { transform: translateX(4px); }

.ch__qr { display: flex; align-items: center; gap: 14px; margin-top: 4px; padding: 10px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ch__qr img { width: 96px; height: 96px; border-radius: 8px; background: #fff; }
.ch__qr p { margin: 0; font-size: 0.85rem; line-height: 1.4; color: var(--muted); }
.ch__mail { margin: 6px 0 0; font-size: 0.85rem; color: var(--muted); }
.ch__mail a { color: var(--text); }

/* ------------------------------------------------- 2 · Wiz saved this for you */
.cw {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 18px; padding: 14px 18px;
  border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line2); border-left: 4px solid var(--accent);
  animation: ct-in 0.6s var(--ease-out) both;
}
.cw__h { margin: 0; font-weight: 600; }
.cw__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cw__chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--text); font-size: 0.85rem; }
.cw__x { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: transparent; color: var(--muted); font-size: 1rem; line-height: 1; }
.cw__x:hover { background: var(--nav-pill); color: var(--text); }
.cw__note { margin: 0 0 0 auto; font-size: 0.85rem; color: var(--muted); }

/* ------------------------------------------------------------- 3 · the brief */
.cb__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); align-items: start; }
.cb-card {
  padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 24px;
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line2), 0 30px 60px -40px rgba(0, 0, 0, 0.5);
}
.cb-card__title { margin: 0; font: 400 clamp(2.2rem, 5vw, 3.6rem)/0.92 var(--font-display); text-transform: uppercase; }
.cb-card__sub { margin: 0.5rem 0 0; color: var(--muted); }

.cb-part { margin: clamp(1.4rem, 3vh, 1.9rem) 0 0; padding: 0; border: 0; min-width: 0; }
.cb-part__h { display: flex; align-items: center; gap: 12px; padding: 0; margin: 0 0 12px; font-weight: 600; font-size: 1.05rem; }
.cb-part__h label { cursor: pointer; }
.cb-part__n {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  font: 400 1.05rem/1 var(--font-display); color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent);
  transition: background 0.3s, color 0.3s;
}
.cb-part.is-done .cb-part__n { background: var(--accent); color: var(--on-accent); }

.cb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-chip { position: relative; cursor: pointer; }
.cb-chip input { position: absolute; opacity: 0; pointer-events: none; }
.cb-chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 99px;
  background: var(--nav-pill); color: var(--text); font-weight: 500; font-size: 0.95rem;
  box-shadow: inset 0 0 0 1.5px transparent; transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.cb-chip:hover span { box-shadow: inset 0 0 0 1.5px var(--line2); }
.cb-chip input:checked + span { background: var(--accent); color: var(--on-accent); }
.cb-chip input:checked + span::before { content: "✓"; margin-right: 6px; font-size: 0.85em; }
.cb-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cb-chip--soft span { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line2); color: var(--muted); }

.cb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cb-field { display: grid; gap: 6px; min-width: 0; }
.cb-label { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.cb-label span { margin-left: 4px; font-weight: 400; opacity: 0.7; }
.cb-input {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 0; border-radius: 14px;
  background: var(--bg); color: var(--text); font: 400 1rem/1.45 var(--font-body);
  box-shadow: inset 0 0 0 1.5px var(--line2); transition: box-shadow 0.2s;
}
.cb-input::placeholder { color: var(--muted); opacity: 0.7; }
.cb-input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.cb-input--area { min-height: 110px; resize: none; overflow: hidden; }
.cb-input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #e5484d; }
.cb-help { margin: 8px 0 0; font-size: 0.82rem; color: var(--muted); }
.cb-err { margin: 6px 0 0; font-size: 0.82rem; font-weight: 500; color: #e5484d; }
.cb-coupon { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--accent-soft); font-size: 0.9rem; }
.cb-coupon b { color: var(--accent); letter-spacing: 0.04em; }
.is-shake { animation: ct-shake 0.4s; }
@keyframes ct-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.cb-send { margin-top: clamp(1.6rem, 3.5vh, 2.2rem); }
.cb-send__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 60px; padding: 0 28px;
  border: 0; border-radius: 99px; cursor: pointer; background: var(--accent); color: var(--on-accent);
  font: 600 1.05rem/1 var(--font-body); transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.cb-send__btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(253, 95, 7, 0.8); }
.cb-send__btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.cb-send__note { margin: 10px 0 0; text-align: center; font-size: 0.85rem; color: var(--muted); }
.cb-saved { min-height: 1em; margin: 4px 0 0; text-align: center; font-size: 0.75rem; color: var(--muted); }
.cb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* the WhatsApp preview */
.cb-preview { position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 24px); }
.cb-preview__toggle { display: none; }
.cb-phone { border-radius: 24px; overflow: hidden; background: #0b141a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -40px rgba(0, 0, 0, 0.6); }
.cb-phone__bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #202c33; color: #e9edef; }
.cb-phone__bar b { display: block; font-size: 0.95rem; }
.cb-phone__bar small { display: block; font-size: 0.72rem; color: #8696a0; }
.cb-phone__av { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: #fff; }
.cb-phone__av img { display: block; width: 24px; height: 24px; }
.cb-phone__chat {
  display: flex; justify-content: flex-end; min-height: 260px; padding: 20px 14px;
  background: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 14px 14px, #0b141a;
}
.cb-bubble {
  position: relative; align-self: flex-start; max-width: 92%; margin: 0; padding: 10px 12px 18px; border-radius: 10px 0 10px 10px;
  background: #005c4b; color: #e9edef; font: 400 0.9rem/1.45 var(--font-body); white-space: pre-wrap; overflow-wrap: anywhere;
}
.cb-bubble::after { content: "✓✓"; position: absolute; right: 8px; bottom: 4px; font-size: 0.65rem; color: #53bdeb; letter-spacing: -2px; }
.cb-bubble b { font-weight: 700; }
.cb-bubble .is-empty { color: rgba(233, 237, 239, 0.45); font-style: italic; }
[data-theme="light"] .cb-phone { background: #efeae2; }
[data-theme="light"] .cb-phone__bar { background: #f0f2f5; color: #111b21; }
[data-theme="light"] .cb-phone__bar small { color: #667781; }
[data-theme="light"] .cb-phone__chat { background: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px) 0 0 / 14px 14px, #efeae2; }
[data-theme="light"] .cb-bubble { background: #d9fdd3; color: #111b21; }
[data-theme="light"] .cb-bubble .is-empty { color: rgba(17, 27, 33, 0.45); }

/* ------------------------------------------------------------- 4 · liftoff */
.cl {
  grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; gap: 10px;
  padding: clamp(2.4rem, 6vw, 4rem) clamp(1.4rem, 3vw, 2.4rem); border-radius: 24px; overflow: hidden;
  background: var(--surface); box-shadow: inset 0 0 0 2px var(--accent);
}
.cl:focus { outline: none; }
.cb.is-sent .cb-card, .cb.is-sent .cb-preview, .cb.is-sent .cw { display: none; }
.cl__rocket { animation: cl-lift 1.3s cubic-bezier(0.5, 0, 0.75, 0) both; }
.cl__flame { transform-origin: 30px 86px; animation: cl-flame 0.12s ease-in-out infinite alternate; }
@keyframes cl-lift { 0%, 25% { transform: translateY(0); } 30% { transform: translate(1px, 0); } 35% { transform: translate(-1px, 0); } 100% { transform: translateY(-140vh); } }
@keyframes cl-flame { to { transform: scaleY(1.35); } }
.cl.is-landed .cl__rocket { animation: none; display: none; }
.cl__count { margin: 0; font: 400 clamp(4rem, 10vw, 7rem)/1 var(--font-display); color: var(--accent); }
.cl.is-landed .cl__count { display: none; }
.cl__h { margin: 0; font: 400 clamp(2.2rem, 6vw, 4rem)/0.95 var(--font-display); text-transform: uppercase; }
.cl__p { max-width: 30rem; margin: 0; color: var(--muted); line-height: 1.55; }
.cl__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.cl__acts a, .cl__acts button {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 0; border-radius: 99px; cursor: pointer;
  font: 600 0.95rem/1 var(--font-body); text-decoration: none; background: var(--nav-pill); color: var(--text);
}
.cl__acts .cl__again { background: var(--accent); color: var(--on-accent); }
.cl__acts .cl__edit { background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------- 5 · what happens next */
.cn__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.cn-step { position: relative; padding: 22px 20px 24px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line2); }
.cn-step:nth-child(2) { transition-delay: 0.08s; }
.cn-step:nth-child(3) { transition-delay: 0.16s; }
.cn-step:nth-child(4) { transition-delay: 0.24s; }
.cn-step__n { font: 400 2.4rem/1 var(--font-display); color: var(--accent); }
.cn-step h3 { margin: 14px 0 6px; font: 400 1.45rem/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; }
.cn-step p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: var(--muted); }

/* --------------------------------------------------------------- 7 · FAQ */
.cf { text-align: center; }
.cf__list { display: grid; gap: 10px; max-width: 880px; margin: 0 auto; text-align: left; }
.cf-item { border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line2); }
.cf-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 20px;
  cursor: pointer; list-style: none; font-weight: 600; font-size: 1.02rem;
}
.cf-item summary::-webkit-details-marker { display: none; }
.cf-item summary::after { content: "+"; flex: none; font: 400 1.6rem/1 var(--font-body); color: var(--accent); transition: transform 0.3s var(--ease-out); }
.cf-item[open] summary::after { transform: rotate(45deg); }
.cf-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 16px; }
.cf-item__a { padding: 0 20px 18px; color: var(--muted); line-height: 1.6; }
.cf-item__a p { margin: 0; }
.cf-item__a a { color: var(--text); }
.cf__more { margin: 1.4rem 0 0; color: var(--muted); }
.cf__more a { font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line2); padding-bottom: 2px; }
.cf__more a:hover { color: var(--accent); border-color: var(--accent); }

/* -------------------------------------------------------- 8 · other doors */
.cd { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cd-door {
  position: relative; display: grid; gap: 4px; padding: 20px 22px; border-radius: 18px; text-decoration: none; color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--line2); transition: box-shadow 0.3s, transform 0.45s var(--ease-out);
}
.cd-door:hover, .cd-door:focus-visible { box-shadow: inset 0 0 0 1.5px var(--accent); transform: translateY(-3px); }
.cd-door b { font: 400 1.5rem/1 var(--font-display); text-transform: uppercase; }
.cd-door span { font-size: 0.85rem; color: var(--muted); }
.cd-door i { position: absolute; top: 18px; right: 20px; font-style: normal; color: var(--accent); }

/* ------------------------------------------------- floating WhatsApp button */
.ct-fab {
  position: fixed; z-index: 899; right: clamp(1rem, 2.2vw, 2rem); bottom: calc(clamp(1rem, 2.2vw, 2rem) + 64px);
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.7);
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}
.ct-fab:hover { transform: scale(1.08); }
.ct-fab.is-hidden { opacity: 0; transform: scale(0.6); pointer-events: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 960px) {
  .ch { grid-template-columns: 1fr; }
  .cb__grid { grid-template-columns: 1fr; }
  .cb-preview { position: static; order: 2; }
  .cb-preview__toggle {
    display: block; width: 100%; min-height: 48px; border: 0; border-radius: 14px; cursor: pointer;
    background: var(--nav-pill); color: var(--text); font: 600 0.92rem/1 var(--font-body);
  }
  .cb-preview__toggle::after { content: " ↓"; }
  .cb-preview__toggle[aria-expanded="true"]::after { content: " ↑"; }
  .cb-phone { display: none; margin-top: 10px; }
  .cb-preview.is-open .cb-phone { display: block; }
  .cn__list { grid-template-columns: 1fr 1fr; }
  .cd { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ch__qr { display: none !important; }   /* phones open the app directly */
  .cw__note { margin-left: 0; }
  .ct-fab { right: 1rem; bottom: calc(9.5rem + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; }
}
@media (max-width: 520px) {
  .cb-row { grid-template-columns: 1fr; }
  .cn__list { grid-template-columns: 1fr; }
  .ch-door { min-height: 68px; padding: 12px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .ch, .cw { animation: none; }
  .js [data-ct-reveal] { opacity: 1; transform: none; transition: none; }
  .ch__status i { animation: none; }
  .cl__rocket { display: none; }
  .is-shake { animation: none; }
}
