/* =========================================================
   Healthy Home Jaipur - Custom Premium Theme
   Palette: Pine (clinical calm) / Mist / Ink / Marigold (Jaipur warmth)
   Type:    Bricolage Grotesque (display) + Figtree (body)
   Signature: the "care pulse" ECG line motif
   ========================================================= */
:root {
    --pine: #0F4C46;
    --pine-deep: #0A3733;
    --mist: #F2F7F5;
    --ink: #12211D;
    --marigold: #E9A13B;
    --marigold-deep: #C9852A;
    --sage: #7FA396;
    --white: #ffffff;
    --radius: 22px;
    --shadow-soft: 0 10px 40px rgba(15, 76, 70, 0.10);
    --shadow-hover: 0 18px 50px rgba(15, 76, 70, 0.16);
    --font-display: "Bricolage Grotesque", sans-serif;
    --font-body: "Figtree", sans-serif;
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--white); overflow-x: hidden; }
h1, h2, h3, h4, h5, .navbar-brand, .brand-text { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
a { text-decoration: none; }
img { max-width: 100%; }

/* ---------- Loader ---------- */
#page-loader { position: fixed; inset: 0; background: var(--white); z-index: 3000; display: flex; align-items: center; justify-content: center; transition: opacity .4s, visibility .4s; }
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-pulse { width: 56px; height: 56px; border-radius: 50%; border: 4px solid var(--mist); border-top-color: var(--marigold); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Topbar + Header ---------- */
.topbar { background: var(--pine-deep); color: rgba(255,255,255,.85); font-size: .82rem; padding: .45rem 0; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--marigold); }
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(15,76,70,.08); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 30px rgba(15,76,70,.10); }
.navbar-brand { display: flex; align-items: center; gap: .55rem; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(135deg, var(--pine), var(--pine-deep)); color: var(--marigold); display: grid; place-items: center; font-size: 1.25rem; }
.brand-text { font-size: 1.12rem; line-height: 1.05; color: var(--ink); }
.brand-text em { display: block; font-style: normal; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--marigold-deep); }
.brand-text.light { color: #fff; }
.main-nav .nav-link { font-weight: 600; color: var(--ink); padding: .8rem 1rem !important; position: relative; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--pine); }
.main-nav .nav-link.active::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .45rem; height: 3px; border-radius: 2px; background: var(--marigold); }
.mega-dropdown { border: none; border-radius: 16px; box-shadow: var(--shadow-hover); padding: .6rem; min-width: 270px; }
.mega-dropdown .dropdown-item { border-radius: 10px; padding: .55rem .8rem; font-weight: 500; }
.mega-dropdown .dropdown-item:hover { background: var(--mist); color: var(--pine); }
.navbar-toggler { border: none; font-size: 1.6rem; color: var(--pine); }
.btn-call { border: 2px solid var(--pine); color: var(--pine); font-weight: 700; border-radius: 999px; padding: .5rem 1.1rem; }
.btn-call:hover { background: var(--pine); color: #fff; }
.btn-book { background: var(--marigold); color: var(--ink); font-weight: 700; border-radius: 999px; padding: .55rem 1.35rem; border: 2px solid var(--marigold); transition: transform .2s, box-shadow .2s; }
.btn-book:hover { background: var(--marigold-deep); border-color: var(--marigold-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(233,161,59,.35); }
.btn-outline-pine { border: 2px solid var(--pine); color: var(--pine); font-weight: 700; border-radius: 999px; padding: .55rem 1.35rem; }
.btn-outline-pine:hover { background: var(--pine); color: #fff; }
.mobile-nav { max-width: 320px; }
.mobile-menu li a { display: block; padding: .55rem 0; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--mist); }
.mobile-menu li.sub a { padding-left: 1.1rem; font-weight: 500; font-size: .92rem; color: var(--pine); }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(135deg, var(--pine-deep) 0%, var(--pine) 55%, #16665e 100%); color: #fff; padding: 5.5rem 0 6.5rem; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(233,161,59,.18), transparent 65%); top: -180px; right: -120px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.12; margin: 1rem 0; }
.text-accent { color: var(--marigold); }
.hero-lead { font-size: 1.12rem; color: rgba(255,255,255,.88); max-width: 560px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--marigold-deep); background: rgba(233,161,59,.14); border-radius: 999px; padding: .35rem .9rem; }
.hero .eyebrow { color: var(--marigold); background: rgba(255,255,255,.10); }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero .btn-outline-light { border-radius: 999px; font-weight: 700; border-width: 2px; }
.hero-trust { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 2rem; font-size: .9rem; color: rgba(255,255,255,.85); }
.hero-trust i { color: var(--marigold); margin-right: .35rem; }
.hero-trust.dark { color: var(--ink); }
.hero-trust.dark i { color: var(--pine); }
.hero-pulse { position: absolute; left: 0; right: 0; bottom: 18px; color: rgba(233,161,59,.55); }
.hero-pulse svg { width: 100%; height: 44px; }
.glass-card { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-hover); color: var(--ink); }
.glass-card h5 { color: var(--pine); }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-tint { background: var(--mist); }
.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin: .6rem 0; }
.section-head p { color: #4b5a55; }

/* ---------- Stats ---------- */
.stats-strip { padding: 2.5rem 0; margin-top: -3.4rem; position: relative; z-index: 5; }
.stat-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 1.5rem 1rem; }
.stat-number, .stat-plus { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; color: var(--pine); }
.stat-plus { color: var(--marigold-deep); }
.stat-label { display: block; font-size: .88rem; color: #4b5a55; font-weight: 600; margin-top: .2rem; }

/* ---------- Cards ---------- */
.service-card { display: block; background: #fff; border: 1px solid rgba(15,76,70,.08); border-radius: var(--radius); padding: 1.8rem; height: 100%; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(233,161,59,.5); color: var(--ink); }
.service-card-wide { display: flex; gap: 1.2rem; align-items: flex-start; }
.service-icon { width: 58px; height: 58px; flex: 0 0 58px; border-radius: 17px; background: linear-gradient(135deg, var(--mist), #e2efe9); color: var(--pine); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1rem; transition: background .25s, color .25s; }
.service-card:hover .service-icon { background: var(--pine); color: var(--marigold); }
.service-card h3 { font-size: 1.15rem; }
.service-card p { color: #4b5a55; font-size: .93rem; }
.card-link { font-weight: 700; color: var(--pine); font-size: .9rem; }
.card-link i { transition: transform .2s; }
.service-card:hover .card-link i, .product-card:hover .card-link i, .blog-card:hover .card-link i { transform: translateX(4px); }

.why-card { background: #fff; border-radius: var(--radius); padding: 1.6rem; height: 100%; box-shadow: var(--shadow-soft); }
.why-card i { font-size: 1.7rem; color: var(--marigold-deep); }
.why-card h4 { font-size: 1.05rem; margin: .7rem 0 .4rem; }
.why-card p { color: #4b5a55; font-size: .92rem; margin: 0; }

.product-card { display: block; background: #fff; border: 1px solid rgba(15,76,70,.08); border-radius: var(--radius); padding: 1.1rem; height: 100%; color: var(--ink); text-align: center; transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); color: var(--ink); }
.product-thumb { background: var(--mist); border-radius: 16px; height: 150px; display: grid; place-items: center; margin-bottom: .9rem; overflow: hidden; }
.product-thumb img { max-height: 130px; object-fit: contain; }
.product-card h3, .product-card h2 { font-size: 1rem; }
.product-price { display: inline-block; color: var(--pine); background: var(--mist); font-weight: 700; font-size: .85rem; border-radius: 999px; padding: .25rem .8rem; margin: .3rem 0; }

.process-card { background: #fff; border-radius: var(--radius); padding: 1.7rem 1.4rem; height: 100%; box-shadow: var(--shadow-soft); position: relative; }
.process-num { position: absolute; top: 1rem; right: 1.2rem; font-family: var(--font-display); font-weight: 800; color: rgba(15,76,70,.12); font-size: 2rem; }
.process-card i { font-size: 1.6rem; color: var(--pine); }
.process-card h4 { font-size: 1.02rem; margin: .8rem 0 .4rem; }
.process-card p { font-size: .9rem; color: #4b5a55; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial-swiper { padding-bottom: 3rem; }
.testimonial-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 1.8rem; height: 100%; display: flex; flex-direction: column; }
.testimonial-card.static { box-shadow: var(--shadow-soft); }
.testimonial-stars { color: var(--marigold); margin-bottom: .8rem; }
.testimonial-message { color: #37453f; flex: 1; font-size: .96rem; }
.testimonial-person { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--pine); color: var(--marigold); display: grid; place-items: center; font-weight: 800; overflow: hidden; flex: 0 0 46px; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-person small { display: block; color: #6b7a74; font-size: .8rem; }
.swiper-pagination-bullet-active { background: var(--pine); }

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item { border: 1px solid rgba(15,76,70,.1); border-radius: 16px !important; margin-bottom: .8rem; overflow: hidden; }
.faq-accordion .accordion-button { font-weight: 700; color: var(--ink); background: #fff; box-shadow: none; }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--mist); color: var(--pine); }
.faq-accordion .accordion-body { color: #4b5a55; }

/* ---------- Blog ---------- */
.blog-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); height: 100%; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); color: var(--ink); }
.blog-thumb { position: relative; height: 190px; background: var(--mist); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-cat { position: absolute; top: .9rem; left: .9rem; background: var(--marigold); color: var(--ink); font-size: .74rem; font-weight: 700; border-radius: 999px; padding: .25rem .7rem; }
.blog-cat.inline { position: static; }
.blog-body { padding: 1.3rem; }
.blog-meta { font-size: .8rem; color: #6b7a74; }
.blog-card h3 { font-size: 1.05rem; margin: .5rem 0; }
.blog-card p { font-size: .9rem; color: #4b5a55; }
.blog-article h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.blog-hero-img { width: 100%; border-radius: var(--radius); margin-top: 1rem; }
.blog-sidebar .side-widget { background: #fff; border: 1px solid rgba(15,76,70,.08); border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1.5rem; }
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list a { display: flex; justify-content: space-between; padding: .5rem 0; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--mist); }
.cat-list a:hover { color: var(--pine); }
.cat-list span { background: var(--mist); border-radius: 999px; padding: 0 .6rem; font-size: .8rem; color: var(--pine); }
.recent-post { display: block; padding: .6rem 0; border-bottom: 1px solid var(--mist); color: var(--ink); }
.recent-post:hover strong { color: var(--pine); }
.recent-post small { display: block; color: #6b7a74; }
.tag-row .tag { display: inline-block; background: var(--mist); color: var(--pine); border-radius: 999px; padding: .3rem .8rem; font-size: .82rem; font-weight: 600; margin: 0 .3rem .3rem 0; }
.share-row { display: flex; align-items: center; gap: .7rem; }
.share-row a { width: 38px; height: 38px; border-radius: 50%; background: var(--mist); color: var(--pine); display: grid; place-items: center; transition: background .2s, color .2s; }
.share-row a:hover { background: var(--pine); color: #fff; }

/* ---------- Page hero / breadcrumb / content ---------- */
.page-hero { background: linear-gradient(135deg, var(--pine-deep), var(--pine)); color: #fff; padding: 3.6rem 0; }
.page-hero h1 { color: #fff; font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.page-hero p { color: rgba(255,255,255,.85); margin: 0; }
.hero-price { display: inline-block; background: var(--marigold); color: var(--ink); font-weight: 800; border-radius: 999px; padding: .4rem 1.1rem; margin-top: 1rem; }
.page-breadcrumb { background: var(--mist); padding: .7rem 0; font-size: .86rem; }
.page-breadcrumb a { color: var(--pine); font-weight: 600; }
.content-body h2 { font-size: 1.45rem; font-weight: 800; margin-bottom: 1rem; }
.content-body p { color: #37453f; line-height: 1.75; }
.content-body ul li, .content-body ol li { margin-bottom: .45rem; color: #37453f; }
.check-list ul { list-style: none; padding: 0; }
.check-list ul li { padding-left: 1.8rem; position: relative; }
.check-list ul li::before { content: "\F26B"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--marigold-deep); }
.step-list ol { counter-reset: step; list-style: none; padding: 0; }
.step-list ol li { counter-increment: step; padding-left: 3rem; position: relative; margin-bottom: 1rem; }
.step-list ol li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--pine); color: var(--marigold); font-family: var(--font-display); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.spec-list ul li { border-bottom: 1px dashed rgba(15,76,70,.15); padding: .4rem 0; }
.legal-body { max-width: 860px; }

/* ---------- Sidebar / forms ---------- */
.sticky-side { position: sticky; top: 100px; }
.side-card { border: 1px solid rgba(15,76,70,.08); }
.side-contact { background: var(--pine); color: #fff; border-radius: var(--radius); padding: 1.4rem; margin-top: 1.2rem; text-align: center; }
.side-phone { font-family: var(--font-display); font-weight: 800; color: var(--marigold); font-size: 1.3rem; }
.enquiry-form .form-control, .enquiry-form .form-select { border-radius: 13px; border-color: rgba(15,76,70,.18); padding: .65rem .9rem; }
.enquiry-form .form-control:focus, .enquiry-form .form-select:focus { border-color: var(--pine); box-shadow: 0 0 0 .2rem rgba(15,76,70,.12); }
.hp-field { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }
.form-feedback .alert { border-radius: 13px; margin: 0; }

/* ---------- Filter pills ---------- */
.filter-pills { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.filter-pills .pill { border: 2px solid rgba(15,76,70,.2); background: #fff; color: var(--ink); border-radius: 999px; padding: .45rem 1.2rem; font-weight: 700; font-size: .9rem; transition: all .2s; }
.filter-pills .pill.active, .filter-pills .pill:hover { background: var(--pine); border-color: var(--pine); color: #fff; }

/* ---------- Contact / gallery ---------- */
.contact-list .contact-item { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid rgba(15,76,70,.08); border-radius: 18px; padding: 1rem 1.2rem; margin-bottom: .9rem; color: var(--ink); transition: box-shadow .2s; }
.contact-list a.contact-item:hover { box-shadow: var(--shadow-soft); }
.contact-item i { font-size: 1.4rem; color: var(--pine); }
.contact-item span { display: block; color: #4b5a55; font-size: .92rem; }
.gallery-item { border-radius: var(--radius); overflow: hidden; margin: 0; position: relative; box-shadow: var(--shadow-soft); }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(10,55,51,.85)); color: #fff; padding: 1.6rem 1rem .8rem; font-size: .9rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--pine-deep), var(--pine)); color: #fff; text-align: center; padding: 4rem 0; }
.cta-band h2 { color: #fff; font-weight: 800; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: .6rem auto 0.6rem; }
.cta-band .hero-cta { margin-top: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: rgba(255,255,255,.8); padding-bottom: 1rem; }
.footer-pulse { color: rgba(233,161,59,.4); }
.footer-pulse svg { width: 100%; height: 34px; display: block; }
.footer-main { padding: 3rem 0 2rem; }
.site-footer h6 { color: #fff; font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer a { color: rgba(255,255,255,.75); font-size: .92rem; transition: color .2s; }
.site-footer a:hover { color: var(--marigold); }
.footer-about { font-size: .93rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer-social a:hover { background: var(--marigold); color: var(--ink); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact i { color: var(--marigold); margin-top: .2rem; }
.footer-map iframe { width: 100%; height: 260px; border: 0; border-radius: var(--radius); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem; font-size: .85rem; }
.footer-legal { display: flex; gap: 1.1rem; flex-wrap: wrap; }

/* ---------- Floating buttons ---------- */
.float-btn { position: fixed; right: 18px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; z-index: 1200; box-shadow: 0 10px 28px rgba(0,0,0,.22); border: none; transition: transform .2s; }
.float-btn:hover { transform: scale(1.08); }
.float-whatsapp { bottom: 152px; background: #25D366; color: #fff; }
.float-whatsapp:hover { color: #fff; }
.float-call { bottom: 88px; background: var(--pine); color: var(--marigold); }
.float-call:hover { color: var(--marigold); }
.float-top { bottom: 24px; background: var(--marigold); color: var(--ink); opacity: 0; visibility: hidden; }
.float-top.show { opacity: 1; visibility: visible; }

/* ---------- 404 ---------- */
.error-page { padding: 6rem 0; }
.error-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 14vw, 9rem); color: var(--mist); -webkit-text-stroke: 3px var(--pine); line-height: 1; }

/* ---------- Motion safety + responsive ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (max-width: 991px) {
    .hero { padding: 3.5rem 0 5rem; }
    .stats-strip { margin-top: -2.6rem; }
    .sticky-side { position: static; }
}
@media (max-width: 575px) {
    .section { padding: 3rem 0; }
    .hero-cta .btn { width: 100%; text-align: center; }
    .footer-bottom { flex-direction: column; }
}

/* Partner credit */
.footer-partner a { color: var(--marigold); text-decoration: none; font-weight: 600; }
.footer-partner a:hover { text-decoration: underline; }
