/* ==========================================================================
   Alexander Hashari — Design System
   Colors: Black #000000 · Royal Blue #0a2c47 · Gold #b18910 · Rich Brown #332219 · White #ffffff
   ========================================================================== */

:root {
  --black: #000000;
  --royal-blue: #0a2c47;
  --gold: #b18910;
  --gold-light: #d4a92f;
  --brown: #332219;
  --white: #ffffff;

  --bg-primary: var(--black);
  --bg-secondary: var(--royal-blue);
  --bg-tertiary: var(--brown);

  --text-light: rgba(255, 255, 255, 0.92);
  --text-muted: rgba(255, 255, 255, 0.62);

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --container: 1180px;
  --radius: 2px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text-light);
  line-height: 1.7;
  font-weight: 300;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.1rem;
}

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

section { position: relative; padding: 6.5rem 0; }
@media (max-width: 768px) { section { padding: 4rem 0; } }

.bg-black    { background: var(--black); }
.bg-blue     { background: var(--royal-blue); }
.bg-brown    { background: var(--brown); }
.bg-gold     { background: var(--gold); color: var(--black); }

.divider {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 1.4rem 0 1.8rem;
}
.divider.center { margin-left: auto; margin-right: auto; }

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.95rem 2.4rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.btn:hover { background: var(--gold); color: var(--black); }

.btn-solid {
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
}
.btn-solid:hover { background: transparent; color: var(--gold); }

.btn-white {
  border-color: var(--white);
  color: var(--white);
}
.btn-white:hover { background: var(--white); color: var(--black); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--transition);
  background: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent);
}
.site-header.scrolled {
  background: rgba(0,0,0,0.94);
  padding: 14px 0;
  border-bottom: 1px solid rgba(177, 137, 16, 0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--white);
  font-weight: 600;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.4rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.25s;
  position: relative;
  padding-bottom: 6px;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
}

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.6rem 1.4rem;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1100;
}
.nav-toggle span {
  width: 26px; height: 1px;
  background: var(--white);
  transition: var(--transition);
}

@media (max-width: 900px) {
  .nav-links, .nav-cta-wrap { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--black);
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
    z-index: 1050;
  }
  .nav-links.open a { font-size: 1rem; }
  .nav-cta-wrap.open {
    display: block;
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1060;
  }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--black);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(10,44,71,0.55), transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(177,137,16,0.14), transparent 55%);
  z-index: 1;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: grayscale(15%) contrast(1.05);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-top: 6rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 1.6rem 0 2.4rem;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
}

/* ---------- Grid / layout helpers ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.6rem;
}
@media (max-width: 1000px) { .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-5 { grid-template-columns: 1fr; } }

.media-frame {
  position: relative;
  border: 1px solid rgba(177,137,16,0.35);
  padding: 10px;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-caption {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.7rem;
}

/* ---------- Cards ---------- */
.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(177,137,16,0.22);
  padding: 2.4rem 2rem;
  transition: var(--transition);
}
.card:hover { border-color: var(--gold); background: rgba(177,137,16,0.06); }
.card .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
}

/* Pillars list */
.pillar {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.4rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pillar:last-child { border-bottom: none; }
.pillar .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  opacity: 0.85;
}

/* Testimonials */
.testimonial {
  background: rgba(255,255,255,0.03);
  border-left: 2px solid var(--gold);
  padding: 2rem 2.2rem;
  height: 100%;
}
.testimonial p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 1.2rem; }
.testimonial .who { font-size: 0.8rem; letter-spacing: 0.06em; color: var(--gold); text-transform: uppercase; }
.testimonial .role { font-size: 0.76rem; color: var(--text-muted); }

/* Stats strip */
.stat-strip {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: center;
}
.stat-strip .stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold);
}
.stat-strip .stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Forms ---------- */
.form-field { margin-bottom: 1.4rem; }
.form-field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  border-radius: var(--radius);
  transition: border-color 0.25s;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.radio-row { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.radio-option {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--text-light);
  cursor: pointer;
}
.form-msg { font-size: 0.85rem; margin-top: 1rem; display: none; }
.form-msg.success { color: #7fd18a; display: block; }
.form-msg.error { color: #e28787; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(177,137,16,0.2);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-heading {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.25s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- Section CTA ---------- */
.cta-band {
  text-align: center;
  padding: 5rem 0;
}
.cta-band h2 { margin-bottom: 1.2rem; }
.cta-band .hero-sub { margin-left: auto; margin-right: auto; text-align: center; }

/* Fade-in on scroll */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Utility spacing */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
