
:root {
  --ink: #152A27;
  --paper: #F5F4EF;
  --forest: #1D6B4A;
  --forest-deep: #0F211D;
  --ochre: #D98B2B;
  --slate: #5C6058;
  --line: rgba(21, 42, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
}

bhoomika-header {
  display: block;
  position: sticky;
  top: 0;
  z-index: 50;
}

nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.brandmark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.badge-nav svg {
  width: 100%;
  height: 100%;
}

.bhoomika-word {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--forest);
  line-height: 1;
}

.flourish-nav {
  width: 100px;
  margin-top: 2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

nav ul a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  border: 1px solid var(--ink);
}

.btn-solid {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
}

.hero .grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.1;
  margin: 14px 0 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--forest);
}

.hero p.lead {
  font-size: 16.5px;
  color: var(--slate);
  max-width: 460px;
  margin-bottom: 28px;
}

.hero .ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.manifest {
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
  padding: 24px 24px 22px;
  font-family: 'IBM Plex Mono', monospace;
  box-shadow: 0 30px 60px rgba(15, 20, 19, 0.28);
  position: relative;
}

.manifest .m-head {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8FA89F;
  border-bottom: 1px dashed rgba(245, 244, 239, 0.25);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.manifest .m-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(245, 244, 239, 0.12);
}

.manifest .m-row b {
  color: #E0A85C;
  font-weight: 500;
}

.manifest .m-stamp {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  color: var(--ochre);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.manifest .m-stamp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* TRUST */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #E9EFEA;
}

.trust .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  padding: 18px 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest-deep);
}

/* SECTIONS */
.section {
  padding: 88px 0;
  position: relative;
}

.section-head {
  max-width: 560px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: 30px;
  margin: 12px 0 14px;
}

.section-head p {
  color: var(--slate);
  font-size: 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.svc-card, .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.svc-card h3, .card h3 {
  font-size: 16px;
  margin: 0;
}

.svc-card p, .card p {
  font-size: 13.5px;
  color: var(--slate);
  margin: 0;
}

.route-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.route-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.route-item::after {
  content: '';
  position: absolute;
  left: 31px;
  top: 48px;
  height: calc(100% - 32px);
  width: 2px;
  background-color: var(--line);
  z-index: 1;
}

.route-item:last-child::after {
  display: none;
}

.route-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--ochre);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
}

.route-num .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--forest);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1.5px var(--forest);
}

.route-body h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.route-body p {
  color: var(--slate);
  font-size: 14px;
  margin: 0;
  max-width: 520px;
}

.impact {
  background: var(--forest);
  color: var(--paper);
}

.impact .section-head p {
  color: #C9E0D6;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.impact-card {
  border-left: 1px solid rgba(245, 244, 239, 0.25);
  padding-left: 18px;
}

.impact-card .num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 32px;
}

.impact-card .lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #B9D6CB;
  margin-top: 4px;
}

.cta-band {
  background: var(--ochre);
  color: var(--ink);
  padding: 56px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: 26px;
  margin-bottom: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
}

.cta-band p {
  font-size: 14.5px;
  margin-bottom: 24px;
  color: #3d2c0f;
}

footer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 32px;
}

.footer-grid, .foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

footer .bhoomika-word {
  color: var(--paper);
}

footer p {
  color: #9CA79E;
  font-size: 13.5px;
  max-width: 320px;
}

footer h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8FA89F;
  margin-bottom: 14px;
}

footer .foot-line {
  font-size: 13.5px;
  color: #D8D5C8;
  line-height: 2;
}

.foot-bottom {
  border-top: 1px solid rgba(245, 244, 239, 0.14);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  color: #6E756E;
}

/* FORMS */
.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
  text-align: left;
}

.form-control {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--forest);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23152A27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14.5px;
}

th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
}

tr:hover {
  background-color: rgba(21, 42, 39, 0.02);
}

/* WHATSAPP FLOATING BUTTON */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: #FFF !important;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 999;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.fab-whatsapp:hover {
  transform: scale(1.05);
  background-color: #20ba59;
}

/* UTILITY GRID CLASSES */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-1-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

.grid-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.services-grid-5 {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
}
.services-grid-5 > .card {
  grid-column: span 2;
}
.services-grid-5 > .card:nth-child(5):last-child {
  grid-column: 4 / span 2;
}

.section-dark {
  background: var(--forest-deep);
  color: var(--paper);
}

.section-dark .eyebrow {
  color: var(--ochre);
}

.section-dark h2 {
  color: var(--paper);
}

.section-dark p {
  color: #B9D6CB;
}

.accent-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
}

@media(max-width: 900px) {
  nav .wrap {
    flex-direction: column;
    height: auto;
    padding-top: 16px;
    padding-bottom: 12px;
    gap: 16px;
  }
  nav ul {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100vw;
    margin-left: -24px;
    padding: 0 24px 8px 24px;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
  }
  nav ul::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
  }
  .nav-links {
    width: 100%;
  }
  .hero .grid {
    grid-template-columns: 1fr;
  }
  .services-grid, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid-5 {
    grid-template-columns: repeat(4, 1fr);
  }
  .services-grid-5 > .card:nth-child(5):last-child {
    grid-column: 2 / span 2;
  }
  .grid-3, .grid-1-2, .grid-2-1 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }
  .footer-grid, .foot-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero h1 {
    font-size: 32px;
  }
}

@media(max-width: 600px) {
  .services-grid, .grid-4, .grid-3, .grid-2, .grid-1-2, .grid-2-1, .services-grid-5, .impact-grid, .footer-grid, .foot-grid {
    grid-template-columns: 1fr;
  }
  .services-grid-5 > .card, .services-grid-5 > .card:nth-child(5):last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* FAQ ACCORDION */
details.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
details.faq-item:first-child {
  border-top: 1px solid var(--line);
}
details.faq-item summary {
  font-family: 'Poppins', sans-serif;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.faq-item summary::-webkit-details-marker {
  display: none;
}
details.faq-item summary::after {
  content: '+';
  font-family: 'IBM Plex Mono', monospace;
  font-size: 18px;
  color: var(--forest);
  transition: transform 0.2s ease;
}
details.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}
details.faq-item p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Image loading styles removed to improve perceived performance on refresh */

/* Premium Manifest Enhancements */
.manifest {
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 30px 60px rgba(15, 20, 19, 0.4), 0 0 0 1px rgba(255,255,255,0.05) inset;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.m-barcode {
  height: 28px;
  width: 100%;
  margin-bottom: 20px;
  background-image: repeating-linear-gradient(90deg, 
    #8FA89F 0, #8FA89F 2px, 
    transparent 2px, transparent 4px, 
    #8FA89F 4px, #8FA89F 5px, 
    transparent 5px, transparent 8px, 
    #8FA89F 8px, #8FA89F 12px, 
    transparent 12px, transparent 14px,
    #8FA89F 14px, #8FA89F 15px);
  opacity: 0.25;
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #61D38D;
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(97, 211, 141, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(97, 211, 141, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(97, 211, 141, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(97, 211, 141, 0); }
}

/* Floating Action Button (FAB) */

.floating-brochure-btn {
  position: fixed;
  bottom: 84px;
  left: 24px;
  background-color: var(--paper);
  color: var(--forest) !important;
  padding: 12px 20px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
}

.floating-audit-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background-color: var(--forest);
  color: var(--paper) !important;
  padding: 12px 20px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(29, 107, 74, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(217, 139, 43, 0.3);
}

.floating-audit-btn svg {
  color: var(--ochre);
}

.floating-audit-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(29, 107, 74, 0.6);
  background-color: var(--forest-deep);
  border-color: var(--ochre);
}

.floating-brochure-btn svg {
  color: var(--ochre);
}

.floating-brochure-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  background-color: white;
  border-color: var(--ochre);
}

/* Hide on very small screens or make it smaller so it doesn't block the screen */
@media (max-width: 600px) {
  .floating-audit-btn {
    bottom: 20px;
    left: 20px;
    padding: 10px 16px;
    font-size: 14px;
  }
  .floating-brochure-btn {
    bottom: 74px;
    left: 20px;
    padding: 10px 16px;
    font-size: 14px;
  }
}
