/* PetrA Eco Oil International Ltd — site stylesheet
   No external dependencies. Self-hosted font. CSP-safe (no inline styles needed). */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b2a57;
  --navy-2: #12386e;
  --blue: #124584;
  --green: #28a85d;
  --green-soft: #e2f3e8;
  --amber: #e9a23b;
  --sand: #f3f6f5;
  --paper: #ffffff;
  --ink: #15232b;
  --ink-2: #4a5a63;
  --line: #dfe3e3;
  --radius: 14px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(11, 42, 87, .06), 0 8px 24px rgba(11, 42, 87, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--amber); color: var(--navy); padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip:focus { left: 16px; top: 16px; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--green); vertical-align: middle; margin-right: 10px; }
.on-dark .eyebrow { color: #9fe0b9; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 62ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 42, 87, .96);
  -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.02rem; font-weight: 800; letter-spacing: .02em; }
.brand-text span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #a9c6e6; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 14px; color: #dbe4f0; text-decoration: none; font-weight: 600; font-size: .94rem; border-radius: 8px;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-links a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.nav-links .btn { margin-left: 8px; }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 8px;
  width: 44px; height: 44px; cursor: pointer; padding: 0;
}
.nav-toggle svg { width: 22px; height: 22px; margin: auto; display: block; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch;
    background: var(--navy); padding: 8px var(--gutter) 20px; border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
  .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--green); padding-left: 14px; }
  .nav-links .btn { margin: 14px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff !important; }
.btn-primary:hover { background: #1f8c4b; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff !important; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-dark { background: var(--navy); color: #fff !important; }
.btn-dark:hover { background: var(--blue); }
.btn svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #e8eef7; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: min(84vh, 760px); }
.hero-copy { padding: clamp(56px, 9vw, 120px) 0; padding-right: clamp(0px, 4vw, 56px); align-self: center; position: relative; z-index: 2; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #8fdcae; }
.hero .lede { color: #bccbe0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-media { position: relative; margin-right: calc(-1 * var(--gutter)); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(11,42,87,.35) 22%, rgba(11,42,87,0) 50%);
}
.hero-tag {
  position: absolute; z-index: 2; right: calc(var(--gutter) + 8px); bottom: 28px; background: rgba(11,42,87,.82);
  border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 12px 16px; font-size: .8rem; color: #d0dced;
}
.hero-tag strong { display: block; color: #fff; font-size: .95rem; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { height: 300px; margin: 0 calc(-1 * var(--gutter)); order: -1; }
  .hero-media::after { background: linear-gradient(0deg, var(--navy) 0%, rgba(11,42,87,0) 55%); }
  .hero-copy { padding: 28px 0 56px; }
  .hero-tag { display: none; }
}

/* page hero (inner pages) */
.page-hero { background: var(--navy); color: #d7e1ee; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lede { color: #b5c6dd; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(143, 220, 174, .14); box-shadow: 0 0 0 60px rgba(143,220,174,.03), 0 0 0 140px rgba(143,220,174,.025);
  pointer-events: none;
}
.crumbs { font-size: .85rem; margin-bottom: 18px; color: #93a9c9; }
.crumbs a { color: #bcd0ea; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(44px, 6vw, 72px) 0; }
.section.white { background: var(--paper); }
.section.dark { background: var(--navy); color: #c8d5e6; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .lede { color: #aabbd3; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #d5dde6; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 16 / 10; }
.photo.sq { aspect-ratio: 1 / 1; }
figure { margin: 0; }
figcaption { font-size: .82rem; color: var(--ink-2); margin-top: 10px; }

/* cards */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: 0 1px 0 rgba(11,42,87,.02);
}
.section.white .card { background: var(--sand); border-color: transparent; }
.section.dark .card { background: var(--navy-2); border-color: rgba(255,255,255,.07); color: #bac9dd; }
.card p:last-child { margin-bottom: 0; }
.card .num { font-size: .8rem; font-weight: 800; color: var(--green); letter-spacing: .1em; margin-bottom: 14px; display: block; }
.card p { color: var(--ink-2); font-size: .97rem; }
.section.dark .card p { color: #a9bad2; }
.card-media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-media .photo { border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3; }
.card-media .body { padding: 24px 26px 28px; }

.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; }
.section.dark .icon { background: rgba(143,220,174,.12); color: #9fe0b9; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.12); }
.stat { padding: 28px 24px 4px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.12); }
.stat b { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.stat b small { font-size: .38em; font-weight: 700; color: #9fe0b9; letter-spacing: .04em; margin-left: 4px; }
.stat span { display: block; font-size: .86rem; color: #9fb2cc; margin-top: 10px; }
.stats.light { border-top-color: var(--line); }
.stats.light .stat + .stat { border-left-color: var(--line); }
.stats.light .stat b { color: var(--navy); }
.stats.light .stat b small { color: var(--blue); }
.stats.light .stat span { color: var(--ink-2); }
@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 20px; }
}

/* flow / process */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; counter-reset: step; }
.flow-step { position: relative; padding: 30px 30px 30px 0; }
.flow-step + .flow-step { padding-left: 30px; border-left: 1px dashed rgba(143,220,174,.35); }
.flow-step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-weight: 800; font-size: .85rem; letter-spacing: .12em; color: var(--green); margin-bottom: 12px;
}
.flow-step p { color: var(--ink-2); font-size: .97rem; }
.section.dark .flow-step p { color: #a9bad2; }
@media (max-width: 820px) {
  .flow { grid-template-columns: 1fr; }
  .flow-step { padding: 22px 0 22px 0; }
  .flow-step + .flow-step { padding-left: 0; border-left: 0; border-top: 1px dashed rgba(143,220,174,.35); }
}

/* vertical steps */
.steps { counter-reset: step; }
.steps .flow-step { padding: 20px 0; }
.steps .flow-step + .flow-step { padding-left: 0; border-left: 0; border-top: 1px dashed rgba(18,69,132,.3); }

/* list tables */
.spec { width: 100%; border-collapse: collapse; font-size: .96rem; }
.spec th, .spec td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { color: var(--ink-2); font-weight: 600; width: 44%; padding-right: 16px; }
.spec td { font-weight: 700; color: var(--navy); }

.product { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.product h3 { margin: 0; font-size: 1.08rem; }
.product span { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); background: var(--green-soft); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.section.dark .ticks li { border-bottom-color: rgba(255,255,255,.1); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 10px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }

.quote { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; line-height: 1.35; color: var(--navy); letter-spacing: -0.01em; border-left: 4px solid var(--green); padding-left: 24px; margin: 0 0 24px; }

.licence { display: flex; flex-direction: column; gap: 6px; }
.licence .who { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.licence h3 { margin: 4px 0 6px; }
.licence dl { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .9rem; }
.licence dt { color: var(--ink-2); }
.licence dd { margin: 0; font-weight: 700; color: var(--navy); }

.band { background: linear-gradient(120deg, var(--blue), #0b2a57); color: #e7eef8; border-radius: 20px; padding: clamp(32px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0 0 6px; }
.band p { margin: 0; color: #d3e3f2; max-width: 52ch; }

.notice { font-size: .85rem; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--amber); padding: 14px 18px; border-radius: 8px; }

/* contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list .icon { margin: 0; flex: none; }
.contact-list small { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--ink-2); }
.contact-list a, .contact-list strong { font-size: 1.1rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }

/* prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { background: #081f42; color: #9dafc8; padding: 64px 0 28px; font-size: .92rem; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #c9d6e8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: #7f93b0; }
.tagline { color: #8fdcae; font-weight: 700; margin-top: 14px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 56px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media print {
  .site-header, .nav-toggle, .hero-media, .band .btn { display: none !important; }
  body { background: #fff; }
  .section, .page-hero { padding: 24px 0; }
  .page-hero, .hero, .section.dark { background: #fff !important; color: #000 !important; }
  .page-hero h1, .hero h1, .section.dark h2 { color: #000 !important; }
}

/* ---------- PetrA brand overrides ---------- */
.site-header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.brand, .brand:hover { color: var(--navy); }
.brand-mark { width: 30px; height: 44px; }
.brand-text strong { font-size: 1.32rem; letter-spacing: -0.01em; color: var(--blue); }
.brand-text span { color: var(--green); font-weight: 800; letter-spacing: .16em; font-size: .64rem; }
.nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--navy); background: #eef3f9; }
.nav-links a[aria-current="page"] { color: var(--navy); }
.nav-toggle { border-color: var(--line); color: var(--navy); }
@media (max-width: 920px) {
  .nav-links { background: #fff; border-bottom: 1px solid var(--line); }
  .nav-links a { border-bottom-color: var(--line); }
}
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text span { color: var(--green-2); }
:root { --green-2: #6fd59a; }

.hero h1 em { color: var(--green-2); }
.lede.narrow { max-width: 56ch; }
.grade { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); background: #e6eef8; padding: 5px 10px; border-radius: 999px; margin-bottom: 12px; }
.card h3 + .grade { margin-top: -4px; }
.kv { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px solid var(--line); }
.kv li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.kv li span { color: var(--ink-2); }
.kv li b { color: var(--navy); text-align: right; }
.section.white .kv, .section.white .kv li { border-color: #dde3e1; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.ptable { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 640px; }
.ptable th, .ptable td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable thead th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); background: #f6f8fa; }
.ptable tbody th { color: var(--navy); font-weight: 800; }
.ptable tr:last-child th, .ptable tr:last-child td { border-bottom: 0; }

.partner-logo-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.ext::after { content: " \2197"; }
.anchor-offset { scroll-margin-top: 96px; }
section[id] { scroll-margin-top: 80px; }
.photo.pano { aspect-ratio: 16 / 7; }
@media (max-width: 640px) { .photo.pano { aspect-ratio: 4 / 3; } }
.card .link-more { font-weight: 700; text-decoration: none; }
.card .link-more:hover { text-decoration: underline; }
.mail-cta { display: inline-flex; margin-top: 14px; font-weight: 700; }
.band .btn-dark { background: var(--green); }
.band .btn-dark:hover { background: #1f8c4b; }
.section.dark .eyebrow, .page-hero .eyebrow, .band .eyebrow { color: var(--green-2); }
