/* FitNourish - global theme
   Colour palette inspired by the Indian flag (soft, light interpretation):
   - Saffron accents (warm, energy)
   - White surfaces (calm, clean)
   - Green primary (growth, health)
   - Navy ashoka (trust, headlines)
*/

:root {
    --c-primary: #4A8B6F;
    --c-primary-dark: #3B6F58;
    --c-primary-light: #9CC4B0;
    --c-accent: #E8A04C;
    --c-accent-light: #F4C892;
    --c-accent-soft: #FBE9CE;
    --c-navy: #1F3A5F;
    --c-bg: #FAF7F2;
    --c-surface: #FFFFFF;
    --c-text: #2E3A2E;
    --c-muted: #6B7A6E;
    --c-border: #E5E1D8;
    --shadow-sm: 0 1px 3px rgba(31, 58, 95, 0.06);
    --shadow-md: 0 4px 16px rgba(31, 58, 95, 0.08);
    --radius: 10px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--c-bg);
    color: var(--c-text);
    font-family: 'Poppins', sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--c-navy);
    font-weight: 600;
    line-height: 1.25;
    margin-top: 0;
}

a { color: var(--c-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-primary-dark); }

img { max-width: 100%; height: auto; display: block; }

/* Buttons */
.btn-primary {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
    border-radius: var(--radius);
    padding: 10px 22px;
    font-weight: 500;
    letter-spacing: .2px;
    transition: all .25s ease;
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--c-primary-dark);
    border-color: var(--c-primary-dark);
    box-shadow: 0 6px 18px rgba(74, 139, 111, 0.28);
    transform: translateY(-1px);
}
.btn-outline-primary {
    color: var(--c-primary);
    border-color: var(--c-primary);
    border-radius: var(--radius);
    padding: 10px 22px;
    font-weight: 500;
}
.btn-outline-primary:hover {
    background: var(--c-primary);
    color: #fff;
}
.btn-accent {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: #fff;
    border-radius: var(--radius);
    padding: 10px 22px;
    font-weight: 500;
}
.btn-accent:hover { background: #d68b35; color: #fff; }

/* Navbar */
.site-nav {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--c-border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}
.site-nav .navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--c-primary) !important;
    letter-spacing: .3px;
}
.site-nav .navbar-brand .fa { color: var(--c-accent); margin-right: 6px; }
.site-nav .nav-link {
    color: var(--c-text) !important;
    font-weight: 500;
    padding: 8px 14px !important;
    border-radius: 6px;
    transition: all .2s ease;
}
.site-nav .nav-link:hover, .site-nav .nav-link.active {
    color: var(--c-primary) !important;
    background: rgba(74, 139, 111, .08);
}
.site-nav .dropdown-menu {
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    padding: 6px;
}
.site-nav .dropdown-item {
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--c-text);
}
.site-nav .dropdown-item:hover { background: rgba(74, 139, 111, .08); color: var(--c-primary); }

/* Hero */
.hero {
    background: linear-gradient(135deg, #FAF7F2 0%, #EEF6F0 60%, #FCEDD7 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.hero h1 {
    font-size: 2.6rem;
    line-height: 1.15;
    color: var(--c-navy);
    margin-bottom: 18px;
}
.hero h1 .accent { color: var(--c-primary); }
.hero p.lead { color: var(--c-muted); margin-bottom: 26px; }
.hero-image {
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* Sections */
.section { padding: 56px 0; }
.section-light { background: var(--c-surface); }
.section-tint { background: var(--c-bg); }
.section-title {
    text-align: center;
    margin-bottom: 38px;
}
.section-title .eyebrow {
    display: inline-block;
    color: var(--c-accent);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.section-title h2 { color: var(--c-navy); margin-bottom: 8px; }
.section-title p { color: var(--c-muted); max-width: 680px; margin: 0 auto; }

/* Cards */
.feature-card, .service-card, .blog-card, .tool-card, .report-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 22px;
    height: 100%;
    transition: all .25s ease;
}
.feature-card:hover, .service-card:hover, .blog-card:hover, .tool-card:hover, .report-card:hover {
    border-color: var(--c-primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.feature-card .icon, .tool-card .icon {
    width: 48px; height: 48px;
    background: rgba(74, 139, 111, .12);
    color: var(--c-primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.service-card .service-img {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 14px;
    aspect-ratio: 16/9;
}
.service-card .service-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .blog-img {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 14px;
    aspect-ratio: 16/10;
    background: var(--c-accent-soft);
    display: flex; align-items: center; justify-content: center;
}
.blog-card .blog-img .fa { color: var(--c-primary); font-size: 2.6rem; }
.blog-card .cat {
    display: inline-block;
    background: rgba(232, 160, 76, .15);
    color: var(--c-accent);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Trust bar */
.trust-bar {
    background: var(--c-surface);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    padding: 18px 0;
}
.trust-bar .trust-item {
    display: flex; align-items: center; gap: 10px;
    color: var(--c-muted);
}
.trust-bar .trust-item .fa { color: var(--c-primary); }

/* Stats */
.stat-item { text-align: center; padding: 12px; }
.stat-item .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    color: var(--c-primary);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-item .stat-label { color: var(--c-muted); font-size: .92rem; }

/* Chart frame */
.chart-frame {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}
.chart-frame img { width: 100%; height: auto; }
.chart-caption { color: var(--c-muted); text-align: center; margin-top: 8px; font-size: .9rem; }

/* Footer */
.site-footer {
    background: #1c2a23;
    color: #cfd8d2;
    padding: 50px 0 18px;
}
.site-footer h5 {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 16px;
}
.site-footer a { color: #cfd8d2; }
.site-footer a:hover { color: var(--c-accent-light); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { margin-bottom: 8px; font-size: .94rem; }
.site-footer .brand-block .fa { color: var(--c-accent); }
.site-footer .legal {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 16px;
    margin-top: 32px;
    font-size: .85rem;
    color: #9aa9a0;
}
.site-footer .social a {
    display: inline-flex;
    width: 36px; height: 36px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    align-items: center; justify-content: center;
    margin-right: 8px;
}
.site-footer .social a:hover { background: var(--c-accent); color: #fff; }

/* Page header */
.page-header {
    background: linear-gradient(135deg, #EEF6F0 0%, #FCEDD7 100%);
    padding: 50px 0 38px;
    border-bottom: 1px solid var(--c-border);
}
.page-header h1 { color: var(--c-navy); margin-bottom: 8px; }
.page-header p { color: var(--c-muted); margin: 0; }
.breadcrumb { background: transparent; padding: 0; margin-bottom: 6px; font-size: .9rem; }
.breadcrumb a { color: var(--c-primary); }

/* Lists */
.check-list { list-style: none; padding: 0; }
.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: var(--c-text);
}
.check-list li:before {
    content: "\f00c";
    font-family: FontAwesome;
    color: var(--c-primary);
    position: absolute;
    left: 0;
    top: 1px;
}

/* Calculator */
.calc-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 24px;
}
.calc-card .form-label { font-weight: 500; color: var(--c-navy); margin-bottom: 4px; }
.calc-card .form-control, .calc-card .form-select {
    border-radius: 8px;
    border: 1px solid var(--c-border);
    padding: 9px 12px;
}
.calc-card .form-control:focus, .calc-card .form-select:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 .2rem rgba(74, 139, 111, .15);
}
.calc-result {
    background: linear-gradient(135deg, #EEF6F0 0%, #FCEDD7 100%);
    border-radius: var(--radius);
    padding: 18px;
    margin-top: 18px;
    border: 1px solid var(--c-border);
}
.calc-result .calc-headline {
    font-family: 'Playfair Display', serif;
    color: var(--c-primary);
    font-weight: 700;
    margin-bottom: 6px;
}

/* Story cards */
.story-card {
    position: relative;
    aspect-ratio: 9/16;
    border-radius: 14px;
    overflow: hidden;
    color: #fff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform .25s ease;
}
.story-card:hover { transform: translateY(-3px); }
.story-card .cat-pill {
    align-self: flex-start;
    background: rgba(255,255,255,.22);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.story-card h4 {
    color: #fff;
    margin: 0;
    font-size: 1.05rem;
}
.story-card .cta { font-size: .8rem; opacity: .85; margin-top: 4px; }

/* FAQ */
.accordion-item {
    border: 1px solid var(--c-border);
    border-radius: var(--radius) !important;
    margin-bottom: 10px;
    overflow: hidden;
}
.accordion-button {
    background: var(--c-surface);
    color: var(--c-navy);
    font-weight: 500;
}
.accordion-button:not(.collapsed) {
    background: rgba(74, 139, 111, .08);
    color: var(--c-primary);
    box-shadow: none;
}
.accordion-button:focus { box-shadow: none; border-color: var(--c-primary-light); }

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    color: #fff;
    padding: 48px 0;
    text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 22px; }
.cta-banner .btn-light { background: #fff; color: var(--c-primary); border-color: #fff; font-weight: 600; }

/* Pricing */
.pricing-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    height: 100%;
    transition: all .25s ease;
}
.pricing-card.featured { border: 2px solid var(--c-primary); transform: scale(1.02); }
.pricing-card h3 { color: var(--c-navy); margin-bottom: 6px; }
.pricing-card .duration { color: var(--c-muted); margin-bottom: 18px; }
.pricing-card ul { list-style: none; padding: 0; margin-bottom: 22px; text-align: left; }
.pricing-card ul li { padding: 6px 0; padding-left: 24px; position: relative; color: var(--c-text); }
.pricing-card ul li:before {
    content: "\f00c"; font-family: FontAwesome;
    color: var(--c-primary); position: absolute; left: 0; top: 6px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}

/* ---------- RESPONSIVE: compact mobile, no extra space ---------- */
@media (max-width: 991px) {
    .hero { padding: 40px 0; }
    .hero h1 { font-size: 2rem; }
    .section { padding: 40px 0; }
    .page-header { padding: 36px 0 26px; }
}

@media (max-width: 767px) {
    .container, .container-fluid { padding-left: 14px; padding-right: 14px; }
    .hero { padding: 32px 0; }
    .hero h1 { font-size: 1.7rem; line-height: 1.2; }
    .hero p.lead { font-size: .95rem; }
    .section { padding: 32px 0; }
    .section-title { margin-bottom: 24px; }
    .section-title h2 { font-size: 1.5rem; }
    .feature-card, .service-card, .blog-card, .tool-card, .report-card { padding: 16px; }
    .stat-item .stat-num { font-size: 1.6rem; }
    .page-header { padding: 28px 0 22px; }
    .page-header h1 { font-size: 1.6rem; }
    .cta-banner { padding: 36px 0; }
    .pricing-card.featured { transform: none; }
    .site-footer { padding: 36px 0 14px; }
    .btn-primary, .btn-outline-primary, .btn-accent { padding: 9px 18px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.45rem; }
    .section { padding: 26px 0; }
    .container, .container-fluid { padding-left: 12px; padding-right: 12px; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.15rem; }
}

/* Full-width sections */
.full-width { width: 100%; max-width: 100%; }
.wide-container {
    width: 100%;
    padding-left: 32px;
    padding-right: 32px;
    margin: 0 auto;
}
@media (max-width: 991px) { .wide-container { padding-left: 18px; padding-right: 18px; } }
@media (max-width: 480px) { .wide-container { padding-left: 12px; padding-right: 12px; } }


/* =========================================================
   Floating Action CTA Stack (Book Now / WhatsApp / Call)
   Visible on every page; minimised on mobile to icons only
   ========================================================= */
.floating-cta {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
.floating-cta .fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 52px;
    height: 52px;
    padding: 0 16px;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    transition: transform .18s ease-out, box-shadow .18s ease-out;
    font-weight: 600;
}
.floating-cta .fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
    color: #fff;
}
.floating-cta .fab i { font-size: 1.15rem; }
.fab-whatsapp { background: #25D366; }
.fab-call     { background: var(--c-navy); }
.fab-book     { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark)); padding-right: 22px; }
.fab-book .fab-text { white-space: nowrap; }

@media (max-width: 575px) {
    .floating-cta { right: 12px; bottom: 12px; gap: 8px; }
    .floating-cta .fab { min-width: 48px; height: 48px; padding: 0 12px; }
    .fab-book .fab-text { display: none; }
    .fab-book { padding: 0; width: 48px; }
}

/* =========================================================
   Booking Form (goal pills + form polish)
   ========================================================= */
.lead-form .form-label { font-weight: 600; color: var(--c-navy); margin-bottom: 4px; }
.lead-form .form-control,
.lead-form .form-select {
    border: 1px solid var(--c-border);
    border-radius: 8px;
    padding: .7rem .9rem;
    background: #fff;
}
.lead-form .form-control:focus,
.lead-form .form-select:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 .15rem rgba(74, 139, 111, 0.18);
}
.lead-form textarea.form-control { min-height: 110px; }

.goal-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.goal-pills .pill { cursor: pointer; }
.goal-pills .pill input { display: none; }
.goal-pills .pill span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid var(--c-border);
    background: #fff;
    color: var(--c-text);
    padding: .5rem .9rem;
    border-radius: 999px;
    font-weight: 500;
    transition: all .18s ease-out;
}
.goal-pills .pill span:hover {
    border-color: var(--c-primary-light);
    background: #F3F8F4;
}
.goal-pills .pill input:checked + span {
    border-color: var(--c-primary);
    background: var(--c-primary);
    color: #fff;
}
.goal-pills .pill span i { color: var(--c-accent); }
.goal-pills .pill input:checked + span i { color: #fff; }

/* Slight bottom padding so floating CTA never overlaps last content */
@media (max-width: 575px) {
    body { padding-bottom: 70px; }
}


/* =========================================================
   News cards
   ========================================================= */
.news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    color: var(--c-text);
    transition: transform .18s ease-out, box-shadow .18s ease-out, border-color .18s;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-primary-light);
}
.news-card .news-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.news-card .news-img--placeholder {
    background: linear-gradient(135deg, var(--c-primary-light), var(--c-accent-soft));
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-card .news-img--placeholder i { font-size: 2.6rem; color: #fff; }
.news-card .news-body { padding: 1.1rem 1.15rem 1.3rem; flex: 1; display:flex; flex-direction: column; }
.news-card .news-meta { display: flex; justify-content: space-between; gap: 8px; margin-bottom: .55rem; }
.news-card .news-pill {
    background: var(--c-accent-soft);
    color: var(--c-accent);
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .78rem;
}
.news-card .news-date { color: var(--c-muted); font-size: .82rem; }
.news-card h3 { margin: 0 0 .5rem; line-height: 1.25; }
.news-card .news-link { color: var(--c-primary); font-weight: 600; margin-top: auto; }

/* News filter chips */
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: .25rem; }
.news-chip {
    display: inline-block;
    padding: .35rem .9rem;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid var(--c-border);
    color: var(--c-text);
    text-decoration: none;
    font-weight: 500;
    transition: all .18s ease-out;
}
.news-chip:hover { border-color: var(--c-primary-light); }
.news-chip.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* Article body */
.article-body p { margin-bottom: 1rem; color: #3D4A3D; }
.article-body h3 { margin-top: 1.4rem; margin-bottom: .6rem; }
.article-cta {
    margin-top: 2rem;
    padding: 1.4rem 1.5rem;
    background: linear-gradient(135deg, #F3F8F4 0%, #FBE9CE 100%);
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
}

/* =========================================================
   Star rating
   ========================================================= */
.star-rating { display: inline-flex; align-items: center; gap: 4px; }
.star-rating .star {
    background: none;
    border: 0;
    padding: 4px 6px;
    cursor: pointer;
    color: var(--c-accent);
    font-size: 1.6rem;
    line-height: 1;
    transition: transform .12s ease-out;
}
.star-rating .star:hover { transform: scale(1.12); }
.star-rating .star i.fa-star { color: var(--c-accent); }
.star-rating .star i.fa-star-o { color: #D1C9B7; }
.star-rating .rating-text { font-size: .92rem; }

/* =========================================================
   Floating feedback widget (left-side tab + popup)
   ========================================================= */
.feedback-tab {
    position: fixed;
    left: 0;
    top: 38%;
    z-index: 1070;
    background: var(--c-primary);
    color: #fff;
    border: 0;
    padding: 12px 10px;
    border-radius: 0 12px 12px 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}
.feedback-tab:hover { background: var(--c-primary-dark); }

.feedback-popup {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 340px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
    z-index: 1090;
    transform: translateY(20px) scale(.96);
    opacity: 0;
    pointer-events: none;
    transition: all .22s cubic-bezier(0.23, 1, 0.32, 1);
}
.feedback-popup.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}
.feedback-popup-head {
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
    color: #fff;
    padding: 14px 16px;
    border-radius: 14px 14px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.feedback-popup-head h5 { margin: 0; color: #fff; }
.feedback-popup-close {
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}
.feedback-popup-body { padding: 14px 16px 16px; }
.feedback-popup-body .form-control,
.feedback-popup-body .form-select {
    border: 1px solid var(--c-border);
    border-radius: 8px;
    padding: .55rem .75rem;
}
.feedback-popup-body textarea.form-control { min-height: 80px; }

@media (max-width: 575px) {
    .feedback-popup { left: 12px; right: 12px; bottom: 80px; width: auto; }
    .feedback-tab { padding: 10px 8px; font-size: .8rem; }
}

/* =========================================================
   Search bar + results
   ========================================================= */
.site-search {
    position: relative;
    min-width: 200px;
}
.site-search input {
    width: 100%;
    border: 1px solid var(--c-border);
    background: #fff;
    border-radius: 999px;
    padding: .45rem .9rem .45rem 2.2rem;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}
.site-search input:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 .15rem rgba(74, 139, 111, 0.18);
}
.site-search .fa-search {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--c-muted);
}
.site-search .live-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    box-shadow: 0 18px 30px rgba(0,0,0,.10);
    max-height: 320px;
    overflow-y: auto;
    display: none;
    z-index: 1100;
}
.site-search .live-results.show { display: block; }
.site-search .live-results .lr-item {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--c-text);
    border-bottom: 1px solid var(--c-border);
}
.site-search .live-results .lr-item:last-child { border-bottom: 0; }
.site-search .live-results .lr-item:hover { background: #F4F9F5; }
.site-search .live-results .lr-title { display: block; font-weight: 600; }
.site-search .live-results .lr-meta { color: var(--c-muted); font-size: .82rem; }
.site-search .live-results .lr-empty { padding: 14px; color: var(--c-muted); }

.search-page-result {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 1.2rem 1.4rem;
    transition: border-color .18s, transform .18s;
}
.search-page-result:hover { border-color: var(--c-primary-light); transform: translateY(-2px); }
.search-page-result a { color: var(--c-navy); font-weight: 600; }
.search-page-result .lr-meta { color: var(--c-muted); margin-top: .3rem; }
.search-page-result .snippet { color: #4A554A; margin-top: .55rem; }

.search-mobile { padding: 0 16px 12px; }


/* ============================================================
   UX & RESPONSIVENESS PATCH (May 2026)
   Quick-glance chips, search at lg+, mobile bottom action bar
   ============================================================ */

/* Quick-glance chips on service / report pages */
.quick-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top: 10px; }
.quick-chips .chip {
    display:inline-flex; align-items:center; gap:6px;
    padding:7px 14px; border-radius:999px;
    background:#fff; border:1px solid var(--c-primary-light);
    color:var(--c-primary); font-size:.85rem; font-weight:500;
    text-decoration:none; transition:transform .15s ease, background .15s ease;
}
.quick-chips .chip:hover { background:rgba(74,139,111,.08); transform:translateY(-1px); }
.quick-chips .chip-primary { background:var(--c-primary); color:#fff; border-color:transparent; }
.quick-chips .chip-primary:hover { background:var(--c-primary-dark); color:#fff; }

/* Make search bar usable on lg (was xl-only). Shrink gracefully */
.site-search { min-width: 200px; }
@media (min-width: 992px) and (max-width: 1199.98px) {
    .site-search { min-width: 140px; max-width: 160px; }
}

/* Mobile sticky bottom action bar */
.mobile-action-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1040;
    background: #fff; border-top: 1px solid var(--c-border);
    display: none; gap: 0; box-shadow: 0 -4px 14px rgba(0,0,0,.06);
}
.mobile-action-bar a {
    flex: 1; text-align: center; padding: 10px 4px;
    text-decoration: none; color: var(--c-primary);
    font-weight: 500; border-right: 1px solid #eef1ef;
}
.mobile-action-bar a:last-child { border-right: none; }
.mobile-action-bar a.book { background: var(--c-accent); color: #fff; }
.mobile-action-bar a i { display: block; margin-bottom: 2px; }
@media (max-width: 575px) {
    .mobile-action-bar { display: flex; }
    body { padding-bottom: 64px; }
    .floating-cta { display: none !important; }
    .navbar-brand { font-size: 1.15rem; }
    .quick-chips .chip { padding: 6px 10px; }
}

/* Data table styling */
.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; }
.data-table thead { background: var(--c-primary); color: #fff; }
.data-table th, .data-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #eef1ef; }
.data-table tbody tr:nth-child(even) { background: #fafbfa; }
.data-table tbody tr:hover { background: #f3f7f4; }
@media (max-width: 575px) {
    .data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .data-table th, .data-table td { padding: 8px 10px; }
}

/* Video embed responsive container */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 14px; box-shadow: var(--shadow-md); }
.video-wrap iframe, .video-wrap video {
    position: absolute; top:0; left:0; width:100%; height:100%; border:0;
}

/* Accessibility focus rings */
a:focus-visible, button:focus-visible, input:focus-visible, .chip:focus-visible {
    outline: 2px solid var(--c-accent); outline-offset: 2px;
}


/* ============================================================
   NEW PAGE COMPONENTS: team, recipes, newsletter, corporate, sitemap, thank-you
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, #EEF6F0 0%, #FCEDD7 100%);
    padding: 56px 0 40px;
    border-bottom: 1px solid var(--c-border);
}
.page-hero .eyebrow {
    color: var(--c-accent);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: .82rem;
}
.page-hero h1 { color: var(--c-navy); margin: 8px 0 10px; }
.page-hero p.lead { color: var(--c-muted); max-width: 760px; margin: 0; }

.team-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 26px 22px;
    height: 100%;
    transition: all .25s ease;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-primary-light); }
.team-avatar {
    width: 60px; height: 60px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(74,139,111,.14), rgba(232,160,76,.14));
    color: var(--c-primary); font-size: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
}
.team-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.1rem; margin: 0 0 4px; }
.team-role { color: var(--c-primary); font-weight: 600; font-size: .9rem; }
.team-cred, .team-region { color: var(--c-muted); font-size: .82rem; margin-top: 4px; }

.recipe-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 20px;
    height: 100%;
    transition: all .25s ease;
}
.recipe-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-accent-light); }
.recipe-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: rgba(232,160,76,.16); color: var(--c-accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; margin-bottom: 10px;
}
.recipe-tag {
    display: inline-block; font-size: .72rem; font-weight: 600;
    color: var(--c-primary); background: rgba(74,139,111,.10);
    padding: 3px 10px; border-radius: 12px; margin-bottom: 6px;
}
.recipe-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.05rem; margin: 4px 0; }
.recipe-meta {
    list-style: none; padding: 0; margin: 12px 0 0;
    display: flex; flex-wrap: wrap; gap: 12px;
    font-size: .8rem; color: var(--c-muted);
}
.recipe-meta li i { color: var(--c-primary); margin-right: 4px; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
    display: inline-block; padding: 7px 14px; border-radius: 20px;
    background: var(--c-surface); color: var(--c-navy); text-decoration: none;
    border: 1px solid var(--c-border); font-weight: 600; font-size: .85rem;
    transition: all .2s ease;
}
.filter-chip:hover { border-color: var(--c-primary); color: var(--c-primary); }
.filter-chip.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

.check-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 16px;
    background: #f7f5f0; cursor: pointer; font-size: .85rem;
    border: 1px solid var(--c-border);
}

.info-card, .form-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 14px;
    padding: 24px;
    height: 100%;
}
.info-card h4, .form-card h3 { color: var(--c-navy); }
.info-card .check-list li, .form-card .check-list li { color: var(--c-text); font-size: .92rem; }

.step-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 14px;
    padding: 22px 18px;
    height: 100%;
    text-align: center;
    transition: all .25s ease;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
    width: 46px; height: 46px; border-radius: 12px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
    color: #fff; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px; font-size: 1.05rem;
}
.step-card h5 { font-family: 'Poppins', sans-serif; margin: 0 0 6px; }

.thanks-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 18px;
    padding: 44px 28px;
    text-align: center;
    box-shadow: var(--shadow-md);
}
.thanks-icon {
    width: 84px; height: 84px; border-radius: 50%;
    background: rgba(74,139,111,.14); color: var(--c-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; margin: 0 auto 16px;
}
.next-card {
    display: block; padding: 20px; border-radius: 12px;
    background: #f9f7f2; border: 1px solid var(--c-border);
    text-align: center; text-decoration: none; color: inherit;
    transition: all .25s ease;
}
.next-card:hover { transform: translateY(-3px); border-color: var(--c-primary); }
.next-card i { font-size: 1.5rem; color: var(--c-primary); margin-bottom: 6px; }
.next-card h5 { font-family: 'Poppins', sans-serif; margin: 6px 0; }

/* Data table */
.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--c-border); font-size: .92rem; }
.data-table thead th { background: rgba(74,139,111,.08); color: var(--c-navy); font-weight: 600; }
.data-table tbody tr:hover { background: #faf9f5; }

@media (max-width: 575px) {
    .page-hero { padding: 36px 0 28px; }
    .page-hero h1 { font-size: 1.55rem; }
    .recipe-meta { gap: 10px; font-size: .76rem; }
    .team-card, .recipe-card, .info-card, .form-card { padding: 18px 16px; }
    .thanks-card { padding: 30px 16px; }
}


/* =====================================================
   Tablet/iPad responsive fixes (768-991px viewport range)
   Eliminates 10-20px horizontal overflow at iPad portrait
   ===================================================== */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Ensure containers never exceed viewport */
.container,
.container-fluid,
.wide-container {
    max-width: 100vw;
    box-sizing: border-box;
}

/* Bootstrap rows use negative margins; clip overflow at parent */
.row {
    --bs-gutter-x: 1.25rem;
    margin-left: 0;
    margin-right: 0;
}
.row > * {
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-right: calc(var(--bs-gutter-x) * .5);
}

/* Tablet portrait: tighten gutters and ensure no fixed-width children spill */
@media (max-width: 991.98px) {
    .wide-container { padding-left: 16px; padding-right: 16px; }
    .container, .container-fluid { padding-left: 16px; padding-right: 16px; }
    .row { --bs-gutter-x: 1rem; }
    .hero h1 { font-size: 1.85rem; }
    /* Chart and chart images should never overflow */
    img, svg, .chart, table {
        max-width: 100%;
        height: auto;
    }
    /* Tables: allow horizontal scroll inside their wrap, never on body */
    table { display: block; overflow-x: auto; white-space: nowrap; }
    .data-table-wrap, .table-responsive { max-width: 100%; overflow-x: auto; }
    /* Sticky CTA: ensure right offset doesn't cause scrollbar */
    .floating-cta { right: 14px; }
    /* Mobile action bar visible from md+ down */
    .mobile-action-bar { display: flex; }
    body { padding-bottom: 64px; }
}

/* Tablet landscape iPad Air (820-1023px) - extra trim */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .pricing-card, .blog-card, .service-card { padding: 18px; }
    .navbar-collapse .site-search { min-width: 0; width: 100%; }
}

/* Desktop & up: scrollbar-stable to avoid layout jump on hover/scroll */
@media (min-width: 1024px) {
    html { scrollbar-gutter: stable; }
}

/* Prevent any iframe/embed from spilling */
iframe, embed, object {
    max-width: 100%;
}

/* Word-break long URLs/emails on small viewports */
@media (max-width: 575.98px) {
    p, li, td, h1, h2, h3, h4 { overflow-wrap: anywhere; word-break: break-word; }
    .site-footer .social a { width: 38px; height: 38px; }
}
