/* Contact: a conversational brief — one question at a time — beside a sticky contact panel. */
.cx { background: var(--black); padding-top: clamp(1rem, 3vw, 3rem); }
.cx__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }

/* left: contact details */
.cx__info { position: sticky; top: calc(var(--bar-h, 72px) + 28px); }
.cx__info h2 { font-size: clamp(1.7rem, 1rem + 2.2vw, 2.8rem); font-weight: 700; letter-spacing: -0.055em; line-height: 1.04; color: var(--cream); }
.cx__info > p { margin-top: 1.2rem; color: var(--on-dark-2); letter-spacing: -0.02em; max-width: 42ch; }
.cx__info .cx__reply { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.6rem; padding: .55rem 1rem; border: 1px solid rgba(178,102,255,.35); border-radius: 999px; font-size: .88rem; color: var(--on-dark); }
.cx__pulse { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: cxPulse 2.2s ease-out infinite; }
@keyframes cxPulse { 70%, 100% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } }
.cx__lines { margin-top: 2.6rem; display: grid; gap: 1.6rem; }
.cx__lines > div { padding-top: 1.2rem; border-top: 1px solid var(--line-dark); }
.cx__lines dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--purple-light); }
.cx__lines dd { margin-top: .5rem; font-weight: 500; letter-spacing: -0.03em; color: var(--on-dark); font-size: 1.05rem; line-height: 1.45; }
.cx__lines address { font-style: normal; }
.cx__lines dd p { margin-top: .8rem; }
.cx__lines .link-arrow { font-size: .95rem; color: var(--cream); }
.cx .cx__mail { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); color: var(--cream); }
.cx .cx__mail:hover { color: var(--purple-light); }
.cx .cx__mail.is-copied::after { color: var(--purple-light); }
.cx__ways { display: grid; gap: .55rem; }
.cx__ways .link-arrow { width: max-content; }

/* right: the brief card */
.cx__card { position: relative; padding: clamp(1.4rem, 3vw, 2.6rem); border-radius: 22px; border: 1px solid rgba(178,102,255,.28); overflow: hidden;
  background: radial-gradient(70% 50% at 90% 0%, rgba(144,15,255,.5), rgba(144,15,255,0) 70%), radial-gradient(60% 40% at 0% 100%, rgba(144,15,255,.2), rgba(144,15,255,0) 70%), linear-gradient(180deg, #0c0b13, #07070b); box-shadow: 0 30px 80px rgba(144,15,255,.12); }
.cx__top { display: flex; align-items: center; gap: 1rem; }
.cx__count { font-family: var(--ff-mono); font-size: .85rem; color: var(--on-dark-2); white-space: nowrap; }
.cx__count b { color: var(--cream); font-weight: 600; }
.cx__bar { flex: 1; height: 2px; background: rgba(255,255,255,.14); position: relative; }
.cx__bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--purple-light); transition: width .7s var(--ease); }
.cx__tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--purple-light); }
.cx__form { gap: 1.6rem; margin-top: clamp(1.6rem, 3vw, 2.6rem); }
.cx__req { color: var(--on-dark-2); }
.cx .form__note { color: var(--on-dark-2); }
.cx .form__note a { color: var(--cream); }

/* steps: only the active one shows once JS is running (without JS, all fields stay visible) */
.js .cx__form.is-steps .cx__step { display: none; }
.js .cx__form.is-steps .cx__step.is-active { display: block; animation: cxIn .6s var(--ease) both; }
.js .cx__form.is-steps.is-back .cx__step.is-active { animation-name: cxInBack; }
@keyframes cxIn { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@keyframes cxInBack { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
.cx__step { min-height: 230px; }
.cx .field { gap: 1.2rem; }
.cx .cx__q, .cx .field label.cx__q, .cx .field legend.cx__q { display: block; padding: 0; margin: 0; font-size: clamp(1.5rem, 1rem + 1.8vw, 2.5rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1.1; text-transform: none; color: var(--cream); }
.cx .cx__q .opt { font-size: .5em; font-weight: 500; letter-spacing: 0; color: var(--on-dark-2); }
.cx .field input, .cx .field select, .cx .field textarea { color: var(--on-dark); font-size: clamp(1.2rem, 1rem + .8vw, 1.7rem); letter-spacing: -0.03em; background: transparent; border: 0; border-bottom: 1.5px solid rgba(255,255,255,.25); border-radius: 0; padding: .7rem 0; transition: border-color .3s; }
.cx .field input::placeholder, .cx .field textarea::placeholder { color: #5f5f68; }
.cx .field input:focus, .cx .field select:focus, .cx .field textarea:focus { border-bottom-color: var(--purple-light); }
.cx .field textarea { min-height: 150px; border: 1.5px solid rgba(255,255,255,.2); border-radius: 12px; padding: .9rem 1rem; font-size: 1.15rem; }
.cx .field textarea:focus { border-color: var(--purple-light); }
.cx .field select { color-scheme: dark; background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23b266ff' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .2rem center; }
.cx .field select option { background: #0c0b13; color: #fff; }
.cx .chips-check span { border-color: rgba(255,255,255,.22); color: var(--on-dark); background: rgba(255,255,255,.03); font-size: 1rem; }
.cx .chips-check label:hover span { border-color: var(--purple-light); }
.cx .chips-check input:checked + span { background: var(--purple); border-color: var(--purple); color: #fff; }
.cx .field--hp { position: absolute; left: -9999px; }

/* navigation */
.cx__nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cx__back { padding: .9rem 1.2rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: var(--on-dark); font-weight: 600; transition: border-color .25s, color .25s; }
.cx__back:hover { border-color: var(--purple-light); color: #fff; }
.cx__hint { margin-left: auto; font-size: .8rem; color: #6c6c74; }
.cx__hint kbd { font-family: var(--ff-mono); padding: .1rem .45rem; border: 1px solid rgba(255,255,255,.25); border-radius: 5px; color: var(--on-dark-2); }
.cx .cx__send, .cx .cx__next { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.cx__form.is-steps .cx__send { display: none; }
.cx__form.is-steps.is-last .cx__send { display: inline-flex; }
.cx__form.is-steps.is-last .cx__next { display: none; }
.cx__form.is-steps.is-last .cx__hint { display: none; }
.cx__form.is-done .cx__step, .cx__form.is-done .cx__nav, .cx__form.is-done .cx__req { display: none !important; }
.cx__form.is-done .form__status { font-size: 1.15rem; padding: 1.4rem 1.5rem; }

@media (max-width: 960px) { .cx__grid { grid-template-columns: 1fr; } .cx__info { position: static; } .cx__hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .js .cx__form.is-steps .cx__step.is-active { animation: none; } .cx__pulse { animation: none; } .cx__bar i { transition: none; } }
.cx .cx__q > span[aria-hidden] { font-size: .6em; color: var(--purple-light); vertical-align: .35em; margin-left: .15em; }

/* Contact hero card: live Chennai time */
.hero-card .hero-card__body { display: grid; gap: .55rem; padding: 2.6rem 1.3rem 1.3rem; transform: translateZ(30px); }
.hero-card small { font-size: .75rem; color: var(--on-dark-2); letter-spacing: .01em; }
.hero-card__time { font-family: var(--ff-mono); font-size: clamp(2.2rem, 1.4rem + 1.6vw, 3rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--cream); font-variant-numeric: tabular-nums; }
.hero-card__mail { font-size: 1rem; font-weight: 600; letter-spacing: -0.03em; color: var(--on-dark); }
.hero-card .hero-feature__go { margin-top: .5rem; }
.hero-card .hero-feature__badge::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .45rem; border-radius: 50%; background: #fff; vertical-align: .08em; }

.page-hero--contact .h1 { font-size: clamp(2.4rem, .8rem + 5vw, 5.6rem); line-height: .98; }
@media (min-width: 1101px) { .page-hero--contact .h1 { max-width: calc(100% - 340px); } }

/* ===== Light theme (replaces the all-black look): warm cream hero with soft colour blobs, white form section with colourful contact cards ===== */
.cx .mark { background-image: url("../images/brand/novva-n-dark.svg"); }

/* form section */
.cx { background: #fff; color: var(--ink-2); }
.cx__info h2 { color: var(--ink-2); }
.cx__info > p { color: var(--ink-3); }
.cx__info .cx__reply { color: var(--ink-2); background: #f6efff; border-color: rgba(144,15,255,.3); }
.cx__lines { gap: 1rem; }
.cx__lines > div { padding: 1.2rem 1.4rem; border: 1px solid var(--line-light); border-radius: 20px; background: #fff; }
.cx__lines > div:nth-child(1) { background: var(--purple); border-color: var(--purple); box-shadow: 0 24px 50px -24px rgba(144,15,255,.7); }
.cx__lines > div:nth-child(2) { background: #f5f1ea; border-color: transparent; }
.cx__lines dt { color: var(--purple); }
.cx__lines > div:nth-child(1) dt { color: rgba(255,255,255,.78); }
.cx__lines dd { color: var(--ink-2); }
.cx__lines .link-arrow { color: var(--ink-2); }
.cx .cx__mail { color: #fff; }
.cx .cx__mail:hover { color: #ffe2f4; }
.cx .cx__mail.is-copied::after { color: #ffe2f4; }
.cx__card { background: radial-gradient(60% 40% at 100% 0%, rgba(199,155,255,.38), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(255,179,212,.32), transparent 70%), #fff; border: 1px solid var(--line-light); box-shadow: 0 40px 90px -40px rgba(90, 20, 170, .4); }
.cx__count { color: var(--ink-3); } .cx__count b { color: var(--ink-2); }
.cx__bar { background: rgba(0,0,0,.1); } .cx__bar i { background: var(--purple); }
.cx__tag { color: var(--purple); }
.cx__req, .cx .form__note { color: var(--ink-3); }
.cx .form__note a { color: var(--ink-2); }
.cx .cx__q, .cx .field label.cx__q, .cx .field legend.cx__q { color: var(--ink-2); }
.cx .cx__q .opt { color: var(--ink-3); }
.cx .cx__q > span[aria-hidden] { color: var(--purple); }
.cx .field input, .cx .field select, .cx .field textarea { color: var(--ink-2); border-bottom-color: rgba(0,0,0,.25); }
.cx .field textarea { border-color: rgba(0,0,0,.2); background: rgba(255,255,255,.7); }
.cx .field input::placeholder, .cx .field textarea::placeholder { color: #a3a3ab; }
.cx .field input:focus, .cx .field select:focus { border-bottom-color: var(--purple); }
.cx .field textarea:focus { border-color: var(--purple); }
.cx .field select { color-scheme: light; }
.cx .field select option { background: #fff; color: var(--ink-2); }
.cx .chips-check span { border-color: rgba(0,0,0,.18); color: var(--ink-2); background: #fff; }
.cx .chips-check label:hover span { border-color: var(--purple); }
.cx .chips-check input:checked + span { background: var(--purple); border-color: var(--purple); color: #fff; }
.cx__back { border-color: rgba(0,0,0,.2); color: var(--ink-2); }
.cx__back:hover { border-color: var(--purple); color: var(--purple); }
.cx__hint { color: var(--ink-3); } .cx__hint kbd { border-color: rgba(0,0,0,.25); color: var(--ink-3); }

/* ===== Info column, simple: plain rows with hairlines (no cards, icons or tags) ===== */
.cx__info h2 { font-size: clamp(1.6rem, 1rem + 1.5vw, 2.3rem); max-width: 17ch; line-height: 1.05; }
.cx__info > p { margin-top: .8rem; font-size: 1rem; }
.cx__info .cx__reply { margin-top: 1.1rem; padding: .45rem .9rem; font-size: .84rem; }
.cx .cx__lines { margin-top: 1.8rem; gap: 0; }
.cx .cx__lines > div:nth-child(n) { padding: 1.1rem 0; border: 0; border-top: 1px solid var(--line-light); border-radius: 0; background: none; box-shadow: none; }
.cx .cx__lines > div:last-child { border-bottom: 1px solid var(--line-light); }
.cx .cx__lines dt, .cx .cx__lines > div:nth-child(1) dt { color: var(--purple); }
.cx .cx__lines dd { margin-top: .45rem; color: var(--ink-2); }
.cx .cx__mail { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); color: var(--ink-2); }
.cx .cx__mail:hover, .cx .cx__mail.is-copied::after { color: var(--purple); }
.cx .cx__lines address { font-size: 1rem; line-height: 1.5; }
.cx .cx__lines dd p { margin-top: .6rem; }
.cx .cx__lines .link-arrow { color: var(--ink-2); font-size: .95rem; }
.cx__ways { gap: .5rem; }
