/* ============================================================
   Skims Global FZCO — Site Stylesheet
   Design tokens: deep navy + warm gold, crimson used sparingly,
   set on a cool paper-white ground. Serif for display type,
   grotesk sans for body/UI — evokes an established trade house,
   not a startup.
   ============================================================ */

:root {
  /* Color */
  --navy-900: #0F1B3F;
  --navy-800: #16265A;
  --navy-700: #1D3070;
  --gold-500: #2AA79B;
  --gold-400: #4FC2B5;
  --red-600: #B3122B;
  --ink-900: #17181C;
  --ink-700: #3B3D45;
  --ink-500: #6B6E78;
  --paper-0: #FBFAF7;
  --paper-100: #F2F0E9;
  --line-200: #E2DFD4;
  --white: #FFFFFF;

  /* Type */
  --serif: "Source Serif 4", "Iowan Old Style", "Georgia", serif;
  --sans: "IBM Plex Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-w: 1180px;
  --gutter: 24px;
  --radius: 3px;
}

/* Dark theme support (kept subtle — this is an institutional site, not switched by default,
   but respects OS preference for text on the few dark sections) */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-900);
  background: var(--paper-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy-900);
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; max-width: 62ch; color: var(--ink-700); }
p.lede { font-size: 1.15rem; color: var(--ink-700); max-width: 58ch; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; color: var(--ink-700); }
li { margin-bottom: 0.4em; }

/* -------------------- Buttons -------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 1.6em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--white);
}
.btn-primary:hover { background: var(--gold-400); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-outline-dark:hover { background: var(--navy-900); color: var(--white); }

/* -------------------- Header / Nav -------------------- */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line-200);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 24px;
  position: relative;
  min-height: 98px;
  box-sizing: border-box;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 58px; width: auto; display: block; flex-shrink: 0; }
.brand-word { line-height: 1.15; }
.brand-word .name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  display: block;
  white-space: nowrap;
}
.brand-word .suffix {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--red-600);
  display: block;
  margin-top: 2px;
  white-space: nowrap;
}

.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-700);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--navy-900);
  border-bottom-color: var(--gold-500);
}

.lang-switch { position: relative; }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-700);
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: 20px;
  padding: 7px 12px;
  cursor: pointer;
}
.lang-toggle:hover { border-color: var(--gold-500); }
.lang-toggle .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); }
.lang-toggle .chev { font-size: 0.6rem; color: var(--ink-500); transition: transform 0.15s ease; }
.lang-switch.open .lang-toggle .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(15,27,63,0.14);
  min-width: 200px;
  padding: 6px;
  display: none;
  z-index: 60;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-900);
  padding: 9px 10px;
  border-radius: 4px;
  cursor: pointer;
}
.lang-menu button:hover { background: var(--paper-100); }
.lang-menu button[aria-current="true"] { color: var(--gold-500); }
.lang-menu button[disabled] { cursor: default; color: var(--ink-500); }
.lang-menu button[disabled]:hover { background: none; }
.lang-menu .soon {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-500);
  background: var(--paper-100);
  border-radius: 10px;
  padding: 2px 8px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  margin: 4px 0;
}

/* -------------------- Hero -------------------- */

.hero {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* subtle global trade-route grid motif, the one recurring visual signature of the site */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 90% at 70% 30%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 88px var(--gutter) 76px;
}
.hero-inner.narrow { padding: 64px var(--gutter) 56px; max-width: 760px; }
.hero .eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 14px;
}
.hero h1 { color: var(--white); max-width: 16ch; }
.hero p.lede { color: rgba(255,255,255,0.82); }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* -------------------- Photo banners (full-bleed, image + overlay) -------------------- */

.photo-banner {
  position: relative;
  color: var(--white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.photo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,27,63,0.94) 0%, rgba(15,27,63,0.82) 30%, rgba(15,27,63,0.35) 62%, rgba(15,27,63,0.08) 100%);
}
.photo-banner .hero-inner { position: relative; z-index: 1; }

.photo-banner.tall .hero-inner { padding: 108px var(--gutter) 96px; }
.photo-banner.medium .hero-inner { padding: 72px var(--gutter); max-width: 620px; }

/* Homepage secondary banners: image right, text left, fixed height */
.banner-row {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}
.banner-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,27,63,0.95) 0%, rgba(15,27,63,0.88) 32%, rgba(15,27,63,0.45) 60%, rgba(15,27,63,0.05) 100%);
}
.banner-row .banner-content { position: relative; z-index: 1; max-width: 460px; padding: 40px var(--gutter); margin: 0 auto 0 0; }
.banner-row .banner-content .kicker { color: var(--gold-400); }
.banner-row .banner-content h2 { color: var(--white); }
.banner-row .banner-content p { color: rgba(255,255,255,0.85); }
.banner-row .container { position: relative; z-index: 1; width: 100%; }

/* -------------------- Stats bar -------------------- */

.stats-bar {
  background: var(--navy-800);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 34px var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat .num {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--gold-400);
  font-weight: 600;
  line-height: 1;
}
.stat .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-top: 6px;
}

/* -------------------- Sections -------------------- */

section { padding: 72px 0; }
section.tight { padding: 48px 0; }
section.alt { background: var(--paper-100); }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red-600);
  margin-bottom: 10px;
}

/* -------------------- Grid / Cards -------------------- */

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line-200);
  padding: 28px;
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; }

.card-index {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

/* -------------------- Product cards -------------------- */

.product-card {
  background: var(--white);
  border: 1px solid var(--line-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card img {
  width: 100%;
  aspect-ratio: 4/3.2;
  object-fit: cover;
  background: var(--paper-100);
}
.product-card .pc-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.product-card h4 { margin-bottom: 2px; }
.product-card .generic { font-size: 0.85rem; color: var(--ink-500); margin-bottom: 12px; }
.product-card .indication { font-size: 0.9rem; color: var(--ink-700); flex: 1; margin-bottom: 14px; }
.product-card .enquire {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-800);
  border-top: 1px solid var(--line-200);
  padding-top: 12px;
  margin-top: auto;
}

.category-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy-800);
  background: var(--paper-100);
  border: 1px solid var(--line-200);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* -------------------- Alternating text/image feature rows (What We Do) -------------------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature-row.reverse .feature-media { order: 2; }
.feature-row.reverse .feature-text { order: 1; }
.feature-media img {
  width: 100%;
  aspect-ratio: 5/3.6;
  object-fit: cover;
  border-radius: 3px;
}
.feature-row + .feature-row { margin-top: 64px; }

.category-block { margin-bottom: 56px; }
.category-block:last-child { margin-bottom: 0; }
.category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--navy-900);
  padding-bottom: 10px;
  margin-bottom: 24px;
}
.category-head h2 { margin: 0; font-size: 1.5rem; }
.category-head .count { font-size: 0.85rem; color: var(--ink-500); }

/* -------------------- Two-column comparison / structure -------------------- */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 14px 18px;
  border: 1px solid var(--line-200);
  vertical-align: top;
  font-size: 0.95rem;
}
.compare-table th {
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--serif);
  font-weight: 600;
  width: 33%;
}
.compare-table tr:nth-child(even) td { background: var(--paper-100); }

/* -------------------- Certification strip -------------------- */

.cert-strip {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-top: 1px solid var(--line-200);
  border-bottom: 1px solid var(--line-200);
}
.cert-strip img { height: 84px; width: auto; }
.cert-strip .cert-note { font-size: 0.85rem; color: var(--ink-500); max-width: 26ch; }

.cert-card {
  border: 1px solid var(--line-200);
  background: var(--white);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.cert-card img { height: 72px; width: auto; flex-shrink: 0; }
.cert-card h4 { margin-bottom: 6px; }
.cert-card p { margin: 0; font-size: 0.92rem; }

/* -------------------- World map / region list -------------------- */

.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 8px; }
.region-card h4 { color: var(--gold-500); font-size: 0.85rem; letter-spacing: 0.03em; text-transform: uppercase; font-family: var(--sans); font-weight: 700; margin-bottom: 12px; }
.region-card ul { list-style: none; padding: 0; margin: 0; }
.region-card li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line-200);
  font-size: 1rem;
  color: var(--ink-900);
  font-weight: 500;
}
.region-card li:last-child { border-bottom: none; }

/* -------------------- CTA band -------------------- */

.cta-band {
  background: var(--navy-900);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.82); margin: 0 auto 24px; }

/* -------------------- Forms -------------------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy-900); margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 11px 13px;
  border: 1.5px solid var(--line-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-900);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold-500);
  outline-offset: 1px;
  border-color: var(--gold-500);
}
textarea { resize: vertical; min-height: 120px; }

.contact-details { background: var(--navy-900); color: var(--white); padding: 40px; }
.contact-details h3 { color: var(--white); }
.contact-details .line { margin-bottom: 20px; }
.contact-details .line .k { font-size: 0.78rem; color: var(--gold-400); font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 4px; }
.contact-details .line .v { font-size: 1.02rem; }
.map-embed { border: 0; width: 100%; height: 260px; margin-top: 24px; filter: grayscale(0.15); }

/* -------------------- Footer -------------------- */

.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.75); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-size: 0.88rem; letter-spacing: 0.02em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.footer-grid a:hover { color: var(--gold-400); }
.footer-brand-mark { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand-mark img { height: 34px; width: auto; background: var(--white); border-radius: 6px; padding: 4px; }
.footer-brand-mark .name { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold-400); }

/* -------------------- Misc content pages (legal) -------------------- */

.prose { max-width: 72ch; }
.prose h2 { margin-top: 2em; font-size: 1.3rem; }
.prose h3 { font-size: 1.05rem; }
.prose p, .prose li { max-width: none; }
.legal-updated { font-size: 0.85rem; color: var(--ink-500); margin-bottom: 2em; }
.legal-note {
  background: var(--paper-100);
  border-left: 3px solid var(--gold-500);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--ink-700);
  margin-bottom: 2em;
}

/* -------------------- Breadcrumb / page header -------------------- */

.page-head { background: var(--navy-900); color: var(--white); padding: 52px 0 44px; }
.page-head h1 { color: var(--white); margin-bottom: 8px; }
.page-head p { color: rgba(255,255,255,0.78); margin: 0; }

/* -------------------- RTL support (Arabic pages) -------------------- */

html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .main-nav a { border-bottom-color: transparent; }
html[dir="rtl"] .card-index,
html[dir="rtl"] .kicker { text-align: right; }
html[dir="rtl"] ul:not(.footer-grid ul):not(.lang-menu):not(.main-nav ul) { padding-right: 1.2em; padding-left: 0; }
html[dir="rtl"] .region-card ul,
html[dir="rtl"] .footer-grid ul { padding: 0; }
html[dir="rtl"] .cert-card,
html[dir="rtl"] .cert-strip { text-align: right; }
html[dir="rtl"] .compare-table th,
html[dir="rtl"] .compare-table td { text-align: right; }
html[dir="rtl"] .lang-toggle .dot { order: 2; }
/* Photo banners keep their original image-relative composition regardless of page
   direction — the photography itself (a map, a port) can't be mirrored without
   becoming inaccurate, so these sections stay LTR-anchored with right-aligned Arabic
   text inside a still-left-positioned content box. */
html[dir="rtl"] .photo-banner,
html[dir="rtl"] .banner-row {
  direction: ltr;
}
html[dir="rtl"] .photo-banner .hero-inner,
html[dir="rtl"] .banner-row .banner-content {
  direction: rtl;
  text-align: right;
}
html[lang="ar"] body,
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4,
html[lang="ar"] .brand-word .name {
  font-family: 'Noto Sans Arabic', var(--sans);
}

/* -------------------- Utility -------------------- */

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.small { font-size: 0.85rem; color: var(--ink-500); }

/* -------------------- Responsive -------------------- */

@media (max-width: 920px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .region-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-inner.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px var(--gutter) 24px;
    border-bottom: 1px solid var(--line-200);
    gap: 16px;
    z-index: 55;
  }
  .header-inner.nav-open .main-nav ul { flex-direction: column; gap: 14px; width: 100%; }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .region-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .compare-table th { width: auto; }
  .cert-card { flex-direction: column; }
  section { padding: 52px 0; }
  .hero-inner { padding: 56px var(--gutter) 48px; }
}

@media (max-width: 480px) {
  .brand img { height: 46px; }
  .brand-word .name { font-size: 1.1rem; }
  .brand-word .suffix { font-size: 0.62rem; }
}
