/* ══════════════════════════════════════════════════════════════════
   Unitech — contact.
   Ported from the Claude Design project `صفحه تماس با ما.dc.html`:
   masthead · 01 the request form · 02 direct channels.
   ══════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════
   MASTHEAD
   ══════════════════════════════════════════════════════════════════ */
.cmast {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--bd);
}
.cmast__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.cmast__wash {
  position: absolute;
  inset: 0;
  background: var(--cmastWash);
}
/* graph paper, faded away from the headline's corner */
.cmast__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--heroGridLine) 1px, transparent 1px),
    linear-gradient(270deg, var(--heroGridLine) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(78% 72% at 78% 40%, #000 0%, #0000 80%);
  mask-image: radial-gradient(78% 72% at 78% 40%, #000 0%, #0000 80%);
}
.cmast__glow {
  position: absolute;
  top: -18%; left: -8%;
  width: 46%;
  height: 82%;
  border-radius: 50%;
  filter: blur(100px);
  background: #E31F260F;
}

.cmast__inner {
  position: relative;
  padding-top: 76px;
  padding-bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cmast__pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--pillBg);
  border: 1px solid var(--pillBd);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: var(--fs-meta);
  font-weight: var(--fw-semibold);
  color: var(--txs);
  animation: ut-rise .8s var(--ease) both;
}
.cmast__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
/* the headline stands against a red rule, and the lead lines up under it */
.cmast__title {
  margin: 26px 0 0;
  max-width: 900px;
  padding-right: 26px;
  border-right: 3px solid var(--red);
  font-size: 46px;
  line-height: 1.34;
  font-weight: var(--fw-black);
  letter-spacing: var(--tracking-hero);
  color: var(--txs);
  text-wrap: pretty;
  animation: ut-rise .9s var(--ease) .1s both;
}
.cmast__title span { color: var(--red); }
.cmast__lead {
  margin: 24px 26px 0 0;
  max-width: 700px;
  font-size: 17px;
  line-height: var(--lh-body);
  color: var(--tx);
  text-wrap: pretty;
  animation: ut-rise .9s var(--ease) .22s both;
}

/* ══════════════════════════════════════════════════════════════════
   01 · THE REQUEST
   ══════════════════════════════════════════════════════════════════ */
.creq__inner { padding-top: 76px; padding-bottom: 80px; }

.creq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 56px;
  margin-top: 24px;
  align-items: start;
}
/* the pitch rides alongside the form while it is being filled in */
.creq__aside {
  position: sticky;
  top: 104px;
}
.creq__lead { margin-top: 20px; }
.creq__pull {
  margin-top: 24px;
  padding-right: 16px;
  border-right: 3px solid var(--red);
  font-size: 16px;
  font-weight: var(--fw-semibold);
  line-height: 1.75;
  color: var(--txs);
}

/* ══════════════════════════════════════════════════════════════════
   REQUEST FORM — the card
   ══════════════════════════════════════════════════════════════════ */
.reqform {
  background: var(--formCard);
  border: 1px solid var(--bd);
  border-radius: 20px;
  box-shadow: 0 2px 5px -1px #32325d14, 0 1px 3px -1px #0000001a;
  padding: 34px 36px 32px;
}

.reqform__pairs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
.reqform__block { margin-top: 26px; }

.reqform__label {
  display: block;
  font-size: var(--fs-meta);
  font-weight: var(--fw-semibold);
  color: var(--txs);
  margin-bottom: 9px;
}
.reqform__block > .reqform__label { margin-bottom: 12px; }
.reqform__optional {
  font-weight: var(--fw-medium);
  color: var(--txm);
}

.reqform__input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  font-family: inherit;
  background: var(--cardh);
  border: 1px solid var(--formBd);
  border-radius: var(--radius-10);
  padding: 13px 15px;
  font-size: 14px;
  color: var(--txs);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.reqform__input::placeholder { color: var(--formPlaceholder); }
.reqform__input:focus {
  border-color: var(--nvy);
  box-shadow: 0 0 0 3px #1b3a6a1f;
}
.reqform__area {
  resize: vertical;
  line-height: 1.9;
}

/* ── The four topics: a 2×2 grid of radio buttons wearing the design's
      button styling, so the choice survives a page without script ─── */
.reqform__chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.reqform__chip {
  position: relative;
  display: block;
  box-sizing: border-box;
  cursor: pointer;
  text-align: right;
  background: var(--cardh);
  border: 1px solid var(--formBd);
  border-radius: var(--radius-10);
  padding: 13px 15px;
  font-size: 13.5px;
  font-weight: var(--fw-medium);
  color: var(--txm);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.reqform__chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.reqform__chip:has(input:checked) {
  background: var(--chipOn);
  border-color: var(--nvy);
  color: var(--txs);
  font-weight: var(--fw-semibold);
}
.reqform__chip:has(input:focus-visible) {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.reqform__submit {
  box-sizing: border-box;
  width: 100%;
  margin-top: 28px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  background: var(--ctaBg);
  color: var(--ctaFg);
  border-radius: var(--radius-10);
  padding: 17px 24px;
  font-size: 15.5px;
  font-weight: var(--fw-semibold);
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}
.reqform__submit:hover {
  opacity: .92;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px #1b3a6a2e;
}

.reqform__privacy {
  margin: 14px 0 0;
  font-size: var(--fs-mono);
  line-height: 1.85;
  color: var(--txm);
}

/* ══════════════════════════════════════════════════════════════════
   Server-side states
   The honeypot is removed from the reading and tabbing order without
   display:none, which some bots detect.
   ══════════════════════════════════════════════════════════════════ */
.reqform__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Whole-form failure — expired session, throttle, database trouble. */
.reqform__alert {
  margin: 0 0 18px;
  padding: 11px 14px;
  border: 1px solid var(--btn-no-bd);
  border-radius: var(--radius-9);
  background: var(--btn-no-bg);
  color: var(--btn-no-tx);
  font-size: var(--fs-meta);
  line-height: 1.7;
}

/* Field-level failure. */
.reqform__input.is-invalid {
  border-color: var(--btn-no-bd);
  background: var(--btn-no-bg);
}
.reqform__err {
  display: block;
  margin-top: 6px;
  color: var(--btn-no-tx);
  font-size: var(--fs-micro);
  line-height: 1.6;
}

/* Confirmation panel, shown in place of the form after a save. */
.reqform--sent { padding: 48px 36px 46px; }
.reqform__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--doneBg);
  color: var(--doneTx);
}
.reqform__title {
  margin-top: 22px;
  font-size: 25px;
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  color: var(--txs);
}
.reqform__note {
  margin: 14px 0 0;
  max-width: 440px;
  font-size: 15.5px;
  line-height: var(--lh-body);
  color: var(--tx);
}
.reqform__ticket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 0;
  max-width: 440px;
  padding: 14px 16px;
  border: 1px solid var(--bd);
  border-radius: var(--radius-10);
  background: var(--chip);
}
.reqform__ticket span { color: var(--txm); font-size: var(--fs-meta); }
.reqform__ticket strong {
  color: var(--txs);
  font-family: var(--font-mono);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-bold);
}
.reqform__again {
  display: inline-block;
  margin-top: 24px;
  font-size: 13.5px;
  font-weight: var(--fw-bold);
  color: var(--nvy);
}
.reqform__again:hover { color: var(--red); }

/* ══════════════════════════════════════════════════════════════════
   02 · DIRECT CHANNELS
   ══════════════════════════════════════════════════════════════════ */
.channels__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-top: 24px;
}
.channels__title {
  margin: 0;
  max-width: 760px;
  font-size: 32px;
  line-height: var(--lh-h2);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-h2);
  color: var(--txs);
  text-wrap: pretty;
}
.channels__lead {
  margin: 0;
  max-width: 360px;
  font-size: 15.5px;
  line-height: var(--lh-body);
  color: var(--tx);
}

.channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}
.channel {
  position: relative;
  overflow: hidden;
  background: var(--cardh);
  border: 1px solid var(--bd);
  border-radius: var(--radius-18);
  box-shadow: var(--cardShadow);
  padding: 28px 26px 26px;
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.channel:hover {
  transform: translateY(-4px);
  border-color: var(--ring);
  box-shadow: 0 13px 27px -5px #32325d33, 0 8px 16px -8px #0000002e;
}
/* the rule grows out of the card's right edge, as everything RTL does */
.channel__rule {
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 3px;
  transform-origin: right center;
  background: linear-gradient(270deg, var(--red), #E31F2600);
  animation: ut-bar .9s var(--ease) both;
}
@media (prefers-reduced-motion: reduce) {
  .channel__rule { animation: none; }
}
.channel__label {
  font-size: var(--fs-meta);
  font-weight: var(--fw-medium);
  color: var(--txm);
}
.channel__value {
  display: block;
  margin-top: 16px;
  text-align: right;
  font-size: 22px;
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  color: var(--txs);
}
a.channel__value:hover { color: var(--red); }
.channel__value--addr {
  font-size: 15.5px;
  font-weight: var(--fw-semibold);
  line-height: 1.8;
}

/* the navy strip that hands an undecided visitor the self-check */
.nudge {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(160deg, #16305A 0%, #0A2540 100%);
  border-radius: var(--radius-18);
  padding: 26px 30px;
}
.nudge__text { min-width: 0; }
.nudge__kicker {
  font-size: var(--fs-meta);
  font-weight: var(--fw-bold);
  color: #FF9A9F;
}
.nudge__line {
  margin-top: 11px;
  font-size: 20px;
  line-height: 1.6;
  font-weight: var(--fw-semibold);
  color: var(--white);
  text-wrap: pretty;
}
.nudge__cta {
  flex-shrink: 0;
  background: linear-gradient(180deg, #F2F6FC 0%, #DCE6F4 100%);
  color: #12274A;
  border-radius: var(--radius-10);
  padding: 15px 26px;
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-bold);
  white-space: nowrap;
  transition: opacity .2s ease, transform .2s ease;
}
.nudge__cta:hover {
  opacity: .9;
  transform: translateY(-2px);
  color: #12274A;
}

/* ══════════════════════════════════════════════════════════════════
   Responsive — the desktop composition is the design; below its own
   1180px minimum the two columns stack.
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .cmast__inner { padding-top: 56px; padding-bottom: 52px; }
  .cmast__title { font-size: 36px; }

  .creq__inner { padding-top: 56px; padding-bottom: 60px; }
  .creq__grid  { grid-template-columns: 1fr; gap: 34px; }
  /* nothing to ride alongside once the two columns stack */
  .creq__aside { position: static; }

  .channels__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .channels { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .cmast__title { font-size: 30px; padding-right: 18px; }
  .cmast__lead  { margin-right: 18px; font-size: 16px; }

  .reqform { padding: 26px 22px 24px; }
  .reqform--sent { padding: 36px 22px 34px; }

  .channels { grid-template-columns: 1fr; }
  .nudge { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 620px) {
  .reqform__pairs,
  .reqform__chips { grid-template-columns: 1fr; }
}
