/* =====================================================================
   GRAP site additions — reuses variables defined in css/style.css
   (--bg, --bg-raised, --text, --accent-cyan, --accent-blue, --border,
   --radius, --shadow-card, --grad-signature, --font-display ...)
   ===================================================================== */

.page-hero{
  padding: 140px 0 60px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.page-hero h1{ font-family:var(--font-display); font-weight:700; }
.page-hero p{ color:var(--text-muted); max-width:640px; }

section{ padding: 70px 0; }
.section-title{ font-family:var(--font-display); font-weight:700; margin-bottom:10px; }
.section-sub{ color:var(--text-muted); max-width:640px; margin-bottom:40px; }

/* ---------- GRAP stage cards ---------- */
.grap-card{
  background:var(--bg-raised);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow-card);
  padding:28px;
  height:100%;
  border-top:5px solid var(--stage-color, var(--accent-blue));
  transition:transform .25s ease;
}
.grap-card:hover{ transform:translateY(-6px); }
.grap-card .stage-num{
  display:inline-flex; align-items:center; justify-content:center;
  width:46px; height:46px; border-radius:50%;
  background:var(--stage-color, var(--accent-blue));
  color:#fff; font-weight:700; font-family:var(--font-display);
  margin-bottom:16px;
}
.grap-card h3{ font-family:var(--font-display); font-size:1.15rem; margin-bottom:4px; }
.grap-card .aqi-range{ color:var(--text-muted); font-size:.85rem; margin-bottom:14px; }
.grap-card ul{ padding-left:18px; margin:0; color:var(--text); font-size:.92rem; }
.grap-card ul li{ margin-bottom:6px; }
.stage-1{ --stage-color:#2F6FEF; }
.stage-2{ --stage-color:#F4B740; }
.stage-3{ --stage-color:#FF7A3D; }
.stage-4{ --stage-color:#FF4761; }

/* Card matching the live CPCB GRAP stage gets a glow ring */
.grap-card.active-stage{
  outline:3px solid var(--stage-color);
  outline-offset:2px;
  transform:translateY(-4px);
}

/* ---------- Live GRAP status badge (CPCB-based) ---------- */
.grap-live-badge{
  background:var(--bg-raised);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
  padding:16px 20px;
  margin-top:18px;
}
.grap-live-inner{ display:flex; align-items:center; gap:14px; }
.grap-live-dot{
  width:14px; height:14px; border-radius:50%;
  background:var(--stage-color, var(--accent-blue));
  box-shadow:0 0 0 4px color-mix(in srgb, var(--stage-color, var(--accent-blue)) 25%, transparent);
  flex-shrink:0;
}
.grap-live-stage{ font-weight:700; font-family:var(--font-display); }
.grap-live-sub{ color:var(--text-muted); font-size:.85rem; margin-top:2px; }
.grap-live-order{ color:var(--text); font-size:.85rem; margin-top:8px; line-height:1.4; }
.grap-live-error{ color:var(--text-muted); font-size:.9rem; }

/* ---------- AQI widget ---------- */
.aqi-widget{
  background:var(--bg-raised);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
  padding:32px;
}
.aqi-widget select{
  background:var(--bg-alt); color:var(--text); border:1px solid var(--border);
  border-radius:10px; padding:10px 14px; width:100%; font-family:var(--font-body);
}
.aqi-readout{
  display:flex; align-items:center; gap:24px; margin-top:24px; flex-wrap:wrap;
}
.aqi-number{
  font-family:var(--font-display); font-weight:800; font-size:3.2rem; line-height:1;
  color:#fff; width:110px; height:110px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--aqi-color, var(--accent-blue));
  flex-shrink:0;
}
.aqi-meta .aqi-label{ font-family:var(--font-display); font-weight:700; font-size:1.3rem; }
.aqi-meta .aqi-city{ color:var(--text-muted); font-size:.9rem; }
.aqi-updated{ color:var(--text-muted); font-size:.8rem; margin-top:14px; }
.aqi-loading, .aqi-error{ color:var(--text-muted); font-size:.9rem; margin-top:16px; }
.aqi-error{ color:var(--accent-red); }
.locate-btn{
  background:var(--bg-alt); border:1px solid var(--border); color:var(--accent-blue);
  font-size:.78rem; padding:5px 12px; border-radius:20px; cursor:pointer; white-space:nowrap;
}
.locate-btn:hover{ background:var(--grad-signature); color:#fff; border-color:transparent; }
.pollutant-grid{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(70px,1fr)); gap:8px; margin-top:18px;
}
.pollutant-chip{
  background:var(--bg-alt); border:1px solid var(--border); border-radius:10px; padding:8px 6px; text-align:center;
}
.pollutant-chip .p-label{ display:block; font-size:.7rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:.03em; }
.pollutant-chip .p-value{ display:block; font-family:var(--font-display); font-weight:700; font-size:1rem; margin-top:2px; }

/* ---------- Map ---------- */
.map-embed{
  border-radius:var(--radius); overflow:hidden; border:1px solid var(--border);
  box-shadow:var(--shadow-card);
}
.map-embed iframe{ width:100%; height:420px; border:0; display:block; }

/* ---------- Vehicle restrictions table ---------- */
.restriction-table{
  background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow-card);
}
.restriction-table table{ width:100%; margin:0; }
.restriction-table th{
  background:var(--bg-alt); text-align:left; padding:16px 20px;
  font-family:var(--font-display); font-size:.85rem; text-transform:uppercase; letter-spacing:.04em;
}
.restriction-table td{ padding:16px 20px; border-top:1px solid var(--border); vertical-align:top; }
.badge-stage{
  display:inline-block; padding:4px 12px; border-radius:20px; font-size:.75rem; font-weight:700; color:#fff;
}

/* ---------- Product / air purifier cards ---------- */
.filter-bar{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:36px; }
.filter-btn{
  background:var(--bg-raised); border:1px solid var(--border); color:var(--text);
  padding:8px 18px; border-radius:30px; font-size:.9rem; cursor:pointer; transition:.2s ease;
}
.filter-btn:hover, .filter-btn.active{
  background:var(--grad-signature); color:#fff; border-color:transparent;
}
.product-card{
  background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--radius);
  box-shadow:var(--shadow-card); overflow:hidden; height:100%; display:flex; flex-direction:column;
}
.product-card img{ width:100%; height:190px; object-fit:cover; }
.product-card .product-body{ padding:20px; display:flex; flex-direction:column; flex:1; }
.product-card .cat-tag{ font-size:.72rem; text-transform:uppercase; letter-spacing:.05em; color:var(--accent-blue); font-weight:700; }
.product-card h3{ font-size:1.02rem; margin:8px 0; font-family:var(--font-display); }
.product-card .price{ font-weight:700; font-size:1.1rem; margin-bottom:14px; }
.product-card .mt-auto a{ width:100%; }

/* ---------- Challan checker ---------- */
.challan-form{
  background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--radius);
  box-shadow:var(--shadow-soft); padding:36px; max-width:560px; margin:0 auto;
}
.challan-result-card{
  background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--radius);
  box-shadow:var(--shadow-card); padding:20px 24px; margin-bottom:14px;
}
.challan-demo-note{
  background:rgba(244,183,64,0.12); border:1px solid rgba(244,183,64,0.4);
  border-radius:12px; padding:14px 18px; font-size:.85rem; margin-bottom:24px;
}

/* ---------- Blog ---------- */
.blog-card{
  background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--radius);
  box-shadow:var(--shadow-card); overflow:hidden; height:100%; display:flex; flex-direction:column;
}
.blog-card img{ width:100%; height:200px; object-fit:cover; }
.blog-card .blog-body{ padding:22px; display:flex; flex-direction:column; flex:1; }
.blog-card .meta{ font-size:.78rem; color:var(--text-muted); margin-bottom:8px; }
.blog-card h3{ font-family:var(--font-display); font-size:1.1rem; margin-bottom:10px; }
.blog-card p{ color:var(--text-muted); font-size:.92rem; flex:1; }

/* ---------- Contact ---------- */
.contact-card{
  background:var(--bg-raised); border:1px solid var(--border); border-radius:var(--radius);
  box-shadow:var(--shadow-soft); padding:36px;
}
.contact-card .form-control{
  background:var(--bg-alt); border:1px solid var(--border); color:var(--text);
}
.alert-success-cyber{
  background:rgba(23,184,132,0.12); border:1px solid rgba(23,184,132,0.4); color:var(--text);
  border-radius:12px; padding:16px 20px; margin-bottom:24px;
}
.alert-error-cyber{
  background:rgba(255,71,97,0.12); border:1px solid rgba(255,71,97,0.4); color:var(--text);
  border-radius:12px; padding:16px 20px; margin-bottom:24px;
}

/* ---------- GRAP Orders — list rows with View button ---------- */
.order-list{ display:flex; flex-direction:column; gap:12px; }
.order-row{
  display:flex; align-items:center; gap:16px; flex-wrap:wrap;
  background:var(--bg-raised); border:1px solid var(--border); border-radius:14px;
  padding:16px 20px; transition:border-color .15s ease, box-shadow .15s ease;
}
.order-row:hover{ border-color:var(--accent-blue); box-shadow:var(--shadow-soft); }
.order-row .order-icon{
  flex:0 0 auto; width:38px; height:38px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  background:var(--bg-alt); color:var(--accent-blue); font-size:1.1rem;
}
.order-row .order-main{ flex:1 1 320px; min-width:240px; }
.order-row .order-title{
  color:var(--accent-blue); font-weight:600; font-size:.95rem; line-height:1.4;
  text-decoration:none;
}
.order-row .order-title:hover{ text-decoration:underline; }
.order-row .order-meta{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:4px; }
.order-row .order-date{ color:var(--text-muted); font-size:.82rem; white-space:nowrap; }
.order-row .order-pdf-badge{
  display:inline-flex; align-items:center; gap:4px; font-size:.75rem; color:var(--text-muted);
  background:var(--bg-alt); border:1px solid var(--border); border-radius:8px; padding:2px 8px;
}
.order-row .order-pdf-badge i{ color:#e5484d; }
.order-row .order-view-btn{
  flex:0 0 auto; display:inline-flex; align-items:center; gap:6px;
  background:#2F6FEF; color:#fff; border:none; border-radius:10px;
  padding:9px 18px; font-size:.85rem; font-weight:600; text-decoration:none;
  transition:filter .15s ease;
}
.order-row .order-view-btn:hover{ filter:brightness(1.08); color:#fff; }
.order-row .order-view-btn.is-fallback{ background:var(--bg-alt); color:var(--text); border:1px solid var(--border); }
.order-row .order-view-btn.is-fallback:hover{ border-color:var(--accent-blue); }
.aqi-source-note{font-size:.75rem;color:var(--muted,#667085);margin-top:.45rem;line-height:1.35}


/* ---------- Client-requested polish ---------- */
.purifier-nav .nav-link { position:relative; color:#2F6FEF !important; font-weight:800 !important; }
.purifier-nav .nav-sale-dot { font-size:.55rem; color:#00C2D1; margin-left:5px; vertical-align:top; }
.grap-hero-status{
  background:linear-gradient(135deg,var(--bg-raised),var(--bg-alt));
  border:2px solid rgba(23,184,132,.35); border-radius:20px; padding:24px;
  box-shadow:0 12px 35px rgba(0,0,0,.08); margin-top:18px;
}
.grap-hero-status .status-kicker{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);font-weight:800;}
.grap-hero-status .status-title{font-size:clamp(1.5rem,3vw,2.25rem);font-weight:800;margin:6px 0;}
.grap-hero-status .status-sub{color:var(--text-muted);font-size:.9rem;}
.grap-status-action{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px;}
.grap-notice-modal .modal-content{background:var(--bg-raised);color:var(--text);border:1px solid var(--border);border-radius:18px;}
.grap-notice-modal .modal-header{border-bottom:1px solid var(--border);}
.grap-notice-modal .modal-footer{border-top:1px solid var(--border);}
.purifier-promo{
  background:linear-gradient(135deg,#0B4DFF,#00C2D1);
  color:#fff;border-radius:22px;padding:30px;position:relative;overflow:hidden;
  box-shadow:0 16px 35px rgba(23,184,132,.2);
}
.purifier-promo:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-55px;top:-65px;background:rgba(255,255,255,.12);}
.purifier-promo h2{font-weight:800;position:relative;z-index:1;}
.purifier-promo p{opacity:.9;position:relative;z-index:1;}
.purifier-promo .btn{position:relative;z-index:1;background:#fff;color:#0B4DFF;border:0;font-weight:800;}
.news-feed-card{background:var(--bg-raised);border:1px solid var(--border);border-radius:16px;padding:20px;height:100%;}
.news-feed-card .news-source{font-size:.72rem;text-transform:uppercase;color:var(--accent-blue);font-weight:800;letter-spacing:.05em;}
.news-feed-card h3{font-size:1rem;margin:7px 0 8px;font-family:var(--font-display);}
.news-feed-card p{font-size:.85rem;color:var(--text-muted);margin:0 0 10px;}
.news-feed-card a{font-size:.82rem;font-weight:700;}
.weather-strip{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;}
.weather-chip{background:var(--bg-alt);border:1px solid var(--border);border-radius:12px;padding:9px 12px;font-size:.8rem;}
.weather-chip strong{font-family:var(--font-display);}
.aqi-widget .aqi-headline{font-weight:800;font-size:1.05rem;}
.aqi-widget .aqi-note{font-size:.75rem;color:var(--text-muted);margin-top:10px;}
.copyright-bar{font-size:.78rem;color:var(--text-muted);padding:12px 0;border-top:1px solid var(--border);}

.floating-purifier-cta{position:fixed;right:18px;bottom:18px;z-index:1030;display:inline-flex;align-items:center;gap:8px;background:#2F6FEF;color:#fff!important;border-radius:999px;padding:11px 16px;font-size:.82rem;font-weight:800;text-decoration:none;box-shadow:0 10px 25px rgba(0,0,0,.18);transition:transform .2s ease,box-shadow .2s ease;}
.floating-purifier-cta:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(0,0,0,.22);}
@media(max-width:576px){.floating-purifier-cta span{display:none}.floating-purifier-cta{width:48px;height:48px;justify-content:center;padding:0;right:14px;bottom:14px}}
