/* ============================================================
   BMCIS.AI — Premium / Luxury Theme
   Dark warm palette, brass accent, serif headlines, generous space
   ============================================================ */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #0e0c0a;
  color: #f5ede0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* --- Type --- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #f5ede0;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #c9a96e; margin-bottom: 0.5rem; }

p { margin-bottom: 1.25rem; color: #d8d0c2; max-width: 70ch; }
a { color: #c9a96e; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #e0c285; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 1rem;
  display: block;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.narrow { max-width: 800px; }
section { padding: 6rem 0; }
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, #2a241d, transparent); margin: 0 auto; max-width: 1000px; }

/* --- Header / Nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 12, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #2a241d;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #f5ede0;
  letter-spacing: 0.02em;
}
.logo img { height: 128px; vertical-align: middle; }
.logo .accent { color: #c9a96e; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  color: #d8d0c2;
  font-size: 0.95rem;
  font-weight: 400;
  position: relative;
}
.nav-links a:hover { color: #f5ede0; }
.nav-links a.cta {
  background: #c9a96e;
  color: #0e0c0a;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
}
.nav-links a.cta:hover { background: #e0c285; color: #0e0c0a; }

/* --- Hero --- */
.hero {
  padding: 8rem 0 6rem;
  position: relative;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(201, 169, 110, 0.08), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(201, 169, 110, 0.04), transparent 50%),
    #0e0c0a;
}
.hero h1 { margin-bottom: 1.5rem; max-width: 18ch; }
.hero .lede { font-size: 1.3rem; max-width: 55ch; color: #d8d0c2; }
.hero-actions { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: #c9a96e;
  color: #0e0c0a;
}
.btn-primary:hover { background: #e0c285; color: #0e0c0a; }
.btn-secondary {
  background: transparent;
  color: #f5ede0;
  border: 1px solid #4a3f30;
}
.btn-secondary:hover { border-color: #c9a96e; color: #c9a96e; }

/* --- Cards / Roles list --- */
.role-card {
  background: #161310;
  border: 1px solid #2a241d;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.role-card.active:hover { border-color: #c9a96e; transform: translateY(-2px); }
.role-card .role-info { flex: 1; min-width: 260px; }
.role-card h3 { margin-bottom: 0.5rem; }
.role-card .role-meta { color: #8a8273; font-size: 0.95rem; }
.role-card .badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  margin-left: 0.75rem;
}
.role-card .badge.live { background: rgba(201, 169, 110, 0.15); color: #c9a96e; border: 1px solid #4a3f30; }
.role-card .badge.soon { background: rgba(180, 180, 180, 0.08); color: #8a8273; border: 1px solid #2a241d; }

/* --- Brands grid --- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}
.brand-logo {
  background: #161310;
  border: 1px solid #2a241d;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}
.brand-logo:hover { border-color: #c9a96e; }
.brand-logo img { max-height: 60px; max-width: 100%; filter: brightness(0) invert(1) opacity(0.85); transition: filter 0.2s ease; }
.brand-logo:hover img { filter: brightness(0) invert(1) opacity(1); }
.brand-logo .brand-name-fallback { color: #d8d0c2; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; text-align: center; }

/* --- Territory + stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 3rem;
  margin: 3rem 0;
  text-align: center;
}
.stat .number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  color: #c9a96e;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat .label { font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; color: #8a8273; }

/* --- Team --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}
.team-member { text-align: center; }
.team-member .photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #161310;
  border: 1px solid #2a241d;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #4a3f30;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
}
.team-member .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member .name { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; margin-bottom: 0.25rem; }
.team-member .role { color: #c9a96e; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* --- Section backgrounds --- */
.bg-darker { background: #08070600; background-image: linear-gradient(180deg, #0a0908, #0e0c0a); }
.bg-section { background: #11100d; }

/* --- Form --- */
.form-section { background: #11100d; padding: 5rem 0; }
.application-form {
  max-width: 720px;
  background: #161310;
  border: 1px solid #2a241d;
  padding: 3rem;
  border-radius: 4px;
  margin: 2rem auto 0;
}
.form-row { margin-bottom: 1.5rem; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-row .required { color: #d4734a; margin-left: 0.25rem; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="url"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  background: #0e0c0a;
  border: 1px solid #2a241d;
  color: #f5ede0;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border-radius: 2px;
  transition: border-color 0.2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #c9a96e;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row .help { font-size: 0.85rem; color: #8a8273; margin-top: 0.4rem; }
.form-row input[type="file"] {
  width: 100%;
  background: #0e0c0a;
  border: 1px dashed #4a3f30;
  color: #d8d0c2;
  padding: 1rem;
  border-radius: 2px;
  cursor: pointer;
}
.form-row.radio-group label.option {
  display: inline-block;
  margin-right: 1.5rem;
  text-transform: none;
  letter-spacing: normal;
  color: #f5ede0;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
}
.form-row.radio-group label.option input { margin-right: 0.5rem; }
.form-submit { margin-top: 2rem; }
.form-disclaimer {
  font-size: 0.85rem;
  color: #8a8273;
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* --- JD content --- */
.jd-content {
  max-width: 800px;
  margin: 0 auto;
}
.jd-content h2 { margin-top: 3rem; margin-bottom: 1.25rem; }
.jd-content h3 { margin-top: 2rem; }
.jd-content ul { margin: 1rem 0 1.5rem 1.25rem; }
.jd-content ul li { margin-bottom: 0.5rem; color: #d8d0c2; }
.jd-content strong { color: #f5ede0; }
.jd-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  background: #161310;
  border: 1px solid #2a241d;
  padding: 2rem;
  margin: 2rem 0 3rem;
  border-radius: 4px;
}
.jd-meta .meta-item .meta-label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8a8273; margin-bottom: 0.4rem; }
.jd-meta .meta-item .meta-value { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: #c9a96e; }

/* --- Footer --- */
.site-footer {
  background: #08070600;
  background-image: linear-gradient(180deg, #0a0908, #060504);
  border-top: 1px solid #2a241d;
  padding: 4rem 0 2rem;
  color: #8a8273;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-grid h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { color: #8a8273; font-size: 0.95rem; }
.footer-grid a:hover { color: #c9a96e; }
.footer-bottom {
  border-top: 1px solid #2a241d;
  padding-top: 2rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Image placeholders --- */
.img-placeholder {
  background: #161310;
  border: 1px dashed #4a3f30;
  color: #4a3f30;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.9rem;
  padding: 1rem;
  text-align: center;
  border-radius: 4px;
}
.hero-image-placeholder { aspect-ratio: 16/9; margin-top: 3rem; }
.install-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.install-grid .img-placeholder { aspect-ratio: 4/3; }

/* --- Responsive --- */
@media (max-width: 760px) {
  .nav { padding: 1rem 1.5rem; flex-wrap: wrap; }
  .nav-links { gap: 1.25rem; }
  .container { padding: 0 1.5rem; }
  section { padding: 4rem 0; }
  .hero { padding: 5rem 0 4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .application-form { padding: 2rem 1.5rem; }
}
