/* Khansaheb ZTN Petroleum Trading L.L.C — main stylesheet */
:root {
  --navy: #0c1e28;
  --navy-2: #122a37;
  --navy-3: #1a3747;
  --green: #1fb58a;
  --teal: #00a99d;
  --red: #ed1c24;
  --ink: #1b2a33;
  --muted: #5b6b74;
  --line: #e3e8eb;
  --paper: #ffffff;
  --mist: #f4f7f8;
  --sand: #f7f3ec;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 30, 40, .08);
  --max: 1200px;
  --head: 'Poppins', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1.1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 30, 40, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; font-family: var(--head); line-height: 1.05; }
.brand-text strong { color: #fff; font-weight: 600; font-size: 1.12rem; letter-spacing: .04em; }
.brand-text span { color: var(--green); font-size: .62rem; letter-spacing: .2em; margin-top: 4px; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: rgba(255,255,255,.82); text-decoration: none;
  font-family: var(--head); font-size: .92rem; font-weight: 500;
  transition: color .2s, background .2s;
}
.menu a:hover { color: #fff; background: rgba(255,255,255,.06); }
.menu a[aria-current="page"] { color: #fff; }
.menu a[aria-current="page"]::after {
  content: ''; display: block; height: 2px; margin-top: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--green));
}
.menu .btn { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--head); font-weight: 500; font-size: .95rem;
  text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--green); color: #fff !important; }
.btn-primary:hover { background: #18a07a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(31,181,138,.35); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.menu .btn { padding: 10px 20px; }
.menu .btn::after { display: none !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% 20%, rgba(0,169,157,.22), transparent 60%),
              radial-gradient(900px 500px at 0% 100%, rgba(237,28,36,.14), transparent 60%),
              var(--navy);
}
.hero-inner { position: relative; z-index: 2; padding: 120px 0 170px; max-width: 760px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ff5a4f, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.15rem; color: rgba(255,255,255,.78); max-width: 640px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-size: .78rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--green); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: linear-gradient(90deg, var(--red), var(--green)); }
.hero-art { position: absolute; right: -40px; bottom: 0; width: min(62%, 860px); z-index: 1; opacity: .9; pointer-events: none; }
.hero-mark { position: absolute; right: 6%; top: 70px; width: 300px; opacity: .07; z-index: 1; }

/* page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 400px at 90% 0%, rgba(0,169,157,.25), transparent 60%), var(--navy);
  padding: 96px 0 84px;
}
.page-hero h1 { color: #fff; max-width: 820px; font-size: clamp(2rem, 4vw, 3.1rem); }
.page-hero p { color: rgba(255,255,255,.75); max-width: 680px; font-size: 1.08rem; margin: 0; }
.page-hero .hero-mark { top: 50%; transform: translateY(-50%); width: 260px; opacity: .08; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.crumbs a { color: rgba(255,255,255,.75); text-decoration: none; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.alt { background: var(--mist); }
.sand { background: var(--sand); }
.dark { background: var(--navy); color: rgba(255,255,255,.8); }
.dark h2, .dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.dark .section-head p { color: rgba(255,255,255,.7); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.top { align-items: start; }
.muted { color: var(--muted); }

/* stats strip */
.stats { margin-top: -70px; position: relative; z-index: 5; padding: 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(12,30,40,.12); overflow: hidden;
}
.stat { padding: 30px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--head); font-size: 1.9rem; font-weight: 600; color: var(--navy); line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--muted); }

/* cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(237,28,36,.1), rgba(31,181,138,.16)); color: var(--teal);
}
.card .icon svg { width: 26px; height: 26px; }
.card .num { font-family: var(--head); font-size: .85rem; font-weight: 600; color: var(--green); letter-spacing: .1em; margin-bottom: 12px; display: block; }
a.card { text-decoration: none; color: inherit; display: block; }
.card .more { margin-top: 18px; font-family: var(--head); font-size: .88rem; font-weight: 500; color: var(--teal); display: inline-flex; gap: 6px; }

.dark .card { background: var(--navy-2); border-color: rgba(255,255,255,.07); }
.dark .card p { color: rgba(255,255,255,.66); }
.dark .card:hover { border-color: rgba(31,181,138,.4); }

/* product tile */
.product-tile { position: relative; overflow: hidden; }
.product-tile .tag { font-size: .78rem; font-family: var(--head); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

/* quote / promise */
.promise { text-align: center; padding: 110px 0; }
.promise blockquote { margin: 0 auto; max-width: 860px; font-family: var(--head); font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 500; color: #fff; line-height: 1.35; }
.promise cite { display: block; margin-top: 22px; font-style: normal; font-size: .95rem; color: var(--green); letter-spacing: .12em; text-transform: uppercase; }

/* chairman */
.chairman-photo { position: relative; }
.chairman-photo img { border-radius: var(--radius); box-shadow: 0 30px 60px rgba(12,30,40,.2); aspect-ratio: 4/5; object-fit: cover; object-position: 62% 30%; width: 100%; }
.chairman-photo::before {
  content: ''; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--red), var(--green)); z-index: -1; opacity: .9;
}
.chairman-photo { z-index: 0; }
.signature { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.signature strong { display: block; font-family: var(--head); font-size: 1.15rem; color: var(--navy); }
.signature span { display: block; color: var(--muted); font-size: .95rem; }
.letter p:first-of-type::first-letter { font-family: var(--head); float: left; font-size: 3.4rem; line-height: .9; padding: 6px 10px 0 0; color: var(--teal); font-weight: 600; }
.role-tag { font-family: var(--head); font-size: .82rem; letter-spacing: .18em; color: var(--teal); text-transform: uppercase; font-weight: 500; }

/* values list */
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.values li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 20px 22px; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.values li b { display: block; font-family: var(--head); color: var(--navy); font-weight: 600; margin-bottom: 2px; }
.values li span { color: var(--muted); font-size: .97rem; }
.values .tick { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(31,181,138,.12); color: var(--green); }
.values .tick svg { width: 22px; height: 22px; }

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm .card { padding: 40px 36px; }
.vm h3 { font-size: 1.45rem; }
.vm .card p { font-size: 1.08rem; }

/* products page */
.product-nav { position: sticky; top: 78px; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.product-nav ul { display: flex; gap: 6px; list-style: none; margin: 0 auto; padding: 12px 24px; overflow-x: auto; max-width: var(--max); scrollbar-width: none; }
.product-nav ul::-webkit-scrollbar { display: none; }
.product-nav a { white-space: nowrap; display: block; padding: 8px 16px; border-radius: 999px; text-decoration: none; color: var(--ink); font-family: var(--head); font-size: .88rem; font-weight: 500; border: 1px solid var(--line); }
.product-nav a:hover, .product-nav a.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.product { padding: 88px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.product:nth-of-type(even) { background: var(--mist); }
.product .split { grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: start; }
.product .badge { display: inline-block; font-family: var(--head); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(31,181,138,.12); color: #128064; margin-bottom: 16px; font-weight: 600; }
.product .body p { color: #3c4c55; }
.specs { background: var(--navy); color: rgba(255,255,255,.82); border-radius: var(--radius); padding: 34px 30px; position: sticky; top: 160px; }
.specs h3 { color: #fff; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.specs h3::before { content: ''; width: 20px; height: 2px; background: linear-gradient(90deg, var(--red), var(--green)); }
.specs dl { margin: 0; }
.specs dt { font-family: var(--head); font-weight: 600; color: var(--green); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-top: 18px; }
.specs dt:first-child { margin-top: 0; }
.specs dd { margin: 4px 0 0; font-size: .98rem; line-height: 1.6; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.specs dd:last-of-type { border-bottom: 0; padding-bottom: 0; }
.specs .btn { margin-top: 26px; width: 100%; justify-content: center; }

.fujairah { position: relative; overflow: hidden; }
.fujairah .facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fact { background: var(--navy-2); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 22px; }
.fact b { display: block; font-family: var(--head); font-size: 1.6rem; color: #fff; font-weight: 600; line-height: 1.15; }
.fact span { font-size: .9rem; color: rgba(255,255,255,.62); }

/* map art */
.map-card { background: var(--navy-2); border-radius: var(--radius); padding: 20px; border: 1px solid rgba(255,255,255,.07); }

/* why choose us */
.why-list { counter-reset: why; }
.why-card { position: relative; padding-top: 36px; }
.why-card .big { position: absolute; top: 18px; right: 24px; font-family: var(--head); font-size: 3.2rem; font-weight: 700; color: rgba(12,30,40,.05); line-height: 1; }

/* CTA band */
.cta-band { padding: 0 0 96px; }
.cta-box {
  position: relative; overflow: hidden; border-radius: 22px; padding: 64px 56px; color: #fff;
  background: radial-gradient(700px 300px at 100% 0%, rgba(31,181,138,.35), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(237,28,36,.25), transparent 60%), var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-box h2 { color: #fff; margin-bottom: 8px; }
.cta-box p { color: rgba(255,255,255,.75); margin: 0; max-width: 560px; }
.section-flush { padding-top: 0; }

/* contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.info-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.info-list .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,169,157,.1); color: var(--teal); }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list small { display: block; font-family: var(--head); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.info-list a, .info-list p { color: var(--navy); font-weight: 500; text-decoration: none; margin: 0; }
.form-card { background: #fff; border-radius: 18px; padding: 44px 40px; box-shadow: 0 20px 50px rgba(12,30,40,.1); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--head); font-size: .85rem; font-weight: 500; color: var(--navy); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; padding: 13px 14px; border-radius: 10px; border: 1px solid #cfd8dd; background: #fbfcfc; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,169,157,.15); background: #fff; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.field .err { font-size: .8rem; color: var(--red); display: none; }
.field.invalid .err { display: block; }
.form-foot { margin-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); }
.thanks { display: none; text-align: center; padding: 30px 10px; }
.thanks .ok { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: rgba(31,181,138,.14); color: var(--green); }
.thanks .ok svg { width: 36px; height: 36px; }
.form-card.sent form { display: none; }
.form-card.sent .thanks { display: block; }
.map-embed { margin-top: 24px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 260px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #08161e; color: rgba(255,255,255,.65); padding: 80px 0 0; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.foot-logo { width: 210px; margin-bottom: 20px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.7); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.foot-tagline { font-family: var(--head); color: var(--green); font-style: italic; }
.foot-bottom { margin-top: 64px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: rgba(255,255,255,.5); }
.foot-bottom em { color: var(--green); font-style: normal; }

/* ---------- Photography ---------- */
.hero.has-bg, .page-hero.has-bg {
  background-color: var(--navy); background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero.has-bg .hero-mark { opacity: .12; }
.photo { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 3 / 2; box-shadow: var(--shadow); background: var(--line); }
.split > div > .photo { margin-top: 8px; }
.fuj-photo { aspect-ratio: 16 / 7; margin-bottom: 16px; box-shadow: none; }
.product-photo { aspect-ratio: 16 / 8; margin: 6px 0 26px; }
.card.has-thumb { padding: 0 0 26px; overflow: hidden; }
.card.has-thumb .thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 18px; transition: transform .5s; background: var(--line); }
.card.has-thumb:hover .thumb { transform: scale(1.04); }
.card.has-thumb > :not(.thumb) { margin-left: 24px; margin-right: 24px; }
.card.has-thumb .tag { display: block; margin-bottom: 4px; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu a { padding: 10px 10px; font-size: .88rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .menu {
    position: fixed; top: 78px; left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch;
    background: var(--navy); padding: 24px; gap: 4px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
  }
  .menu.open { transform: none; }
  .menu a { font-size: 1.1rem; padding: 14px 12px; }
  .menu a[aria-current="page"]::after { width: 40px; }
  .menu .btn { margin: 16px 0 0; justify-content: center; }
  .split, .product .split, .contact-wrap { grid-template-columns: 1fr; gap: 44px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-art { width: 100%; right: -20%; opacity: .35; }
  .specs { position: static; }
  .chairman-photo { max-width: 480px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  section { padding: 68px 0; }
  .hero-inner { padding: 80px 0 140px; }
  .page-hero { padding: 64px 0 56px; }
  .grid-3, .grid-2, .grid-4, .vm, .form-grid, .foot-grid, .fujairah .facts { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 18px; }
  .stat b { font-size: 1.1rem; }
  .brand img { height: 34px; }
  .brand-text strong { font-size: .98rem; }
  .brand-text span { font-size: .54rem; letter-spacing: .14em; }
  .form-card { padding: 30px 20px; }
  .cta-box { padding: 44px 26px; }
  .chairman-photo::before { inset: 14px -12px -14px 14px; }
  .product { padding: 64px 0; }
}
