/* =========================================================
   Red Horizon Cyber Group - Contact page
   (loads after main.css)
   ========================================================= */

/* ---------- Page hero ---------- */
.page-hero{
  min-height:416px;
  display:flex;
  align-items:center;
  color:#fff;
  background:
    linear-gradient(90deg, rgba(5,6,7,.82) 0%, rgba(5,6,7,.55) 45%, rgba(5,6,7,.15) 100%),
    linear-gradient(180deg, rgba(5,6,7,.15), rgba(5,6,7,.4)),
    url('../images/contact/hero-bg.png') center / cover no-repeat,
    radial-gradient(900px 500px at 80% 40%, #3a1218 0%, #0a0c10 70%),
    var(--black);
}
.page-hero .container{padding-top:56px;padding-bottom:56px}
.page-hero .eyebrow{margin-bottom:26px;font-size:22px}
.page-hero h1{font-size:clamp(42px,5vw,64px);line-height:1.02;font-weight:900;letter-spacing:-.045em}
.page-hero-lead{margin-top:24px;max-width:600px;font-size:17px;line-height:1.55;color:#e8eaee}

/* ---------- Layout ---------- */
.contact-section{padding:78px 0 80px}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:stretch}

.contact-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px 28px 32px;box-shadow:0 12px 30px rgba(15,20,30,.05)}
.contact-card .eyebrow{font-size:11.5px;margin-bottom:20px}
.contact-card h2{font-size:clamp(26px,2.6vw,32px);font-weight:800;letter-spacing:-.035em;line-height:1.1}
.card-intro{margin:14px 0 28px;font-size:14px;line-height:1.6;color:var(--muted)}

/* ---------- Form ---------- */
.enquiry-form{display:flex;flex-direction:column;gap:18px}
.field label{display:block;margin-bottom:8px;font-size:12.5px;font-weight:700;color:var(--text)}
.field label span{color:var(--red)}
.field input,
.field select,
.field textarea{
  width:100%;
  font:inherit;font-size:15px;color:var(--text);
  background:#fff;
  border:1px solid #d5d9e0;
  border-radius:8px;
  padding:0 14px;
  height:46px;
  transition:border-color .15s, box-shadow .15s;
}
.field select{
  appearance:none;-webkit-appearance:none;
  padding-right:40px;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235d6370' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.field textarea{height:auto;min-height:150px;padding:12px 14px;resize:vertical;line-height:1.5}
.field input:focus,
.field select:focus,
.field textarea:focus{outline:none;border-color:var(--red);box-shadow:0 0 0 3px rgba(240,31,53,.15)}
.field.invalid input,
.field.invalid select,
.field.invalid textarea{border-color:#d4142a;box-shadow:0 0 0 3px rgba(212,20,42,.12)}
.field-error{display:block;margin-top:6px;font-size:12px;color:#c9162a}

.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.form-submit{width:100%;padding:17px 22px;margin-top:4px}
.form-submit[disabled]{opacity:.65;cursor:wait;transform:none}
.form-status{min-height:20px;font-size:13.5px;line-height:1.5}
.form-status.ok{color:#14803c}
.form-status.err{color:#c9162a}

/* ---------- Contact information ---------- */
.info-stack{display:flex;flex-direction:column;gap:14px}
.info-box{background:#0a0c10;border:1px solid #1c212c;border-radius:12px;padding:22px 22px 24px;color:#fff}
.info-box h3{font-size:16px;font-weight:700;letter-spacing:-.01em;margin-bottom:12px}
.info-box p{font-size:13px;line-height:1.7;color:var(--muted-dark)}
.info-box a:not(.text-link){color:var(--muted-dark);transition:color .15s}
.info-box a:not(.text-link):hover{color:#fff}
.routing{display:flex;flex-direction:column;gap:7px;font-size:13px;color:var(--muted-dark)}
.info-box-accent{background:linear-gradient(135deg,#120a0d 0%,#0a0c10 70%);border-color:#2a1419}
.info-box-accent .text-link{margin:16px 0 0}

/* ---------- Closing CTA (matches the home page band) ---------- */
.contact-section + .cta{padding:56px 0}

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .page-hero{min-height:340px}
  .contact-grid{grid-template-columns:1fr}
  .contact-section{padding:56px 0}
}
@media (max-width:640px){
  .contact-card{padding:24px 20px 26px}
  .page-hero-lead{font-size:16px}
}
