/* Vanguard Oilfield Services – site foundation */
:root {
  --navy: #1B3A5F;
  --navy-deep: #12263D;
  --blue: #2E7AB0;
  --gold: #C49102;
  --gold-light: #E0B33A;
  --bg: #F5F8FC;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --muted: #5A6A7A;
  --line: #D5DEE8;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(18, 38, 61, 0.08);
  --max: 1100px;
  --font: "Segoe UI", Calibri, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--white); }
.brand img {
  height: 48px;
  width: auto;
  background: var(--white);
  border-radius: 6px;
  padding: 3px;
}
.brand-text strong { display: block; font-size: 1rem; letter-spacing: 0.02em; }
.brand-text span { display: block; font-size: 0.75rem; color: #A8C4DC; }

nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: center; }
nav a {
  color: #D6E6F4;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.2rem;
}
nav a:hover, nav a.active { color: var(--gold-light); text-decoration: none; }

/* Layout */
main { min-height: 70vh; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

/* Hero */
.hero {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 55%, #245a8a 100%);
  color: var(--white);
  padding: 3.2rem 1.25rem 3.5rem;
}
.hero-inner { max-width: var(--max); margin: 0 auto; }
.hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.hero .tagline {
  font-size: 1.15rem;
  color: #B8D4EC;
  max-width: 36rem;
  margin-bottom: 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); color: var(--navy-deep); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.08); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* Sections */
.section-title {
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.section-lead {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.card h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}
.card p, .card li { color: var(--muted); font-size: 0.95rem; }
.card ul { padding-left: 1.1rem; margin-top: 0.5rem; }
.card li { margin-bottom: 0.35rem; }

.card-product {
  border-top: 4px solid var(--gold);
}
.card-product .badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  background: #F0E6C8;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}
.card-soon {
  border-top-color: var(--line);
  opacity: 0.92;
}
.card-soon .badge {
  background: #E8EEF4;
  color: var(--muted);
}

.pill-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.75rem 0 0.25rem; }
.pill {
  font-size: 0.75rem;
  font-weight: 600;
  background: #E8F1F8;
  color: var(--navy);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

/* Page header strip */
.page-head {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 1.25rem 1.75rem;
}
.page-head .wrap { padding-top: 0; padding-bottom: 0; }
.page-head h1 { font-size: 1.85rem; margin-bottom: 0.35rem; }
.page-head p { color: #B8D4EC; max-width: 36rem; }

/* Forms */
form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
  margin-top: 0.9rem;
}
form label:first-of-type { margin-top: 0; }
form input, form select, form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  background: var(--white);
  color: var(--text);
}
form input:focus, form select:focus, form textarea:focus {
  outline: 2px solid var(--blue);
  border-color: var(--blue);
}
form textarea { min-height: 120px; resize: vertical; }
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}
.form-actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #A8C4DC;
  padding: 2rem 1.25rem;
  font-size: 0.9rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
}
.site-footer strong { color: var(--white); }
.site-footer a { color: var(--gold-light); }

/* Misc */
.hr { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }
.muted { color: var(--muted); }
.steps { counter-reset: step; list-style: none; }
.steps li {
  position: relative;
  padding-left: 2.75rem;
  margin-bottom: 1.1rem;
  color: var(--muted);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.9rem;
  height: 1.9rem;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.9rem;
  text-align: center;
}
.steps li strong { color: var(--navy); display: block; margin-bottom: 0.15rem; }

@media (max-width: 640px) {
  .brand-text span { display: none; }
  .header-inner { flex-direction: column; align-items: flex-start; }
}
