/* SBBJ IT Solutions - West Jaintia Hills, Meghalaya Custom Theme (#78) */
:root {
  --primary: #0f766e;
  --secondary: #ca8a04;
  --accent: #facc15;
  --bg: #f0fdfa;
  --surface: #ffffff;
  --dark: #0f172a;
  --muted: #475569;
  --border: rgba(15, 23, 42, 0.11);
  --tint: rgba(15, 23, 42, 0.04);
  --radius: 16px;
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 44px rgba(15, 23, 42, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { text-align: justify; }

.container {
  width: min(1220px, 92%);
  margin: 0 auto;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--secondary); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: calc(var(--radius) - 2px);
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--secondary); color: #ffffff; }
.btn-whatsapp { background: #16a34a; color: #ffffff; }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--dark);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 86vw);
  background: #ffffff;
  z-index: 200;
  padding: 22px;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: -12px 0 36px rgba(15, 23, 42, 0.16);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-drawer.active { transform: translateX(0); }
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.drawer-header img { height: 34px; width: auto; }
.drawer-close {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #0f172a;
}
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.drawer-links a {
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.drawer-backdrop.active { opacity: 1; pointer-events: auto; }

/* Hero Section (Strictly Left-Aligned Copy) */
.hero {
  position: relative;
  padding: 56px 0 64px;
  overflow: hidden;
}
.hero--light {
  background: linear-gradient(135deg, var(--bg) 0%, #ffffff 100%);
  color: #0f172a;
}
.hero--dark {
  background: linear-gradient(135deg, #0b1120 0%, var(--primary) 100%);
  color: #ffffff;
}
.hero--scenic-scrim-left .hero-scrim-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,0.14), transparent 55%),
              linear-gradient(90deg, rgba(15,23,42,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}
.hero-grid--inverted {
  grid-template-columns: 0.92fr 1.08fr;
}
.hero-copy {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero--light .hero-kicker {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: var(--shadow-sm);
}
.hero--dark .hero-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-title {
  margin: 0 0 16px;
  font-size: clamp(1.95rem, 3.6vw, 3.05rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: left;
}
.hero--light .hero-title { color: #0f172a; }
.hero--dark .hero-title { color: #ffffff; }
.hero-sub {
  margin: 0 0 24px;
  font-size: 1.04rem;
  max-width: 58ch;
  text-align: left;
}
.hero--light .hero-sub { color: #374151; }
.hero--dark .hero-sub { color: #e2e8f0; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
.metric-chip {
  padding: 12px 14px;
  border-radius: 12px;
}
.hero--light .metric-chip {
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.hero--dark .metric-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.metric-chip strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.metric-chip span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.86;
}

/* Hero Visual & Bespoke Image Frames */
.hero-visual { width: 100%; }
.hero-frame {
  position: relative;
  overflow: hidden;
  background: #0f172a;
  box-shadow: var(--shadow-lg);
}
.hero-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.hero-frame--rounded-24-shadow { border-radius: 24px; border: 4px solid #ffffff; }
.hero-frame--chamfer-frame { border-radius: 14px; clip-path: polygon(0 0, 94% 0, 100% 8%, 100% 100%, 6% 100%, 0 92%); }
.hero-frame--arch-top { border-radius: 140px 140px 20px 20px; border: 4px solid #ffffff; }
.hero-frame--offset-border { border-radius: 18px; box-shadow: 14px 14px 0 var(--secondary), var(--shadow-lg); }
.hero-frame--soft-pill-frame { border-radius: 42px 16px 42px 16px; border: 3px solid rgba(255,255,255,0.65); }
.hero-frame--organic-curve { border-radius: 28% 12% 28% 12% / 14% 28% 14% 28%; border: 3px solid #ffffff; }

.hero-caption {
  margin-top: 12px;
  padding: 12px 18px;
  background: #ffffff;
  color: #0f172a;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 12px;
  font-size: 0.84rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.hero-caption span { font-weight: 700; color: var(--secondary); }
.hud-badge-bar {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px;
  background: var(--secondary);
  color: #ffffff;
  border-radius: 10px 10px 0 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.cluster-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.cluster-mini {
  background: #ffffff;
  color: #0f172a;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.cluster-mini span { display: block; font-size: 0.74rem; color: var(--secondary); font-weight: 700; }
.cluster-mini strong { font-size: 0.86rem; }

/* Sections Common */
.section { padding: 54px 0; }
.section--alt { background: #ffffff; }
.section--tint { background: var(--tint); }
.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin-bottom: 8px;
}
.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.24;
  color: var(--dark);
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Trust Strip */
.trust-strip {
  background: var(--primary);
  color: #ffffff;
  padding: 20px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-label {
  font-size: 0.84rem;
  color: #e2e8f0;
  line-height: 1.35;
}

/* Grid & Card Variations */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.layout--bento-enterprise .bento-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
}
.layout--asymmetric-cards .asym-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--secondary);
}
.card-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--tint);
  color: var(--primary);
  margin-bottom: 12px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: var(--dark);
}
.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* About Split */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
}
.about-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid #ffffff;
}
.about-points {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.about-points li {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Towns & Landmarks */
.town-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.town-pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--secondary);
  border-radius: var(--radius);
  padding: 20px;
}
.step-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}

/* Blueprint Showcase */
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.portfolio-body { padding: 18px; }

/* SEO Content & Keyword Pills */
.seo-article {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.seo-article p {
  margin: 0 0 16px;
  color: #334155;
  font-size: 0.98rem;
}
.kw-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.kw-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--primary);
  border: 1px solid var(--border);
}

/* FAQ Accordion */
#faq .section-head {
  margin: 0 auto 32px;
  text-align: center;
}
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.faq-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.faq-ans {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.94rem;
}
.faq-item.open .faq-ans { display: block; }

/* CTA Banner */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  border-radius: 22px;
  padding: 40px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 { margin: 0 0 8px; color: #ffffff; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.cta-band p { margin: 0; color: #f1f5f9; max-width: 58ch; }

/* Footer */
.site-footer {
  background: #0b1120;
  color: #cbd5e1;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-grid h4 { color: #ffffff; margin: 0 0 12px; font-size: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 0.9rem; }
.footer-links a:hover { color: #ffffff; }
.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: #94a3b8;
}

/* Quote Modal */
.quote-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.quote-modal.active { display: flex; }
.quote-box {
  background: #ffffff;
  color: #0f172a;
  width: min(480px, 100%);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.quote-box h3 { margin: 0 0 6px; }
.form-row { margin-bottom: 12px; }
.form-row label { display: block; font-size: 0.84rem; font-weight: 700; margin-bottom: 4px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid, .hero-grid--inverted, .about-grid, .footer-grid, .layout--bento-enterprise .bento-grid, .layout--asymmetric-cards .asym-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid, .grid-4, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .hero { padding: 36px 0 44px; }
  .section { padding: 38px 0; }
  .hero-metrics, .trust-grid, .grid-3, .grid-4, .grid-2, .process-grid, .about-points, .cluster-cards {
    grid-template-columns: 1fr;
  }
  .seo-article { padding: 20px; }
  .cta-band { padding: 28px 20px; }
}
