/* =============================================================
   site.css — VBoX Web Services — Cloud IT Systems for Tradies & Small Business
   Steel & red palette: brushed-steel grey hero with a diagonal shine,
   red/coral reserved as the accent thread (badge, tagline, CTA, logo sub),
   green kept only for the checklist ticks.
   ============================================================= */

:root {
  --bg:          #ffffff;
  --bg-soft:     #f8fafc;
  --border:      #e2e8f0;
  --border-strong: #cbd5e1;
  --text:        #0f172a;
  --text-mid:    #475569;
  --text-body:   #334155;
  --text-muted:  #64748b;
  --steel-tint:  #e2e8f0;
  --red:         #d13a26;;
  --red-dark:    #b8341f;
  --red-tint:    #fee4e0;
  --green:       #16a34a;
  --green-dark:  #15803d;
  --green-tint:  #dcfce7;
  --font-brand:  'Orbitron', sans-serif;
  --font-body:   'Source Sans 3', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ----- NAV ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #e2e8f0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.nav-contact {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--red);
  text-decoration: none;
  padding: 0.55rem 1.2rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-contact:hover { background: var(--red-dark); }

/* ----- LOGO (image + stacked text wordmark — layout is fixed, do not alter) ----- */
.logo {
  display: flex;
  align-items: center;
}
.logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.logo-brand {
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: 0.05em;
  display: block;
  line-height: 1;
}
.logo-sub {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.65rem;
  color: var(--red-dark);
  letter-spacing: 0.18em;
  display: block;
  margin-top: 3px;
  text-transform: uppercase;
}

/* ----- HERO ----- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #94a3b8 0%, #cbd5e1 30%, #e2e8f0 62%, #f8fafc 100%);
  padding: 2rem 2rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 18%, rgba(255,255,255,0.85) 38%, rgba(255,255,255,0.25) 50%, transparent 68%);
  pointer-events: none;
}
.hero-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  pointer-events: none;
}
.ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.ring-1 { width: 820px; height: 820px; border: 2px solid rgba(71,85,105,0.3); }
.ring-2 { width: 620px; height: 620px; border: 2px solid rgba(71,85,105,0.32); }
.ring-3 { width: 420px; height: 420px; border: 2px solid rgba(239,90,68,0.4); }

.hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  background: var(--red-tint);
  color: var(--red-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.1rem;
}
.hero-heading {
  font-family: var(--font-brand);
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.9rem;
  letter-spacing: 0.02em;
}
.hero-sub {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--red-dark);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  text-align: left;
  margin: 0 auto 2rem;
  max-width: 900px;
}
.hero-card {
  position: relative;
  min-height: 150px;
  background: #eef1f5;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  display: flex;
  gap: 0.85rem;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.hero-card > * { position: relative; z-index: 1; }
.hero-card-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.hero-card-icon.steel { background: var(--steel-tint); color: var(--text-body); }
.hero-card-icon.green { background: var(--green-tint); color: var(--green-dark); }

.hero-card-heading {
  font-family: var(--font-brand);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red-dark);
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}
.hero-card-points { list-style: none; margin: 0; padding: 0; }
.hero-card-points li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  color: var(--text-body);
  font-size: 0.88rem;
}
.hero-card-points li:last-child { margin-bottom: 0; }

.tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-tint);
  position: absolute;
  left: 0;
  top: 0;
}
.tick i { position: static; color: var(--green-dark); font-size: 13px; font-weight: 700; }
.hero-card-points .tick { width: 18px; height: 18px; top: 0.05rem; }
.hero-card-points .tick i { font-size: 11px; }

.hero-tagline {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--red-dark);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ----- SECTIONS ----- */
.section { padding: 2.75rem 2rem; }
.section-mid { background: linear-gradient(180deg, #f8fafc 0%, #eef1f5 100%); }
.section-mid.features-section { padding: 0.75rem 2rem 0.5rem; }

.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 640px; margin: 0 auto; }

.section-lead {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  text-align: center;
  margin: 0 auto 1.5rem;
}
.section-lead.strong {
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
}
.section-lead:last-child { margin-bottom: 0; }

h2.section-lead {
  font-family: var(--font-brand);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
}

/* ----- CONTENT CHECKLIST (features section) ----- */
.content-list {
  text-align: left;
  max-width: 640px;
  margin: 0 auto 1.5rem;
  list-style: none;
  padding: 0;
}
.content-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  line-height: 1.65;
  color: var(--text-mid);
  font-size: 1rem;
}
.content-list li:last-child { margin-bottom: 0; }

/* ----- BUTTONS ----- */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 2.1rem;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--red-dark); }

/* ----- CONTACT PAGE HEADING ----- */
.contact-heading {
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--text);
  text-align: left;
  margin-bottom: 0.75rem;
}
.contact-subtitle {
  color: var(--text-mid);
  text-align: left;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* ----- FORM CARD ----- */
.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.form-group { margin-bottom: 0.9rem; }
label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}
.required { color: var(--red-dark); }
input, textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239,90,68,0.15);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 0.8rem; color: var(--text-muted); display: block; margin-bottom: 1rem; }
.privacy-note { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; }
.btn-submit {
  width: 100%;
  background: var(--red);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.85rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--red-dark); }

.error-box {
  background: var(--red-tint);
  border: 1px solid rgba(239,90,68,0.35);
  border-left: 4px solid var(--red);
  padding: 0.9rem 1.1rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}
.error-box-title { color: var(--red-dark); font-weight: 700; font-size: 0.92rem; margin-bottom: 0.4rem; }
.error-box ul { margin: 0; padding-left: 1.2rem; }
.error-box li { color: var(--red-dark); font-size: 0.9rem; }

/* ----- FOOTER ----- */
.footer {
  background: #eef1f5;
  border-top: 1px solid var(--border);
  padding: 0.6rem 2rem;
  text-align: center;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); line-height: 1.7; }
.footer-copy a { color: var(--red-dark); text-decoration: none; }
.footer-copy a:hover { text-decoration: underline; }

/* ----- RESPONSIVE ----- */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 1.5rem 1.25rem 1.75rem; }
  .hero-cards { grid-template-columns: 1fr; }
  .section { padding: 2rem 1.25rem; }
  .nav-inner { padding: 0.75rem 1.25rem; }
  .form-card { padding: 1.25rem; }
  .logo-brand { font-size: 1.3rem; }
  .logo-sub { font-size: 0.58rem; }
  .nav-contact { font-size: 0.78rem; padding: 0.45rem 0.95rem; }
}
