/* =====================================================================
   Baodigital — contact
   Two halves that behave differently: an ink panel that stays put while
   you scroll, and a paper form that moves. Same tokens as the rest of
   the site, so it reads as one product rather than a bolted-on page.
   ===================================================================== */

.ct-head { padding-bottom: 0; }

.ct-section { padding-top: 2.5rem; }

.ct-shell {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.6rem;
  align-items: start;
}

@media (max-width: 991.98px) {
  .ct-shell { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------ studio panel */

.ct-rail {
  background: var(--ink);
  color: #D8DBE3;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

/* A single amber hairline down the left edge, the same accent the
   headlines use. Nothing else competes with it. */
.ct-rail::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--amber) 0%, var(--violet) 100%);
}

.ct-rail__inner { padding: 2.4rem 2rem 2.6rem 2.3rem; }

@media (min-width: 992px) {
  .ct-rail { position: sticky; top: 96px; }
}

.ct-rail__label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7C8492;
  margin-bottom: 0.9rem;
}

.ct-rail__label--mt {
  margin-top: 2.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------------------------------------------------------- open now */

.ct-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.ct-status__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8A919C;
  flex: none;
}

.ct-status.is-open .ct-status__dot {
  background: #3DD68C;
  box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.55);
  animation: ctPulse 2.4s ease-out infinite;
}

@keyframes ctPulse {
  70%  { box-shadow: 0 0 0 9px rgba(61, 214, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 214, 140, 0); }
}

.ct-hours {
  font-size: 0.92rem;
  color: #A7AEBA;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.ct-hours span {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #6F7684;
  margin-top: 0.35rem;
}

/* --------------------------------------------------------- channels */

.ct-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.ct-channels li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.8rem 0.85rem;
  margin-left: -0.85rem;
  border-radius: 12px;
  transition: background 0.18s ease;
}

.ct-channels li:hover { background: rgba(255, 255, 255, 0.045); }

.ct-channels__icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(var(--violet-rgb), 0.22);
  color: #B7A9FF;
}

.ct-channels__icon svg { width: 17px; height: 17px; }

.ct-channels__body { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }

.ct-channels__label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7C8492;
}

.ct-channels__value {
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  word-break: break-word;
}

a.ct-channels__value:hover { color: var(--amber); }

.ct-channels__note { font-size: 0.82rem; color: #8A919C; }

/* ---------------------------------------------------------- offices */

.ct-offices {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: office;
}

.ct-offices li {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ct-offices li:last-child { border-bottom: 0; padding-bottom: 0; }

.ct-offices__index {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--amber);
  padding-top: 0.2rem;
  flex: none;
}

.ct-offices__body { display: flex; flex-direction: column; gap: 0.22rem; }

.ct-offices__place {
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ct-offices__place em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--amber);
  padding: 0.1rem 0.4rem;
  border-radius: 99px;
}

.ct-offices__kind {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6F7684;
}

.ct-offices__address { font-size: 0.9rem; color: #A7AEBA; line-height: 1.55; }

.ct-offices__phone,
.ct-offices__map {
  font-size: 0.86rem;
  color: #B7A9FF;
  text-decoration: none;
  width: fit-content;
}

.ct-offices__phone:hover,
.ct-offices__map:hover { color: var(--amber); }

/* ------------------------------------------------------------- form */

.ct-form {
  background: #fff;
  border: 1px solid var(--mist);
  border-radius: 22px;
  padding: 2.4rem 2.2rem;
}

@media (max-width: 575.98px) {
  .ct-form { padding: 1.6rem 1.2rem; }
  .ct-rail__inner { padding: 1.8rem 1.3rem 2rem 1.6rem; }
}

.ct-form__title {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin-bottom: 0.5rem;
}

.ct-form__sub {
  color: var(--ink-70);
  font-size: 0.94rem;
  margin-bottom: 1.8rem;
  max-width: 46ch;
}

.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

@media (max-width: 575.98px) {
  .ct-grid { grid-template-columns: 1fr; }
}

.ct-field--wide { grid-column: 1 / -1; }

.ct-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.ct-req { color: var(--violet); }

.ct-field input[type="text"],
.ct-field input[type="email"],
.ct-field input[type="tel"],
.ct-field input[type="url"],
.ct-field select,
.ct-field textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--mist);
  border-radius: 11px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.95rem;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.ct-field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(var(--violet-rgb), 0.11);
}

.ct-field input::placeholder,
.ct-field textarea::placeholder { color: #A9AFB9; }

/* ---------------------------------------------------- file and check */

.ct-file {
  border: 1.5px dashed var(--mist);
  border-radius: 12px;
  padding: 1rem;
  background: var(--paper);
  transition: border-color 0.16s ease, background 0.16s ease;
}

.ct-file:hover { border-color: var(--violet); background: #fff; }

.ct-file input { width: 100%; font-size: 0.88rem; }

.ct-file span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--ink-70);
}

.ct-check { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; }
.ct-check input { width: 16px; height: 16px; accent-color: var(--violet); }

/* Only a bot ever sees this. */
.ct-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ----------------------------------------------------------- submit */

.ct-submit {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mist);
}

.ct-promise {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-70);
  max-width: 42ch;
  line-height: 1.55;
}

/* ---------------------------------------------------------- flashes */

.ct-flash {
  border-radius: 14px;
  padding: 0.95rem 1.2rem;
  margin-bottom: 1.6rem;
  font-size: 0.95rem;
  border: 1px solid var(--mist);
  background: #fff;
}

.ct-flash--ok {
  border-color: rgba(61, 214, 140, 0.5);
  background: rgba(61, 214, 140, 0.09);
}

.ct-flash--bad {
  border-color: rgba(200, 53, 43, 0.4);
  background: rgba(200, 53, 43, 0.07);
}

@media (prefers-reduced-motion: reduce) {
  .ct-status.is-open .ct-status__dot { animation: none; }
  .ct-channels li, .ct-file, .ct-field input,
  .ct-field select, .ct-field textarea { transition: none; }
}

/* Baodigital contact page visual */
.ct-head{background-image:linear-gradient(90deg,rgba(15,23,42,.94),rgba(15,23,42,.72)),url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85');background-size:cover;background-position:center;color:#fff;}
