/* ============================================
   MTR BEEF GAS LLC — Professional Consulting
   Computer Systems Design & Related Services
   ============================================ */

:root {
  --color-navy-deepest: #071324;
  --color-navy: #0D2137;
  --color-navy-light: #143254;
  --color-teal: #069494;
  --color-teal-bright: #06B6B6;
  --color-coral: #D96831;
  --color-gold: #C8943E;
  --color-sand: #E8D7B5;
  --color-bg: #F7F6F3;
  --color-bg-alt: #EDEBE6;
  --color-white: #FFFFFF;
  --color-text: #1A1C20;
  --color-text-light: #4B5058;
  --color-text-muted: #727882;
  --color-border: #D6D3CC;
  --color-success: #0D9488;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: Georgia, 'Times New Roman', serif;
  --max-width: 1200px;
  --nav-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--color-navy);
  outline: none;
}

a:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--color-navy-deepest);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

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

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

/* ==================== SKIP LINK ==================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-teal);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  z-index: 10000;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ==================== NAVIGATION ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-height);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy-deepest);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.3rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-teal);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-cta {
  display: inline-block;
  background: var(--color-teal);
  color: var(--color-white) !important;
  padding: 0.55rem 1.5rem !important;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.25s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--color-navy) !important;
  color: var(--color-white) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-navy-deepest);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    padding: 2rem;
    box-shadow: -4px 0 40px rgba(0, 0, 0, 0.10);
    transition: right 0.35s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 999;
  }

  .nav-overlay.active {
    display: block;
  }
}

/* ==================== HERO ==================== */
.hero {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 5rem;
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--color-sand);
  opacity: 0.5;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
  color: var(--color-navy-deepest);
}

.hero-highlight {
  color: var(--color-teal);
}

.hero-content .hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--color-teal);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn-outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

/* Hero graphic */
.hero-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-shape-stack {
  position: relative;
  width: 380px;
  height: 380px;
}

.hero-shape {
  position: absolute;
  border-radius: 12px;
}

.hero-shape:nth-child(1) {
  top: 0;
  left: 0;
  width: 220px;
  height: 220px;
  background: var(--color-navy-light);
  z-index: 3;
}

.hero-shape:nth-child(2) {
  top: 50px;
  left: 60px;
  width: 260px;
  height: 260px;
  background: var(--color-teal);
  z-index: 2;
  opacity: 0.7;
}

.hero-shape:nth-child(3) {
  top: 120px;
  left: 130px;
  width: 200px;
  height: 200px;
  background: var(--color-coral);
  z-index: 1;
  opacity: 0.6;
}

.hero-shape:nth-child(4) {
  top: 40px;
  left: 150px;
  width: 160px;
  height: 160px;
  border: 3px solid var(--color-gold);
  background: transparent;
  z-index: 4;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-graphic {
    order: -1;
  }

  .hero-shape-stack {
    width: 260px;
    height: 260px;
  }

  .hero-shape:nth-child(1) {
    width: 150px;
    height: 150px;
  }

  .hero-shape:nth-child(2) {
    width: 180px;
    height: 180px;
    top: 30px;
    left: 40px;
  }

  .hero-shape:nth-child(3) {
    width: 140px;
    height: 140px;
    top: 80px;
    left: 90px;
  }

  .hero-shape:nth-child(4) {
    width: 110px;
    height: 110px;
    top: 25px;
    left: 100px;
  }
}

/* ==================== SERVICES SECTION ==================== */
.services {
  padding: 5rem 0;
  background: var(--color-navy-deepest);
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-teal-bright);
  margin-bottom: 0.75rem;
}

.services .section-label {
  color: var(--color-teal-bright);
}

.services .section-title {
  color: var(--color-white);
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--color-navy-light);
  border: 1px solid #1E3D5C;
  border-radius: 10px;
  padding: 2rem 1.75rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-teal);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: #0A2A4A;
}

.service-card h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: #A8B8C8;
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================== ABOUT / DIFFERENTIATOR ==================== */
.about {
  padding: 5rem 0;
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
}

.about-features {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.about-features li .check-icon {
  flex-shrink: 0;
  color: var(--color-teal);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 1px;
}

/* About visual — geometric grid */
.about-visual {
  display: flex;
  justify-content: center;
}

.about-grid-pattern {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  grid-template-rows: repeat(3, 100px);
  gap: 12px;
}

.about-grid-cell {
  border-radius: 8px;
}

.about-grid-cell:nth-child(1) { background: var(--color-navy-deepest); }
.about-grid-cell:nth-child(2) { background: var(--color-teal); }
.about-grid-cell:nth-child(3) { background: var(--color-bg-alt); }
.about-grid-cell:nth-child(4) { background: var(--color-coral); }
.about-grid-cell:nth-child(5) { background: var(--color-navy-light); }
.about-grid-cell:nth-child(6) { background: var(--color-gold); }
.about-grid-cell:nth-child(7) { background: var(--color-bg-alt); }
.about-grid-cell:nth-child(8) { background: var(--color-navy-deepest); }
.about-grid-cell:nth-child(9) { background: var(--color-teal-bright); }

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-visual {
    order: -1;
  }

  .about-grid-pattern {
    grid-template-columns: repeat(3, 80px);
    grid-template-rows: repeat(3, 80px);
  }
}

/* ==================== STATS COUNTER ==================== */
.stats {
  padding: 5rem 0;
  background: var(--color-bg-alt);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-teal);
  display: block;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== PROCESS ==================== */
.process {
  padding: 5rem 0;
  background: var(--color-white);
}

.process-title {
  text-align: center;
  margin-bottom: 0.75rem;
}

.process-subtitle {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 3.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

@media (max-width: 900px) {
  .process-steps::before {
    display: none;
  }
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.5rem;
}

.process-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid var(--color-teal);
  margin: 0 auto 1.25rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-teal);
}

.process-step h4 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--color-navy-deepest);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* ==================== CONTACT ==================== */
.contact {
  padding: 5rem 0;
  background: var(--color-navy-deepest);
}

.contact .section-label {
  color: var(--color-teal-bright);
}

.contact .section-title {
  color: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-top: 2.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--color-navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item h4 {
  color: var(--color-white);
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-info-item p {
  color: #A8B8C8;
  font-size: 0.9rem;
}

.contact-form {
  background: var(--color-navy-light);
  border-radius: 12px;
  padding: 2.25rem;
  border: 1px solid #1E3D5C;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  border: 1px solid #2A4A6A;
  border-radius: 6px;
  background: #071F35;
  color: var(--color-white);
  transition: border-color 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-teal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #5A7088;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  width: 100%;
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  background: var(--color-teal);
  color: var(--color-white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.25s ease;
}

.form-submit:hover {
  background: var(--color-coral);
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background: #064E3B;
  color: #6EE7B7;
  border: 1px solid #065F46;
}

.form-status.error {
  display: block;
  background: #7F1D1D;
  color: #FCA5A5;
  border: 1px solid #991B1B;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: #060F1A;
  color: #8A9AB0;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #1A2D42;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 0.75rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.footer-col ul li a {
  color: #8A9AB0;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--color-teal-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* Counter animation */
.counter {
  display: inline-block;
}

/* ==================== PAGE HEADER (for sub-pages) ==================== */
.page-header {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 2.5rem;
  background: var(--color-navy-deepest);
  text-align: center;
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
  color: #8A9AB0;
  font-size: 0.9rem;
}

.page-header .breadcrumb a {
  color: var(--color-teal-bright);
}

/* ==================== CONTENT PAGE STYLES ==================== */
.content-section {
  padding: 4rem 0;
  background: var(--color-white);
}

.content-body {
  max-width: 820px;
  margin: 0 auto;
}

.content-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-navy-deepest);
}

.content-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-navy);
  font-family: var(--font-sans);
  font-weight: 600;
}

.content-body p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

.content-body ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: var(--color-text-light);
}

.content-body ul li {
  margin-bottom: 0.5rem;
}

.content-body .last-updated {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.content-body .address-block {
  background: var(--color-bg);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-teal);
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ==================== UTILITY ==================== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
