/* Lucky Lines Trading L.L.C — company website
 *
 * To swap the logo later, replace these files only (keep the same names):
 *   /assets/logo/logo.svg               colour, horizontal (default)
 *   /assets/logo/logo-white.svg         white, horizontal (navy backgrounds)
 *   /assets/logo/logo-stacked.svg       colour, stacked
 *   /assets/logo/logo-stacked-white.svg white, stacked
 *   /assets/logo/mark.svg               symbol (favicon source)
 */

@font-face {
  font-family: Montserrat;
  src: url("/assets/fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Naskh Arabic";
  src: url("/assets/fonts/noto-naskh-arabic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B2A5B;
  --navy-2: #0E356F;
  --blue: #1A5096;
  --accent: #1F6AD4;
  --accent-soft: #8BB4F0;
  --ink: #12213A;
  --muted: #5A6B82;
  --paper: #F4F7FB;
  --line: #D5DEEA;
  --white: #FFFFFF;
  --header-h: 80px;
  --wrap: 1120px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 42, 91, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--white);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; color: var(--navy); margin: 0; }
h1 { font-size: clamp(2.15rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.02em; }

.lead { font-size: 1.08rem; color: var(--muted); margin: 18px 0 0; max-width: 42rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 2px;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #1A5CB8; color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--blue); color: var(--white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--navy);
  color: var(--white);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.brand img {
  height: 46px;
  width: auto;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav a:hover { color: var(--white); }
.header-cta { margin-left: 8px; }
.header-cta.btn-primary { min-height: 42px; padding: 0 18px; }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  padding: 0;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
  margin: 0 auto;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 480px at 80% 10%, rgba(31,106,212,0.28), transparent 60%),
    linear-gradient(165deg, var(--navy) 0%, #081E42 55%, var(--navy-2) 100%);
  color: var(--white);
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 72px 0 96px;
}
.hero h1 { color: var(--white); max-width: 16ch; }
.hero .lead { color: rgba(255,255,255,0.8); font-size: 1.12rem; }
.hero .eyebrow { color: var(--accent-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-motif {
  position: absolute;
  right: 7%;
  bottom: 0;
  width: min(280px, 32vw);
  height: min(320px, 50%);
  pointer-events: none;
  opacity: 0.95;
}
.hero-motif span {
  position: absolute;
  right: 0;
  bottom: 0;
  border-radius: 4px 4px 0 0;
}
.hero-motif span:nth-child(1) { width: 42px; height: 100%; right: 0; background: #1F6AD4; }
.hero-motif span:nth-child(2) { width: 42px; height: 74%; right: 58px; background: #1A5096; }
.hero-motif span:nth-child(3) { width: 42px; height: 48%; right: 116px; background: #0E3A75; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
  max-width: 640px;
}
.hero-meta div { min-width: 140px; }
.hero-meta dt {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.hero-meta dd { margin: 4px 0 0; font-weight: 600; font-size: 0.95rem; color: var(--white); }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 38rem; margin-bottom: 48px; }
.section-head p { margin: 16px 0 0; color: var(--muted); }

#about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.about-copy p { margin: 0 0 16px; color: var(--ink); }
.about-copy p:last-of-type { margin-bottom: 0; }
.arabic-name {
  margin: 18px 0 0;
  font-family: "Noto Naskh Arabic", "Noto Sans Arabic", serif;
  font-size: 1.15rem;
  color: var(--blue);
  direction: rtl;
  text-align: left;
}

.facts {
  display: grid;
  gap: 14px;
}
.fact {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.fact strong {
  display: block;
  color: var(--navy);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 600;
}
.fact span { color: var(--ink); font-weight: 600; }

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.cards .card { grid-column: span 2; }
.cards .card:nth-child(n+4) { grid-column: span 3; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
}
.card:nth-child(2)::before { background: var(--blue); }
.card:nth-child(3)::before { background: var(--navy); }
.card:nth-child(4)::before { background: var(--accent); }
.card:nth-child(5)::before { background: var(--blue); }
.card-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Why partner */
#partner { background: var(--paper); }
.reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.reason {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid var(--line);
}
.reason h3 { margin-bottom: 10px; }
.reason p { margin: 0; color: var(--muted); }

/* Contact */
#contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-card, .map-wrap, .form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.contact-list { list-style: none; margin: 0; padding: 8px 0 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-list a, .contact-list address {
  color: var(--navy);
  font-weight: 600;
  font-style: normal;
  text-decoration: none;
}
.contact-list a:hover { color: var(--accent); }
.wa { display: inline-flex; align-items: center; gap: 8px; }
.contact-list .alt-links { margin-top: 6px; font-size: 0.85rem; }
.contact-list .alt-links a { font-weight: 500; color: var(--muted); text-decoration: none; }
.contact-list .alt-links a:hover { color: var(--accent); }


.form-card, .contact-details { padding: 28px; }
.form-card { background: var(--white); }
.form-grid { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--ink);
}
input:hover, textarea:hover { border-color: #B7C6D8; }
.form-note { margin: 10px 0 0; font-size: 0.82rem; color: var(--muted); }
.map-col { display: grid; gap: 18px; }
.map-wrap { overflow: hidden; min-height: 280px; }
.map-wrap iframe { width: 100%; height: 280px; border: 0; display: block; filter: grayscale(0.15); }
.map-link { font-size: 0.88rem; font-weight: 600; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer .brand img { height: 44px; }
.site-footer .arabic-name { color: rgba(255,255,255,0.7); margin-top: 12px; }
.site-footer h2 {
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a, .site-footer a { color: rgba(255,255,255,0.78); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.licence {
  margin: 28px 0 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.copyright {
  margin: 22px 0 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* 404 */
.page-simple { min-height: calc(100svh - var(--header-h) - 200px); display: flex; align-items: center; padding: 80px 0; }

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .about-grid, .contact-grid, .footer-grid, .reasons { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card, .cards .card:nth-child(n+4) { grid-column: auto; }
  .brand img { height: 40px; }
  .hero-motif { opacity: 0.55; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  section { padding: 72px 0; }
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #081E42;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav.is-open { display: flex; }
  .nav a, .header-cta {
    margin: 0 16px;
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .header-cta { margin: 12px 16px 4px; text-align: center; }
  .cards, .form-row { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 80px; min-height: auto; }
  .hero h1 { max-width: none; }
  .hero-motif { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
