/* ==========================================================================
   Mashrik General Trading FZC — stylesheet
   ========================================================================== */

:root {
  /* Brand palette, drawn from the company logo */
  --c-primary-900: #0f2e4c;
  --c-primary-800: #16416b;
  --c-primary-700: #1f5588;
  --c-primary-600: #2b6ba4;
  --c-primary-500: #3b82c4;   /* logo blue */
  --c-primary-400: #5a9bd4;
  --c-primary-100: #e7f1fa;
  --c-primary-50:  #f4f9fd;

  --c-teal-600: #17a398;
  --c-teal-500: #34c3b8;
  --c-teal-400: #62d6cc;      /* logo teal */
  --c-teal-100: #e3f9f6;

  --c-ink-900: #101a26;
  --c-ink-700: #33475b;
  --c-ink-500: #5c7086;
  --c-ink-300: #93a4b5;
  --c-ink-100: #dde5ec;

  --c-bg: #ffffff;
  --c-bg-soft: #f6f9fc;
  --c-bg-deep: #0e2338;

  --c-warn-500: #e0a422;

  --shadow-sm: 0 1px 2px rgba(16, 26, 38, 0.06), 0 1px 1px rgba(16, 26, 38, 0.04);
  --shadow-md: 0 8px 24px rgba(16, 42, 67, 0.10);
  --shadow-lg: 0 24px 48px -12px rgba(15, 46, 76, 0.28);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1180px;
  --font-head: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-ink-700);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--c-ink-900);
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section { padding: 88px 0; }
@media (max-width: 780px) { section { padding: 56px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-teal-600);
  background: var(--c-teal-100);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-teal-500);
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--c-ink-500); font-size: 17px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: var(--c-primary-600);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(43, 107, 164, .55);
}
.btn-primary:hover { background: var(--c-primary-700); transform: translateY(-2px); }
.btn-teal {
  background: var(--c-teal-500);
  color: #06332f;
  box-shadow: 0 10px 24px -8px rgba(52, 195, 184, .5);
}
.btn-teal:hover { background: var(--c-teal-600); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--c-ink-900);
  border-color: var(--c-ink-100);
}
.btn-ghost:hover { border-color: var(--c-primary-500); color: var(--c-primary-600); }
.btn-white {
  background: #fff;
  color: var(--c-primary-700);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-ink-100);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { height: 42px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-text strong { font-family: var(--font-head); font-size: 18px; color: var(--c-ink-900); }
.brand-text span { font-size: 11.5px; color: var(--c-ink-500); letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 420px) {
  .brand img { height: 34px; }
  .brand-text strong { font-size: 15.5px; }
  .brand-text span { font-size: 10px; }
}

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  color: var(--c-ink-700);
  transition: background-color .15s ease, color .15s ease;
}
.main-nav a:hover { background: var(--c-primary-50); color: var(--c-primary-600); }
.main-nav a.is-active { background: var(--c-primary-100); color: var(--c-primary-700); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn-ghost { display: none; }
@media (min-width: 900px) { .header-cta .btn-ghost { display: inline-flex; } }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-ink-100);
  background: #fff;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 68px 16px auto 16px;
    background: #fff;
    border: 1px solid var(--c-ink-100);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 13px 16px; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 480px) {
  .header-cta { display: none; }
}
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .mobile-cta {
    display: block;
    margin: 6px 6px 2px;
    padding-top: 12px;
    border-top: 1px solid var(--c-ink-100);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--c-bg-deep);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(11,32,53,.95) 10%, rgba(15,46,76,.86) 42%, rgba(20,64,97,.55) 75%),
    linear-gradient(0deg, rgba(8,20,33,.5), transparent 40%);
}
.hero-inner {
  position: relative;
  padding-block: 120px 96px;
}
.hero .eyebrow { background: rgba(255,255,255,.12); color: #bdeee7; }
.hero .eyebrow::before { background: var(--c-teal-400); }
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  max-width: 16ch;
}
.hero p.lead {
  color: rgba(255,255,255,.82);
  font-size: 18.5px;
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 720px;
}
.hero-stats div {
  background: rgba(10,28,46,.35);
  padding: 22px 20px;
}
.hero-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 32px);
  color: #fff;
}
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.7); }

/* ---------- Page (inner) header banner ---------- */
.page-banner {
  position: relative;
  color: #fff;
  background: linear-gradient(120deg, var(--c-primary-900), var(--c-primary-700) 60%, var(--c-teal-600));
  padding-block: 76px 64px;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  right: -160px; top: -220px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%);
}
.page-banner .crumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: rgba(255,255,255,.7);
  margin-bottom: 14px;
}
.page-banner .crumb a:hover { color: #fff; }
.page-banner h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.page-banner p { color: rgba(255,255,255,.78); max-width: 56ch; font-size: 16.5px; margin: 0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--c-ink-100);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

.icon-tile {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-primary-100);
  color: var(--c-primary-600);
  margin-bottom: 18px;
}
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile.teal { background: var(--c-teal-100); color: var(--c-teal-600); }

.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--c-ink-500); font-size: 15px; margin-bottom: 0; }

/* ---------- Section variants ---------- */
.section-soft { background: var(--c-bg-soft); }
.section-dark {
  background: linear-gradient(160deg, var(--c-primary-900), #0a2036);
  color: rgba(255,255,255,.85);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: rgba(255,255,255,.65); }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split img, .split .media-frame { border-radius: var(--radius-lg); }
.media-frame {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.tag-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; color: var(--c-ink-700);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-ink-100);
  padding: 9px 14px;
  border-radius: var(--radius-pill);
}
.tag-list svg { width: 16px; height: 16px; color: var(--c-teal-600); flex: none; }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  text-align: center;
}
@media (max-width: 640px) { .stat-strip { grid-template-columns: 1fr; } }
.stat-strip .num {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 46px);
  color: var(--c-primary-600);
  font-weight: 800;
}
.stat-strip .lbl { color: var(--c-ink-500); font-weight: 600; font-size: 14.5px; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Product cards ---------- */
.product-card {
  background: #fff;
  border: 1px solid var(--c-ink-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-media {
  aspect-ratio: 4/3;
  background: var(--c-bg-soft);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media.placeholder svg { width: 64px; height: 64px; color: var(--c-primary-300, var(--c-primary-400)); opacity: .55; }
.product-body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.product-body .size { font-family: var(--font-head); font-size: 17px; color: var(--c-ink-900); margin-bottom: 4px; }
.product-body .meta { color: var(--c-ink-500); font-size: 13.5px; margin-bottom: 14px; }
.product-body .desc { font-size: 14px; color: var(--c-ink-500); margin-bottom: 18px; flex: 1; }
.product-body .btn { margin-top: auto; }

.category-block { margin-bottom: 64px; }
.category-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: 28px; flex-wrap: wrap;
  border-bottom: 1px solid var(--c-ink-100);
  padding-bottom: 20px;
}
.category-head h2 { margin-bottom: 6px; }
.category-head p { color: var(--c-ink-500); margin: 0; max-width: 60ch; }
.category-badge {
  font-size: 13px; font-weight: 700; color: var(--c-teal-600);
  background: var(--c-teal-100); padding: 6px 14px; border-radius: var(--radius-pill);
}

/* ---------- Testimonials ---------- */
.t-card {
  background: #fff;
  border: 1px solid var(--c-ink-100);
  border-radius: var(--radius-md);
  padding: 28px;
}
.t-card .stars { display: flex; gap: 3px; color: var(--c-warn-500); margin-bottom: 14px; }
.t-card .stars svg { width: 16px; height: 16px; }
.t-card p.quote { font-size: 15.5px; color: var(--c-ink-700); margin-bottom: 20px; }
.t-person { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--c-primary-100); color: var(--c-primary-700);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: var(--font-head);
}
.t-person strong { display: block; font-size: 14.5px; color: var(--c-ink-900); }
.t-person span { font-size: 13px; color: var(--c-ink-500); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--c-ink-100);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 19px 22px; font-weight: 700; font-size: 15.5px; color: var(--c-ink-900);
}
.faq-q svg { width: 20px; height: 20px; flex: none; color: var(--c-primary-500); transition: transform .2s ease; }
.faq-item[open] .faq-q svg { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; color: var(--c-ink-500); font-size: 14.75px; margin: 0; }
.faq-q::-webkit-details-marker { display: none; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 56px;
  background: linear-gradient(120deg, var(--c-primary-800), var(--c-primary-600) 55%, var(--c-teal-600));
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; font-size: clamp(24px, 3vw, 32px); }
.cta-banner p { color: rgba(255,255,255,.82); margin: 0; max-width: 46ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: flex-start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--c-ink-100); border-radius: var(--radius-md); margin-bottom: 14px; }
.contact-card .icon-tile { margin-bottom: 0; flex: none; }
.contact-card h4 { font-size: 15.5px; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--c-ink-500); font-size: 14.5px; margin: 0; }
.contact-card a:hover { color: var(--c-primary-600); }

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-ink-100);
  margin-top: 22px;
  aspect-ratio: 16/10;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.form-card {
  background: #fff;
  border: 1px solid var(--c-ink-100);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--c-ink-900); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--c-ink-100);
  background: var(--c-bg-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--c-ink-900);
  transition: border-color .15s ease, background-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-primary-500);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--c-ink-300); margin-top: 14px; }
.form-success {
  display: none;
  align-items: center; gap: 10px;
  background: var(--c-teal-100); color: #0a5d54;
  border-radius: var(--radius-sm);
  padding: 13px 16px; font-size: 14px; font-weight: 600;
  margin-bottom: 18px;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 18px; height: 18px; flex: none; }

/* ---------- Values / mission (about) ---------- */
.value-card { text-align: left; }
.mission-panel {
  background: linear-gradient(135deg, var(--c-primary-900), var(--c-primary-700));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.mission-panel::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(98,214,204,.28), transparent 55%);
}
.mission-panel .eyebrow { background: rgba(255,255,255,.14); color: var(--c-teal-400); position: relative; }
.mission-panel h2 { color: #fff; position: relative; }
.mission-panel p { color: rgba(255,255,255,.82); position: relative; font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-bg-deep); color: rgba(255,255,255,.68); padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { height: 34px; }
.footer-brand strong { font-family: var(--font-head); color: #fff; font-size: 17px; }
.site-footer h4 { color: #fff; font-size: 14.5px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 11px; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--c-teal-400); }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .15s ease, border-color .15s ease;
}
.social-row a:hover { background: var(--c-primary-600); border-color: var(--c-primary-600); }
.social-row svg { width: 17px; height: 17px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 22px; font-size: 13px; color: rgba(255,255,255,.5); flex-wrap: wrap;
}
.footer-bottom a:hover { color: #fff; }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(0,0,0,.4);
  z-index: 90;
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
