:root {
  --navy: #0d3372;
  --navy-deep: #071829;
  --steel: #34495e;
  --accent: #d00d26;
  --accent-light: #e8493f;
  --bg: #f7f9fb;
  --card-bg: #ffffff;
  --text: #1c2b3a;
  --text-muted: #5c6b7a;
  --border: #e3e8ee;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(11, 35, 56, 0.08);
  --max-width: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 24, 41, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  display: flex;
  align-items: center;
  height: 38px;
  flex-shrink: 0;
}

.logo-mark svg,
.logo-mark img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-text {
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.25;
  letter-spacing: 0.4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: #dce4ec;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover { color: #fff; }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
}

.nav-cta:hover { background: var(--accent-light); }

.nav a.active { color: var(--accent-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep) url('images/hero-bg.jpg') center 35% / cover no-repeat;
  color: #fff;
  padding: 110px 0 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(7,24,41,0.95) 0%, rgba(7,24,41,0.88) 32%, rgba(7,24,41,0.55) 60%, rgba(7,24,41,0.25) 85%, rgba(7,24,41,0.15) 100%),
    radial-gradient(circle at 85% 15%, rgba(156,43,36,0.3), transparent 45%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-copy { flex: 1 1 480px; max-width: 640px; }

.hero-visual { flex: 1 1 340px; max-width: 400px; }

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.35));
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 14px;
}

.eyebrow.center { text-align: center; }

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.05rem;
  color: #c6d2dd;
  max-width: 600px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-light); }

.btn-ghost {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

.btn-block { width: 100%; text-align: center; }

.hero-stats {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-light);
}

.hero-stats span {
  font-size: 0.82rem;
  color: #aebbc7;
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, #16407a);
  color: #fff;
  padding: 64px 0 56px;
}

.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: #aebbc7;
  margin-bottom: 16px;
}

.page-hero .breadcrumb a { color: #dce4ec; }
.page-hero .breadcrumb a:hover { color: #fff; }

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.page-hero p {
  color: #c6d2dd;
  max-width: 640px;
  font-size: 1rem;
}

.page-hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-hero-copy { flex: 1 1 380px; }

.page-hero-visual { flex: 0 1 260px; max-width: 260px; }

.page-hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.3));
}

.page-hero-services {
  background-image:
    linear-gradient(100deg, rgba(7,24,41,0.95) 0%, rgba(7,24,41,0.85) 35%, rgba(7,24,41,0.55) 65%, rgba(7,24,41,0.25) 100%),
    url('images/services-bg.jpg');
  background-size: cover, cover;
  background-position: center, center 40%;
  background-repeat: no-repeat, no-repeat;
}

.page-hero-about {
  background-image:
    linear-gradient(100deg, rgba(7,24,41,0.95) 0%, rgba(7,24,41,0.85) 35%, rgba(7,24,41,0.55) 65%, rgba(7,24,41,0.25) 100%),
    url('images/about-bg.jpg');
  background-size: cover, cover;
  background-position: center, center 35%;
  background-repeat: no-repeat, no-repeat;
}

.page-hero-process {
  background-image:
    linear-gradient(100deg, rgba(7,24,41,0.95) 0%, rgba(7,24,41,0.85) 35%, rgba(7,24,41,0.55) 65%, rgba(7,24,41,0.25) 100%),
    url('images/process-bg.jpg');
  background-size: cover, cover;
  background-position: center, center 30%;
  background-repeat: no-repeat, no-repeat;
}

.page-hero-industries {
  background-image:
    linear-gradient(100deg, rgba(7,24,41,0.9) 0%, rgba(7,24,41,0.8) 35%, rgba(7,24,41,0.5) 65%, rgba(7,24,41,0.25) 100%),
    url('images/industry-oilgas.jpg');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

/* CTA band */
.cta-band {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: 56px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-band p {
  color: #c6d2dd;
  max-width: 560px;
  margin: 0 auto 26px;
}

.cta-band .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* Explore other pages */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.explore-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.explore-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.explore-card span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 8px;
}

.explore-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.explore-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Strip */
.strip {
  background: var(--accent);
  color: #fff;
  padding: 16px 0;
}

.strip-inner p {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background: #eef2f6;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--navy);
}

.section-title.center { text-align: center; }

.section-sub {
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 48px;
}

.section-sub.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Services grid */
.grid { display: grid; gap: 24px; }

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-photo {
  margin: -28px -24px 16px;
  height: 150px;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.process-step {
  position: relative;
  padding-top: 8px;
}

.step-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.55;
  margin-bottom: 10px;
}

.process-step h3 {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Industries */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.industry-tag {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.checklist {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.94rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.stat-box strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat-box span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
}

.contact-details {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.contact-details div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-details strong {
  color: var(--navy);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.contact-details span {
  color: var(--text-muted);
}

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-row input,
.form-row select,
.form-row textarea {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text);
  background: #fbfcfd;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent-light);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
  min-height: 1.2em;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #b9c4cf;
  padding: 48px 0 28px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 28px;
  margin-bottom: 20px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 320px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.88rem;
  color: #b9c4cf;
}

.footer-links a:hover { color: #fff; }

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: #7f8d99;
}

/* Responsive */
@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    transform: translateY(-150%);
    transition: transform 0.25s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .hero-visual, .page-hero-visual { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 90px 0 60px; }
  .page-hero { padding: 48px 0 40px; }
  .section { padding: 64px 0; }
  .contact-form { padding: 24px; }
}
