/* =============================================
   MICRON MINERALS — GLOBAL CSS
   Raza Building Stone, Porbandar, Gujarat
   ============================================= */

/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --stone-dark: #1C1C1A;
  --stone-mid: #2E2C28;
  --stone-cream: #E8DCC8;
  --stone-beige: #C4AF94;
  --stone-terracotta: #9C6B3C;
  --stone-gold: #D4820A;
  --stone-gold-light: #E8920A;
  --stone-white: #F5F0E8;
  --stone-light: #F0E8D8;
  --text-dark: #1C1C1A;
  --text-mid: #4A4540;
  --text-light: #8A7D6E;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--stone-white);
  color: var(--text-dark);
  overflow-x: hidden;
  padding-bottom: 68px; /* sticky bar height */
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ── NAV ── */
.bl-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 0 48px; height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  background: #F5F0E8;
  border-bottom: 1px solid rgba(196,175,148,0.4);
  transition: box-shadow .3s;
}
.bl-nav.scrolled { box-shadow: 0 4px 24px rgba(28,28,26,.12); }
.bl-nav-logo img { height: 74px; width: auto; object-fit: contain; display: block; }
.bl-nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.bl-nav-links a {
  font-size: 12px; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-mid);
  transition: color .2s, border-color .2s;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.bl-nav-links a:hover,
.bl-nav-links a.active {
  color: var(--stone-gold-light);
  border-bottom-color: var(--stone-gold-light);
}
.bl-nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; background: var(--stone-dark);
  color: var(--stone-white); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.bl-nav-cta:hover { background: var(--stone-gold); transform: translateY(-1px); }

.bl-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.bl-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-mid); transition: all .3s;
}

/* ── MOBILE DRAWER ── */
.bl-nav-drawer {
  display: none;
  position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
  z-index: 199; background: rgba(28,28,26,.98);
  flex-direction: column; align-items: center;
  justify-content: center; gap: 28px;
}
.bl-nav-drawer.open { display: flex; }
.bl-nav-drawer a {
  font-size: 28px; font-family: 'Cormorant Garamond', serif;
  font-weight: 300; color: var(--stone-cream);
  letter-spacing: .06em; transition: color .2s;
}
.bl-nav-drawer a:hover { color: var(--stone-gold); }
.bl-nav-drawer .bl-drawer-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 36px; background: var(--stone-gold);
  color: #fff; font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  font-family: 'Inter', sans-serif; margin-top: 12px;
}

/* ── INQUIRY MODAL ── */
.bl-modal-bg {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(28,28,26,.85);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.bl-modal-bg.open { opacity: 1; pointer-events: all; }
.bl-modal {
  background: #1C1C1A; width: 100%; max-width: 560px;
  border-top: 3px solid var(--stone-gold);
  position: relative;
  transform: translateY(24px); transition: transform .3s;
  max-height: 90vh; overflow-y: auto;
}
.bl-modal-bg.open .bl-modal { transform: translateY(0); }
.bl-modal-head {
  padding: 28px 32px 20px;
  border-bottom: 1px solid rgba(196,175,148,.1);
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 16px;
}
.bl-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 300;
  color: var(--stone-cream); line-height: 1.1;
}
.bl-modal-title em { font-style: italic; color: var(--stone-gold); }
.bl-modal-subtitle { font-size: 12px; font-weight: 300; color: rgba(196,175,148,.55); margin-top: 5px; }
.bl-modal-close {
  background: none; border: none; cursor: pointer;
  color: rgba(196,175,148,.5); font-size: 20px;
  padding: 4px; transition: color .2s; line-height: 1;
}
.bl-modal-close:hover { color: var(--stone-gold); }
.bl-modal-body { padding: 24px 32px 32px; }
.bl-mform { display: flex; flex-direction: column; gap: 14px; }
.bl-mrow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bl-mgroup { display: flex; flex-direction: column; gap: 6px; }
.bl-mgroup label {
  font-size: 10px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(196,175,148,.5);
}
.bl-mgroup input,
.bl-mgroup select,
.bl-mgroup textarea {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(196,175,148,.18);
  padding: 11px 14px; font-size: 14px;
  color: var(--stone-cream); font-family: 'Inter', sans-serif;
  outline: none; transition: border-color .2s;
  width: 100%; resize: none;
}
.bl-mgroup input::placeholder,
.bl-mgroup textarea::placeholder { color: rgba(196,175,148,.28); }
.bl-mgroup input:focus,
.bl-mgroup select:focus,
.bl-mgroup textarea:focus { border-color: var(--stone-gold); }
.bl-mgroup select {
  appearance: none; cursor: pointer;
  background-color: rgba(255,255,255,.05);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23B8934A'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.bl-mgroup select option { background: #1C1C1A; color: var(--stone-cream); }
.bl-msubmit-wrap { display: flex; gap: 12px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.bl-msubmit {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; background: #25D366; color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; border: none; cursor: pointer;
  transition: all .25s; flex: 1; justify-content: center;
}
.bl-msubmit:hover { background: #1da851; transform: translateY(-1px); }
.bl-msubmit i { font-size: 16px; }
.bl-msubmit-note {
  font-size: 11px; font-weight: 300;
  color: rgba(196,175,148,.4); line-height: 1.5;
}

/* ── STICKY BAR ── */
.bl-sticky {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  display: grid; grid-template-columns: repeat(4,1fr);
  background: var(--stone-dark);
  border-top: 2px solid var(--stone-gold);
  height: 68px;
}
.bl-sticky-btn {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  color: rgba(196,175,148,.6); font-size: 10px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  border-right: 1px solid rgba(196,175,148,.1);
  transition: all .2s; padding: 6px 4px; cursor: pointer;
  text-decoration: none;
}
.bl-sticky-btn:last-child { border-right: none; }
.bl-sticky-btn i { font-size: 20px; }
.bl-sticky-btn:hover,
.bl-sticky-btn:active { background: rgba(212,130,10,.1); color: var(--stone-gold); }
.bl-sticky-btn.s-call i { color: #4DB88A; }
.bl-sticky-btn.s-call:hover { background: rgba(77,184,138,.1); color: #4DB88A; }
.bl-sticky-btn.s-wa i { color: #25D366; }
.bl-sticky-btn.s-wa:hover { background: rgba(37,211,102,.1); color: #25D366; }
.bl-sticky-btn.s-dir i { color: var(--stone-gold); }
.bl-sticky-btn.s-inq i { color: var(--stone-gold); }

/* ── FOOTER ── */
.bl-footer { background: #111110; padding: 0; border-top: 3px solid var(--stone-gold); }
.bl-footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; padding: 56px 64px 48px;
  border-bottom: 1px solid rgba(196,175,148,.1);
}
.bl-footer-brand-text { margin-bottom: 18px; }
.bl-footer-brand-m {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px; font-weight: 700; letter-spacing: .03em;
  color: var(--stone-gold); line-height: 1;
}
.bl-footer-brand-min {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px; font-weight: 700; letter-spacing: .03em;
  color: var(--stone-cream); line-height: 1;
}
.bl-footer-brand-sub {
  font-size: 10px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(196,175,148,.4); margin-top: 7px;
}
.bl-footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px; font-style: italic;
  color: rgba(196,175,148,.55); line-height: 1.75; margin-bottom: 24px;
}
.bl-footer-socials { display: flex; gap: 10px; }
.bl-footer-social {
  width: 36px; height: 36px; border: 1px solid rgba(196,175,148,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(196,175,148,.5); font-size: 14px; transition: all .2s;
}
.bl-footer-social:hover { border-color: var(--stone-gold); color: var(--stone-gold); }
.bl-footer-col-title {
  font-size: 10px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--stone-gold);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(196,175,148,.1);
}
.bl-footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bl-footer-links a {
  font-size: 13px; color: rgba(196,175,148,.5);
  transition: color .2s; display: flex; align-items: center; gap: 7px;
}
.bl-footer-links a::before {
  content: ''; width: 0; height: 1px;
  background: var(--stone-gold); transition: width .2s; flex-shrink: 0;
}
.bl-footer-links a:hover { color: var(--stone-cream); }
.bl-footer-links a:hover::before { width: 10px; }
.bl-footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 18px 64px; background: #0D0D0C;
}
.bl-footer-copy { font-size: 12px; color: rgba(196,175,148,.5); }
.bl-footer-bottom-center {
  font-size: 12px; font-weight: 500;
  color: rgba(196,175,148,.65); letter-spacing: .04em; text-align: center;
}
.bl-footer-bottom-dev { font-size: 11px; color: rgba(196,175,148,.4); }
.bl-footer-bottom-dev a {
  color: rgba(196,175,148,.6); transition: color .2s; text-decoration: none;
}
.bl-footer-bottom-dev a:hover { color: var(--stone-gold); }

/* ── SHARED UTILITIES ── */
.bl-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px; font-size: 11px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--stone-terracotta);
}
.bl-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--stone-terracotta); }
.bl-eyebrow.gold { color: var(--stone-gold); }
.bl-eyebrow.gold::before { background: var(--stone-gold); }

.bl-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 300; line-height: 1.05;
  color: var(--stone-dark); margin-bottom: 18px;
}
.bl-section-title em { font-style: italic; color: var(--stone-terracotta); }
.bl-section-title.light { color: var(--stone-cream); }
.bl-section-title.light em { color: var(--stone-beige); }

.bl-section-desc {
  font-size: 16px; font-weight: 300;
  line-height: 1.8; color: var(--text-mid); max-width: 560px;
}
.bl-body { font-size: 15px; font-weight: 300; line-height: 1.9; color: var(--text-mid); }

.bl-btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px; background: var(--stone-gold);
  color: #fff; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  transition: all .25s; border: none; cursor: pointer;
}
.bl-btn-primary:hover { background: var(--stone-terracotta); transform: translateY(-2px); }

.bl-btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 34px; border: 1px solid rgba(196,175,148,.45);
  color: var(--stone-cream); font-size: 13px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; transition: all .25s;
}
.bl-btn-ghost:hover { border-color: var(--stone-gold); color: var(--stone-gold); }

.bl-btn-outline-light {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 34px; border: 1px solid rgba(196,175,148,.35);
  color: var(--stone-cream); font-size: 13px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; transition: all .25s;
}
.bl-btn-outline-light:hover { border-color: var(--stone-gold); color: var(--stone-gold); }

/* ── MARQUEE STRIP ── */
.bl-marquee {
  background: var(--stone-dark);
  border-top: 2px solid var(--stone-gold);
  border-bottom: 1px solid rgba(196,175,148,.12);
  padding: 13px 0; overflow: hidden;
}
.bl-marquee-track {
  display: flex; animation: marquee 32s linear infinite; white-space: nowrap;
}
.bl-marquee-item {
  display: inline-flex; align-items: center; gap: 18px; padding: 0 28px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--stone-beige); flex-shrink: 0;
}
.bl-marquee-item .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--stone-gold); flex-shrink: 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── PAGE HERO INNER (for About, Products etc.) ── */
.bl-page-hero {
  padding-top: 76px; height: 400px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
}
.bl-page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.bl-page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,28,26,.88) 0%, rgba(28,28,26,.35) 100%);
}
.bl-page-hero-content { position: relative; z-index: 2; padding: 0 64px 52px; }
.bl-page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--stone-gold); margin-bottom: 14px;
}
.bl-page-hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--stone-gold); }
.bl-page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 6vw, 72px); font-weight: 300;
  line-height: 1; color: var(--stone-white);
}
.bl-page-hero-title em { font-style: italic; color: var(--stone-beige); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .bl-nav { padding: 0 28px; }
  .bl-nav-links { display: none; }
  .bl-nav-cta { display: none; }
  .bl-hamburger { display: flex; }
  .bl-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 32px; }
  .bl-footer-bottom { padding: 20px 32px; }
  .bl-page-hero-content { padding: 0 32px 44px; }
}

@media (max-width: 640px) {
  .bl-footer-top { grid-template-columns: 1fr; padding: 32px 20px; }
  .bl-footer-bottom { padding: 16px 32px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .bl-mrow { grid-template-columns: 1fr; }
  .bl-page-hero { height: 320px; }
  .bl-page-hero-content { padding: 0 20px 36px; }
}
