/* SECURETEC site styles, after the original OneHost design. */
:root {
  --bg: #1a1a1a;
  --bg-alt: #222222;
  --card: #2a2a2a;
  --line: #555555;
  --text: #bbbbbb;
  --white: #ffffff;
  --accent: #e54242;
  --accent-dark: #c93434;
  --head: "Raleway", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.7 "Roboto", Arial, Helvetica, sans-serif;
}
h1, h2, h3 { font-family: var(--head); }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(34, 34, 34, .95); border-bottom: 1px solid #2f2f2f;
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 8px 24px; padding-top: 10px; padding-bottom: 10px;
}
.logo { display: flex; align-items: center; }
.logo img { display: block; width: 130px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: block; padding: 8px 0; color: var(--white); text-decoration: none;
  font-family: var(--head); font-size: 13px; font-weight: 700; text-transform: uppercase;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* Boxed section titles, as on the original site */
.hero .eyebrow, section.block h2 {
  display: table; margin: 0 auto 32px; padding: 5px 12px;
  border: 2px solid var(--white); color: var(--white);
  font-family: var(--head); font-size: clamp(22px, 3vw, 30px); font-weight: 500;
  line-height: 1.3; text-align: center; text-transform: uppercase;
}

/* Hero */
.hero {
  padding: 80px 0 72px; text-align: center; color: var(--text);
  background:
    linear-gradient(rgba(26, 26, 26, .82), rgba(26, 26, 26, .92)),
    url("cyber.jpg") center / cover no-repeat;
}
.hero h1 {
  margin: 0 auto; max-width: 22em; color: var(--text);
  font-size: clamp(28px, 4.5vw, 40px); font-weight: 400; line-height: 1.25; text-transform: uppercase;
}
.hero h1::after {
  content: ""; display: block; width: 70px; height: 3px; margin: 26px auto 0; background: var(--accent);
}
.hero p.lead { margin: 24px auto 0; max-width: 48em; color: var(--text); }
.button {
  display: inline-block; margin-top: 28px; padding: 11px 26px; border: 0; border-radius: 3px;
  background: var(--accent); color: var(--white); cursor: pointer;
  font: inherit; font-weight: 500; text-decoration: none; text-transform: uppercase; letter-spacing: .04em;
}
.button:hover { background: var(--accent-dark); color: var(--white); }

/* Sections */
section.block { padding: 72px 0; background: var(--bg); }
section.block.alt { background: var(--bg-alt); }
section.block > .wrap > p { max-width: 48em; margin: 0 auto 16px; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card { padding: 26px; background: var(--card); border-radius: 4px; text-align: center; }
.card h3 { margin: 0 0 10px; color: var(--white); font-size: 18px; font-weight: 600; line-height: 1.35; }
.card p { margin: 0; color: var(--text); }
.card.quote { text-align: left; border-left: 3px solid var(--accent); }

/* Form */
.form { display: grid; gap: 18px; max-width: 620px; margin: 12px auto 0; }
.form label { display: block; margin-bottom: 6px; color: var(--white); font-weight: 500; }
.form input, .form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px;
  background: transparent; color: var(--white); font: inherit;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form .button { margin-top: 0; justify-self: start; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { padding: 40px 0; background: var(--bg-alt); color: #cccccc; font-size: 14px; text-align: center; }
.site-footer p { margin: 0; }

@media (max-width: 600px) {
  .hero { padding: 56px 0 48px; }
  section.block { padding: 48px 0; }
}
