
: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: 38px;
  height: 38px;
  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: 24px;
  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;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--forest);
  padding: 8px;
}

.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);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s ease;
}
.btn-solid::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--forest), var(--ochre));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.btn-solid:hover::before {
  opacity: 1;
}
.btn-solid:hover {
  border-color: var(--ochre);
}

.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-item.active::after {
  background: linear-gradient(to bottom, var(--ochre), var(--forest));
  animation: draw-route-line 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes draw-route-line {
  0% { height: 0; }
  100% { height: calc(100% - 32px); }
}

.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);
  transition: all 0.5s ease;
}

.route-item.active .dot {
  background: var(--ochre);
  box-shadow: 0 0 12px rgba(217, 139, 43, 0.8), 0 0 0 1.5px var(--ochre);
}

.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: 64px 0 40px;
  position: relative;
  overflow: hidden;
}

/* Interactive Radar Grid Background */
.radar-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(217, 139, 43, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 139, 43, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 0;
  pointer-events: none;
}
.radar-bg::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(217, 139, 43, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  top: 0;
  left: 0;
  animation: radar-sweep 15s linear infinite;
  z-index: 0;
  pointer-events: none;
}
.radar-bg .wrap {
  position: relative;
  z-index: 1;
}

@keyframes radar-sweep {
  0% { transform: translate(-100px, -100px); }
  25% { transform: translate(80vw, -50px); }
  50% { transform: translate(60vw, 300px); }
  75% { transform: translate(-50px, 200px); }
  100% { transform: translate(-100px, -100px); }
}

.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;
}

.foot-bottom-right {
  display: flex; 
  flex-direction: column; 
  align-items: flex-end; 
  gap: 2px; 
  font-family: 'IBM Plex Mono', monospace; 
  font-size: 11px; 
  color: #6A7A70; 
  text-align: right;
}

.foot-bottom-left {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.desktop-dot {
  display: inline;
}

@media(max-width: 900px) {
  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .foot-bottom-left {
    flex-direction: column;
    gap: 2px;
  }
  .desktop-dot {
    display: none;
  }
  .foot-bottom-right {
    align-items: flex-start;
    text-align: left;
  }
}

/* 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-wrap: wrap;
    height: auto;
    padding-top: 16px;
    padding-bottom: 12px;
    gap: 16px;
  }
  .mobile-menu-btn {
    display: block;
    margin-left: auto;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-basis: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  .nav-links.active {
    display: flex;
  }
  nav ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    gap: 16px;
    align-items: flex-start;
  }
  .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) {
  .calc-container {
    padding: 20px !important;
  }
  .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); }
}

.pulse-dot-red {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #FF5C5C;
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(255, 92, 92, 0.7);
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 92, 92, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 92, 92, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 92, 92, 0); }
}

.pending-data {
  opacity: 0.65;
}
.pending-data::after {
  content: '_';
  display: inline-block;
  margin-left: 4px;
  animation: blink-cursor 1s step-end infinite;
}

/* 1. "Bio-CNG" Data Breathing */
@keyframes data-breathe {
  0%, 100% { text-shadow: 0 0 4px rgba(29, 107, 74, 0.3); transform: scale(1); }
  50% { text-shadow: 0 0 20px rgba(29, 107, 74, 1); transform: scale(1.08); }
}
@keyframes data-breathe-ochre {
  0%, 100% { text-shadow: 0 0 4px rgba(217, 139, 43, 0.3); transform: scale(1); }
  50% { text-shadow: 0 0 20px rgba(217, 139, 43, 1); transform: scale(1.08); }
}
.calc-num, #waste-output {
  display: inline-block;
  animation: data-breathe 3s ease-in-out infinite;
  will-change: transform, text-shadow;
}
#calc-cng.calc-num {
  animation: data-breathe-ochre 3.5s ease-in-out infinite; /* slightly offset timing */
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 3. Carbon Landfill Ticker */
.carbon-ticker {
  background: #000;
  color: #A0AEC0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  text-align: center;
  padding: 8px 24px;
  width: 100%;
  letter-spacing: 0.5px;
}
.carbon-ticker strong {
  color: #E2E8F0;
  font-weight: 500;
  font-size: 14px;
}

/* 4. Radar Logistics Map */
.radar-container {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--forest-deep);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.5), 0 0 20px rgba(29, 107, 74, 0.2);
  border: 4px solid var(--forest);
}
.radar-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background: 
    linear-gradient(rgba(29, 107, 74, 0.3) 1px, transparent 1px) center/40px 40px,
    linear-gradient(90deg, rgba(29, 107, 74, 0.3) 1px, transparent 1px) center/40px 40px;
}
.radar-grid::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50%; height: 50%;
  border: 1px solid rgba(29, 107, 74, 0.5);
  border-radius: 50%;
}
.radar-grid::before {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 1px;
  background: rgba(29, 107, 74, 0.5);
}
.radar-sweep {
  position: absolute;
  top: 0; left: 50%;
  width: 50%; height: 50%;
  background: linear-gradient(90deg, transparent, rgba(29, 107, 74, 0.8));
  transform-origin: 0% 100%;
  animation: radar-spin 4s linear infinite;
}
@keyframes radar-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.radar-blip {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--ochre);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--ochre);
  animation: blip-flash 4s infinite;
  cursor: pointer;
}
.radar-blip span {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--paper);
  background: rgba(0,0,0,0.8);
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.radar-blip:hover span {
  opacity: 1;
}
@keyframes blip-flash {
  0%, 10% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  15%, 50% { opacity: 1; transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 20px var(--ochre); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
}
.blip-1 { top: 30%; left: 60%; animation-delay: 0.5s; }
.blip-2 { top: 60%; left: 70%; animation-delay: 1.2s; }
.blip-3 { top: 45%; left: 30%; animation-delay: 2.8s; background: #4FA8D6; box-shadow: 0 0 10px #4FA8D6; }
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #E53E3E;
  margin-right: 8px;
  box-shadow: 0 0 8px rgba(229, 62, 62, 0.6);
  animation: blink-cursor 1.5s infinite;
  vertical-align: middle;
}


.route-sequence .step {
  opacity: 0.4;
  animation: route-highlight 3s infinite;
}
.route-sequence .step-1 { animation-delay: 0s; }
.route-sequence .step-2 { animation-delay: 1s; }
.route-sequence .step-3 { animation-delay: 2s; }

@keyframes route-highlight {
  0%, 33% { opacity: 1; color: var(--ochre); text-shadow: 0 0 6px rgba(217, 139, 43, 0.5); }
  34%, 100% { opacity: 0.4; color: inherit; text-shadow: none; }
}
.route-sequence .arrow {
  opacity: 0.3;
  margin: 0 4px;
}

/* Eco Idle Dim Effect */
.eco-dim-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(21, 42, 39, 0.75); /* Dark ink overlay */
  pointer-events: none;
  opacity: 0;
  transition: opacity 2.5s ease-in-out;
  z-index: 9998;
}
body.idle-dim .eco-dim-overlay {
  opacity: 1;
}

/* Image Reveal Effect */
.img-reveal {
  filter: grayscale(100%) blur(5px);
  opacity: 0.6;
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(0.98);
}
.img-reveal.revealed {
  filter: grayscale(0%) blur(0px);
  opacity: 1;
  transform: scale(1);
}

/* Custom Range Slider */
.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ochre);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(217, 139, 43, 0.2);
  transition: box-shadow 0.2s ease;
}
.custom-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ochre);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(217, 139, 43, 0.2);
  border: none;
}
.custom-slider:hover::-webkit-slider-thumb {
  box-shadow: 0 0 0 6px rgba(217, 139, 43, 0.3);
}

/* 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);
}

/* Expandable floating buttons on mobile screens */
@media (max-width: 600px) {
  .fab-text {
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
  }
  
  .floating-audit-btn.expanded .fab-text,
  .floating-brochure-btn.expanded .fab-text,
  .fab-whatsapp.expanded .fab-text {
    max-width: 160px;
    opacity: 1;
    margin-left: 8px;
  }

  .floating-audit-btn, .floating-brochure-btn, .fab-whatsapp {
    padding: 14px;
    border-radius: 50px; /* pill shaped to allow expansion */
    justify-content: flex-start;
    gap: 0;
  }
  
  .floating-audit-btn {
    bottom: 20px;
    left: 20px;
  }
  .floating-brochure-btn {
    bottom: 80px;
    left: 20px;
  }
  .fab-whatsapp {
    bottom: 20px;
    right: 20px;
  }
}
