/* ==========================================================================
   Vekta Midstream — Corporate Website Stylesheet
   Brand colors: Navy #1A2D5C, Orange #F5A623, Yellow accent #FFD23F
   ========================================================================== */

:root {
  --navy: #1A2D5C;
  --navy-dark: #0E1B3D;
  --navy-light: #2E4A6B;
  --orange: #F5A623;
  --orange-dark: #E07D24;
  --yellow: #FFD23F;
  --grey-50: #F7F8FA;
  --grey-100: #ECEEF2;
  --grey-200: #D5D9E0;
  --grey-400: #8C94A4;
  --grey-600: #5A6275;
  --grey-800: #2A3142;
  --white: #FFFFFF;
  --max-width: 1200px;
}

/* Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--grey-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--orange-dark); }

h1, h2, h3, h4 {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Nav
   ========================================================================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--grey-100);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 1.5rem;
}
.site-logo img {
  height: 44px;
  width: auto;
}
.site-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.site-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  letter-spacing: 0.01em;
  position: relative;
}
.site-nav a:hover { color: var(--orange-dark); }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--orange);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Hero
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero h1 {
  color: var(--white);
  max-width: 760px;
  margin-bottom: 1rem;
}
.hero .lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  max-width: 680px;
  margin-bottom: 2rem;
  line-height: 1.55;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: var(--navy-dark);
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: var(--white); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Sections
   ========================================================================== */
section.content {
  padding: 4.5rem 0;
}
section.content.alt { background: var(--grey-50); }
.section-eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 0.75rem;
}
.section-intro {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-intro h2 { margin-bottom: 0.5rem; }
.section-intro p {
  color: var(--grey-600);
  font-size: 1.1rem;
}

/* Page header (non-hero pages)
   ========================================================================== */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0 3.5rem;
  border-bottom: 4px solid var(--orange);
}
.page-header h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.page-header .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.page-header .breadcrumb a {
  color: var(--orange);
}
.page-header .lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  line-height: 1.55;
}

/* Cards / Feature grid
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,45,92,0.08);
}
.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature-card p {
  color: var(--grey-600);
  font-size: 0.95rem;
  margin: 0;
}

/* Two-column split
   ========================================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.two-col.tight { gap: 2rem; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

/* Stat strip
   ========================================================================== */
.stat-strip {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat .stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.stat .stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}

/* Definition list (info table)
   ========================================================================== */
.info-list {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 2fr;
  gap: 0;
  border-top: 1px solid var(--grey-200);
}
.info-list dt, .info-list dd {
  padding: 1rem 0;
  border-bottom: 1px solid var(--grey-200);
  margin: 0;
}
.info-list dt {
  font-weight: 700;
  color: var(--navy);
  padding-right: 1.5rem;
}
.info-list dd { color: var(--grey-800); }
@media (max-width: 600px) {
  .info-list { grid-template-columns: 1fr; }
  .info-list dt { padding-bottom: 0.25rem; border-bottom: none; }
  .info-list dd { padding-top: 0.25rem; padding-bottom: 1rem; }
}

/* Notice / banner
   ========================================================================== */
.notice {
  background: var(--grey-50);
  border-left: 4px solid var(--orange);
  padding: 1.5rem 1.75rem;
  border-radius: 0 4px 4px 0;
  margin: 1.5rem 0;
}
.notice h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-dark);
  margin: 0 0 0.5rem;
}
.notice p:last-child { margin-bottom: 0; }

/* Download card
   ========================================================================== */
.download-card {
  display: flex;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 6px;
  padding: 1.75rem;
  align-items: center;
  margin: 2rem 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.download-card:hover {
  border-color: var(--orange);
  box-shadow: 0 6px 18px rgba(26,45,92,0.06);
}
.download-card .doc-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.download-card .doc-meta {
  flex: 1;
}
.download-card .doc-meta h4 {
  margin: 0 0 0.25rem;
  color: var(--navy);
  font-size: 1.05rem;
}
.download-card .doc-meta p {
  margin: 0;
  color: var(--grey-600);
  font-size: 0.9rem;
}
.download-card .btn { flex-shrink: 0; }
@media (max-width: 600px) {
  .download-card { flex-wrap: wrap; }
  .download-card .btn { width: 100%; text-align: center; }
}

/* Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.9rem;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--orange); }
.footer-brand p {
  color: rgba(255,255,255,0.65);
  margin-top: 0.75rem;
  line-height: 1.55;
}
.footer-brand img {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 0.5rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* Mobile nav
   ========================================================================== */
@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--grey-100);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--grey-100);
  }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav a.active::after { display: none; }
  .site-nav a.active { color: var(--orange-dark); }
}

/* Utilities
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; }
.text-muted { color: var(--grey-600); }
.text-orange { color: var(--orange-dark); }
hr.divider {
  border: none;
  height: 1px;
  background: var(--grey-200);
  margin: 2.5rem 0;
}
