﻿/* SteamEco export site — global styles (fresh tech-blue theme) */
:root {
  --navy-950: #04182e;
  --navy-900: #072a4a;
  --navy-800: #0a3a63;
  --blue: #0b5fa5;
  --blue-bright: #1173c4;
  --blue-100: #d6e8f7;
  --blue-50: #eaf3fb;
  --cyan: #00b8d9;
  --cyan-dark: #0097b2;
  --ink: #12283a;
  --muted: #5a7184;
  --line: #dde9f3;
  --bg: #f5f9fd;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(10, 58, 99, 0.10);
  --max: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", -apple-system, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 85% -80px, rgba(0, 184, 217, 0.10), transparent 65%),
    radial-gradient(700px 380px at -10% 120px, rgba(11, 95, 165, 0.08), transparent 60%),
    var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }

h1, h2, h3 { letter-spacing: -0.01em; }

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

/* faint engineering-grid texture, reusable */
.grid-texture {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand .logo {
  font-size: 24px; font-weight: 700; letter-spacing: 0.5px; color: var(--navy-900);
}
.brand .logo span { color: var(--cyan-dark); }
.brand .sub { font-size: 12px; color: var(--muted); letter-spacing: 1px; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 8px 14px; border-radius: 8px; font-size: 15px; color: var(--ink);
  font-weight: 500;
}
.main-nav a:hover { background: var(--blue-50); color: var(--navy-800); }
.main-nav a.active { color: var(--blue); background: var(--blue-50); }
.header-cta { margin-left: 8px; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 12px; font-size: 16px; cursor: pointer; color: var(--navy-800); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 10px; font-weight: 600;
  font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: 0.15s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  color: #fff; box-shadow: 0 6px 18px rgba(11, 95, 165, 0.28);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-accent {
  background: linear-gradient(135deg, var(--cyan-dark) 0%, var(--cyan) 100%);
  color: #fff; box-shadow: 0 6px 18px rgba(0, 151, 178, 0.30);
}
.btn-accent:hover { filter: brightness(1.07); }
.btn-outline { border-color: var(--blue); color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--blue-50); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- hero (home, full-bleed photo) ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(4, 24, 46, 0.96) 0%, rgba(7, 42, 74, 0.90) 42%, rgba(7, 42, 74, 0.45) 100%),
    url("../img/field-refinery-wide.png") center / cover no-repeat;
}
.hero-inner { padding: 96px 24px 100px; max-width: 720px; }
.hero .eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: #7fd8e8; border: 1px solid rgba(127, 216, 232, 0.45); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 22px;
  background: rgba(0, 184, 217, 0.10);
}
.hero h1 { font-size: 44px; line-height: 1.16; font-weight: 700; margin-bottom: 18px; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero p.lead { font-size: 18px; color: #c8ddef; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-outline { border-color: rgba(255, 255, 255, 0.55); color: #eaf6fb; }
.hero .btn-outline:hover { background: rgba(255, 255, 255, 0.10); }

.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 38px; }
.hero-chips span {
  font-size: 13.5px; font-weight: 600; color: #d9eef7;
  background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px; padding: 7px 16px; backdrop-filter: blur(4px);
}

/* legacy hero figure (kept for compatibility) */
.hero-figure { position: relative; }
.hero-figure img {
  border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  width: 100%; object-fit: cover;
}
.hero-badge {
  position: absolute; left: -18px; bottom: 22px; background: #fff; color: var(--navy-800);
  border-radius: 12px; padding: 12px 18px; box-shadow: var(--shadow); font-size: 13px;
}
.hero-badge b { display: block; font-size: 20px; }

/* ---------- stats bar ---------- */
.stats-bar {
  background: var(--card); border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(10, 58, 99, 0.06);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 24px; }
.stat b { font-size: 28px; color: var(--blue); display: block; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section.alt {
  background: var(--card);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan-dark);
  font-weight: 700; margin-bottom: 10px; display: block;
}
.section-head h2 { font-size: 32px; line-height: 1.25; color: var(--ink); }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 16.5px; }

/* ---------- cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: 0.15s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--blue-100); }
.card h3 { font-size: 19px; margin: 14px 0 8px; color: var(--navy-800); }
.card p { color: var(--muted); font-size: 15px; }
.card .tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--blue); background: var(--blue-50); border-radius: 6px; padding: 4px 10px;
}
.card-img {
  border-radius: 10px; overflow: hidden; background: #0a2239; margin-bottom: 6px;
}
.card-img img { width: 100%; height: 210px; object-fit: cover; }

.feature-ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50);
  color: var(--blue); display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}

/* ---------- split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .visual img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.check-list { list-style: none; margin-top: 18px; }
.check-list li { padding: 9px 0 9px 32px; position: relative; color: var(--ink); font-size: 15.5px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--blue-50);
}
.check-list li::after {
  content: ""; position: absolute; left: 5px; top: 19px; width: 8px; height: 4px;
  border-left: 2px solid var(--cyan-dark); border-bottom: 2px solid var(--cyan-dark);
  transform: rotate(-45deg);
}

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table.spec { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
table.spec th, table.spec td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.spec thead th { background: var(--blue-50); color: var(--navy-800); font-size: 14px; }
table.spec tbody tr:last-child td { border-bottom: none; }
table.spec td.yes { color: var(--blue); font-weight: 600; }
table.spec td.no { color: #b3423a; }

/* ---------- callout ---------- */
.callout {
  background:
    radial-gradient(600px 300px at 90% -50%, rgba(0, 184, 217, 0.35), transparent 60%),
    linear-gradient(120deg, var(--navy-950), var(--navy-800));
  color: #fff;
  border-radius: var(--radius); padding: 46px 44px; display: flex;
  align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.callout h2 { font-size: 27px; margin-bottom: 8px; }
.callout p { color: #bcd8ea; max-width: 560px; }
.callout .btn-accent { flex-shrink: 0; }

/* ---------- case cards ---------- */
.case-card { display: flex; flex-direction: column; }
.case-card .metrics { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.metric-chip {
  background: var(--blue-50); color: var(--blue); border-radius: 8px;
  font-size: 13px; font-weight: 600; padding: 6px 12px;
}
.case-card .client { font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--cyan-dark); font-weight: 700; }
.case-card h3 { margin-top: 6px; }
.case-media { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-radius: 10px; overflow: hidden; background: #0a2239; }
.case-media img { height: 150px; width: 100%; object-fit: cover; }
.case-media img.single { grid-column: 1 / -1; height: 210px; }

/* ---------- footer ---------- */
.site-footer {
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(0, 184, 217, 0.12), transparent 60%),
    var(--navy-950);
  color: #b7cfe2;
}
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 60px 24px 40px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 1px; }
.site-footer a { color: #b7cfe2; font-size: 14.5px; display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: 14.5px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.10); padding: 18px 24px; font-size: 13px;
  color: #7f9db5; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--blue-100); border-color: var(--blue);
}
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

/* ---------- calculator ---------- */
.calc-wrap { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 30px; align-items: start; }
.calc-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.calc-result {
  background: linear-gradient(150deg, var(--navy-950), var(--navy-800)); color: #fff;
  border-radius: var(--radius); padding: 34px; position: sticky; top: 90px;
}
.calc-result .big { font-size: 40px; font-weight: 700; line-height: 1.1; }
.calc-result .unit { font-size: 15px; color: #7fd8e8; }
.result-row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.result-row:last-of-type { border-bottom: none; }
.result-row span { color: #b7cfe2; font-size: 14.5px; }
.result-row b { font-size: 22px; }
.calc-hint { font-size: 13px; color: #8fb2ca; margin-top: 16px; line-height: 1.6; }

/* ---------- breadcrumbs / page hero ---------- */
.page-hero {
  position: relative; color: #fff; padding: 60px 0 54px; overflow: hidden;
  background:
    radial-gradient(640px 320px at 85% -60%, rgba(0, 184, 217, 0.30), transparent 60%),
    linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 100%);
}
.page-hero h1 { font-size: 36px; margin-bottom: 10px; }
.page-hero p { color: #c8ddef; max-width: 720px; font-size: 17px; }
.page-hero .crumbs { font-size: 13px; color: #8fb2ca; margin-bottom: 18px; letter-spacing: 1px; }
.page-hero .crumbs a { color: #7fd8e8; }

/* ---------- logos strip ---------- */
.logo-strip { display: flex; flex-wrap: wrap; gap: 12px 34px; align-items: center; justify-content: center; }
.logo-strip span { font-weight: 700; color: #8ba9c2; font-size: 15px; letter-spacing: 0.5px; }

/* ---------- misc ---------- */
.note-card { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 24px 26px; }
.note-card h3 { color: var(--navy-800); font-size: 17px; margin-bottom: 8px; }
.note-card p { font-size: 14.5px; color: var(--ink); }
.two-col-text { columns: 1; }

ul.dash { list-style: none; }
ul.dash li { padding: 7px 0 7px 22px; position: relative; color: var(--ink); font-size: 15.5px; }
ul.dash li::before { content: "—"; position: absolute; left: 0; color: var(--cyan-dark); font-weight: 700; }

.big-number { font-size: 44px; font-weight: 700; color: var(--blue); line-height: 1; }
.mt-0 { margin-top: 0; } .mt-20 { margin-top: 20px; } .mt-30 { margin-top: 30px; } .mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; } .mb-30 { margin-bottom: 30px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-inner, .split, .calc-wrap { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 34px; }
  .calc-result { position: static; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .hero h1 { font-size: 28px; }
  .hero-inner { padding: 64px 24px 70px; }
  .section { padding: 52px 0; }
}
