/* Lifeline Superspeciality Hospital & Heart Centre — site styles (Bootstrap 5 based) */
:root {
  --ll-primary: #12907a;
  --ll-primary-dark: #0a5c50;
  --ll-primary-soft: #e6f5f2;
  --ll-accent: #d64545;
  --ll-accent-dark: #b33333;
  --ll-ink: #17252a;
  --ll-muted: #5b6b70;
  --ll-bg-soft: #f5f9f8;
  --ll-wa: #25d366;
  --ll-wa-dark: #128c4b;
  --ll-radius: 14px;
  --ll-shadow: 0 10px 30px rgba(10, 60, 52, .08);
  --bs-primary: var(--ll-primary);
  --bs-primary-rgb: 18, 144, 122;
  --bs-link-color: var(--ll-primary);
  --bs-link-hover-color: var(--ll-primary-dark);
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--ll-ink);
}

body { background: #fff; color: var(--ll-ink); }
h1, h2, h3, h4, h5, .navbar-brand, .btn { font-family: "Poppins", "Inter", sans-serif; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; }
.text-muted-ll { color: var(--ll-muted); }
.text-primary-ll { color: var(--ll-primary) !important; }
.text-accent { color: var(--ll-accent) !important; }
.bg-soft { background: var(--ll-bg-soft); }
.bg-primary-ll { background: var(--ll-primary-dark); color: #fff; }
section { scroll-margin-top: 90px; }
.section { padding: 80px 0; }
@media (max-width: 767.98px) { .section { padding: 56px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ll-accent); margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.section-lead { color: var(--ll-muted); max-width: 680px; }

/* Buttons */
.btn { border-radius: 50px; font-weight: 500; padding: .65rem 1.4rem; }
.btn-sm { padding: .4rem .95rem; }
.btn-primary { --bs-btn-bg: var(--ll-primary); --bs-btn-border-color: var(--ll-primary); --bs-btn-hover-bg: var(--ll-primary-dark); --bs-btn-hover-border-color: var(--ll-primary-dark); --bs-btn-active-bg: var(--ll-primary-dark); }
.btn-outline-primary { --bs-btn-color: var(--ll-primary); --bs-btn-border-color: var(--ll-primary); --bs-btn-hover-bg: var(--ll-primary); --bs-btn-hover-border-color: var(--ll-primary); }
.btn-accent { background: var(--ll-accent); border-color: var(--ll-accent); color: #fff; }
.btn-accent:hover, .btn-accent:focus { background: var(--ll-accent-dark); border-color: var(--ll-accent-dark); color: #fff; }
.btn-wa { background: var(--ll-wa); border-color: var(--ll-wa); color: #fff; }
.btn-wa:hover, .btn-wa:focus { background: var(--ll-wa-dark); border-color: var(--ll-wa-dark); color: #fff; }
.btn-outline-wa { color: var(--ll-wa-dark); border: 1.5px solid var(--ll-wa); background: transparent; }
.btn-outline-wa:hover { background: var(--ll-wa); color: #fff; }
.btn i { margin-right: .35rem; }

/* Top bar */
.topbar { background: var(--ll-primary-dark); color: #d9efeb; font-size: .85rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .emergency { background: var(--ll-accent); padding: .45rem 1rem; color: #fff; font-weight: 600; }

/* Navbar */
.navbar-ll { background: #fff; box-shadow: 0 2px 18px rgba(0,0,0,.06); }
.navbar-ll .navbar-brand img { height: 52px; width: auto; }
@media (max-width: 575.98px) { .navbar-ll .navbar-brand img { height: 40px; } }
.navbar-ll .nav-link { font-family: "Poppins", sans-serif; font-weight: 500; color: var(--ll-ink); padding: .5rem .75rem !important; white-space: nowrap; }
.navbar-ll .nav-link:hover, .navbar-ll .nav-link.active { color: var(--ll-primary); }
.navbar-ll .nav-link.active { position: relative; }
@media (min-width: 1200px) {
  .navbar-ll .nav-link.active::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: 0; height: 2px; background: var(--ll-primary); border-radius: 2px; }
}

/* Hero */
.hero { position: relative; color: #fff; }
.hero .carousel-item { height: min(86vh, 680px); min-height: 520px; }
.hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.hero .carousel-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,40,35,.88) 0%, rgba(6,40,35,.65) 45%, rgba(6,40,35,.15) 100%); }
.hero-content { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.15; }
.hero p.lead { color: #d8ece8; max-width: 560px; }
.hero .badge-soft { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 50px; padding: .45rem .9rem; font-weight: 500; font-size: .85rem; }

/* Page header (inner pages) */
.page-header { position: relative; padding: 110px 0 80px; color: #fff; background: var(--ll-primary-dark) center/cover no-repeat; }
.page-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,40,35,.92), rgba(6,40,35,.55)); }
.page-header > .container { position: relative; }
.page-header h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.page-header .breadcrumb { --bs-breadcrumb-divider-color: #b9dcd5; --bs-breadcrumb-item-active-color: #b9dcd5; margin: 0; }
.page-header .breadcrumb a { color: #fff; text-decoration: none; }

/* Quick action cards under hero */
.quick-actions { margin-top: -60px; position: relative; z-index: 5; }
.quick-card { background: #fff; border-radius: var(--ll-radius); box-shadow: var(--ll-shadow); padding: 1.5rem; height: 100%; display: flex; gap: 1rem; align-items: flex-start; }
.quick-card .qi { flex: 0 0 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; background: var(--ll-primary-soft); color: var(--ll-primary); }
.quick-card.accent .qi { background: #fdecec; color: var(--ll-accent); }
.quick-card.wa .qi { background: #e6f9ee; color: var(--ll-wa-dark); }
.quick-card h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.quick-card p { color: var(--ll-muted); font-size: .9rem; margin-bottom: .5rem; }
.quick-card a.link { font-weight: 600; text-decoration: none; }

/* Stats */
.stats { background: var(--ll-primary-dark); color: #fff; }
.stat-num { font-family: "Poppins", sans-serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; line-height: 1; }
.stat-label { color: #b9dcd5; font-size: .95rem; margin-top: .35rem; }

/* Image blocks */
.img-rounded { border-radius: var(--ll-radius); width: 100%; object-fit: cover; box-shadow: var(--ll-shadow); }
.about-collage { position: relative; padding-bottom: 60px; padding-right: 40px; }
.about-collage .img-small { position: absolute; right: 0; bottom: 0; width: 55%; border: 6px solid #fff; }
.about-collage .exp-badge { position: absolute; left: -10px; bottom: 30px; background: var(--ll-accent); color: #fff; border-radius: var(--ll-radius); padding: 1rem 1.25rem; box-shadow: var(--ll-shadow); text-align: center; }
.about-collage .exp-badge strong { display: block; font-family: "Poppins", sans-serif; font-size: 2rem; line-height: 1; }
@media (max-width: 575.98px) { .about-collage { padding-right: 0; } .about-collage .exp-badge { left: 8px; } }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.check-list li::before { content: "\F26B"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--ll-primary); font-size: 1.1rem; }

/* Cards: departments / services */
.ll-card { background: #fff; border: 1px solid #e5eeec; border-radius: var(--ll-radius); padding: 1.6rem; height: 100%; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ll-card:hover { transform: translateY(-4px); box-shadow: var(--ll-shadow); border-color: transparent; }
.ll-card .icon-wrap { width: 64px; height: 64px; border-radius: 16px; background: var(--ll-primary-soft); display: grid; place-items: center; margin-bottom: 1rem; }
.ll-card .icon-wrap img { width: 38px; height: 38px; object-fit: contain; }
.ll-card .icon-wrap i { font-size: 1.7rem; color: var(--ll-primary); }
.ll-card h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.ll-card p { color: var(--ll-muted); font-size: .93rem; flex-grow: 1; }
.ll-card > .d-flex { flex-grow: 1; }
.card-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: auto; padding-top: .9rem; }
.card-actions .btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; white-space: nowrap; padding-left: .5rem; padding-right: .5rem; }

.feature-card { border-radius: var(--ll-radius); overflow: hidden; background: #fff; box-shadow: var(--ll-shadow); height: 100%; display: flex; flex-direction: column; }
.feature-card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.feature-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature-card:hover .thumb img { transform: scale(1.05); }
.feature-card .thumb .tag { position: absolute; left: 1rem; top: 1rem; background: var(--ll-accent); color: #fff; font-size: .75rem; font-weight: 600; padding: .3rem .7rem; border-radius: 50px; }
.feature-card .body { padding: 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.feature-card h3 { font-size: 1.15rem; }
.feature-card p { color: var(--ll-muted); font-size: .93rem; flex-grow: 1; }

/* Why us */
.why-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.why-item img { width: 56px; height: 56px; flex: 0 0 56px; object-fit: contain; background: #fff; border-radius: 14px; padding: 8px; box-shadow: var(--ll-shadow); }
.why-item h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.why-item p { color: var(--ll-muted); margin: 0; font-size: .93rem; }

/* Doctors */
.doc-card { background: #fff; border-radius: var(--ll-radius); overflow: hidden; border: 1px solid #e5eeec; height: 100%; display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease; }
.doc-card:hover { box-shadow: var(--ll-shadow); transform: translateY(-4px); }
.doc-card .photo { aspect-ratio: 1/1; background: linear-gradient(180deg, var(--ll-primary-soft), #fff); display: grid; place-items: center; overflow: hidden; }
.doc-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doc-card .avatar { width: 112px; height: 112px; border-radius: 50%; background: var(--ll-primary); color: #fff; display: grid; place-items: center; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 2.2rem; box-shadow: 0 8px 22px rgba(18,144,122,.3); }
.doc-card .body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex-grow: 1; }
.doc-card h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.doc-card .spec { color: var(--ll-accent); font-weight: 600; font-size: .85rem; }
.doc-card .qual { color: var(--ll-muted); font-size: .85rem; flex-grow: 1; margin: .35rem 0 .9rem; }
.doc-card.compact .photo { aspect-ratio: 4/3; }
.filter-btns .btn { border-radius: 50px; margin: 0 .3rem .5rem 0; }
.filter-btns .btn.active { background: var(--ll-primary); color: #fff; border-color: var(--ll-primary); }

/* Gallery */
.gallery-item { display: block; border-radius: var(--ll-radius); overflow: hidden; position: relative; aspect-ratio: 4/3; cursor: zoom-in; border: 0; padding: 0; width: 100%; background: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: .75rem 1rem; color: #fff; font-weight: 500; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.65)); }

/* Accreditation strip */
.accred img { height: 84px; width: auto; }

/* Ayushman banner */
.ayushman { background: linear-gradient(120deg, #fff6e6, #e9f7f3); border-radius: 24px; overflow: hidden; }
.ayushman img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }

/* Testimonials */
.testimonial { background: #fff; border-radius: var(--ll-radius); padding: 2rem; box-shadow: var(--ll-shadow); height: 100%; }
.testimonial .stars { color: #f5a623; }
.testimonial p { color: var(--ll-muted); font-style: italic; }
.testimonial .who { display: flex; align-items: center; gap: .75rem; }
.testimonial .who .ini { width: 44px; height: 44px; border-radius: 50%; background: var(--ll-primary-soft); color: var(--ll-primary); display: grid; place-items: center; font-weight: 700; }
#testimonialCarousel .carousel-indicators { position: static; margin-top: 1.5rem; }
#testimonialCarousel .carousel-indicators [data-bs-target] { background-color: var(--ll-primary); width: 10px; height: 10px; border-radius: 50%; }

/* FAQ */
.accordion-button:not(.collapsed) { background: var(--ll-primary-soft); color: var(--ll-primary-dark); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(18,144,122,.2); }
.accordion-item { border-radius: 12px !important; overflow: hidden; margin-bottom: .75rem; border: 1px solid #e5eeec; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--ll-primary-dark), var(--ll-primary)); color: #fff; border-radius: 24px; padding: 3rem; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-band p { color: #d0ebe6; }
@media (max-width: 575.98px) { .cta-band { padding: 2rem 1.4rem; } }

/* Contact */
.contact-card { background: #fff; border-radius: var(--ll-radius); border: 1px solid #e5eeec; padding: 1.5rem; height: 100%; }
.contact-card .ci { width: 48px; height: 48px; border-radius: 12px; background: var(--ll-primary-soft); color: var(--ll-primary); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: .9rem; }
.contact-card a { text-decoration: none; }
.directory .list-group-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1.1rem; }
.directory .list-group-item a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.form-card { background: #fff; border-radius: var(--ll-radius); box-shadow: var(--ll-shadow); padding: 2rem; }
.form-control, .form-select { border-radius: 10px; padding: .7rem .9rem; border-color: #d7e3e0; }
.form-control:focus, .form-select:focus { border-color: var(--ll-primary); box-shadow: 0 0 0 .2rem rgba(18,144,122,.15); }
.map-wrap { border-radius: var(--ll-radius); overflow: hidden; box-shadow: var(--ll-shadow); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* Footer */
.footer { background: #0b2e29; color: #b3cbc6; font-size: .93rem; }
.footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer a { color: #b3cbc6; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .footer-logo { background: #fff; border-radius: 12px; padding: .6rem .9rem; display: inline-block; }
.footer .footer-logo img { height: 46px; }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: .5rem; }
.footer .social a { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.08); margin-right: .4rem; color: #fff; }
.footer .social a:hover { background: var(--ll-primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }

/* Floating buttons */
.float-wa { position: fixed; left: 18px; bottom: 18px; z-index: 1040; width: 58px; height: 58px; border-radius: 50%; background: var(--ll-wa); color: #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 8px 24px rgba(37,211,102,.45); text-decoration: none; animation: ll-pulse 2.4s infinite; }
.float-wa:hover { color: #fff; background: var(--ll-wa-dark); }
.float-call { position: fixed; left: 18px; bottom: 88px; z-index: 1040; width: 50px; height: 50px; border-radius: 50%; background: var(--ll-accent); color: #fff; display: grid; place-items: center; font-size: 1.3rem; box-shadow: 0 8px 20px rgba(214,69,69,.4); text-decoration: none; }
.float-call:hover { color: #fff; background: var(--ll-accent-dark); }
@keyframes ll-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.back-top { position: fixed; right: 22px; bottom: 96px; z-index: 1030; width: 42px; height: 42px; border-radius: 50%; background: var(--ll-primary-dark); color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s; border: 0; }
.back-top.show { opacity: .9; pointer-events: auto; }

/* ---------- Chat (website visitor <-> reception) ---------- */
.chat-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 1050; display: flex; align-items: center; gap: .65rem; border: 0; color: #fff; border-radius: 50px;
  padding: .5rem 1.25rem .5rem .5rem; background: linear-gradient(135deg, #16a58b, var(--ll-primary-dark)); box-shadow: 0 14px 34px rgba(10,92,80,.38), inset 0 1px 0 rgba(255,255,255,.18);
  font-family: "Poppins", sans-serif; font-weight: 500; transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) { .chat-launcher:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(10,92,80,.45); } }
.chat-launcher .ico { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; font-size: 1.3rem; position: relative; }
.chat-launcher .lbl { display: flex; flex-direction: column; line-height: 1.15; text-align: left; font-size: .95rem; }
.chat-launcher .lbl small { font-family: "Inter", sans-serif; font-weight: 400; font-size: .72rem; color: #c9efe6; }
.chat-launcher.pulse .ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: chat-ring 2.2s infinite; }
@keyframes chat-ring { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 75%, 100% { box-shadow: 0 0 0 14px rgba(255,255,255,0); } }
.chat-launcher .badge-count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--ll-accent); color: #fff; font-size: .74rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; font-family: "Inter", sans-serif; }
.chat-launcher.open { padding: 0; width: 56px; height: 56px; justify-content: center; }
.chat-launcher.open .ico { background: none; }
@media (max-width: 575.98px) { .chat-launcher { padding: .4rem; } .chat-launcher .lbl { display: none; } .chat-launcher.open { display: none; } }

.chat-window { position: fixed; right: 20px; bottom: 90px; z-index: 1060; width: 384px; max-width: calc(100vw - 24px); height: 620px; max-height: calc(100vh - 116px);
  background: #fff; border-radius: 22px; box-shadow: 0 24px 70px rgba(8,40,35,.28), 0 2px 8px rgba(8,40,35,.08); display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(16px) scale(.96); transform-origin: bottom right; opacity: 0; pointer-events: none; transition: transform .28s cubic-bezier(.2,.9,.3,1.2), opacity .2s ease; }
.chat-window.open { transform: none; opacity: 1; pointer-events: auto; }
@media (max-width: 575.98px) {
  .chat-window { top: 0; left: 0; right: auto; bottom: auto; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; }
  .chat-foot { padding-bottom: calc(.6rem + env(safe-area-inset-bottom)); }
  body.chat-open { overflow: hidden; }
  body.chat-open .float-wa, body.chat-open .float-call, body.chat-open .back-top { display: none; }
}

.chat-head { position: relative; color: #fff; padding: 1rem 1rem 1.05rem; display: flex; align-items: center; gap: .75rem;
  background: radial-gradient(120% 140% at 100% 0%, #22b99c 0%, var(--ll-primary) 45%, var(--ll-primary-dark) 100%); }
.chat-head::after { content: ""; position: absolute; right: -40px; top: -60px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.07); pointer-events: none; }
.chat-head .av { position: relative; width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: 0 0 46px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.chat-head .av i { font-size: 1.35rem; color: var(--ll-accent); }
.chat-head .pres-dot { position: absolute; right: 0; bottom: 1px; width: 13px; height: 13px; border-radius: 50%; background: #3ee07f; border: 2px solid #fff; }
.chat-window.is-away .chat-head .pres-dot { background: #ffc94d; }
.chat-head .who { min-width: 0; flex: 1; position: relative; z-index: 1; }
.chat-head strong { font-family: "Poppins", sans-serif; font-size: 1.02rem; display: block; line-height: 1.2; }
.chat-head small { color: #d4f3ec; font-size: .76rem; display: block; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-head .head-btn { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; font-size: 1rem; text-decoration: none; transition: background .15s; flex: 0 0 36px; }
.chat-head .head-btn:hover { background: rgba(255,255,255,.26); color: #fff; }

.chat-body { flex: 1; overflow-y: auto; padding: 1rem .9rem 1.1rem; display: flex; flex-direction: column; gap: .35rem;
  background: linear-gradient(180deg, #f4f8f7 0%, #eef4f2 100%); }
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: #cfdcd9; border-radius: 3px; }

/* Welcome screen */
.chat-hero { background: #fff; border-radius: 18px; padding: 1.1rem 1.1rem 1rem; box-shadow: 0 2px 10px rgba(10,60,52,.06); margin-bottom: .35rem; animation: msg-in .3s ease; flex: 0 0 auto; }
.chat-hero .hello { font-family: "Poppins", sans-serif; font-size: 1.3rem; font-weight: 600; color: var(--ll-ink); }
.chat-hero p { font-size: .86rem; color: var(--ll-muted); margin: .25rem 0 .9rem; line-height: 1.45; }
.cw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.cw-card { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; text-align: left; border: 1px solid #e3ecea; background: #fbfdfc; border-radius: 14px; padding: .75rem .75rem .7rem; transition: all .15s ease; cursor: pointer; }
@media (hover: hover) { .cw-card:hover { border-color: var(--ll-primary); background: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(10,92,80,.1); } }
.cw-card:active { transform: scale(.98); }
.cw-card .cw-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ll-primary-soft); color: var(--ll-primary-dark); font-size: 1rem; }
.cw-card strong { font-size: .84rem; color: var(--ll-ink); line-height: 1.2; }
.cw-card small { font-size: .72rem; color: var(--ll-muted); line-height: 1.25; margin-top: -.25rem; }
.cw-card.primary { background: linear-gradient(135deg, #16a58b, var(--ll-primary-dark)); border-color: transparent; }
.cw-card.primary .cw-icon { background: rgba(255,255,255,.18); color: #fff; }
.cw-card.primary strong { color: #fff; }
.cw-card.primary small { color: #cdeee6; }
.cw-card.danger .cw-icon { background: #fdecec; color: var(--ll-accent); }

/* Messages */
.msg-row { display: flex; align-items: flex-end; gap: .45rem; max-width: 100%; margin-top: .45rem; animation: msg-in .22s ease; flex: 0 0 auto; }
.msg-row.cont { margin-top: 0; }
.msg-row.right { justify-content: flex-end; }
.mav { width: 28px; height: 28px; border-radius: 50%; flex: 0 0 28px; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0,0,0,.12); font-size: .74rem; font-weight: 700; color: #fff; }
.mav i { font-size: .85rem; color: var(--ll-accent); }
.mav.agent { background: linear-gradient(135deg, #f08a5d, #d64545); }
.msg-row.cont .mav { visibility: hidden; }
.msg { max-width: 80%; padding: .6rem .85rem .45rem; border-radius: 18px; font-size: .9rem; line-height: 1.45; word-wrap: break-word; overflow-wrap: anywhere; }
.msg.bot, .msg.agent { background: #fff; color: var(--ll-ink); border-bottom-left-radius: 6px; box-shadow: 0 1px 2px rgba(10,60,52,.08); }
.msg-row.cont .msg.bot, .msg-row.cont .msg.agent { border-top-left-radius: 6px; }
.msg.agent { border: 1px solid #d6ebe6; }
.msg.user { background: linear-gradient(135deg, #16a58b, var(--ll-primary)); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 2px 6px rgba(18,144,122,.25); }
.msg-row.right.cont .msg.user { border-top-right-radius: 6px; }
.msg .who { font-size: .72rem; font-weight: 600; color: #c2473e; margin-bottom: .1rem; }
.msg-row.cont .who { display: none; }
.msg .txt { white-space: pre-wrap; }
.msg .at { font-size: .66rem; opacity: .6; text-align: right; margin-top: .1rem; }
.msg.user .at { color: #e6faf5; opacity: .85; }
.msg a { font-weight: 600; }
.msg.user a { color: #fff; }
.msg .btn { margin-top: .5rem; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg-system { align-self: center; font-size: .72rem; color: var(--ll-muted); background: rgba(255,255,255,.8); border: 1px solid #e1eae8; border-radius: 20px; padding: .22rem .8rem; text-align: center; max-width: 92%; margin: .55rem 0 .15rem; flex: 0 0 auto; }
.typing { display: inline-flex; gap: 4px; padding: .8rem .95rem; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #9bb5b0; animation: typing 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 70%, 100% { transform: translateY(0); opacity: .45; } 35% { transform: translateY(-4px); opacity: 1; } }

/* Quick replies */
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 .2rem 2.2rem; animation: msg-in .25s ease; flex: 0 0 auto; }
.chat-hero + .chips { margin-left: 0; }
.chip { display: inline-flex; align-items: center; gap: .35rem; border: 1px solid #cfe5df; color: var(--ll-primary-dark); background: #fff; border-radius: 50px; padding: .4rem .8rem; font-size: .8rem; font-weight: 500; cursor: pointer; transition: all .15s; box-shadow: 0 1px 2px rgba(10,60,52,.05); }
.chip i { font-size: .85rem; }
.chip:hover { background: var(--ll-primary-soft); border-color: var(--ll-primary); color: var(--ll-primary-dark); }
.chip.primary { background: linear-gradient(135deg, #16a58b, var(--ll-primary)); border-color: transparent; color: #fff; }
.chip.primary:hover { filter: brightness(1.06); color: #fff; }
.chip.wa { border-color: var(--ll-wa); color: var(--ll-wa-dark); }
.chip.wa:hover { background: var(--ll-wa); color: #fff; }

/* Composer */
.chat-input { display: flex; align-items: flex-end; gap: .5rem; padding: .7rem .75rem .5rem; background: #fff; border-top: 1px solid #edf2f1; }
.chat-input textarea, .chat-input input { flex: 1; border: 1px solid transparent; background: #f1f5f4; border-radius: 22px; padding: .65rem 1rem; font-size: .9rem; outline: none; min-width: 0; resize: none; line-height: 1.35; max-height: 110px; font-family: inherit; transition: all .15s; }
.chat-input textarea:focus, .chat-input input:focus { background: #fff; border-color: var(--ll-primary); box-shadow: 0 0 0 3px rgba(18,144,122,.12); }
.chat-input button { width: 44px; height: 44px; border-radius: 50%; border: 0; flex: 0 0 44px; background: #dfe9e6; color: #7f9a94; display: grid; place-items: center; font-size: 1.05rem; transition: all .15s; }
.chat-input.ready button { background: linear-gradient(135deg, #16a58b, var(--ll-primary-dark)); color: #fff; box-shadow: 0 6px 14px rgba(18,144,122,.35); }
@media (hover: hover) { .chat-input.ready button:hover { transform: scale(1.05); } }
.chat-foot { display: flex; align-items: center; justify-content: center; gap: .35rem; font-size: .72rem; color: var(--ll-muted); padding: 0 .75rem .6rem; background: #fff; }
.chat-foot .em-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ll-accent); box-shadow: 0 0 0 3px rgba(214,69,69,.15); }
.chat-foot a { font-weight: 600; color: var(--ll-accent); text-decoration: none; }

/* ---------- Blog ---------- */
.blog-card { background: #fff; border-radius: var(--ll-radius); overflow: hidden; border: 1px solid #e5eeec; height: 100%; display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease; }
.blog-card:hover { box-shadow: var(--ll-shadow); transform: translateY(-4px); }
.blog-card .thumb { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .thumb img { transform: scale(1.05); }
.blog-card .body { padding: 1.2rem 1.4rem 1.2rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card h3 { font-size: 1.1rem; line-height: 1.4; margin: .5rem 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cat-tag { align-self: flex-start; background: var(--ll-primary-soft); color: var(--ll-primary-dark); font-size: .74rem; font-weight: 600; padding: .25rem .7rem; border-radius: 50px; margin-bottom: .6rem; }

/* Show the whole image (no cropping) over a blurred copy of itself */
.img-fit { position: relative; overflow: hidden; background-color: #e9f1ef; background-size: 0 0; background-repeat: no-repeat; isolation: isolate; }
.img-fit::before { content: ""; position: absolute; inset: -20px; background-image: inherit; background-size: cover; background-position: center; filter: blur(18px) saturate(1.1); opacity: .8; z-index: -1; }
.img-fit img { position: relative; width: 100%; height: 100%; object-fit: contain !important; }
.blog-card .thumb.img-fit img, .blog-featured .thumb.img-fit img { transition: transform .5s ease; }
.blog-card:hover .thumb.img-fit img { transform: scale(1.03); }

.post-cats { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; }
.post-cats .btn { margin: 0; white-space: nowrap; }
@media (max-width: 991.98px) {
  .post-cats { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: none; margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
  .post-cats::-webkit-scrollbar { display: none; }
}
.blog-card h3 a { color: var(--ll-ink); text-decoration: none; }
.blog-card h3 a:hover { color: var(--ll-primary); }
.blog-card p { color: var(--ll-muted); font-size: .92rem; flex-grow: 1; }
.blog-card .foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #edf3f1; padding-top: .9rem; }
.read-more { font-weight: 600; text-decoration: none; font-size: .92rem; }
.meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--ll-muted); font-size: .8rem; }
.meta i { margin-right: .3rem; color: var(--ll-primary); }

.blog-featured { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--ll-shadow); }
.blog-featured .thumb { display: block; width: 100%; aspect-ratio: 7/4; }
@media (min-width: 992px) { .blog-featured .thumb { aspect-ratio: auto; height: 100%; min-height: 320px; } }
.blog-featured .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured .body { padding: 2rem; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: .8rem; }
.blog-featured h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin: 0; }
.blog-featured h2 a { color: var(--ll-ink); text-decoration: none; }
.blog-featured h2 a:hover { color: var(--ll-primary); }
.blog-featured p { color: var(--ll-muted); margin: 0; }
.badge-latest { align-self: flex-start; background: #fdecec; color: var(--ll-accent); font-weight: 600; font-size: .75rem; padding: .3rem .75rem; border-radius: 50px; }

/* Post page */
.post-hero { background: var(--ll-bg-soft); padding: 48px 0 120px; }
.post-hero .breadcrumb a { color: var(--ll-primary); text-decoration: none; }
.post-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); max-width: 900px; line-height: 1.25; margin: .75rem 0 1rem; }
.cat-pill { display: inline-block; background: var(--ll-primary); color: #fff; font-size: .78rem; font-weight: 600; padding: .3rem .8rem; border-radius: 50px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; color: var(--ll-muted); font-size: .9rem; }
.post-meta i { margin-right: .35rem; color: var(--ll-primary); }
.post-meta .author { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ll-ink); }
.post-meta .author img { width: 32px; height: 32px; border-radius: 50%; background: #000; object-fit: contain; }
.post-meta .comment-link { color: var(--ll-muted); text-decoration: none; }
.post-meta .comment-link:hover { color: var(--ll-primary); }
.post-cover { width: 100%; border-radius: 20px; box-shadow: var(--ll-shadow); aspect-ratio: 16/8; object-fit: cover; }
div.post-cover { aspect-ratio: 7/4; max-height: 560px; }
.post-hero + section .post-cover { margin-top: -90px; position: relative; }

.post-body { font-size: 1.05rem; line-height: 1.8; color: #2b3a3f; }
.post-body[lang="hi"] { font-size: 1.08rem; line-height: 1.9; }
.post-body h2 { font-size: 1.5rem; margin: 2.2rem 0 .9rem; scroll-margin-top: 100px; color: var(--ll-ink); }
.post-body h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; color: var(--ll-primary-dark); }
.post-body h4 { font-size: 1.05rem; margin: 1.3rem 0 .5rem; }
.post-body p { margin-bottom: 1.1rem; }
.post-body ul, .post-body ol { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.post-body li { margin-bottom: .4rem; }
.post-body li::marker { color: var(--ll-primary); }
.post-body strong { color: var(--ll-ink); }
.post-body table { width: 100%; margin-bottom: 1.2rem; border-collapse: collapse; font-size: .95rem; }
.post-body th, .post-body td { border: 1px solid #dfe9e6; padding: .55rem .75rem; }
.post-body th { background: var(--ll-primary-soft); }
.post-body blockquote { border-left: 4px solid var(--ll-primary); background: var(--ll-bg-soft); padding: 1rem 1.25rem; border-radius: 0 12px 12px 0; }
/* Callout boxes used by the articles imported from the old WordPress blog */
.post-body .intro-box, .post-body .highlight, .post-body .warning, .post-body .faq, .post-body .cta {
  padding: 1rem 1.25rem; margin: 1.5rem 0; border-left: 5px solid var(--ll-primary); border-radius: 0 12px 12px 0; background: var(--ll-bg-soft);
}
.post-body .intro-box { font-size: 1.1rem; background: #eef6fb; border-left-color: #339af0; }
.post-body .highlight { background: var(--ll-primary-soft); border-left-color: var(--ll-primary); }
.post-body .warning { background: #fff5f5; border-left-color: var(--ll-accent); }
.post-body .faq { border-left: 0; border-radius: var(--ll-radius); padding: 1.25rem 1.5rem; }
.post-body .cta { font-size: 1.08rem; background: #fff4e6; border-left-color: #fd7e14; }
.post-body .faq > :first-child, .post-body .cta > :first-child, .post-body .highlight > :first-child, .post-body .warning > :first-child { margin-top: 0; }
.post-body .faq > :last-child, .post-body .cta > :last-child, .post-body .highlight > :last-child, .post-body .warning > :last-child { margin-bottom: 0; }
.post-body li > p { margin-bottom: .35rem; }
.post-body table { display: block; overflow-x: auto; }

.post-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; background: var(--ll-bg-soft); border-radius: var(--ll-radius); }
.post-actions-end { margin-top: 2rem; }
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 2rem; color: var(--ll-muted); }
.post-tags a { background: var(--ll-bg-soft); border: 1px solid #e0ebe8; color: var(--ll-ink); font-size: .82rem; padding: .3rem .8rem; border-radius: 50px; text-decoration: none; }
.post-tags a:hover { border-color: var(--ll-primary); color: var(--ll-primary); }
.author-box { display: flex; gap: 1rem; align-items: flex-start; border: 1px solid #e5eeec; border-radius: var(--ll-radius); padding: 1.3rem; margin-top: 2rem; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; background: #000; object-fit: contain; flex: 0 0 64px; }

/* Like button */
.like-btn { display: inline-flex; align-items: center; gap: .4rem; border: 1.5px solid #f1c4c4; background: #fff; color: var(--ll-accent); border-radius: 50px; padding: .45rem 1rem; font-weight: 600; font-size: .9rem; transition: all .2s; }
.like-btn:hover { background: #fdecec; }
.like-btn.liked { background: var(--ll-accent); border-color: var(--ll-accent); color: #fff; }
.like-btn.liked i { animation: like-pop .35s ease; }
.like-btn .like-count:not(:empty)::before { content: "\00B7"; margin-right: .35rem; }
.like-btn.like-sm { padding: .25rem .7rem; font-size: .8rem; }
@keyframes like-pop { 50% { transform: scale(1.35); } }

/* Share buttons */
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.share-label { font-weight: 600; font-size: .9rem; margin-right: .2rem; }
.share-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; display: inline-grid; place-items: center; color: #fff; font-size: 1rem; transition: transform .15s, opacity .15s; }
.share-btn:hover { transform: translateY(-2px); opacity: .9; }
.share-whatsapp { background: #25d366; } .share-facebook { background: #1877f2; } .share-x { background: #111; }
.share-linkedin { background: #0a66c2; } .share-telegram { background: #229ed9; } .share-copy, .share-native { background: var(--ll-primary-dark); }
.ll-toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); background: var(--ll-ink); color: #fff; padding: .7rem 1.2rem; border-radius: 50px; font-size: .9rem; z-index: 2000; opacity: 0; transition: all .25s; pointer-events: none; }
.ll-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Comments */
.comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e5eeec; }
.comment { display: flex; gap: .9rem; margin-bottom: 1.2rem; }
.comment .av { flex: 0 0 46px; height: 46px; border-radius: 50%; background: var(--ll-primary-soft); color: var(--ll-primary); display: grid; place-items: center; font-weight: 700; }
.comment .bubble { flex: 1; background: var(--ll-bg-soft); border-radius: 0 14px 14px 14px; padding: .9rem 1.1rem; }
.comment .head { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; margin-bottom: .35rem; }
.comment .head small { color: var(--ll-muted); }
.comment .pending { background: #fff4de; color: #9a6400; font-size: .72rem; font-weight: 600; padding: .15rem .55rem; border-radius: 50px; }
.comment p { margin: 0 0 .4rem; white-space: pre-line; word-wrap: break-word; }
.comment .c-actions { display: flex; gap: 1rem; font-size: .85rem; }
.comment .c-actions button { border: 0; background: none; padding: 0; color: var(--ll-primary); font-weight: 600; }
.comment .c-actions button.liked { color: var(--ll-accent); }
.comment.reply { margin-left: 3.5rem; }
.comment-form-card { background: #fff; border: 1px solid #e5eeec; border-radius: var(--ll-radius); padding: 1.5rem; margin-top: 1.5rem; }
.reply-to { display: flex; justify-content: space-between; align-items: center; background: var(--ll-primary-soft); padding: .5rem .9rem; border-radius: 10px; margin-bottom: 1rem; font-size: .9rem; }
@media (max-width: 575.98px) { .comment.reply { margin-left: 1.5rem; } }

/* Sidebar */
.sidebar-sticky { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.25rem; }
.side-card { background: #fff; border: 1px solid #e5eeec; border-radius: var(--ll-radius); padding: 1.4rem; }
.side-card h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.side-wa { background: linear-gradient(140deg, var(--ll-primary-dark), var(--ll-primary)); color: #fff; border: 0; }
.side-wa p { color: #d0ebe6; font-size: .92rem; }
.side-wa .btn-light { color: var(--ll-wa-dark); font-weight: 600; }
.toc { padding-left: 1.2rem; margin: 0; font-size: .92rem; }
.toc li { margin-bottom: .45rem; }
.toc a { color: var(--ll-ink); text-decoration: none; }
.toc a:hover, .toc a.active { color: var(--ll-primary); font-weight: 600; }
.recent-list, .cat-list, .service-list { list-style: none; padding: 0; margin: 0; }
.recent-post { display: flex; gap: .8rem; align-items: center; text-decoration: none; color: var(--ll-ink); padding: .5rem 0; }
.recent-post .img-fit { width: 84px; height: 48px; border-radius: 8px; flex: 0 0 84px; }
.recent-post strong { display: block; font-size: .86rem; line-height: 1.35; font-weight: 600; }
.recent-post small { color: var(--ll-muted); }
.recent-post:hover strong { color: var(--ll-primary); }
.cat-list a, .service-list a { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; border-bottom: 1px dashed #e0ebe8; color: var(--ll-ink); text-decoration: none; font-size: .93rem; }
.cat-list li:last-child a, .service-list li:last-child a { border-bottom: 0; }
.cat-list a span { background: var(--ll-primary-soft); color: var(--ll-primary); font-size: .75rem; font-weight: 600; padding: .1rem .55rem; border-radius: 50px; }
.cat-list a:hover, .service-list a:hover, .service-list a.active { color: var(--ll-primary); }
.service-list a.active { font-weight: 600; }
.service-list i { font-size: .75rem; opacity: .5; }
.service-list { max-height: 360px; overflow-y: auto; padding-right: .3rem; }
.side-phone { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: 1.05rem; text-decoration: none; padding: .35rem 0; }

/* Service detail */
.service-intro { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.service-intro .icon-wrap { width: 72px; height: 72px; border-radius: 18px; background: var(--ll-primary-soft); display: grid; place-items: center; flex: 0 0 72px; }
.service-intro .icon-wrap img { width: 44px; height: 44px; }
.service-intro .icon-wrap i { font-size: 2rem; color: var(--ll-primary); }
.lead-sm { font-size: 1.05rem; line-height: 1.75; }
.info-card { background: var(--ll-bg-soft); border-radius: var(--ll-radius); padding: 1.5rem; height: 100%; }
.info-card h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.info-card h3 i { color: var(--ll-primary); }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: .8rem; margin-bottom: .85rem; }
.steps .num { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--ll-primary); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.why-mini { display: flex; gap: .8rem; border: 1px solid #e5eeec; border-radius: 12px; padding: 1rem; height: 100%; }
.why-mini i { font-size: 1.4rem; color: var(--ll-primary); }
.why-mini strong { display: block; font-size: .95rem; }
.why-mini span { color: var(--ll-muted); font-size: .86rem; }
