/* RSG Contact Page: page styles, moved from the old plugin template. Menu and footer rules removed (they live in base.css). */
:root {
  --rsg-black:    #000000;
  --rsg-ink:      #1A1E2D;
  --rsg-white:    #FFFFFF;
  --rsg-paper:    #F2F2F2;
  --rsg-red:      #BE3431;
  --rsg-red-deep: #8E2724;
  --rsg-red-soft: #D55F5B;
  --rsg-grey-700: #595959;
  --rsg-grey-500: #888888;
  --rsg-grey-100: #E3E3E3;
  --font: "Red Hat Display", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font); font-weight: 300;
  color: var(--rsg-black); background: var(--rsg-white);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* NAV */

/* TACTICAL AMBIENT */
.grid-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px);
  background-size: 64px 64px;
}
.ambient-coord {
  position: absolute; font-family: 'Courier New', monospace;
  font-size: 10px; font-weight: 400; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.07); pointer-events: none; z-index: 1; user-select: none;
}
.ambient-reticle { position: absolute; pointer-events: none; z-index: 1; opacity: 0.06; }
@keyframes driftA {
  0%, 100% { transform: translate(0,0); opacity: 0.07; }
  50%       { transform: translate(-6px, 8px); opacity: 0.04; }
}
@keyframes driftB {
  0%, 100% { transform: translate(0,0); opacity: 0.06; }
  50%       { transform: translate(5px, -5px); opacity: 0.03; }
}
.drift-a { animation: driftA 18s ease-in-out infinite; }
.drift-b { animation: driftB 24s ease-in-out infinite 4s; }

/* PAGE HEADER */
.page-header {
  margin-top: 64px; background: var(--rsg-ink);
  padding: 72px 56px 64px; position: relative; overflow: hidden;
  border-bottom: 4px solid var(--rsg-red);
}
.page-header-inner { max-width: 680px; position: relative; z-index: 2; }
.page-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--rsg-red-soft); margin-bottom: 20px;
}
.page-eyebrow::before { content: "/// "; }
.page-header h1 {
  font-size: 52px; font-weight: 900; line-height: 1.06;
  color: var(--rsg-white); margin-bottom: 8px;
}
.page-rule { width: 56px; height: 4px; background: var(--rsg-red); margin: 24px 0 28px; }
.page-header p {
  font-size: 18px; font-weight: 300; line-height: 1.7;
  color: rgba(255,255,255,0.68); max-width: 560px;
}

/* LAYOUT */
.contact-layout {
  display: grid; grid-template-columns: 1fr 440px; gap: 0;
  min-height: calc(100vh - 64px - 160px);
}

/* FORM PANEL */
.form-panel { padding: 64px 56px 80px; background: var(--rsg-white); }
.form-section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--rsg-grey-500);
  margin-bottom: 20px; margin-top: 36px;
}
.form-section-label:first-child { margin-top: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--rsg-grey-700);
}
.form-group label .req { color: var(--rsg-red); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font); font-size: 14px; font-weight: 400;
  color: var(--rsg-black); background: var(--rsg-paper);
  border: 1px solid var(--rsg-grey-100); border-bottom: 2px solid var(--rsg-grey-100);
  padding: 12px 14px; outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none; border-radius: 0; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--rsg-grey-100); border-bottom-color: var(--rsg-red); background: #fff;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--rsg-grey-500); font-weight: 300; }
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-divider { height: 1px; background: var(--rsg-grey-100); margin: 32px 0; }

.btn-submit {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--rsg-red); color: var(--rsg-white);
  padding: 16px 40px; font-family: var(--font);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border: none; cursor: pointer; transition: background 0.2s; margin-top: 8px;
}
.btn-submit:hover { background: var(--rsg-red-deep); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-submit svg { transition: transform 0.2s; }
.btn-submit:hover:not(:disabled) svg { transform: translateX(4px); }

#contact-form-message {
  margin-top: 20px; font-size: 14px; font-weight: 400; line-height: 1.6;
  padding: 14px 18px; display: none;
}
#contact-form-message.success {
  display: block; background: rgba(0,120,60,0.08);
  border-left: 3px solid #007830; color: #004d20;
}
#contact-form-message.error {
  display: block; background: rgba(190,52,49,0.08);
  border-left: 3px solid var(--rsg-red); color: var(--rsg-red-deep);
}

/* SIDEBAR */
.contact-sidebar {
  background: var(--rsg-ink); padding: 64px 44px 80px;
  position: relative; overflow: hidden;
}
.sidebar-block { margin-bottom: 48px; position: relative; z-index: 2; }
.sidebar-block:last-child { margin-bottom: 0; }
.sidebar-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--rsg-red-soft); margin-bottom: 14px;
}
.sidebar-block h3 {
  font-size: 20px; font-weight: 900; color: var(--rsg-white); line-height: 1.2; margin-bottom: 12px;
}
.sidebar-block p {
  font-size: 14px; font-weight: 300; line-height: 1.75; color: rgba(255,255,255,0.62);
}
.sidebar-block p strong { color: rgba(255,255,255,0.88); font-weight: 600; }
.sidebar-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 40px 0; }
.sidebar-contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.sidebar-contact-item:last-child { margin-bottom: 0; }
.sidebar-contact-icon {
  width: 36px; height: 36px; background: rgba(190,52,49,0.12);
  border: 1px solid rgba(190,52,49,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.sidebar-contact-text { display: flex; flex-direction: column; gap: 3px; }
.sidebar-contact-text span {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
}
.sidebar-contact-text a, .sidebar-contact-text p {
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.82); line-height: 1.4; transition: color 0.2s;
}
.sidebar-contact-text a:hover { color: var(--rsg-red-soft); }
.cred-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(190,52,49,0.1); border: 1px solid rgba(190,52,49,0.22);
  padding: 6px 12px; margin: 4px 4px 4px 0;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--rsg-red-soft);
}
.cred-pill::before {
  content: ''; width: 5px; height: 5px;
  background: var(--rsg-red); border-radius: 50%; flex-shrink: 0;
}

/* FOOTER */

/* RESPONSIVE */
@media (max-width: 1100px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-sidebar { padding: 56px 56px; }}
@media (max-width: 768px) {
  .page-header { padding: 56px 24px 48px; }
  .page-header h1 { font-size: 38px; }
  .form-panel { padding: 48px 24px 64px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-sidebar { padding: 48px 24px 64px; }}
