/* ==========================================================================
   Shivi Electronics System — Contact page
   Loaded after style.css + site.css on contact.html only.
   ========================================================================== */

/* ---------- Quick contact cards ---------- */
.ct-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -34px; position: relative; z-index: 3; }
.ct-qcard {
  display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid #dbe2ef; border-radius: 16px; padding: 20px;
  box-shadow: 0 10px 28px -12px rgba(10, 25, 49, .2); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
a.ct-qcard:hover { transform: translateY(-3px); border-color: #93b4f5; box-shadow: 0 16px 34px -10px rgba(1, 31, 103, .22); }
.ct-qico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; background: linear-gradient(135deg, #eef2fb, #fff3e8); color: var(--purple); }
.ct-qico .icon { width: 22px; height: 22px; }
.ct-qcard.wa .ct-qico { background: #e8f9ef; color: #1da851; }
.ct-qcard.wa .ct-qico .icon { fill: currentColor; stroke: none; }
.ct-qcard .k { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.ct-qcard .v { font-size: 17px; font-weight: 700; color: var(--purple); word-break: break-word; }
.ct-qcard .v.mono { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: 16px; }
.ct-qcard .d { font-size: 13px; color: var(--text-dim); }

/* ---------- Form + offices ---------- */
.ct-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.ct-form-card { background: #fff; border: 1px solid #dbe2ef; border-radius: 22px; padding: 34px; box-shadow: var(--shadow); }
.ct-form-card h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 6px; }
.ct-form-card > p { font-size: 15px; }
.ct-tip { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fff8f1; border: 1px solid #f6dcc3; font-size: 13.5px; color: #7a4a1b; margin: 4px 0 20px; }
.ct-tip .icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--orange); }
.ct-tip strong { color: #5f3610; }

.ct-office { background: #fff; border: 1px solid #dbe2ef; border-radius: 18px; overflow: hidden; box-shadow: 0 4px 16px -2px rgba(10, 25, 49, .05); }
.ct-office + .ct-office { margin-top: 18px; }
.ct-office-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; color: #fff; background: linear-gradient(160deg, var(--purple-deep), var(--purple)); }
.ct-office-head h3 { color: #fff; font-size: 17px; margin: 0; }
.ct-office-head .tag { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ffb27a; font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; }
.ct-office-body { padding: 20px; }
.ct-office-body address { font-style: normal; display: flex; gap: 10px; color: var(--text); font-size: 15px; line-height: 1.55; }
.ct-office-body address .icon { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.ct-office-acts { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.ct-office-acts .btn { flex: 1; min-width: 130px; border-radius: 10px; padding: 11px 14px; font-size: 13.5px; }
.ct-office-acts .btn-outline { background: #fff; border: 1.5px solid var(--purple); color: var(--purple); }
.ct-office-acts .btn-outline:hover { background: var(--purple); color: #fff; }
.ct-mail { margin-top: 18px; padding: 18px 20px; border-radius: 18px; background: #f8fafc; border: 1px solid #e2e8f0; font-size: 14.5px; }
.ct-mail strong { display: block; margin-bottom: 2px; }
.ct-mail a { color: var(--purple); font-weight: 700; word-break: break-all; }

.ct-faq { max-width: 820px; }

@media (max-width: 980px) {
  .ct-quick { grid-template-columns: repeat(2, 1fr); }
  .ct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ct-quick { grid-template-columns: 1fr; margin-top: -24px; gap: 12px; }
  .ct-form-card { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) { a.ct-qcard { transition: none; } }
