// src/styles/global.css — WSI Bell Digital brand tokens + shared styles

:root {
  --navy: #0D2137;
  --navy-light: #1B3A5C;
  --teal: #2E9BB8;
  --teal-light: #4AB8D4;
  --teal-dark: #1E7A94;
  --slate: #4A6B8A;
  --slate-light: #7A9BB8;
  --light-gray: #F5F7FA;
  --mid-gray: #E2E8F0;
  --dark: #0F172A;
  --white: #FFFFFF;
  --accent: #E8734A;
  --accent-light: #F0936B;
  --gradient-hero: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--teal-dark) 100%);
  --gradient-accent: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 48px rgba(0,0,0,0.2);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

/* ========== NAVIGATION ========== */
nav {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mid-gray);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { height: 44px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--navy-light); font-weight: 600; font-size: 14px;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  background: var(--navy); color: var(--white); padding: 10px 22px;
  border-radius: var(--radius-sm); font-weight: 700; font-size: 14px;
  transition: all 0.2s ease;
}
.nav-cta:hover { background: var(--teal); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.3s; }

/* ========== HERO ========== */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 160px 32px 140px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/hero-oilfield.jpg') center/cover no-repeat;
  opacity: 0.35;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,33,55,0.6) 0%, rgba(13,33,55,0.85) 100%);
  z-index: 0;
}
.hero-inner {
  max-width: 800px; margin: 0 auto; text-align: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(46,155,184,0.2);
  border: 1px solid rgba(46,155,184,0.4);
  color: var(--teal-light);
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; padding: 8px 20px; border-radius: 999px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: 64px; font-weight: 900; line-height: 1.05;
  margin-bottom: 24px; letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero h1 em { color: var(--teal-light); font-style: normal; }
.hero p {
  font-size: 21px; line-height: 1.65; opacity: 0.9;
  margin-bottom: 44px; max-width: 620px; margin-left: auto; margin-right: auto;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== BUTTONS ========== */
.btn-primary {
  background: var(--teal); color: var(--white); padding: 16px 32px;
  border-radius: var(--radius-md); font-weight: 700; font-size: 16px;
  display: inline-block; border: none; cursor: pointer; font-family: inherit;
  transition: all 0.2s ease; box-shadow: 0 4px 16px rgba(46,155,184,0.3);
}
.btn-primary:hover {
  background: var(--teal-dark); color: var(--white);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,155,184,0.4);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,0.3); color: var(--white); padding: 14px 32px;
  border-radius: var(--radius-md); font-weight: 700; font-size: 16px;
  display: inline-block; transition: all 0.2s ease;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); }

/* ========== TRUST BAR ========== */
.trust-bar {
  background: var(--navy); padding: 28px 32px; text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.trust-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.55); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.trust-item svg { width: 18px; height: 18px; fill: var(--teal); flex-shrink: 0; }

/* ========== SECTIONS ========== */
.section { padding: 100px 32px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-narrow { max-width: 800px; margin: 0 auto; }
.section-label {
  font-size: 13px; font-weight: 700; color: var(--teal);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px;
}
.section-title {
  font-size: 42px; font-weight: 900; color: var(--navy);
  line-height: 1.1; margin-bottom: 20px; letter-spacing: -0.01em;
}
.section-subtitle { font-size: 18px; color: var(--slate); line-height: 1.7; margin-bottom: 56px; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }
.section-gray { background: var(--light-gray); }

/* ========== FRACTIONAL CMO ========== */
.fcmo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.fcmo-content h3 { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 20px; line-height: 1.2; }
.fcmo-content p { font-size: 17px; color: var(--slate); line-height: 1.75; margin-bottom: 24px; }
.fcmo-image {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.fcmo-image img { width: 100%; height: auto; display: block; }
.fcmo-list { list-style: none; }
.fcmo-list li {
  padding: 20px 0; border-bottom: 1px solid var(--mid-gray);
  display: flex; gap: 20px; align-items: flex-start;
  transition: all 0.2s ease;
}
.fcmo-list li:hover { padding-left: 8px; }
.fcmo-list li:last-child { border-bottom: none; }
.fcmo-list .icon {
  width: 44px; height: 44px; background: var(--gradient-accent); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  font-weight: 800; font-size: 16px; flex-shrink: 0;
}
.fcmo-list .text strong { display: block; font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.fcmo-list .text span { font-size: 15px; color: var(--slate); line-height: 1.55; }

/* ========== SERVICES ========== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--white); border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg); padding: 36px;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.service-card p { font-size: 15px; color: var(--slate); line-height: 1.65; }
.service-icon {
  width: 52px; height: 52px; background: var(--gradient-accent); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; box-shadow: 0 4px 12px rgba(46,155,184,0.25);
}
.service-icon svg { width: 26px; height: 26px; fill: var(--white); }

/* ========== PROCESS ========== */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.process-step {
  text-align: center; padding: 40px 20px;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--mid-gray);
  transition: all 0.3s ease;
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.process-number {
  width: 60px; height: 60px; background: var(--gradient-accent); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 900; margin: 0 auto 24px;
  box-shadow: 0 4px 16px rgba(46,155,184,0.3);
}
.process-step h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.process-step p { font-size: 15px; color: var(--slate); line-height: 1.55; }

/* ========== INDUSTRIES ========== */
.industries-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.industry-card {
  background: var(--white); border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.3s ease;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.industry-image {
  height: 200px; overflow: hidden; position: relative;
}
.industry-icon {
  height: 160px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--mid-gray) 100%);
}
.industry-icon svg { width: 56px; height: 56px; fill: var(--teal); opacity: 0.8; }
.industry-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s ease;
}
.industry-card:hover .industry-image img { transform: scale(1.05); }
.industry-content { padding: 28px; }
.industry-content h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.industry-content p { font-size: 15px; color: var(--slate); line-height: 1.6; }

/* ========== CTA SECTION ========== */
.cta-section {
  background: var(--navy); color: var(--white);
  padding: 100px 32px; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('/assets/pattern-bg.jpg') center/cover no-repeat;
  opacity: 0.15; z-index: 0;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { font-size: 40px; font-weight: 900; margin-bottom: 16px; }
.cta-section p { font-size: 18px; opacity: 0.85; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info h3 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.contact-info p { font-size: 16px; color: var(--slate); line-height: 1.7; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-detail strong { color: var(--navy); min-width: 70px; }
.contact-detail a { color: var(--teal); font-weight: 600; font-size: 16px; }
.contact-note { margin-top: 36px; font-size: 15px; color: var(--slate); line-height: 1.7; padding: 24px; background: var(--light-gray); border-radius: var(--radius-md); border-left: 4px solid var(--teal); }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px; border: 1px solid var(--mid-gray); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15px; color: var(--dark); background: var(--white);
  transition: all 0.2s ease;
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(46,155,184,0.12);
}
.form-submit {
  background: var(--navy); color: var(--white); border: none; padding: 16px 36px;
  border-radius: var(--radius-md); font-weight: 700; font-size: 16px; cursor: pointer;
  font-family: inherit; transition: all 0.2s ease;
}
.form-submit:hover { background: var(--teal); transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ========== FOOTER ========== */
footer { background: var(--dark); color: rgba(255,255,255,0.6); padding: 64px 32px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 40px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.5); font-size: 14px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; font-size: 13px; color: rgba(255,255,255,0.35); }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero { padding: 80px 24px 64px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 17px; }
  .section { padding: 64px 24px; }
  .section-title { font-size: 32px; }
  .fcmo-grid { grid-template-columns: 1fr; gap: 48px; }
  .fcmo-image { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .industries-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
}
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 24px 32px;
  border-bottom: 1px solid var(--mid-gray);
  gap: 16px;
  box-shadow: var(--shadow-lg);
}
