:root{
  --navy:#0b2e4f;
  --navy2:#071f35;
  --green:#3fb34f;
  --green2:#2b8f3a;
  --text:#0f172a;
  --muted:#475569;
  --bg:#ffffff;
  --surface:#f6f8fb;
  --border:rgba(2,8,23,.12);
  --shadow:0 10px 30px rgba(2,8,23,.10);
  --radius:18px;
  --radius2:26px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}

img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
.container{width:min(1160px, 92%); margin:0 auto}

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{left:16px; top:16px; width:auto; height:auto; padding:10px 12px; background:#fff; border:1px solid var(--border); border-radius:12px; z-index:9999}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid rgba(2,8,23,.08);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
  gap:16px;
}
.brand{display:flex; align-items:center; gap:12px}
.logo{height:48px; width:auto}
.brand-name{font-weight:800; letter-spacing:.2px}
.brand-sub{font-size:12px; color:var(--muted)}

.nav{display:flex; align-items:center; gap:18px}
.nav a{font-weight:600; color:rgba(15,23,42,.82); padding:10px 8px; border-radius:12px}
.nav a:hover{background:rgba(2,8,23,.06)}
.nav .nav-cta{
  background:linear-gradient(135deg, var(--green), var(--green2));
  color:#fff;
  padding:10px 14px;
  box-shadow:0 8px 18px rgba(63,179,79,.24);
}
.nav .nav-cta:hover{filter:brightness(.98)}

.nav-toggle{
  display:none;
  width:44px; height:44px;
  border:1px solid rgba(2,8,23,.12);
  border-radius:14px;
  background:#fff;
  align-items:center; justify-content:center;
  gap:5px; flex-direction:column;
  cursor:pointer;
}
.nav-toggle span{width:18px; height:2px; background:var(--navy); border-radius:10px}

/* Hero */
.hero{
  position:relative;
  padding:84px 0 58px;
  color:#fff;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(110deg, rgba(7,31,53,.92), rgba(11,46,79,.65) 55%, rgba(63,179,79,.20)),
    url("../image/refinery-night.jpg") center/cover no-repeat;
  transform:scale(1.02);
}
.hero::after{
  content:"";
  position:absolute; inset:-40% -20%;
  background:radial-gradient(circle at 20% 30%, rgba(63,179,79,.24), transparent 55%),
             radial-gradient(circle at 80% 15%, rgba(255,255,255,.12), transparent 50%);
  pointer-events:none;
}
.hero .container{position:relative}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:26px;
  align-items:center;
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  padding:8px 12px;
  border-radius:999px;
  font-weight:700;
  font-size:13px;
}
.hero h1{margin:14px 0 10px; font-size:46px; line-height:1.12; letter-spacing:-.6px}
.hero p{margin:0 0 18px; color:rgba(255,255,255,.86); font-size:18px; max-width:58ch}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}

.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 16px;
  border-radius:14px;
  font-weight:800;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.10);
  color:#fff;
}
.btn.primary{
  background:linear-gradient(135deg, var(--green), var(--green2));
  border:0;
  box-shadow:0 12px 24px rgba(63,179,79,.26);
}
.btn:hover{filter:brightness(.98)}
.hero-card{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  border-radius:var(--radius2);
  padding:18px;
  box-shadow:0 24px 60px rgba(0,0,0,.18);
}
.hero-card img{
  border-radius:22px;
  border:1px solid rgba(255,255,255,.14);
}
.hero-card .mini{
  display:flex; gap:12px; margin-top:14px; flex-wrap:wrap
}
.pill{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  padding:10px 12px;
  border-radius:16px;
  font-weight:800;
  font-size:13px;
}

/* Sections */
.section{padding:64px 0}
.section.alt{background:var(--surface); border-top:1px solid rgba(2,8,23,.06); border-bottom:1px solid rgba(2,8,23,.06)}
.kicker{color:var(--green2); font-weight:900; text-transform:uppercase; letter-spacing:.12em; font-size:12px}
.h2{margin:8px 0 10px; font-size:34px; line-height:1.18; letter-spacing:-.4px}
.lead{color:var(--muted); font-size:17px; max-width:78ch}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  margin-top:22px;
}
.card{
  background:#fff;
  border:1px solid rgba(2,8,23,.08);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 6px 18px rgba(2,8,23,.05);
}
.card .icon{
  width:44px; height:44px;
  border-radius:14px;
  display:grid; place-items:center;
  background:linear-gradient(135deg, rgba(63,179,79,.18), rgba(11,46,79,.10));
  border:1px solid rgba(2,8,23,.08);
  margin-bottom:10px;
  font-size:18px;
  color:var(--navy);
}
.card h3{margin:6px 0 8px; font-size:18px}
.card p{margin:0; color:var(--muted)}
.card ul{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.card li{margin:6px 0}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:22px;
  align-items:center;
  margin-top:22px;
}
.figure{
  border-radius:var(--radius2);
  overflow:hidden;
  border:1px solid rgba(2,8,23,.10);
  box-shadow:var(--shadow);
  background:#fff;
}
.figure img{width:100%; height:100%; object-fit:cover}
.figure .cap{padding:14px 16px; border-top:1px solid rgba(2,8,23,.08); color:var(--muted); font-size:14px}

/* Stats */
.stats{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
  margin-top:22px;
}
.stat{
  background:#fff;
  border:1px solid rgba(2,8,23,.08);
  border-radius:var(--radius);
  padding:14px;
}
.stat .num{font-size:26px; font-weight:900; letter-spacing:-.4px; color:var(--navy)}
.stat .lbl{color:var(--muted); font-weight:700; font-size:13px}

/* Page hero (internal) */
.page-hero{
  padding:54px 0 28px;
  background:
    linear-gradient(110deg, rgba(11,46,79,.94), rgba(7,31,53,.65) 55%, rgba(63,179,79,.12)),
    url("../image/pipes-valves.jpg") center/cover no-repeat;
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.page-hero h1{margin:8px 0 6px; font-size:36px; letter-spacing:-.4px}
.page-hero p{margin:0; color:rgba(255,255,255,.86); max-width:82ch}

/* Contact */
.form{
  display:grid; gap:12px;
}
.input{
  display:grid; gap:6px;
}
.input label{font-weight:800; font-size:13px}
.input input, .input textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(2,8,23,.14);
  background:#fff;
  font:inherit;
}
.input textarea{min-height:140px; resize:vertical}
.note{color:var(--muted); font-size:13px}
.contact-grid{
  display:grid; grid-template-columns: 1fr .9fr;
  gap:18px; margin-top:22px;
}
.kv{display:grid; gap:10px}
.kv .row{
  display:flex; gap:10px; align-items:flex-start;
  padding:12px;
  border:1px solid rgba(2,8,23,.10);
  border-radius:16px;
  background:#fff;
}
.kv .row i{color:var(--green2); margin-top:2px}
.kv .row strong{display:block}
.kv .row span{color:var(--muted); font-weight:600}

/* Footer */
.site-footer{
  margin-top:44px;
  background:linear-gradient(180deg, #071f35, #051628);
  color:rgba(255,255,255,.88);
}
.footer-grid{
  padding:44px 0 22px;
  display:grid;
  grid-template-columns: 1.2fr .6fr .7fr;
  gap:18px;
}
.footer-logo{height:46px; width:auto; margin-bottom:12px}
.footer-links{list-style:none; margin:12px 0 0; padding:0; display:grid; gap:8px}
.footer-links a{color:rgba(255,255,255,.86)}
.footer-links a:hover{text-decoration:underline}
.footer-bottom{
  padding:16px 0 22px;
  border-top:1px solid rgba(255,255,255,.10);
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  font-size:13px;
}
.to-top{color:rgba(255,255,255,.86)}
.muted{color:rgba(255,255,255,.74)}

/* Utilities */
.hr{height:1px; background:rgba(2,8,23,.10); margin:18px 0}
.tag-row{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
.tag{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid rgba(2,8,23,.10);
  background:#fff;
  padding:8px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  color:var(--navy);
}

/* Responsive */
@media (max-width: 940px){
  .hero-grid{grid-template-columns:1fr}
  .hero h1{font-size:40px}
  .stats{grid-template-columns:repeat(2, 1fr)}
  .split{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
}
@media (max-width: 760px){
  .nav-toggle{display:flex}
  .nav{
    position:absolute;
    right:4%;
    top:74px;
    background:#fff;
    border:1px solid rgba(2,8,23,.10);
    border-radius:18px;
    padding:10px;
    box-shadow:var(--shadow);
    display:none;
    flex-direction:column;
    align-items:stretch;
    width:min(320px, 92vw);
  }
  .nav a{padding:12px 12px}
  .nav.open{display:flex}
  .grid-3{grid-template-columns:1fr}
  .hero{padding:66px 0 48px}
  .hero h1{font-size:34px}
}
