/* ===== JAMD Developers Canada Ltd — Site Styles ===== */
:root {
  --black: #14120f;
  --near-black: #1e1c18;
  --white: #ffffff;
  --off-white: #f7f5f2;
  --gold: #b8860b;
  --gold-light: #d4a017;
  --gray: #6b6b6b;
  --gray-light: #e4e1db;
  --radius: 4px;
  --max-width: 1200px;
  --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.section { padding: 88px 0; }
.section--alt { background: var(--off-white); }
.section--dark { background: var(--black); color: var(--white); }

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: 34px;
  margin-bottom: 16px;
}
.section-lead {
  color: var(--gray);
  max-width: 640px;
  margin-bottom: 48px;
  font-size: 17px;
}
.section--dark .section-lead { color: #c9c6bf; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 18, 15, 0.96);
  backdrop-filter: blur(6px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.logo span { color: var(--gold); }

.nav { display: flex; gap: 32px; }
.nav a {
  color: #e7e4dd;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav a:hover { color: var(--gold); }

.header-cta {
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 13px !important;
  transition: all 0.2s;
}
.header-cta:hover { background: var(--gold); color: var(--black) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(20,18,15,0.75), rgba(20,18,15,0.9)),
              url('https://images.unsplash.com/photo-1624980464870-40630df96eb2?w=1800&q=75&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

/* ---- Image banner ---- */
.image-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.image-banner figure {
  position: relative;
  margin: 0;
  height: 320px;
  overflow: hidden;
}
.image-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-banner figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 12px;
}
@media (max-width: 860px) {
  .image-banner { grid-template-columns: 1fr; }
  .image-banner figure { height: 220px; }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(184,134,11,0.06) 0px, rgba(184,134,11,0.06) 2px, transparent 2px, transparent 80px);
}
.hero-content {
  position: relative;
  max-width: 720px;
  padding: 0 24px;
  margin: 0 auto;
  text-align: center;
}
.hero-content .eyebrow { text-align: center; }
.hero h1 {
  font-size: 54px;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--gold); }
.hero p {
  font-size: 19px;
  color: #d8d5cd;
  margin-bottom: 36px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-dark {
  border-color: var(--black);
  color: var(--black);
}
.btn-outline-dark:hover { background: var(--black); color: var(--white); }

/* ---- Why Choose grid ---- */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}
.feature-card {
  padding: 32px 24px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; font-family: var(--font); }
.feature-card p { color: var(--gray); font-size: 15px; }

/* ---- Projects ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.project-card {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
}
.project-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,0.1); transform: translateY(-4px); }
.project-image {
  height: 220px;
  background: linear-gradient(135deg, #2b2620, #14120f);
  display: flex; align-items: center; justify-content: center;
  color: #8f8a7f;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}
.project-body { padding: 24px; }
.project-status {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.project-body h3 { font-size: 20px; margin-bottom: 6px; }
.project-location { color: var(--gray); font-size: 14px; margin-bottom: 14px; }
.project-body p.desc { color: var(--gray); font-size: 15px; margin-bottom: 18px; }
.project-link { color: var(--gold); font-weight: 600; font-size: 14px; }

/* ---- Services ---- */
.service-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-light);
}
.service-row:last-child { border-bottom: none; }
.service-num {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--gold);
  min-width: 60px;
}
.service-row h3 { font-size: 20px; margin-bottom: 8px; }
.service-row p { color: var(--gray); }

/* ---- Investor ---- */
.investor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.investor-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,134,11,0.35);
  border-radius: var(--radius);
  padding: 28px;
}
.investor-card h3 { font-size: 17px; margin-bottom: 10px; color: var(--gold); font-family: var(--font); }
.investor-card p { color: #c9c6bf; font-size: 14px; }

/* ---- Testimonials placeholder ---- */
.placeholder-box {
  border: 1px dashed var(--gray-light);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  color: var(--gray);
}
.placeholder-box strong { color: var(--black); display: block; margin-bottom: 8px; font-size: 17px; }

/* ---- Trust ---- */
.trust-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--off-white);
  border-radius: var(--radius);
}
.trust-check {
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
}
.trust-item p { font-size: 14px; color: var(--black); }
.trust-item small { color: var(--gray); }

/* ---- Contact ---- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-info h3 { font-size: 20px; margin-bottom: 18px; }
.contact-info p { margin-bottom: 10px; color: var(--gray); }
.contact-info a { color: var(--gold); font-weight: 600; }
.map-embed {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-light);
}
.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--black);
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  background: var(--white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-note { font-size: 13px; color: var(--gray); margin-top: 10px; }

/* ---- Blog ---- */
.blog-card {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 26px;
}
.blog-card .eyebrow { font-size: 11px; }
.blog-card h3 { font-size: 18px; margin: 8px 0 10px; }
.blog-card p { color: var(--gray); font-size: 14px; }

/* ---- Footer ---- */
.site-footer {
  background: var(--black);
  color: #c9c6bf;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-grid h4 { color: var(--white); font-size: 15px; margin-bottom: 18px; font-family: var(--font); }
.footer-grid ul li { margin-bottom: 10px; font-size: 14px; }
.footer-grid ul li a:hover { color: var(--gold); }
.footer-logo { color: var(--white); font-family: var(--font-serif); font-size: 22px; margin-bottom: 14px; }
.footer-logo span { color: var(--gold); }
.footer-about { font-size: 14px; max-width: 340px; color: #a8a49b; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #857f73;
}

/* ---- Sticky CTA ---- */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  gap: 10px;
}
.sticky-cta a {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}
.sticky-cta a:hover { transform: scale(1.08); }
.sticky-whatsapp { background: #25D366; color: white; }
.sticky-call { background: var(--gold); color: var(--black); }

/* ---- Legal pages ---- */
.legal-content h2 { font-size: 20px; margin: 32px 0 12px; }
.legal-content p, .legal-content li { color: var(--gray); margin-bottom: 10px; }
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-meta { color: var(--gray); margin-bottom: 8px; }

/* ---- Company Snapshot ---- */
.snapshot-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.12);
}
.snapshot-item {
  background: var(--black);
  padding: 32px 20px;
  text-align: center;
}
.snapshot-item .snap-value {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 6px;
}
.snapshot-item .snap-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #b7b3a9;
}

/* ---- Development Process timeline ---- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.process-step .step-num {
  width: 56px;
  height: 56px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--gold);
  background: var(--white);
  position: relative;
  z-index: 2;
}
.process-step h3 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--gray); }
.process-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--gray-light);
  z-index: 1;
}

/* ---- Leadership ---- */
.leader-card {
  text-align: center;
}
.leader-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #2b2620, #14120f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 34px;
  border: 3px solid var(--gold);
}
.leader-card h3 { font-size: 19px; margin-bottom: 4px; }
.leader-card .leader-title { color: var(--gold); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.leader-card p.bio { color: var(--gray); font-size: 14px; max-width: 300px; margin: 0 auto; }

/* ---- Project Update card ---- */
.update-card {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.update-photo {
  width: 160px;
  height: 110px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #2b2620, #14120f);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8f8a7f;
  font-size: 11px;
  text-align: center;
  padding: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.update-body { flex: 1; min-width: 220px; }
.update-date { font-size: 12px; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.update-stage {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.update-body h3 { font-size: 18px; margin-bottom: 8px; }
.update-body p { color: var(--gray); font-size: 14px; }
.process-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.process-mini span {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid var(--gray-light);
  color: var(--gray);
}
.process-mini span.done { border-color: var(--gold); color: var(--gold); background: rgba(184,134,11,0.08); }

/* ---- Consultation ---- */
.consult-box {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}
.consult-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 20px 0 28px;
  font-size: 14px;
  color: var(--gray);
}
.consult-meta span { display: flex; align-items: center; gap: 6px; }

/* ---- Trust block (formal) ---- */
.trust-formal {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 480px;
}
.trust-formal h3 { font-family: var(--font); font-size: 17px; margin-bottom: 16px; letter-spacing: 0.5px; }
.trust-formal ul { list-style: none; }
.trust-formal li { padding: 8px 0; border-bottom: 1px solid var(--gray-light); font-size: 14px; color: var(--gray); }
.trust-formal li:last-child { border-bottom: none; }
.trust-formal li strong { color: var(--black); }

.render-tag {
  display: inline-block;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 3px;
  margin-top: 8px;
}

.about-media {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  position: relative;
  max-height: 340px;
}
.about-media img { width: 100%; height: 340px; object-fit: cover; display: block; }
.about-media .render-tag { position: absolute; bottom: 12px; left: 12px; margin-top: 0; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 38px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 60px 0; }
  .process-timeline { grid-template-columns: 1fr; gap: 36px; }
  .process-timeline::before { display: none; }
  .update-card { flex-direction: column; }
  .update-photo { width: 100%; height: 140px; }
}
