/* ============================================
   CHAND GOLD LOAN — Shared Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
:root {
    --plum: #FCC629;
    --plum-dark: #0A0906;
    --plum-light: #3D3730;
    --gold: #E8A917;
    --gold-light: #F7C948;
    --cream: #FBF8F3;
    --lilac-tint: #FBF3DE;
    --ink: #201C16;
    --ink-soft: #5C564C;
    --line: #E9E1CC;
    --white: #FFFFFF;
    --success-bg: #EFF6EC;
    --radius-s: 6px;
    --radius-m: 12px;
    --radius-l: 20px;
    --shadow: 0 8px 28px rgba(10, 9, 6, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Montserrat', system-ui, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', system-ui, sans-serif;
    color: var(--plum-dark);
    margin: 0 0 0.5em;
    line-height: 1.15;
    font-weight: 700;
}

p {
    margin: 0 0 1em;
    color: var(--ink-soft);
}

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ---------- Utility Bar ---------- */

.utility-bar {
    background: linear-gradient(90deg, var(--plum), var(--plum-light));
    color: var(--white);
    font-size: 0.85rem;
    text-align: center;
    padding: 9px 20px;
    position: relative;
}

.utility-bar strong {
    color: var(--gold-light);
    font-weight: 600;
}

.utility-bar .close-bar {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    opacity: 0.7;
    font-size: 1rem;
}


/* ---------- Header ---------- */

header.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    border: 1.5px solid transparent;
    transition: all .15s ease;
}

.btn-primary {
    background: var(--plum);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--plum-dark);
}

.btn-outline {
    background: transparent;
    color: var(--plum);
    border-color: var(--plum);
}

.btn-outline:hover {
    background: var(--lilac-tint);
}

.btn-gold {
    background: var(--gold);
    color: var(--plum-dark);
}

.btn-gold:hover {
    background: var(--gold-light);
}

nav.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav.main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--ink);
    position: relative;
}

nav.main-nav .has-dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.dropdown-wrap {
    position: relative;
}

.dropdown-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
}

.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: -10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow);
    padding: 8px;
    min-width: 190px;
}

.dropdown-wrap:hover .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: 9px 14px;
    border-radius: var(--radius-s);
    font-size: 0.9rem;
}

.dropdown a:hover {
    background: var(--lilac-tint);
    color: var(--plum);
}

.logo {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--plum-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo .moon {
    color: var(--gold);
}

.logo-img {
    height: 46px;
    width: auto;
    display: block;
}

.footer-social .logo-img {
    height: 42px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--plum);
}

.nav-close {
    display: none;
}

.nav-overlay {
    display: none;
}

.nav-drawer-logo {
    display: none;
}


/* ---------- Breadcrumb ---------- */

.breadcrumb {
    max-width: 1180px;
    margin: 18px auto 0;
    padding: 0 24px;
    font-size: 0.85rem;
    color: var(--ink-soft);
}

.breadcrumb a {
    color: var(--plum);
}


/* ---------- Hero (split) ---------- */

.hero {
    background: var(--lilac-tint);
    border-radius: var(--radius-l);
    max-width: 1180px;
    margin: 24px auto;
    padding: 48px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero .eyebrow {
    color: var(--plum);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 2.6rem;
}

.hero p.lead {
    font-size: 1.05rem;
    max-width: 480px;
}

.hero-stats {
    display: flex;
    gap: 34px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-stats .stat b {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 1.6rem;
    color: var(--plum-dark);
    display: block;
}

.hero-stats .stat span {
    font-size: 0.85rem;
    color: var(--ink-soft);
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.hero-image {
    border-radius: var(--radius-m);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ---------- Section heading ---------- */

.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 60px 24px;
}

.section-head {
    max-width: 640px;
    margin-bottom: 34px;
}

.section-head p {
    font-size: 1rem;
}


/* ---------- Feature / Why grid ---------- */

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.why-lead {
    background: var(--plum);
    color: var(--white);
    border-radius: var(--radius-m);
    padding: 34px;
    display: flex;
    align-items: center;
    grid-row: span 2;
}

.why-lead h3 {
    color: var(--white);
    font-size: 1.6rem;
}

.why-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 26px;
}

.why-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 0.92rem;
    margin: 0;
}


/* ---------- Product cards ---------- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.product-card {
    border-radius: var(--radius-m);
    padding: 22px;
    min-height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(.22, 1, .36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    will-change: transform;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 18px 34px rgba(30, 10, 60, 0.16);
    border-color: transparent;
    cursor: pointer;
}

.product-card:hover .product-icon {
    transform: scale(1.15) rotate(-6deg) translateY(-4px);
}

.product-card:hover h4 {
    color: var(--plum-dark, #6a2c91);
}

.product-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.product-card p {
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.product-tag {
    display: inline-block;
    background: #1F7A4C;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    width: fit-content;
    margin-top: 8px;
}

.product-icon {
    align-self: center;
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin-top: 14px;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.18));
    transition: transform 0.4s cubic-bezier(.22, 1, .36, 1);
}

.pc-gold {
    background: #FBF0D9;
}

.pc-msme {
    background: #F7E3E3;
}

.pc-home {
    background: #EDE3F5;
}

.pc-lap {
    background: #FCE3EF;
}

.pc-cf {
    background: #E3EFE9;
}


/* ---------- Calculator ---------- */

.calc-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    padding: 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.karat-row {
    display: flex;
    gap: 10px;
    margin: 14px 0 20px;
    flex-wrap: wrap;
}

.karat-btn {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--white);
    font-weight: 600;
    font-size: 0.88rem;
}

.karat-btn.active {
    background: var(--plum);
    color: var(--white);
    border-color: var(--plum);
}

.calc-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-s);
    border: 1.5px solid var(--line);
    font-size: 1rem;
    margin-bottom: 6px;
}

.calc-hint {
    font-size: 0.78rem;
    color: var(--ink-soft);
    margin-bottom: 20px;
}

.result-ring {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: conic-gradient(var(--gold) 0deg, var(--line) 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.result-ring-inner {
    width: 172px;
    height: 172px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.result-ring-inner b {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 1.5rem;
    color: var(--plum-dark);
}

.result-ring-inner span {
    font-size: 0.8rem;
    color: var(--ink-soft);
}

.result-rows {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 8px 0;
    border-top: 1px solid var(--line);
}

.result-rows b {
    color: var(--plum-dark);
}


/* ---------- Testimonials ---------- */

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testi-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 24px;
}

.testi-card .quote-mark {
    color: var(--gold);
    font-size: 2rem;
    font-family: 'Montserrat', system-ui, sans-serif;
    line-height: 1;
}

.testi-name {
    font-weight: 700;
    margin-top: 14px;
    color: var(--plum-dark);
}

.testi-role {
    font-size: 0.82rem;
    color: var(--ink-soft);
}


/* ---------- FAQ ---------- */

.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 16px 22px;
    margin-bottom: 12px;
    cursor: pointer;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    font-size: 0.92rem;
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding-top: 12px;
}

.faq-item.open .faq-q .chev {
    transform: rotate(180deg);
}

.chev {
    transition: transform .2s ease;
    color: var(--plum);
}


/* ---------- CTA banner ---------- */

.cta-banner {
    background: linear-gradient(120deg, var(--plum-dark), var(--plum));
    border-radius: var(--radius-l);
    padding: 44px;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-banner h3 {
    color: var(--white);
    margin-bottom: 6px;
}

.cta-banner p {
    color: #D8D1C0;
    margin: 0;
}


/* ---------- Footer ---------- */

footer.site-footer {
    background: var(--plum-dark);
    color: #C9C2B0;
    margin-top: 40px;
}

.footer-social {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px 0;
}

.footer-grid h5 {
    color: var(--gold-light);
    font-size: 0.95rem;
    margin-bottom: 14px;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 700;
}

.footer-grid li {
    margin-bottom: 9px;
    font-size: 0.88rem;
}

.footer-grid a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}


/* ---------- Branch cards ---------- */

.branch-filters {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 14px;
    margin-bottom: 26px;
}

.branch-filters select,
.branch-filters button {
    padding: 12px 16px;
    border-radius: var(--radius-s);
    border: 1.5px solid var(--line);
    font-size: 0.92rem;
}

.branch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.branch-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 20px;
}

.branch-tag {
    display: inline-block;
    background: var(--lilac-tint);
    color: var(--plum);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.branch-card h4 {
    font-size: 1.02rem;
    margin-bottom: 8px;
}

.branch-card p {
    font-size: 0.85rem;
    margin: 4px 0;
}

.branch-card b {
    color: var(--ink);
}


/* ---------- Pagination ---------- */

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
}

.pagination a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-s);
    border: 1px solid var(--line);
    font-size: 0.85rem;
}

.pagination a.active {
    background: var(--plum);
    color: var(--white);
    border-color: var(--plum);
}


/* ---------- Timeline (about page) ---------- */

.timeline {
    position: relative;
    padding: 30px 0;
}

.timeline-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.timeline-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 18px;
}

.timeline-item b {
    color: var(--gold);
    display: block;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.timeline-item p {
    font-size: 0.85rem;
    margin: 0;
}


/* ---------- Team ---------- */

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.team-card img {
    border-radius: var(--radius-m);
    margin-bottom: 10px;
    filter: grayscale(15%);
}

.team-card h5 {
    margin: 0 0 2px;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
}

.team-card span {
    font-size: 0.8rem;
    color: var(--ink-soft);
}


/* ---------- Stat strip ---------- */

.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 30px;
}

.stat-strip .stat b {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 1.8rem;
    color: var(--plum-dark);
    display: block;
}

.stat-strip .stat span {
    font-size: 0.85rem;
    color: var(--ink-soft);
}


/* ---------- Contact ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 24px;
}

.contact-card h4 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 0.9rem;
    margin: 4px 0;
}


/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .mobile-toggle {
        display: block;
    }
    .header-inner {
        flex-wrap: wrap;
        row-gap: 12px;
    }
    .logo {
        order: 1;
    }
    .mobile-toggle {
        order: 2;
    }
    .header-actions {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    /* Left-side sliding drawer menu (Capri-style) */
    nav.main-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 82%;
        max-width: 300px;
        background: var(--white);
        z-index: 210;
        padding: 66px 26px 30px;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
        transform: translateX(-105%);
        transition: transform 0.35s cubic-bezier(.22, 1, .36, 1);
        overflow-y: auto;
    }
    nav.main-nav.open {
        transform: translateX(0);
    }
    .nav-close {
        display: block;
        position: absolute;
        top: 18px;
        right: 18px;
        background: none;
        border: none;
        font-size: 1.2rem;
        color: var(--ink);
        line-height: 1;
    }
    .nav-drawer-logo {
        display: block;
        position: absolute;
        top: 14px;
        left: 26px;
    }
    .nav-drawer-logo img {
        height: 34px;
        width: auto;
        display: block;
    }
    nav.main-nav a,
    nav.main-nav .has-dropdown {
        padding: 15px 0;
        border-bottom: 1px solid var(--line);
        font-size: 1rem;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .dropdown-wrap {
        position: static;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .dropdown-wrap::after {
        content: none;
    }
    .dropdown {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 6px 14px;
        min-width: 0;
    }
    .dropdown-wrap:hover .dropdown {
        display: none;
    }
    .dropdown-wrap.open .dropdown {
        display: block;
    }
    .dropdown-wrap.open .has-dropdown {
        color: var(--plum);
    }
    nav.main-nav .dropdown a {
        border-bottom: none;
        padding: 10px 0;
        justify-content: flex-start;
    }
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(10, 9, 6, 0.5);
        z-index: 200;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }
    .nav-overlay.open {
        opacity: 1;
        visibility: visible;
    }
    .hero {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    .hero-image {
        order: -1;
    }
    .why-grid,
    .product-grid,
    .testi-grid,
    .footer-grid,
    .branch-grid,
    .timeline-row,
    .team-grid,
    .stat-strip,
    .contact-grid,
    .calc-box {
        grid-template-columns: 1fr 1fr;
    }
    .why-lead {
        grid-row: auto;
        grid-column: span 2;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .branch-filters {
        grid-template-columns: 1fr 1fr;
    }
    .branch-filters button {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .container,
    .section,
    .breadcrumb {
        padding-left: 16px;
        padding-right: 16px;
    }
    .header-inner {
        padding: 12px 16px;
    }
    .logo-img {
        height: 36px;
    }
    .footer-social .logo-img {
        height: 34px;
    }
    .utility-bar {
        font-size: 0.78rem;
        padding: 9px 40px 9px 14px;
    }
    .hero {
        padding: 22px;
        margin: 16px auto;
        border-radius: var(--radius-m);
    }
    .hero h1 {
        font-size: 1.7rem;
    }
    .hero p.lead {
        font-size: 0.95rem;
    }
    .hero-stats {
        gap: 20px;
    }
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-cta .btn {
        text-align: center;
        justify-content: center;
    }
    .section {
        padding: 40px 16px;
    }
    .why-grid,
    .product-grid,
    .testi-grid,
    .footer-grid,
    .branch-grid,
    .timeline-row,
    .team-grid,
    .stat-strip,
    .contact-grid,
    .calc-box,
    .branch-filters {
        grid-template-columns: 1fr;
    }
    .branch-filters button {
        grid-column: span 1;
    }
    .why-lead {
        grid-column: span 1;
    }
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 22px;
    }
    .cta-banner .btn {
        width: 100%;
        justify-content: center;
    }
    .calc-box {
        padding: 22px;
    }
    .result-ring {
        width: 180px;
        height: 180px;
    }
    .result-ring-inner {
        width: 140px;
        height: 140px;
    }
    .form-box {
        padding: 22px;
    }
    .footer-social {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}