/* ==========================================================================
   LUMBINI HEALTHCARE PVT. LTD. — Design System
   Palette sampled directly from official brand materials:
   Blue #1565C0 (primary/trust), Red #C62828 (accent/energy), Navy (depth)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --blue: #1565C0;
    --blue-dark: #0D3B66;
    --blue-deep: #092A4D;
    --navy: #1B2A4A;
    --red: #C62828;
    --red-dark: #8E1B1B;
    --paper: #ffffff;
    --paper-tint: #F4F7FB;
    --ink: #1B222E;
    --text-mute: #5B6472;
    --line: #E3E8F0;
    --shadow-sm: 0 2px 10px rgba(13,59,102,0.08);
    --shadow-md: 0 16px 40px rgba(13,59,102,0.14);
    --radius: 14px;
    --radius-sm: 8px;
    --container: 1240px;
    --font-display: 'Manrope', 'Inter', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[v-cloak] { display: none; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--paper); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; color: var(--navy); }

.eyebrow {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.eyebrow::before { content: ''; width: 24px; height: 3px; background: var(--red); display: inline-block; border-radius: 2px; }

.section-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; margin: 14px 0 16px; }
.section-title em { font-style: normal; color: var(--blue); }
.section-lede { color: var(--text-mute); font-size: 1.05rem; max-width: 640px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 6%; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.bg-navy { background: var(--navy); color: #EDF1F8; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #ffffff; }
.bg-tint { background: var(--paper-tint); }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    background: #ffffff;
    padding: 12px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 1px 0 rgba(13,59,102,0.03);
}
.logo-container { display: flex; align-items: center; cursor: pointer; gap: 12px; }
.logo { height: 52px; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; color: var(--navy); line-height: 1.25; }
.brand-name small { display: block; font-size: 0.68rem; letter-spacing: 0.08em; color: var(--red); font-weight: 700; text-transform: uppercase; margin-top: 2px; }

.nav-toggle-label { display: none; width: 36px; height: 36px; line-height: 36px; text-align: center; color: var(--navy); font-size: 1.4rem; cursor: pointer; }
#nav-check { display: none; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    color: var(--ink);
    text-decoration: none;
    padding: 9px 16px;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 30px;
    transition: 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--paper-tint); }
.nav-links a.nav-cta { background: var(--red); color: #fff !important; margin-left: 6px; }
.nav-links a.nav-cta:hover { background: var(--red-dark); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 30px; border-radius: 40px; font-weight: 700; font-size: 0.92rem;
    text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: 0.22s;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 26px rgba(198,40,40,0.28); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 26px rgba(21,101,192,0.28); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost-dark { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-ghost-dark:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-ghost-light { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }

/* ==========================================================================
   HERO — diagonal triangle motif matches official brand materials
   ========================================================================== */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; padding: 100px 6% 64px; }
.hero::before {
    content: ''; position: absolute; top: 0; right: 0; width: 46%; height: 60%;
    background: var(--red); clip-path: polygon(30% 0, 100% 0, 100% 100%);
    opacity: 0.9;
}
.hero::after {
    content: ''; position: absolute; top: 0; right: 0; width: 60%; height: 100%;
    background: var(--blue); clip-path: polygon(55% 0, 100% 0, 100% 100%, 20% 100%);
    opacity: 0.35;
}
.hero-inner { max-width: var(--container); margin: 0 auto; position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.4rem); line-height: 1.1; margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: #FFD54A; }
.hero p.lede { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-photo { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,0.2); box-shadow: var(--shadow-md); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

.stat-bar {
    border-top: 1px solid rgba(255,255,255,0.18); margin-top: 54px; padding-top: 30px;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
    max-width: var(--container); margin-left: auto; margin-right: auto; position: relative; z-index: 2;
}
.stat-bar .stat b { font-family: var(--font-display); font-size: 2rem; color: #FFD54A; display: block; font-weight: 800; }
.stat-bar .stat span { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.6); font-weight: 600; }

/* Page header (shorter hero for inner pages) */
.page-header { background: var(--navy); color: #fff; padding: 78px 6% 56px; position: relative; overflow: hidden; }
.page-header::before {
    content: ''; position: absolute; top: 0; right: 0; width: 40%; height: 100%;
    background: var(--blue); clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%); opacity: 0.3;
}
.page-header::after {
    content: ''; position: absolute; bottom: -20%; right: -4%; width: 220px; height: 220px;
    background: var(--red); clip-path: polygon(0 0, 100% 30%, 70% 100%); opacity: 0.85;
}
.page-header .container { max-width: var(--container); position: relative; z-index: 2; }
.page-header h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); margin: 14px 0 12px; }
.page-header p { color: rgba(255,255,255,0.75); max-width: 640px; font-size: 1.04rem; }

/* ==========================================================================
   CARDS — segments / info / values
   ========================================================================== */
.segment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 44px; }
.segment-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-decoration: none; color: var(--ink); transition: 0.22s; position: relative; }
.segment-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.segment-num { font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; color: var(--red); }
.segment-card h3 { font-size: 1.18rem; margin: 12px 0 10px; color: var(--navy); }
.segment-card p { color: var(--text-mute); font-size: 0.9rem; margin-bottom: 16px; }
.segment-link { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--blue); font-weight: 700; }
.segment-card:hover .segment-link { color: var(--red); }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.info-card .ic-tag { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); font-weight: 800; }
.info-card h3 { margin: 12px 0 10px; font-size: 1.16rem; color: var(--navy); }
.info-card p { color: var(--text-mute); font-size: 0.94rem; }

.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }
.mvv-card { background: var(--navy); color: #EDF1F8; border-radius: var(--radius); padding: 32px 28px; }
.mvv-card:nth-child(2) { background: var(--blue); }
.mvv-card:nth-child(3) { background: var(--red); }
.mvv-card .ic-tag { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; font-weight: 800; }
.mvv-card p, .mvv-card ul { margin-top: 12px; font-size: 0.95rem; opacity: 0.94; }
.mvv-card ul { padding-left: 18px; }
.mvv-card li { margin-bottom: 6px; }

/* ==========================================================================
   TIMELINE — Our Journey / Milestones
   ========================================================================== */
.timeline { position: relative; margin-top: 50px; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: var(--line); }
.timeline-track { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; position: relative; }
.tl-item { text-align: center; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue); margin: 26px auto 14px; position: relative; z-index: 2; }
.tl-item:nth-child(odd) .tl-dot { background: var(--red); box-shadow: 0 0 0 2px var(--red); }
.tl-year { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 1.05rem; }
.tl-label { font-size: 0.78rem; color: var(--text-mute); margin-top: 4px; line-height: 1.35; }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; margin-top: 36px; }
.team-card { text-align: center; }
.team-photo {
    width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden;
    border: 4px solid var(--paper); box-shadow: 0 0 0 3px var(--blue), var(--shadow-sm);
    background: var(--paper-tint);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%) contrast(1.04); image-rendering: -webkit-optimize-contrast; }
.team-card.chairman .team-photo { width: 150px; height: 150px; box-shadow: 0 0 0 3px var(--red), var(--shadow-sm); }
.team-card h4 { font-size: 1.02rem; color: var(--navy); margin-bottom: 4px; }
.team-card span { font-size: 0.8rem; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.team-subhead { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 1.3rem; margin: 56px 0 6px; }
.team-subhead:first-of-type { margin-top: 44px; }

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; margin-top: 32px; }
.product-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: 0.22s; }
.product-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue); transform: translateY(-4px); }
.product-card .p-img { background: var(--paper-tint); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; padding: 22px; border-bottom: 1px solid var(--line); }
.product-card .p-img img { max-height: 100%; object-fit: contain; }
.product-card .p-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card .p-tag { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--red); text-transform: uppercase; font-weight: 800; }
.product-card h4 { font-size: 1.08rem; margin: 6px 0 12px; color: var(--navy); }
.product-card ul { list-style: none; margin: 0; flex: 1; }
.product-card ul li { font-size: 0.86rem; color: var(--text-mute); padding-left: 16px; position: relative; margin-bottom: 6px; line-height: 1.4; }
.product-card ul li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.badge-new { display: inline-block; background: var(--red); color: #fff; font-size: 0.62rem; font-weight: 800; padding: 3px 9px; border-radius: 20px; letter-spacing: 0.05em; text-transform: uppercase; margin-left: 8px; vertical-align: middle; }
.badge-feat { display: inline-block; background: #FFD54A; color: #6b4c00; font-size: 0.62rem; font-weight: 800; padding: 3px 9px; border-radius: 20px; letter-spacing: 0.05em; text-transform: uppercase; margin-left: 8px; vertical-align: middle; }

/* Category section header inside products page */
.cat-block { padding: 64px 0; border-top: 1px solid var(--line); }
.cat-block:first-of-type { border-top: none; }
.cat-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 8px 0 8px; }
.cat-head .cat-num { font-family: var(--font-display); color: var(--red); font-weight: 800; font-size: 0.85rem; }
.cat-head p { color: var(--text-mute); max-width: 700px; }
.subhead { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 1.06rem; margin: 34px 0 4px; padding: 8px 16px; background: var(--paper-tint); border-left: 4px solid var(--blue); border-radius: 4px; }

.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cat-nav a { font-size: 0.78rem; font-weight: 700; text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,0.35); padding: 9px 18px; border-radius: 30px; transition: 0.22s; }
.cat-nav a:hover { background: var(--red); border-color: var(--red); }

/* Simple text-only listing card (furniture/consumables) */
.listing-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.listing-table tr { border-bottom: 1px solid var(--line); }
.listing-table td { padding: 14px 16px; font-size: 0.92rem; vertical-align: top; }
.listing-table td:first-child { font-weight: 800; color: var(--navy); white-space: nowrap; width: 220px; font-family: var(--font-display); font-size: 0.86rem; }
.listing-table td:last-child { color: var(--text-mute); }

.furniture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.furniture-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.furniture-card h4 { color: var(--navy); font-size: 1.05rem; margin-bottom: 12px; }
.furniture-card p { color: var(--text-mute); font-size: 0.9rem; line-height: 1.7; }
.furniture-card p strong { color: var(--ink); }

/* ==========================================================================
   AWARDS / GALLERY
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.gallery-item:hover img { transform: scale(1.06); }

.partner-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.partner-chip { font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; padding: 13px 24px; border: 1px solid var(--line); border-radius: 40px; color: var(--navy); background: var(--paper); }

/* Trust / why-us strip */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 44px; }
.why-item .why-index { font-family: var(--font-display); color: #FFD54A; font-weight: 800; font-size: 0.85rem; }
.why-item h4 { font-size: 1.04rem; margin: 10px 0 8px; }
.why-item p { color: rgba(255,255,255,0.62); font-size: 0.9rem; }

/* CTA banner */
.cta-banner { background: var(--red); color: #fff; border-radius: 22px; padding: 54px 58px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-banner::after { content: ''; position: absolute; top: -30%; right: -6%; width: 220px; height: 220px; background: rgba(255,255,255,0.12); border-radius: 50%; }
.cta-banner h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); max-width: 540px; position: relative; z-index: 2; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-top: 8px; position: relative; z-index: 2; }
.cta-banner .btn { position: relative; z-index: 2; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--blue-deep); color: rgba(255,255,255,0.68); padding: 64px 6% 40px; }
.footer-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 42px; }
.footer-brand span { font-family: var(--font-display); color: #fff; font-size: 1.02rem; font-weight: 800; }
.footer-col h5 { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #FFD54A; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,0.68); text-decoration: none; font-size: 0.9rem; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: var(--container); margin: 44px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: rgba(255,255,255,0.42); }

.social-inline { display: flex; gap: 10px; margin-top: 16px; }
.social-inline a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.28); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: 0.2s; }
.social-inline a:hover { background: var(--red); border-color: var(--red); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-photo { max-width: 420px; margin: 0 auto; }
    .info-grid, .mvv-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .furniture-grid { grid-template-columns: 1fr 1fr; }
    .timeline-track { grid-template-columns: repeat(5, 1fr); row-gap: 30px; }
    .timeline::before { display: none; }
    .stat-bar { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
    .nav-toggle-label { display: block; }
    .nav-links {
        position: absolute; top: 100%; left: 0; right: 0; background: #fff;
        flex-direction: column; align-items: stretch; padding: 10px 6%; gap: 4px; display: none;
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    }
    .nav-links a { text-align: center; padding: 12px; }
    #nav-check:checked ~ .nav-links { display: flex; }
    .info-grid, .mvv-grid, .why-grid, .furniture-grid { grid-template-columns: 1fr; }
    .cta-banner { flex-direction: column; text-align: center; padding: 40px 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .timeline-track { grid-template-columns: repeat(3, 1fr); }
    .stat-bar { grid-template-columns: repeat(2,1fr); }
    .listing-table td:first-child { width: auto; }
    .listing-table tr { display: flex; flex-direction: column; padding: 10px 0; }
}
