/* ===========================================================
   AL-SAM INVESTMENT LIMITED — Brand Stylesheet
   =========================================================== */

:root {
  --navy: #16324f;
  --navy-900: #0f2338;
  --navy-700: #1c3d5a;
  --navy-500: #35597b;
  --gold: #c19a3e;
  --gold-light: #d8b45a;
  --gold-soft: #f2e6c8;
  --cream: #f7f4ec;
  --paper: #fbfaf6;
  --ink: #1f2937;
  --muted: #5b6b7b;
  --line: #e6e2d6;
  --white: #ffffff;

  --shadow-sm: 0 1px 2px rgba(15, 35, 56, .06), 0 4px 12px rgba(15, 35, 56, .05);
  --shadow-md: 0 8px 30px rgba(15, 35, 56, .10);
  --shadow-lg: 0 24px 60px rgba(15, 35, 56, .16);

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 .4em;
  font-weight: 700;
}

p { margin: 0 0 1rem; color: var(--muted); }

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

.section { padding: clamp(64px, 9vw, 120px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
}

.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-lead { max-width: 620px; font-size: 1.06rem; }
.text-center { text-align: center; }
.center-x { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  background: var(--bg);
  color: var(--fg);
  border: 1.5px solid var(--bg);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-gold { --bg: var(--gold); --fg: #1a1204; border-color: var(--gold); }
.btn-gold:hover { --bg: var(--gold-light); }
.btn-ghost {
  --bg: transparent; --fg: var(--navy);
  border-color: rgba(22,50,79,.25); box-shadow: none;
}
.btn-ghost:hover { --bg: rgba(22,50,79,.05); }
.btn-light { --bg: #fff; --fg: var(--navy); border-color: #fff; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 246, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(15,35,56,.06);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg, .brand img { height: 46px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-text b {
  font-family: var(--font-head);
  color: var(--navy); font-size: 1.15rem; letter-spacing: .5px;
}
.brand .brand-text span {
  font-size: .62rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  padding: 10px 16px; border-radius: 100px;
  font-size: .95rem; font-weight: 500; color: var(--navy-700);
  transition: background .25s, color .25s;
}
.nav-links a:hover { background: rgba(22,50,79,.06); }
.nav-links a.active { color: var(--gold); font-weight: 600; }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: none; background: transparent;
  cursor: pointer; border-radius: 12px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--navy);
  margin: 5px auto; border-radius: 2px; transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(193,154,62,.16), transparent 60%),
    linear-gradient(180deg, #fbfaf6 0%, #f4f1e8 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(22,50,79,.05) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .6; pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 110px);
  position: relative; z-index: 1;
}
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); letter-spacing: -.5px; }
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero-lead { font-size: 1.15rem; max-width: 520px; color: var(--navy-500); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .stat b {
  font-family: var(--font-head); font-size: 2rem; color: var(--navy); display: block;
}
.hero-stats .stat span { font-size: .82rem; color: var(--muted); }

.hero-visual {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/5; min-height: 380px;
  background:
    linear-gradient(200deg, rgba(15,35,56,.14), rgba(15,35,56,.55)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1000&q=80") center/cover;
}
.hero-card {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 14px;
}
.hero-card .dot { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft);
  display: grid; place-items: center; color: var(--gold); font-size: 1.3rem; flex-shrink: 0; }
.hero-card b { color: var(--navy); font-family: var(--font-head); }
.hero-card small { color: var(--muted); }

/* ---------- Trust bar ---------- */
.trustbar {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--white);
}
.trustbar .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 22px; flex-wrap: wrap;
}
.trustbar span { color: var(--muted); font-weight: 600; letter-spacing: .04em; font-size: .92rem; }
.trustbar .pill {
  color: var(--navy); background: var(--cream); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 100px; font-size: .85rem; font-weight: 600;
}

/* ---------- Cards / services ---------- */
.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); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { width: 100%; }
.card .ico {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cream); color: var(--navy); margin-bottom: 18px;
  border: 1px solid var(--line);
}
.card h3 { font-size: 1.28rem; }
.card p { margin-bottom: 0; font-size: .97rem; }

.card-dark {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border: none; color: #e8eef4;
}
.card-dark h3 { color: #fff; }
.card-dark p { color: #b7c6d4; }
.card-dark .ico { background: rgba(255,255,255,.08); color: var(--gold-light); border-color: rgba(255,255,255,.12); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .media {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 5/4; background: var(--cream);
}
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.checklist li .tick {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold); display: grid; place-items: center;
  font-size: .8rem; font-weight: 700; margin-top: 2px;
}

/* ---------- Stats band ---------- */
.band {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  color: #fff; position: relative; overflow: hidden;
}
.band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(193,154,62,.28), transparent 70%);
}
.band h2 { color: #fff; }
.band p { color: #b7c6d4; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-grid .num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold-light); }
.stat-grid small { color: #aebccb; letter-spacing: .04em; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(3,1fr); }
.step { position: relative; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-size: 2.4rem; color: var(--gold-soft); font-weight: 700; display: block; margin-bottom: 10px;
}
.step h3 { font-size: 1.2rem; }

/* ---------- CTA ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 20% 20%, rgba(193,154,62,.22), transparent 60%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px);
  color: #fff; text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.cta-band p { color: #cdd8e2; max-width: 560px; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(193,154,62,.16), transparent 60%),
    linear-gradient(180deg, #fbfaf6, #f4f1e8);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.page-hero p { max-width: 620px; margin-inline: auto; font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- About: values / team / timeline ---------- */
.value-ico { color: var(--gold); }
.timeline { position: relative; margin-top: 20px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item::before {
  content: ""; position: absolute; left: -33px; top: 6px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--white); border: 3px solid var(--gold);
}
.timeline-item h4 { color: var(--navy); margin-bottom: 4px; font-family: var(--font-head); }
.timeline-item .yr { font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--gold); text-transform: uppercase; }

.team-card { text-align: center; }
.team-card .avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(160deg, var(--navy-500), var(--navy-900));
  color: var(--gold-light); display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.9rem; font-weight: 700;
}
.team-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.team-card .role { color: var(--gold); font-size: .85rem; font-weight: 600; letter-spacing: .04em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.info-card {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  color: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.info-card::before {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(193,154,62,.3), transparent 70%);
}
.info-card h3 { color: #fff; }
.info-card p { color: #c3d0dc; }
.info-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; position: relative; z-index: 1; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ico {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--gold-light); border: 1px solid rgba(255,255,255,.14);
}
.info-list b { color: #fff; display: block; font-family: var(--font-body); font-weight: 600; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 3px; }
.info-list a, .info-list span { color: #dbe4ec; font-size: .98rem; }
.info-list a:hover { color: var(--gold-light); }
.social-row { display: flex; gap: 12px; margin-top: 30px; position: relative; z-index: 1; }
.social-row a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff;
  transition: background .25s, transform .25s;
}
.social-row a:hover { background: var(--gold); color: var(--navy-900); transform: translateY(-3px); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; color: var(--ink); background: var(--paper); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(193,154,62,.14); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.form-success {
  display: none; margin-top: 18px; padding: 14px 18px; border-radius: 12px;
  background: #edf7ef; border: 1px solid #cfe8d5; color: #256b39; font-weight: 600; font-size: .92rem;
}
.form-success.show { display: block; }

.map-wrap { margin-top: 26px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 24px; font-size: 1.05rem; font-weight: 600; color: var(--navy); font-family: var(--font-body);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .plus { color: var(--gold); font-size: 1.4rem; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 24px 20px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b7c6d4; padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #b7c6d4; transition: color .2s; }
.site-footer a:hover { color: var(--gold-light); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: .95rem; }
.footer-brand p { color: #93a6b6; font-size: .95rem; max-width: 280px; }
.footer-brand .brand .brand-text b { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 46px; padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: #7e93a5; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .split.reverse .media { order: -1; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--paper); padding: 18px 24px 26px; gap: 4px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .4s var(--ease); z-index: 90;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 16px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
