/* Petro X Logistics — site styles */
:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --ink: #0f172a;
  --muted: #5b6678;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --accent: #f59e0b;
  --accent-2: #ea7c0c;
  --green: #16a34a;
  --red: #dc2626;
  --blue: #2563eb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Barlow Condensed", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .3px; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.5rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); margin-bottom: .75rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--navy); color: #fff; }
.section.dark .lead, .section.dark p { color: #c9d4e5; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.5rem; border-radius: 999px; border: 2px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer; font-size: 1rem; transition: transform .15s, background .15s; font-family: var(--font); }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: #fbbf24; }
.btn-outline { border-color: currentColor; color: #fff; background: transparent; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-sm { padding: .45rem .9rem; font-size: .88rem; }
.btn-danger { background: #fee2e2; color: var(--red); }

/* header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(11, 31, 58, .96); backdrop-filter: blur(8px); color: #fff; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: .5px; text-transform: uppercase; }
.logo .mark { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: var(--navy); display: grid; place-items: center; font-size: 1.4rem; }
.logo small { display: block; font-family: var(--font); font-size: .62rem; font-weight: 600; letter-spacing: .25em; color: #9fb0c9; margin-top: -4px; }
.nav { display: flex; gap: .25rem; align-items: center; }
.nav a { color: #dbe4f1; text-decoration: none; font-weight: 600; padding: .5rem .85rem; border-radius: 8px; font-size: .95rem; }
.nav a:hover, .nav a.active { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a.cta { background: var(--accent); color: var(--navy); margin-left: .5rem; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.7rem; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--navy); padding: 12px 16px 20px; display: none; }
  .nav.open { display: flex; }
  .nav a.cta { margin: .5rem 0 0; text-align: center; }
}

/* hero */
.hero { position: relative; color: #fff; padding: 120px 0 110px; overflow: hidden;
  background: linear-gradient(110deg, rgba(11,31,58,.97) 0%, rgba(11,31,58,.85) 45%, rgba(11,31,58,.35) 100%),
              url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1800&q=70") center/cover no-repeat; }
.hero h1 span { color: var(--accent); }
.hero .lead { color: #d3ddeb; font-size: 1.25rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2.5rem; }
.badge { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); font-size: .88rem; font-weight: 600; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.25); }
.page-hero { background: var(--navy); color: #fff; padding: 80px 0 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -80px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(245,158,11,.25), transparent 70%); }
.page-hero .lead { color: #c9d4e5; }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -56px; position: relative; z-index: 2; }
.stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-size: 2.3rem; color: var(--navy); line-height: 1; }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat { border-bottom: 1px solid var(--line); } }

/* grids & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: #fff7e6; color: var(--accent-2); font-size: 1.6rem; margin-bottom: 16px; }
.card h3 { margin-bottom: .35rem; }
.card p { color: var(--muted); margin: 0; }
.card ul { color: var(--muted); padding-left: 1.1rem; margin: .75rem 0 0; }
.section.dark .card { background: var(--navy-2); border-color: rgba(255,255,255,.08); }
.section.dark .card h3 { color: #fff; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.checklist { list-style: none; padding: 0; margin: 1.25rem 0; }
.checklist li { padding-left: 2rem; position: relative; margin-bottom: .7rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--accent); color: var(--navy); font-weight: 800; display: grid; place-items: center; font-size: .8rem; }
.steps { counter-reset: s; }
.step { position: relative; padding-top: 56px; }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 0; left: 0; font-family: var(--display); font-weight: 800; font-size: 2.6rem; color: var(--accent); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { font-size: .78rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px; background: var(--bg-soft); color: var(--navy-2); }
.cta-band { background: linear-gradient(120deg, var(--accent), #fbbf24); color: var(--navy); border-radius: 22px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: .4rem 0 0; font-weight: 500; }

/* tracking preview mock */
.mock { background: #fff; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.3); overflow: hidden; color: var(--ink); }
.mock .top { background: var(--bg-soft); padding: 10px 14px; display: flex; gap: 6px; }
.mock .top i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; display: block; }
.mock .body { display: grid; grid-template-columns: 38% 62%; min-height: 260px; }
.mock .side { border-right: 1px solid var(--line); padding: 12px; }
.mock .row { border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-bottom: 8px; font-size: .78rem; }
.mock .row.on { border-color: var(--accent); background: #fffbeb; }
.mock .map { background: linear-gradient(135deg, #e0ecff, #f0f7ee); position: relative; }
.mock .map svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* forms */
.form { display: grid; gap: 18px; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 640px) { .form .row-2, .form .row-3 { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
label .req { color: var(--red); }
input, select, textarea { width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: .98rem; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(245,158,11,.15); }
textarea { min-height: 130px; resize: vertical; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; }
legend { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.2rem; padding: 0 8px; color: var(--navy); }
.form-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 36px; border: 1px solid var(--line); }
@media (max-width: 640px) { .form-card { padding: 22px; } }
.form-msg { padding: 14px 16px; border-radius: 10px; font-weight: 600; display: none; }
.form-msg.ok { display: block; background: #dcfce7; color: #166534; }
.form-msg.err { display: block; background: #fee2e2; color: #991b1b; }
.hp { position: absolute; left: -9999px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; font-weight: 600; }
.chips input { display: none; }
.chips span { display: inline-block; padding: .5rem .95rem; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .9rem; }
.chips input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list .icon { flex: 0 0 44px; height: 44px; border-radius: 10px; background: #fff7e6; display: grid; place-items: center; font-size: 1.2rem; }
.info-list b { display: block; }
.info-list span, .info-list a { color: var(--muted); text-decoration: none; }

/* footer */
.site-footer { background: #071426; color: #9fb0c9; padding: 64px 0 28px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer a { color: #9fb0c9; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Brand theme C: white header, logo navy + blue (matches www.petroxlog.com) ---------- */
:root { --navy: #111836; --navy-2: #16204a; --accent: #0540a0; --accent-2: #0540a0; --accent-light: #4a8cff; --shadow: 0 10px 30px rgba(17, 24, 54, .08); }
.site-header { background: rgba(255, 255, 255, .97); color: var(--navy); border-bottom: 1px solid var(--line); }
.logo-img img { display: block; height: 52px; width: auto; }
.site-footer .logo-img img { height: 56px; }
.nav a { color: var(--navy); }
.nav a:hover, .nav a.active { color: var(--accent); background: #e8f0fc; }
.nav a.cta { background: var(--accent); color: #fff; }
.nav a.nav-track { border: 2px solid var(--accent); border-radius: 999px; color: var(--accent); display: inline-flex; align-items: center; gap: .45em; padding: .4rem .9rem; }
.nav a.nav-track::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: 0 0 8px; animation: pxPulse 1.8s infinite; }
@keyframes pxPulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.nav-toggle { color: var(--navy); }
@media (max-width: 900px) { .nav { background: #fff; border-bottom: 1px solid var(--line); } .nav a.nav-track { justify-content: center; } }
.hero { background: linear-gradient(110deg, rgba(17,24,54,.97) 0%, rgba(17,24,54,.86) 45%, rgba(17,24,54,.35) 100%), url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1800&q=70") center/cover no-repeat; }
.hero h1 span { color: var(--accent-light); }
.hero .eyebrow, .page-hero .eyebrow, .section.dark .eyebrow { color: #8fb4ff; }
.page-hero::after { background: radial-gradient(circle, rgba(74,140,255,.28), transparent 70%); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #0a4fc0; }
.logo .mark { background: var(--accent); color: #fff; }
.card .icon, .info-list .icon { background: #e8f0fc; color: var(--accent); }
.checklist li::before { background: var(--accent); color: #fff; }
.cta-band { background: var(--accent); color: #fff; }
.mock .row.on { border-color: var(--accent); background: #eef4ff; }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 4px rgba(5, 64, 160, .15); }
.site-footer { background: #0b1029; }
.slogan { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.05rem; color: #c9d4e5; margin: 10px 0 0; }
.slogan b { font-style: normal; font-weight: 800; color: var(--accent-light); }
