/* =========================================================================
   Vikas Medical Gases + Power Safe — Theme stylesheet (v2, enhanced)
   Premium B2B look: layered shadows, gradient accents, refined type & motion.
   Power Safe (fire) uses a charcoal + amber palette (not heavy red).
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --background: 0 0% 100%;
  --foreground: 220 30% 13%;
  --card: 0 0% 100%;
  --primary: 217 91% 34%;
  --primary-600: 217 89% 40%;
  --primary-400: 205 90% 48%;
  --primary-foreground: 0 0% 100%;
  --secondary: 213 40% 97%;
  --muted: 214 20% 95%;
  --muted-foreground: 216 14% 46%;
  --accent: 207 84% 95%;
  --accent-foreground: 217 91% 28%;
  --border: 214 28% 91%;
  --radius: 0.85rem;

  /* Power Safe (Fire Safety division) — charcoal + amber/gold, minimal red */
  --ps-ink: 30 92% 42%;      /* amber accent for text/icons on light bg */
  --ps-gold: 42 100% 52%;    /* logo gold — button / highlight */
  --ps-dark: 220 24% 10%;    /* charcoal for heroes / CTA */
  --ps-ember: 12 78% 46%;    /* ember, tiny accents only */

  --container: 1200px;
  --shadow-sm: 0 1px 2px hsl(220 30% 20% / 0.06), 0 1px 3px hsl(220 30% 20% / 0.05);
  --shadow-md: 0 4px 12px hsl(220 30% 20% / 0.07), 0 2px 6px hsl(220 30% 20% / 0.05);
  --shadow-lg: 0 18px 40px -14px hsl(220 40% 20% / 0.22), 0 8px 16px -10px hsl(220 40% 20% / 0.12);
  --shadow-xl: 0 30px 60px -18px hsl(220 45% 18% / 0.30);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  letter-spacing: -0.025em;
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: hsl(var(--foreground));
}
p { margin: 0 0 1rem; }
a { color: hsl(var(--primary)); text-decoration: none; transition: color 0.18s; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; }
li { list-style: none; }
::selection { background: hsl(var(--primary) / 0.15); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3.5rem 0; }
@media (min-width: 768px) { .section { padding: 5.5rem 0; } }
.section--secondary { background: hsl(var(--secondary)); }
.section--accent { background: linear-gradient(180deg, hsl(var(--accent)), hsl(207 84% 97%)); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: hsl(var(--primary));
  font-weight: 700; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 0.65rem;
}
.eyebrow::before { content: ""; width: 1.5rem; height: 2px; background: currentColor; border-radius: 2px; opacity: 0.7; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 0.85rem; }
.section-head p { color: hsl(var(--muted-foreground)); font-size: 1.05rem; }
.muted { color: hsl(var(--muted-foreground)); }

.section-pattern {
  background-image: radial-gradient(circle at 1px 1px, hsl(var(--border)) 1px, transparent 0);
  background-size: 22px 22px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.98rem;
  padding: 0.8rem 1.5rem; border-radius: 0.7rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { transition: transform 0.18s; }
.btn:hover svg { transform: translateX(2px); }
.btn-primary { background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-400))); color: #fff; box-shadow: 0 10px 22px -10px hsl(var(--primary) / 0.7); }
.btn-primary:hover { box-shadow: 0 16px 30px -12px hsl(var(--primary) / 0.8); color: #fff; }
.btn-white { background: #fff; color: hsl(var(--primary)); box-shadow: var(--shadow-lg); }
.btn-white:hover { background: #fff; box-shadow: var(--shadow-xl); }
.btn-outline { background: transparent; border-color: hsl(var(--border)); color: hsl(var(--foreground)); }
.btn-outline:hover { background: hsl(var(--accent)); border-color: hsl(var(--primary) / 0.3); }
.btn-ps { background: linear-gradient(135deg, hsl(var(--ps-gold)), hsl(38 100% 48%)); color: hsl(var(--ps-dark)); box-shadow: 0 10px 22px -10px hsl(var(--ps-gold) / 0.7); font-weight: 700; }
.btn-ps:hover { color: hsl(var(--ps-dark)); box-shadow: 0 16px 30px -12px hsl(var(--ps-gold) / 0.8); }
.btn-lg { padding: 0.95rem 1.8rem; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: hsl(var(--background) / 0.9);
  backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid hsl(var(--border) / 0.7);
}
.topbar { background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--primary-600))); color: #fff; font-size: 0.76rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding: 0.45rem 1.25rem; }
.topbar a { color: #fff; }
.topbar-right { display: flex; gap: 1.25rem; align-items: center; }
@media (max-width: 767px) { .topbar { display: none; } }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 0.55rem 1.25rem; gap: 0.5rem; max-width: 1440px; }
.nav-logo img { height: 2.85rem; width: auto; }
.nav-menu { display: none; align-items: center; gap: 0.02rem; flex-wrap: nowrap; }
.nav-menu a {
  position: relative; padding: 0.4rem 0.5rem; border-radius: 0.55rem; white-space: nowrap;
  font-size: 0.82rem; font-weight: 500; color: hsl(var(--foreground) / 0.78);
  transition: color 0.18s, background 0.18s;
}
.nav-menu a:hover, .nav-menu a.active { color: hsl(var(--primary)); background: hsl(var(--accent)); text-decoration: none; }
.nav-menu a.active { font-weight: 600; }
.nav-cta { display: none; white-space: nowrap; padding: 0.5rem 0.85rem; font-size: 0.82rem; }
@media (min-width: 1024px) { .nav-menu { display: flex; } .nav-cta { display: inline-flex; } }
.nav-toggle { display: inline-flex; background: none; border: none; padding: 0.5rem; border-radius: 0.6rem; cursor: pointer; color: hsl(var(--foreground)); }
.nav-toggle:hover { background: hsl(var(--accent)); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }
/* Larger screens: comfortable spacing */
@media (min-width: 1320px) { .nav-menu { gap: 0.15rem; } .nav-menu a { padding: 0.45rem 0.7rem; font-size: 0.88rem; } .nav-logo img { height: 3.1rem; } .nav-cta { padding: 0.6rem 1.05rem; font-size: 0.88rem; } }

.mobile-menu { display: none; border-top: 1px solid hsl(var(--border)); background: #fff; box-shadow: var(--shadow-lg); }
.mobile-menu.open { display: block; animation: fadeDown 0.25s ease; }
.mobile-menu ul { padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu a { display: block; padding: 0.75rem 1rem; border-radius: 0.6rem; font-weight: 500; font-size: 0.92rem; color: hsl(var(--foreground) / 0.8); }
.mobile-menu a:hover, .mobile-menu a.active { color: hsl(var(--primary)); background: hsl(var(--accent)); text-decoration: none; }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero (split layout: text panel + image showcase) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 130% at 88% 8%, hsl(202 92% 44% / 0.55), transparent 55%),
    radial-gradient(90% 90% at 8% 100%, hsl(210 90% 40% / 0.45), transparent 60%),
    linear-gradient(135deg, hsl(220 48% 13%) 0%, hsl(217 88% 26%) 55%, hsl(212 84% 30%) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, hsla(0,0%,100%,0.06) 1px, transparent 0);
  background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr; align-items: center; gap: 2.5rem; padding: 3rem 0 3.5rem; }
@media (min-width: 992px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; min-height: 620px; padding: 3.5rem 0; } }
.hero-content { max-width: 620px; animation: heroIn 0.7s ease both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: hsla(0,0%,100%,0.12); backdrop-filter: blur(6px);
  color: #fff; font-size: 0.82rem; font-weight: 600;
  padding: 0.4rem 1rem; border-radius: 999px; margin-bottom: 1.6rem;
  border: 1px solid hsla(0,0%,100%,0.25);
}
.hero-badge .dot { height: 0.5rem; width: 0.5rem; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 hsla(142,70%,55%,0.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 hsla(142,70%,55%,0.5); } 70% { box-shadow: 0 0 0 8px hsla(142,70%,55%,0); } 100% { box-shadow: 0 0 0 0 hsla(142,70%,55%,0); } }
.hero h1 { color: #fff; font-size: clamp(2.05rem, 4.4vw, 3.55rem); margin-bottom: 1.2rem; text-shadow: 0 2px 24px hsla(220,50%,8%,0.35); }
.hero h1 .accent { background: linear-gradient(100deg, #7dd3fc, #e0f2fe); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { font-size: 1.15rem; color: hsla(0,0%,100%,0.88); margin-bottom: 1.5rem; max-width: 560px; }
.hero-list { margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.hero-list li { display: flex; align-items: center; gap: 0.6rem; color: hsla(0,0%,100%,0.92); font-size: 0.95rem; }
.hero-list svg { color: #4ade80; flex-shrink: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Image showcase */
.hero-media { position: relative; animation: heroIn 0.8s 0.1s ease both; }
.hero-media-frame { position: relative; border-radius: 1.5rem; overflow: hidden; box-shadow: 0 40px 80px -24px hsla(220,60%,6%,0.6), 0 0 0 1px hsla(0,0%,100%,0.1); aspect-ratio: 5 / 4; }
.hero-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, hsla(220,50%,8%,0.25)); }
.hero-blob { position: absolute; inset: -12% -10% -12% -8%; z-index: -1; background: radial-gradient(closest-side, hsl(200 95% 55% / 0.35), transparent); filter: blur(30px); }
.hero-float {
  position: absolute; display: flex; align-items: center; gap: 0.7rem;
  background: hsla(0,0%,100%,0.96); backdrop-filter: blur(8px);
  border-radius: 0.9rem; padding: 0.75rem 1rem; box-shadow: var(--shadow-lg);
  animation: floaty 5s ease-in-out infinite;
}
.hero-float .ic { height: 2.5rem; width: 2.5rem; border-radius: 0.6rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-float .ic.blue { background: hsl(var(--primary) / 0.12); color: hsl(var(--primary)); }
.hero-float .ic.gold { background: hsl(42 100% 50% / 0.16); color: hsl(38 92% 42%); }
.hero-float .big { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.05rem; line-height: 1.1; color: hsl(var(--foreground)); }
.hero-float .sub { font-size: 0.72rem; color: hsl(var(--muted-foreground)); }
.hero-float .stars { color: #f5a623; font-size: 0.8rem; letter-spacing: 1px; margin: 0; }
.hero-float--top { top: 1.25rem; left: -0.75rem; }
.hero-float--bottom { bottom: 1.25rem; right: -0.75rem; animation-delay: 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 991px) {
  .hero-media { max-width: 540px; margin: 0 auto; width: 100%; }
  .hero-float { padding: 0.6rem 0.8rem; max-width: 60%; }
  .hero-float--top { left: 0.6rem; top: 0.6rem; }
  .hero-float--bottom { right: 0.6rem; bottom: 0.6rem; }
}
@media (max-width: 560px) {
  .hero-float .sub { display: none; }
  .hero-float .ic { height: 2.1rem; width: 2.1rem; }
  .hero-float .big { font-size: 0.92rem !important; }
}
@media (prefers-reduced-motion: reduce) { .hero-float { animation: none; } }

/* Compact page hero */
.page-hero { position: relative; padding: 4rem 0; color: #fff; overflow: hidden; }
.page-hero .hero-overlay { background: linear-gradient(100deg, hsla(220,52%,8%,0.95) 0%, hsla(218,55%,12%,0.9) 42%, hsla(216,60%,18%,0.74) 100%), linear-gradient(0deg, hsla(220,52%,6%,0.6), transparent 55%); }
.page-hero.ps-hero .hero-overlay { background: linear-gradient(120deg, hsla(220,26%,8%,0.94) 20%, hsla(24,45%,18%,0.86) 75%, hsla(32,60%,26%,0.7) 100%); }
.page-hero.ps-hero .hero-overlay::after { content:""; position:absolute; inset:0; background: radial-gradient(50% 70% at 12% 40%, hsla(42,100%,55%,0.16), transparent 70%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: 1rem; text-shadow: 0 2px 24px hsla(220,60%,5%,0.6); }
.page-hero p { color: hsla(0,0%,100%,0.92); font-size: 1.12rem; max-width: 660px; text-shadow: 0 1px 12px hsla(220,60%,5%,0.5); }
.breadcrumb { font-size: 0.85rem; color: hsla(0,0%,100%,0.7); margin-bottom: 1.1rem; }
.breadcrumb a { color: hsla(0,0%,100%,0.85); }
.breadcrumb span { margin: 0 0.45rem; opacity: 0.6; }

/* ---------- Cards & grids ---------- */
/* Flexbox (not grid) so an incomplete last row centres instead of left-aligning. */
.grid { display: flex; flex-wrap: wrap; gap: 1.75rem; justify-content: center; }
.grid > * { flex: 0 1 100%; min-width: 0; }
@media (min-width: 640px) { .grid-2 > *, .grid-3 > *, .grid-4 > * { flex-basis: calc((100% - 1.75rem) / 2 - 1px); } }
@media (min-width: 1024px) {
  .grid-3 > * { flex-basis: calc((100% - 3.5rem) / 3 - 1px); }
  .grid-4 > * { flex-basis: calc((100% - 5.25rem) / 4 - 1px); }
}

.card {
  background: #fff; border: 1px solid hsl(var(--border) / 0.8);
  border-radius: 1.1rem; overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  height: 100%; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: hsl(var(--primary) / 0.25); text-decoration: none; }
.card-img { position: relative; height: 13.5rem; overflow: hidden; }
.card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, hsla(220,40%,10%,0.28)); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-img img { transform: scale(1.07); }
.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-icon-row { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.85rem; }
.card-icon { height: 2.75rem; width: 2.75rem; border-radius: 0.75rem; background: linear-gradient(135deg, hsl(var(--accent)), hsl(207 84% 90%)); color: hsl(var(--primary)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card-body h3 { font-size: 1.3rem; margin: 0; }
.card-body p { color: hsl(var(--muted-foreground)); font-size: 0.94rem; margin-bottom: 1.1rem; }
.card-link { color: hsl(var(--primary)); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.35rem; margin-top: auto; }
.card:hover .card-link { gap: 0.6rem; }
.card-link svg { transition: transform 0.2s; }

/* Feature tiles */
.feature { background: #fff; border-radius: 1.1rem; padding: 1.75rem 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid hsl(var(--border) / 0.7); text-align: center; transition: transform 0.25s, box-shadow 0.25s; }
.feature:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-icon { height: 3.75rem; width: 3.75rem; border-radius: 1rem; background: linear-gradient(135deg, hsl(var(--primary) / 0.12), hsl(var(--primary-400) / 0.14)); color: hsl(var(--primary)); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.35rem; }
.feature h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.feature p { color: hsl(var(--muted-foreground)); font-size: 0.92rem; margin: 0; }

/* Info tile */
.tile { background: #fff; border-radius: 1.1rem; padding: 1.6rem; border: 1px solid hsl(var(--border) / 0.7); box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; }
.tile:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tile h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.tile p { color: hsl(var(--muted-foreground)); font-size: 0.92rem; margin: 0; }
.section--secondary .tile { background: #fff; }

/* Product cards */
.product-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.product-grid > * { flex: 0 1 calc((100% - 1.5rem) / 2 - 1px); min-width: 0; }
@media (min-width: 768px) { .product-grid > * { flex-basis: calc((100% - 4.5rem) / 4 - 1px); } }
.product-card { background: #fff; border: 1px solid hsl(var(--border) / 0.8); border-radius: 1.1rem; overflow: hidden; transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: hsl(var(--primary) / 0.22); text-decoration: none; }
.product-card .card-img { height: 11rem; }
.product-card .p-body { padding: 1.15rem; display: flex; flex-direction: column; flex: 1; }
.product-card h4 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.product-card .formula { color: hsl(var(--primary)); font-weight: 700; font-size: 0.82rem; }
.product-card p { color: hsl(var(--muted-foreground)); font-size: 0.84rem; margin: 0.4rem 0 0.75rem; }
.product-card .card-link { color: hsl(var(--primary)); font-weight: 600; font-size: 0.82rem; display: inline-flex; align-items: center; gap: 0.3rem; margin-top: auto; }

/* ---------- Prose ---------- */
.prose { max-width: 860px; margin: 0 auto; color: hsl(var(--muted-foreground)); font-size: 1.02rem; }
.prose p { margin-bottom: 1.1rem; line-height: 1.8; }
.prose h2, .prose h3 { color: hsl(var(--foreground)); }
.prose strong { color: hsl(var(--foreground)); }
.prose a { color: hsl(var(--primary)); font-weight: 500; }
.prose a:hover { text-decoration: underline; }
.prose ul.check { margin: 1.25rem 0; }
.prose ul.check li { display: flex; gap: 0.65rem; margin-bottom: 0.7rem; align-items: flex-start; }
.prose ul.check svg { color: hsl(var(--primary)); flex-shrink: 0; margin-top: 0.2rem; }

/* Two-column feature row */
.feature-row { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .feature-row { grid-template-columns: 1fr 1fr; } .feature-row.reverse .fr-media { order: 2; } }
.fr-media { position: relative; }
.fr-media img { border-radius: 1.25rem; box-shadow: var(--shadow-xl); width: 100%; }
.fr-media::before { content: ""; position: absolute; inset: auto -1rem -1rem auto; width: 55%; height: 55%; border-radius: 1.25rem; background: linear-gradient(135deg, hsl(var(--primary) / 0.1), transparent); z-index: -1; }
.fr-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.fr-text p { color: hsl(var(--muted-foreground)); }

/* ---------- Testimonials ---------- */
.testimonial { background: #fff; border: 1px solid hsl(var(--border) / 0.7); border-radius: 1.25rem; box-shadow: var(--shadow-md); padding: 2.25rem; text-align: center; height: 100%; position: relative; }
.testimonial::before { content: "\201C"; position: absolute; top: 0.4rem; left: 1.4rem; font-family: 'Outfit', serif; font-size: 4rem; color: hsl(var(--primary) / 0.14); line-height: 1; }
.stars { color: #f5a623; font-size: 1.05rem; margin-bottom: 0.85rem; letter-spacing: 1px; }
.testimonial p { font-style: italic; color: hsl(var(--foreground) / 0.82); margin-bottom: 1.35rem; position: relative; }
.testimonial .divider { height: 2px; width: 3rem; background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--primary-400))); margin: 0 auto 1rem; border-radius: 2px; }
.testimonial .name { font-weight: 700; color: hsl(var(--foreground)); }
.testimonial .role { font-size: 0.85rem; color: hsl(var(--muted-foreground)); }

/* ---------- CTA strip ---------- */
.cta-strip { position: relative; padding: 4.5rem 0; overflow: hidden; background: linear-gradient(120deg, hsl(var(--primary)), hsl(var(--primary-600)) 60%, hsl(205 80% 40%)); }
.cta-strip.ps { background: linear-gradient(120deg, hsl(var(--ps-dark)), hsl(220 22% 16%) 70%, hsl(28 40% 20%)); }
.cta-strip .pattern { position: absolute; inset: 0; opacity: 0.12; }
.cta-strip .container { position: relative; text-align: center; }
.cta-strip h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 1rem; }
.cta-strip p { color: hsla(0,0%,100%,0.82); max-width: 580px; margin: 0 auto 2.25rem; font-size: 1.05rem; }
.cta-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.75rem; margin-bottom: 2.25rem; }
.cta-contacts a, .cta-contacts span { display: inline-flex; align-items: center; gap: 0.55rem; color: #fff; font-weight: 500; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); font-size: 0.78rem; font-weight: 600; padding: 0.4rem 0.9rem; border-radius: 999px; }
.chip.ps { background: hsl(var(--ps-gold) / 0.18); color: hsl(38 90% 32%); }
.page-hero .chip { background: hsla(0,0%,100%,0.16); color: #fff; border: 1px solid hsla(0,0%,100%,0.22); backdrop-filter: blur(4px); }

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.info-list { display: flex; flex-direction: column; gap: 1.35rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item .ic { height: 3rem; width: 3rem; border-radius: 0.8rem; background: linear-gradient(135deg, hsl(var(--accent)), hsl(207 84% 90%)); color: hsl(var(--primary)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-item h4 { margin: 0 0 0.2rem; font-size: 1.02rem; }
.info-item p, .info-item a { margin: 0; color: hsl(var(--muted-foreground)); }
.form-card { background: #fff; border: 1px solid hsl(var(--border)); border-radius: 1.25rem; padding: 2rem; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1px solid hsl(var(--border));
  border-radius: 0.65rem; font-family: inherit; font-size: 0.95rem;
  background: hsl(var(--secondary) / 0.5); color: hsl(var(--foreground)); transition: border 0.18s, box-shadow 0.18s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: hsl(var(--primary)); box-shadow: 0 0 0 3px hsl(var(--primary) / 0.14); background: #fff; }
.form-note { font-size: 0.85rem; color: hsl(var(--muted-foreground)); margin-top: 0.6rem; }
/* Anti-spam honeypot — off-screen, never shown to humans, filled only by bots. */
.vikas-hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Map ---------- */
.map-embed { width: 100%; height: 380px; border: 0; border-radius: 1.25rem; box-shadow: var(--shadow-md); }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, hsl(220 30% 12%), hsl(220 32% 9%)); color: #fff; }
.site-footer .container { padding-top: 4rem; padding-bottom: 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.75rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-logos { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.footer-logo { height: 3.5rem; filter: brightness(0) invert(1); }
.footer-logo-ps { height: 3.6rem; width: auto; filter: none; }
.footer-logos .sep { width: 1px; height: 2.5rem; background: hsla(0,0%,100%,0.18); }
.site-footer p, .site-footer li a, .site-footer li { color: hsla(0,0%,100%,0.62); font-size: 0.9rem; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-col h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1.35rem; position: relative; }
.footer-col h3::after { content: ""; position: absolute; left: 0; bottom: -0.4rem; width: 2rem; height: 2px; background: hsl(var(--primary-400)); border-radius: 2px; }
.footer-col.ps h3::after { background: hsl(var(--ps-gold)); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-sub { display: flex; align-items: flex-start; gap: 0.65rem; }
.footer-sub svg { color: hsl(var(--primary-400)); flex-shrink: 0; margin-top: 0.15rem; }
.footer-badge { display: inline-flex; align-items: center; gap: 0.7rem; background: hsla(0,0%,100%,0.05); border: 1px solid hsla(0,0%,100%,0.12); border-radius: 0.8rem; padding: 0.7rem 0.9rem; margin-top: 1.25rem; }
.footer-badge img { height: 2.6rem; }
.footer-badge small { color: hsla(0,0%,100%,0.72); font-size: 0.75rem; line-height: 1.4; }
.footer-social { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.25rem; }
.footer-social span { color: hsla(0,0%,100%,0.55); font-size: 0.8rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; color: #fff; background: linear-gradient(45deg,#f09433,#e6683c 30%,#dc2743 50%,#cc2366 75%,#bc1888); transition: transform .2s ease, box-shadow .2s ease; }
.footer-social a:hover { transform: translateY(-2px); box-shadow: 0 6px 16px hsla(340,70%,45%,0.45); }
.footer-bottom { border-top: 1px solid hsla(0,0%,100%,0.1); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: space-between; align-items: center; font-size: 0.8rem; color: hsla(0,0%,100%,0.42); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

/* ---------- Floating buttons ---------- */
.fab { position: fixed; z-index: 60; height: 3.5rem; width: 3.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); color: #fff; transition: transform 0.2s, box-shadow 0.2s; }
.fab:hover { transform: scale(1.1) translateY(-2px); text-decoration: none; box-shadow: var(--shadow-xl); }
.fab-whatsapp { bottom: 1.35rem; right: 1.35rem; background: #25d366; }
.fab-call { bottom: 1.35rem; left: 1.35rem; background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-400))); }
@media (min-width: 1024px) { .fab-call { display: none; } }

/* ---------- Utility ---------- */
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.divider-line { height: 1px; background: hsl(var(--border)); margin: 3rem 0; }
.center-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem; }
.stat-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; text-align: center; }
@media (min-width: 768px) { .stat-row { grid-template-columns: repeat(4,1fr); } }
.stat { padding: 1.75rem 1rem; background: #fff; border: 1px solid hsl(var(--border) / 0.7); border-radius: 1.1rem; box-shadow: var(--shadow-sm); }
.stat .num { font-family: 'Outfit', sans-serif; font-size: 2.5rem; font-weight: 800; background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-400))); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat.ps .num { background: linear-gradient(135deg, hsl(var(--ps-ink)), hsl(var(--ps-gold))); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .label { color: hsl(var(--muted-foreground)); font-size: 0.9rem; margin-top: 0.35rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-content { animation: none; }
  * { scroll-behavior: auto; }
}

/* ---------- Full-bleed photo hero (homepage) ---------- */
.hero-photo-section { position: relative; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center right; }
.hero-scrim { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, hsla(220,55%,7%,0.95) 0%, hsla(218,62%,12%,0.88) 33%, hsla(216,60%,16%,0.62) 60%, hsla(210,50%,22%,0.34) 100%),
    linear-gradient(0deg, hsla(220,55%,6%,0.72) 0%, transparent 40%);
}
.hero-photo-inner { position: relative; width: 100%; min-width: 0; padding-top: 8rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .hero-photo-inner { padding-top: 9.5rem; padding-bottom: 5rem; } }
.hero-photo-content { max-width: 640px; overflow-wrap: break-word; animation: heroIn 0.7s ease both; }
.hero-photo-content .hero-badge { background: hsla(0,0%,100%,0.1); border: 1px solid hsla(0,0%,100%,0.22); color: #dbeafe; }
.hero-photo-content h1 { color: #fff; font-size: clamp(2.1rem,4.6vw,3.6rem); line-height: 1.03; margin-bottom: 1.15rem; text-shadow: 0 2px 30px hsla(220,60%,6%,0.5); }
.hero-photo-content h1 .accent { background: linear-gradient(100deg,#7fc4ff,#dff0ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-photo-content .hero-lead { color: hsla(0,0%,100%,0.9); font-size: 1.15rem; max-width: 34rem; margin-bottom: 1.9rem; }
.hero-photo-content .hero-lead strong { color: #fff; }
.hero-photo-content .hero-actions { margin-bottom: 2rem; }
.btn-glass { background: hsla(0,0%,100%,0.1); color: #fff; border: 1px solid hsla(0,0%,100%,0.35); backdrop-filter: blur(6px); }
.btn-glass:hover { background: hsla(0,0%,100%,0.18); color: #fff; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem 1.4rem; }
.ht-item { display: inline-flex; align-items: baseline; gap: 0.4rem; color: hsla(0,0%,100%,0.92); }
.ht-n { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.1rem; color: #fff; }
.ht-l { font-size: 0.82rem; color: hsla(0,0%,100%,0.72); }
.ht-sep { width: 1px; height: 1.4rem; background: hsla(0,0%,100%,0.22); }
@media (max-width: 520px) { .ht-sep { display: none; } .hero-trust { gap: 0.4rem 1.1rem; } }

/* ---------- Overlay header on homepage (transparent -> solid on scroll) ---------- */
.site-header--overlay { position: absolute; top: 0; left: 0; right: 0; background: linear-gradient(180deg, hsla(220,55%,5%,0.5), transparent); backdrop-filter: none; border-bottom: 1px solid hsla(0,0%,100%,0.12); box-shadow: none; }
.site-header--overlay .nav-menu a { color: hsla(0,0%,100%,0.85); }
.site-header--overlay .nav-menu a:hover, .site-header--overlay .nav-menu a.active { color: #fff; background: hsla(0,0%,100%,0.14); }
.site-header--overlay .nav-logo img { filter: brightness(0) invert(1); }
.site-header--overlay .nav-toggle { color: #fff; }
.site-header--overlay .nav-cta { background: #fff; color: hsl(var(--primary)); box-shadow: none; }
.site-header--overlay .nav-cta:hover { background: hsla(0,0%,100%,0.9); }
.site-header--overlay.scrolled { position: fixed; background: hsl(var(--background) / 0.97); backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid hsl(var(--border) / 0.7); box-shadow: var(--shadow-sm); animation: slideDown 0.32s ease; }
.site-header--overlay.scrolled .nav-menu a { color: hsl(var(--foreground) / 0.78); }
.site-header--overlay.scrolled .nav-menu a:hover, .site-header--overlay.scrolled .nav-menu a.active { color: hsl(var(--primary)); background: hsl(var(--accent)); }
.site-header--overlay.scrolled .nav-logo img { filter: none; }
.site-header--overlay.scrolled .nav-toggle { color: hsl(var(--foreground)); }
.site-header--overlay.scrolled .nav-cta { background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-400))); color: #fff; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- Fire Safety (Power Safe) page ---------- */
.ps-photo-hero { position: relative; overflow: hidden; color: #fff; }
.ps-photo-hero .hero-photo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.ps-hero-scrim { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(102deg, hsla(220,26%,7%,0.95) 0%, hsla(220,24%,9%,0.9) 34%, hsla(20,45%,14%,0.72) 66%, hsla(30,60%,24%,0.42) 100%),
    linear-gradient(0deg, hsla(220,26%,6%,0.78) 0%, transparent 44%);
}
.ps-hero-inner { position: relative; padding: 3rem 0 3.5rem; }
@media (min-width: 768px) { .ps-hero-inner { padding: 3.5rem 0 4.5rem; } }
.ps-hero-inner .breadcrumb { color: hsla(0,0%,100%,0.72); }
.ps-hero-logo { height: 6.5rem; width: auto; margin-bottom: 1.1rem; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.55)); }
.ps-hero-inner h1 { color: #fff; font-size: clamp(2rem,4.4vw,3.4rem); max-width: 40rem; margin-bottom: 1rem; text-shadow: 0 2px 24px rgba(0,0,0,0.5); }
.ps-hero-inner p.ps-lead { color: hsla(0,0%,100%,0.9); font-size: 1.12rem; max-width: 40rem; margin-bottom: 1.7rem; }

/* Fire class explainer */
.fireclass { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .fireclass { grid-template-columns: repeat(3,1fr); } }
.fireclass-card { border: 1px solid hsl(var(--border)); border-radius: 1.1rem; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.fireclass-card .top { padding: 1.1rem 1.25rem; color: #fff; display: flex; align-items: center; gap: 0.7rem; }
.fireclass-card .top .lg { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.5rem; line-height: 1; }
.fireclass-card.a .top { background: linear-gradient(135deg,#1568d8,#4fa3f0); }
.fireclass-card.b .top { background: linear-gradient(135deg,#e6892a,#f5b301); }
.fireclass-card.c .top { background: linear-gradient(135deg,#c0392b,#e0605a); }
.fireclass-card .bd { padding: 1.1rem 1.25rem; }
.fireclass-card .bd p { font-size: 0.9rem; color: hsl(var(--muted-foreground)); margin: 0 0 0.6rem; }
.fireclass-card .bd .tag { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.85rem; color: hsl(var(--ps-ink)); }

/* Audit process steps */
.ps-steps { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 768px) { .ps-steps { grid-template-columns: repeat(4,1fr); } }
.ps-step { position: relative; background: #fff; border: 1px solid hsl(var(--border)); border-radius: 1.1rem; padding: 1.7rem 1.25rem 1.25rem; box-shadow: var(--shadow-sm); }
.ps-step .num { position: absolute; top: -0.9rem; left: 1.25rem; width: 2.4rem; height: 2.4rem; border-radius: 0.7rem; background: linear-gradient(135deg,hsl(var(--ps-ink)),hsl(var(--ps-gold))); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ps-step h4 { margin: 0.6rem 0 0.35rem; font-size: 1.02rem; }
.ps-step p { margin: 0; font-size: 0.88rem; color: hsl(var(--muted-foreground)); }

/* ---------- Fire Site Audit modal + form ---------- */
.audit-modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 1.25rem; }
.audit-modal.open { display: flex; }
.audit-modal-overlay { position: absolute; inset: 0; background: hsla(220,50%,6%,0.66); backdrop-filter: blur(3px); animation: fadeIn 0.25s ease; }
.audit-modal-card { position: relative; z-index: 1; width: 100%; max-width: 440px; background: #fff; border-radius: 1.25rem; box-shadow: var(--shadow-xl); padding: 1.9rem 1.75rem 1.6rem; max-height: 92vh; overflow-y: auto; animation: popIn 0.3s cubic-bezier(.2,.9,.3,1.2); }
.audit-modal-x { position: absolute; top: 0.85rem; right: 0.95rem; background: hsl(var(--secondary)); border: none; width: 2rem; height: 2rem; border-radius: 50%; font-size: 1.3rem; line-height: 1; cursor: pointer; color: hsl(var(--muted-foreground)); }
.audit-modal-x:hover { background: hsl(var(--muted)); }
.audit-modal-head { margin-bottom: 1.15rem; }
.audit-modal-head h3 { font-size: 1.35rem; margin: 0.3rem 0 0.5rem; }
.audit-modal-head p { color: hsl(var(--muted-foreground)); font-size: 0.92rem; margin: 0; line-height: 1.5; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
.audit-note { padding: 0.85rem 1rem; border-radius: 0.7rem; margin-bottom: 1rem; font-size: 0.9rem; }
.audit-note.ok { background: hsl(142 70% 96%); border: 1px solid hsl(142 60% 70%); color: hsl(142 55% 24%); }
.audit-note.err { background: hsl(0 80% 97%); border: 1px solid hsl(0 70% 80%); color: hsl(0 70% 42%); }
.audit-fab { position: fixed; right: -0.15rem; top: 42%; transform: rotate(-90deg); transform-origin: right center; z-index: 61; display: inline-flex; align-items: center; gap: 0.4rem; background: linear-gradient(135deg,hsl(var(--ps-ink)),hsl(var(--ps-gold))); color: #fff; font-family: 'Outfit',sans-serif; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.02em; padding: 0.55rem 1.05rem; border: none; border-radius: 0.6rem 0.6rem 0 0; cursor: pointer; box-shadow: 0 -4px 16px -6px rgba(0,0,0,0.4); }
.audit-fab:hover { filter: brightness(1.05); }
@media (max-width: 900px) { .audit-fab { display: none; } }

/* ---------- FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: #fff; border: 1px solid hsl(var(--border)); border-radius: 0.9rem; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.35rem; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: hsl(var(--primary)); border-radius: 2px; transition: transform 0.2s ease; }
.faq-plus::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.faq-plus::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.faq-item[open] .faq-plus::after { transform: translateX(-50%) scaleY(0); }
.faq-item[open] summary { color: hsl(var(--primary)); }
.faq-answer { padding: 0 1.35rem 1.2rem; color: hsl(var(--muted-foreground)); }
.faq-answer p { margin: 0; line-height: 1.7; }

/* ---------- Uniform card heights ----------
   Flex rows size independently, so fixing the variable text blocks to a set
   number of lines gives every card the same intrinsic height — they then match
   across all rows (full or incomplete/centred). */
.card-body p, .product-card .p-body p, .tile p, .feature p, .card-body h3, .product-card h4 {
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;
}
.card-body h3 { -webkit-line-clamp: 2; min-height: 1.5em; }
.card-body p { -webkit-line-clamp: 3; min-height: 4.35rem; line-height: 1.5; }
.product-card h4 { -webkit-line-clamp: 2; min-height: 2.4rem; }
.product-card .p-body p { -webkit-line-clamp: 2; min-height: 2.5rem; line-height: 1.5; }
.tile p { -webkit-line-clamp: 3; min-height: 4.1rem; line-height: 1.5; }
.feature p { -webkit-line-clamp: 3; min-height: 4rem; line-height: 1.5; }
