/* ANS Security - keeps the original 2011 look, made responsive */
:root {
  --gold: #b2af4f;
  --bar: #181818;
  --panel: #262626;
  --foot: #161615;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #000;
  color: #fff;
  font: 14px/1.5 Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; width: 100%; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 16px; }

h1 { font-size: 24px; color: var(--gold); margin: 20px 0 12px; }
h2 { font-size: 20px; color: var(--gold); margin: 20px 0 6px; }
main a { color: var(--gold); font-weight: bold; text-decoration: none; }
main a:hover { text-decoration: underline; }
main ul { padding-left: 30px; }
hr { border: 0; border-top: 1px dotted #ccc; margin: 20px 0; }

/* Header */
header { background: var(--bar); }
.head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.logo img { display: block; }
.head-right { text-align: right; }
.cta strong { display: block; font-size: 30px; line-height: 1.2; }
.cta .call { font-size: 20px; font-weight: bold; }
.cta .call a { font-size: 30px; color: var(--gold); text-decoration: none; white-space: nowrap; }
nav ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; }
nav li + li { border-left: 2px solid #555; }
nav a { display: block; padding: 2px 12px; color: var(--gold); font-size: 13px; font-weight: bold; text-decoration: none; }
nav li:last-child a { padding-right: 0; }
nav a:hover { text-decoration: underline; }
nav a[aria-current] { color: #fff; }

/* Content images floated right like the original */
main img.right { float: right; margin: 0 0 16px 40px; max-width: 45%; }
main::after { content: ""; display: block; clear: both; }
.big { font-size: 15px; }

/* Home page tiles */
.tiles { clear: both; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 27px; margin: 30px 0 40px; }
.tile { background: var(--panel); border-radius: 6px; padding: 10px 10px 14px; display: flex; flex-direction: column; text-align: center; }
.tile h2 { margin: 6px 0 10px; }
.tile p { font-size: 16px; flex: 1; margin: 10px 4px; }
.tile .more {
  display: block; padding: 9px; border-radius: 6px;
  background: linear-gradient(#c9c66a, #9d9a3c);
  color: #e6e6e6; font-size: 16px; font-weight: bold; text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .4);
}
.tile .more:hover { text-decoration: none; filter: brightness(1.1); }

/* Contact form */
.contact { max-width: 480px; }
.contact label { display: block; margin-bottom: 12px; }
.contact input, .contact textarea { display: block; width: 100%; margin-top: 4px; padding: 6px; font: inherit; border: 1px solid #555; border-radius: 3px; }
.contact button { padding: 8px 24px; font: inherit; font-weight: bold; color: #000; background: var(--gold); border: 0; border-radius: 3px; cursor: pointer; }
.contact .hp { position: absolute; left: -9999px; }
.notice { padding: 10px 12px; margin: 0 0 16px; border-radius: 3px; }
.notice.ok { background: #2f3a12; border: 1px solid var(--gold); }
.notice.bad { background: #a00; }

/* Footer */
footer { background: var(--foot); border-top: 1px solid var(--gold); margin-top: 30px; padding: 25px 0 40px; text-align: center; }
footer .links { font-size: 11px; line-height: 2; margin: 0 0 16px; }
footer .links a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .sub { color: #666; font-size: 10px; margin: 10px 0; }
footer .sub a { color: #777; text-decoration: none; }
footer .sub img { border: 1px solid var(--gold); }

@media (max-width: 760px) {
  .head { flex-direction: column; text-align: center; }
  .head-right { text-align: center; }
  .cta strong { font-size: 20px; }
  .cta .call { font-size: 16px; }
  .cta .call a { font-size: 24px; }
  nav ul { justify-content: center; }
  nav a, nav li:last-child a { padding: 4px 10px; }
  main img.right { float: none; display: block; max-width: 100%; margin: 0 0 16px; }
}
