/* Professional General Trading & Contracting Est. — site styles */
:root {
  --navy: #17191e;
  --navy-2: #262a31;
  --accent: #f5a11f;
  --accent-dark: #e08c00;
  --accent-ink: #9a5b00;
  --gold: #f5a11f;
  --ink: #1b2430;
  --muted: #5b6676;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(23,25,30, .08);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: "Manrope", "Inter", sans-serif; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { color: var(--muted); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-ink); margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px;
  border-radius: 999px; font-weight: 600; font-size: .98rem; border: 2px solid transparent;
  transition: background .2s, color .2s, transform .2s, border-color .2s; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #17191e; }
.btn-primary:hover { background: var(--accent-dark); color: #17191e; }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }

/* Top bar + header */
.topbar { background: var(--navy); color: #c4c7cd; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }
.topbar span { display: inline-flex; gap: 18px; flex-wrap: wrap; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--accent)); color: #fff;
  font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.25rem;
}
.logo-text strong { display: block; font-family: "Manrope", sans-serif; color: var(--navy); font-size: 1.02rem; line-height: 1.15; }
.logo-text small { color: var(--muted); font-size: .74rem; letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav a:hover { color: var(--accent-ink); }
.nav a.active { color: var(--accent-ink); background: #fff4e0; }
.nav .btn { margin-left: 10px; padding: 10px 20px; color: #17191e; }
.nav .btn:hover, .nav .btn.active { color: #17191e; background: var(--accent-dark); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* Hero */
.hero {
  position: relative; color: #fff; padding: 120px 0 130px; overflow: hidden;
  background: linear-gradient(110deg, rgba(23,25,30,.95) 0%, rgba(23,25,30,.82) 45%, rgba(245,161,31,.35) 100%),
              url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=80") center/cover;
}
.hero h1 { color: #fff; max-width: 760px; }
.hero h1 em { font-style: normal; color: #f5a11f; }
.hero p { color: #c4c7cd; font-size: 1.15rem; max-width: 620px; margin: 22px 0 34px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 28px; margin-top: 56px; flex-wrap: wrap; }
.hero-badges div { border-left: 3px solid var(--accent); padding-left: 14px; }
.hero-badges strong { display: block; font-size: 1.6rem; font-family: "Manrope", sans-serif; }
.hero-badges span { color: #c4c7cd; font-size: .9rem; }

.page-hero {
  color: #fff; padding: 84px 0 76px;
  background: linear-gradient(110deg, var(--navy) 0%, var(--navy-2) 55%, #5a3a06 100%);
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #c4c7cd; max-width: 640px; margin-top: 14px; font-size: 1.08rem; }
.crumbs { font-size: .85rem; color: #c4c7cd; margin-bottom: 14px; }
.crumbs a:hover { color: #fff; }

/* Grids & cards */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin: 18px 0 10px; }
.icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: #fff4e0; color: var(--accent-ink);
}
.icon svg { width: 26px; height: 26px; }
.card .more { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--accent-ink); }

/* Split section */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: 18px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.split h2 { margin-bottom: 16px; }
.checklist { list-style: none; margin: 22px 0 30px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; color: var(--ink); }
.checklist li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #17191e; display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}

/* Stats strip */
.stats { background: var(--navy); color: #fff; padding: 56px 0; }
.stats .grid { text-align: center; }
.stats strong { display: block; font-family: "Manrope", sans-serif; font-size: 2.4rem; color: #f5a11f; }
.stats span { color: #c4c7cd; }

/* Service detail blocks */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .service-media { order: 2; }
.service-media img { border-radius: 18px; aspect-ratio: 16/11; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.service-row h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 10px 0 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags span { background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: .85rem; color: var(--ink); }

/* Process */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0; font-family: "Manrope", sans-serif; font-weight: 800;
  font-size: 2.2rem; color: var(--accent); opacity: .35;
}
.step h3 { margin-bottom: 8px; }

/* Partners */
.partner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  height: 120px; display: grid; place-items: center; padding: 20px; text-align: center;
  font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.15rem; color: #8a96a8;
  transition: .25s;
}
.partner:hover { color: var(--navy); box-shadow: var(--shadow); border-color: transparent; }
.partner small { display: block; font-family: "Inter", sans-serif; font-weight: 500; font-size: .75rem; color: var(--muted); margin-top: 4px; }
.partner-cat h3 { margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.partner-cat + .partner-cat { margin-top: 48px; }

/* CTA */
.cta {
  border-radius: 22px; padding: 56px; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 50%, var(--accent-dark) 100%);
}
.cta h2 { color: #fff; }
.cta p { color: #c4c7cd; margin-top: 8px; }

/* Values / team */
.value { text-align: left; }
.mv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.mv .card { border-top: 4px solid var(--accent); }
.mv .card:nth-child(2) { border-top-color: var(--gold); }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.contact-info { background: var(--navy); color: #fff; border-radius: 18px; padding: 38px; }
.contact-info h3 { color: #fff; margin-bottom: 6px; }
.contact-info > p { color: #c4c7cd; margin-bottom: 26px; }
.ci-item { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
.ci-item .icon { background: rgba(255,255,255,.08); color: #f5a11f; width: 46px; height: 46px; flex: none; }
.ci-item strong { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #c4c7cd; }
.ci-item a, .ci-item span { color: #fff; word-break: break-word; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 38px; box-shadow: var(--shadow); }
.form h3 { margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: var(--bg-soft); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; margin-top: 12px; }
.form-ok { display: none; margin-top: 16px; padding: 14px; border-radius: 10px; background: #fff4e0; color: var(--accent-ink); font-weight: 600; }
.map { margin-top: 40px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* Footer */
.footer { background: #101114; color: #c4c7cd; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer p { color: #c4c7cd; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer .logo-text strong { color: #fff; }
.footer .logo-text small { color: #c4c7cd; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 22px 0; font-size: .88rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Reveal on scroll */
.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; } }

/* Responsive */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .service-row, .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .service-row:nth-child(even) .service-media { order: 0; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none;
  }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 620px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4, .mv, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .hero { padding: 80px 0 90px; }
  .cta, .form, .contact-info { padding: 28px; }
  .logo-text small { display: none; }
}

/* Logo images */
.logo img { height: 50px; width: auto; }
.footer .logo img { height: 56px; }
@media (max-width: 620px) { .logo img { height: 40px; } }

/* Brand strip and partner wordmarks */
.brand-strip { padding: 40px 0; border-bottom: 1px solid var(--line); }
.brand-strip p { text-align: center; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.brand-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; }
.brand-row span { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.25rem; color: #9aa0aa; letter-spacing: -.01em; }
.partner { height: auto; min-height: 150px; place-items: stretch; text-align: left; display: flex; flex-direction: column; justify-content: flex-start; color: var(--navy); font-size: 1.35rem; }
.partner small { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); font-weight: 700; margin: 2px 0 10px; }
.partner p { font-family: "Inter", sans-serif; font-weight: 400; font-size: .9rem; color: var(--muted); }
.partner:hover { border-color: var(--accent); }
.ar { font-family: "Noto Kufi Arabic", "Segoe UI", sans-serif; direction: rtl; }

/* Partner logos */
.brand-row { align-items: center; gap: 22px 40px; }
.brand-row img { height: 34px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.brand-row img:hover { filter: none; opacity: 1; }
.partner img { height: 52px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; margin-bottom: 16px; }

/* WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.ci-item .icon svg[fill="currentColor"] { width: 22px; height: 22px; }
@media (max-width: 620px) { .brand-row img { height: 26px; max-width: 100px; } .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; } }
