/* CreditEMI - Main Stylesheet */

:root {
    --brand-900: #1a2744;
    --brand-700: #2d4a8a;
    --brand-600: #3d62b5;
    --accent-500: #4f8ef7;
    --accent-400: #7aa8fc;
    --mint-500: #0f7b6c;
    --sand-200: #f0ede8;
    --sand-100: #f8f6f3;
    --paper: #fafaf8;
    --text-900: #1a2744;
    --text-700: #4a5568;
    --text-500: #718096;
    --border: #e8e6e3;
    --shadow-xs: 0 1px 3px rgba(26, 39, 68, 0.04);
    --shadow-sm: 0 2px 8px rgba(26, 39, 68, 0.06);
    --shadow-md: 0 8px 24px rgba(26, 39, 68, 0.08);
    --shadow-lg: 0 16px 48px rgba(26, 39, 68, 0.10);
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 200ms ease;
    --heading-font: 'Rubik', "Segoe UI", -apple-system, sans-serif;
    --body-font: 'Rubik', "Segoe UI", -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body.site-body {
    font-family: var(--body-font);
    color: var(--text-900);
    line-height: 1.7;
    font-size: 1rem;
    background: var(--paper);
}

h1, h2, h3, h4, h5, h6, .section-title, .brand-name {
    font-family: var(--heading-font);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.brand-name {
    font-family: var(--heading-font);
    letter-spacing: -0.02em;
}

.h1, h1 { font-size: 2.25rem; }    /* 36px */
.h2, h2 { font-size: 1.75rem; }   /* 28px */
.h3, h3 { font-size: 1.375rem; }  /* 22px */
.h4, h4 { font-size: 1.125rem; }  /* 18px */
.h5, h5 { font-size: 1rem; }      /* 16px */
.h6, h6 { font-size: 0.875rem; }  /* 14px */

.rich-text-content h1,
.rich-text-content h2,
.rich-text-content h3,
.rich-text-content h4,
.rich-text-content h5,
.rich-text-content h6 {
    line-height: 1.3;
}

.rich-text-content h1 { font-size: 2.25rem; }
.rich-text-content h2 { font-size: 1.75rem; }
.rich-text-content h3 { font-size: 1.375rem; }
.rich-text-content h4 { font-size: 1.125rem; }
.rich-text-content h5 { font-size: 1rem; }
.rich-text-content h6 { font-size: 0.875rem; }

a {
    color: var(--brand-700);
    transition: color var(--transition), opacity var(--transition), transform var(--transition);
}

a:hover {
    color: var(--brand-900);
}

.btn {
    border-radius: var(--radius-xs);
    padding: 0.65rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    border: none;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.btn-brand,
.btn-primary {
    background: var(--brand-700);
    color: #fff;
    box-shadow: var(--shadow-xs);
}

.btn-brand:hover,
.btn-primary:hover {
    color: #fff;
    background: var(--brand-900);
    box-shadow: var(--shadow-md);
}

.btn-outline-brand,
.btn-outline-primary {
    border: 1.5px solid var(--border);
    color: var(--text-900);
    background: #fff;
}

.btn-outline-brand:hover,
.btn-outline-primary:hover {
    background: var(--text-900);
    border-color: var(--text-900);
    color: #fff;
}

.btn-success {
    background: var(--mint-500);
    border: none;
}

.btn-light {
    background: #fff;
    color: var(--text-900);
    border: 1.5px solid var(--border);
}

.btn-light:hover {
    background: var(--sand-100);
    color: var(--text-900);
}

.form-control,
.form-select {
    border-radius: var(--radius-xs);
    border: 1.5px solid var(--border);
    padding: 0.75rem 1rem;
    box-shadow: none;
    font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-500);
    box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.08);
    outline: none;
}

.form-range::-webkit-slider-thumb {
    background: var(--accent-500);
}

.form-range::-moz-range-thumb {
    background: var(--accent-500);
    border: none;
}

.reading-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 4px;
    z-index: 1090;
    background: transparent;
}

.reading-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-500), var(--brand-600));
    transition: width 0.1s linear;
}

.topbar {
    background: var(--text-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 0;
    font-size: 0.82rem;
}

.topbar a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.topbar a:hover {
    color: #fff;
}

.header {
    z-index: 1040;
}

.site-navbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition), background-color var(--transition);
}

.site-navbar.is-scrolled {
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-900);
    text-decoration: none;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-xs);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--brand-700);
    font-weight: 800;
    font-size: 0.85rem;
}

.brand-copy {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-500);
    font-weight: 600;
}

.brand-name {
    font-size: 1.35rem;
    color: var(--brand-900);
}

.brand-wordmark {
    display: block;
    width: auto;
    max-width: min(100%, 280px);
    height: 48px;
    object-fit: contain;
}

.brand-wordmark-footer {
    height: 52px;
}

.site-navbar .navbar-nav .nav-link {
    color: var(--text-700);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.6rem 0.85rem;
}

.site-navbar .navbar-nav .nav-link:hover,
.site-navbar .navbar-nav .nav-link:focus {
    color: var(--brand-900);
}

.site-navbar .dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    box-shadow: var(--shadow-md);
}

.site-navbar .dropdown-item {
    border-radius: var(--radius-xs);
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
}

.site-navbar .dropdown-item:hover {
    background: var(--sand-100);
}

.site-navbar .navbar-toggler {
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    padding: 0.5rem 0.65rem;
}

.site-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='none'%3e%3cpath stroke='%231a2744' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 9h24M6 15h24M6 21h24'/%3e%3c/svg%3e");
}

.site-main {
    overflow: clip;
}

.hero-section {
    position: relative;
    padding: 5rem 0 4.5rem;
    color: var(--text-900);
    background: var(--paper);
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 142, 247, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.eyebrow-pill,
.page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-xs);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eyebrow-pill {
    background: rgba(79, 142, 247, 0.1);
    color: var(--brand-700);
    border: 1px solid rgba(79, 142, 247, 0.15);
}

.page-eyebrow {
    background: rgba(79, 142, 247, 0.08);
    color: var(--brand-700);
}

.hero-section h1,
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.1;
    margin: 1rem 0 1rem;
    letter-spacing: -0.02em;
}

.hero-section .lead,
.page-hero .lead {
    font-size: 1.05rem;
    color: var(--text-700);
    max-width: 560px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.75rem 0 1.5rem;
}

.hero-actions .btn-light {
    background: #fff;
    color: var(--text-900);
    border: 1.5px solid var(--border);
}

.hero-actions .btn-outline-light {
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: var(--text-900);
    background: #fff;
}

.hero-actions .btn-outline-light:hover {
    background: var(--sand-100);
    color: var(--text-900);
}

.hero-stats,
.info-grid {
    display: grid;
    gap: 0.85rem;
}

.hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-pill,
.summary-tile,
.mini-stat,
.detail-tile {
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
}

.metric-pill {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.metric-pill strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.1;
    font-family: var(--heading-font);
    color: var(--brand-900);
}

.metric-pill span {
    display: block;
    color: var(--text-500);
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

.quick-links-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.72);
}

.tag-link,
.mini-chip,
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    transition: transform var(--transition), border-color var(--transition), background-color var(--transition), color var(--transition);
}

.tag-link {
    padding: 0.55rem 0.85rem;
    background: #fff;
    color: var(--text-900);
    border: 1px solid var(--border);
}

.tag-link:hover {
    color: var(--brand-700);
    border-color: var(--brand-700);
}

.mini-chip {
    padding: 0.35rem 0.7rem;
    background: var(--sand-100);
    color: var(--text-700);
    font-size: 0.8rem;
}

.surface-card,
.category-card,
.article-card,
.bank-logo-card,
.product-panel,
.compare-table-wrap,
.lead-card,
.sidebar-card {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    border-radius: var(--radius-md);
}

.surface-card {
    padding: 1.5rem;
}

.hero-panel {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.calculator-widget {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    color: var(--text-900);
    border: 1px solid var(--border);
}

.calculator-widget h3 {
    margin-bottom: 1.25rem;
}

.calculator-widget .form-label {
    color: var(--text-700);
    font-size: 0.82rem;
    font-weight: 600;
}

.calculator-widget small {
    color: var(--text-500);
}

.result-box,
.calc-summary {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.result-box {
    margin-top: 1.25rem;
}

.result-box .row > div,
.calc-summary .summary-tile {
    height: 100%;
}

.result-box .row {
    row-gap: 0.75rem;
}

.result-box .col-4 > div,
.summary-tile {
    height: 100%;
    background: var(--sand-100);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.result-label,
.summary-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-500);
}

.calc-summary .summary-tile {
    background: var(--sand-100);
}

.result-value,
.summary-value {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-top: 0.25rem;
    font-family: var(--heading-font);
}

.hero-aside,
.list-card {
    margin-top: 0.85rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius-md);
    background: var(--sand-100);
}

.hero-aside h4,
.list-card h4 {
    font-size: 1rem;
    margin-bottom: 0.65rem;
}

.mini-list,
.footer-points,
.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mini-list li,
.footer-points li,
.detail-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--text-700);
}

.mini-list li::before,
.footer-points li::before,
.detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-500);
}

.trust-strip {
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.trust-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding: 1rem 1.5rem;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.trust-strip p {
    margin: 0;
    color: var(--text-700);
    font-weight: 500;
    font-size: 0.9rem;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.trust-logo {
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-xs);
    background: var(--sand-100);
    color: var(--text-700);
    font-size: 0.85rem;
    font-weight: 600;
}

.section-shell {
    padding: 4.5rem 0;
}

.shell-muted {
    background: var(--sand-100);
}

.section-heading {
    margin-bottom: 2rem;
}

.section-title {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-700);
    max-width: 620px;
    margin-bottom: 0;
    font-size: 1rem;
}

.category-card,
.article-card,
.bank-logo-card,
.product-panel {
    overflow: hidden;
    height: 100%;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.category-card:hover,
.article-card:hover,
.bank-logo-card:hover,
.product-panel:hover,
.surface-card:hover {
    border-color: rgba(79, 142, 247, 0.2);
}

.category-card {
    padding: 1.5rem;
    text-align: left;
}

.category-card .icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    background: rgba(79, 142, 247, 0.08);
    color: var(--brand-700);
    font-size: 1.2rem;
}

.category-card .icon i {
    margin: 0;
}

.category-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.category-card p {
    color: var(--text-700);
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
}

.category-card .count {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--brand-700);
    font-weight: 600;
    font-size: 0.85rem;
}

.article-card .card-image {
    aspect-ratio: 16 / 10;
    min-height: 180px;
    background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.article-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    height: 100%;
}

.card-category {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-700);
    font-weight: 700;
}

.article-card h5,
.article-card h3,
.article-card h4 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.article-card h5 a,
.article-card h3 a,
.article-card h4 a {
    color: var(--text-900);
    text-decoration: none;
}

.article-card .card-excerpt {
    color: var(--text-700);
    font-size: 0.88rem;
    margin-bottom: 0;
    line-height: 1.7;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    font-size: 0.82rem;
    color: var(--text-500);
    margin-top: auto;
}

.bank-logo-card {
    padding: 1.25rem 1rem;
    text-align: center;
}

.bank-logo-card .bank-logo-frame {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.75rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sand-100);
}

.bank-logo-card img {
    max-width: 80px;
    max-height: 44px;
    object-fit: contain;
}

.bank-logo-card span {
    display: block;
    font-weight: 700;
    color: var(--text-900);
    font-size: 0.95rem;
}

.cta-section {
    padding: 1rem 0 5rem;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: 2rem;
    color: var(--text-900);
    background: var(--sand-100);
    border: 1px solid var(--border);
}

.cta-panel > * {
    position: relative;
    z-index: 1;
}

.cta-panel p {
    color: var(--text-700);
}

.cta-card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--border);
}

.creditemi-hero {
    background: var(--paper);
}

.home-search-panel {
    max-width: 640px;
    margin: 1.5rem 0 0;
}

.home-search-panel .form-control {
    min-height: 58px;
    border-radius: var(--radius-xs) 0 0 var(--radius-xs);
}

.home-search-panel .btn {
    min-width: 160px;
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}

.creditemi-side-panel {
    padding: 0;
}

.creditemi-sidecard {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: var(--sand-100);
}

.creditemi-sidecard h3 {
    margin-bottom: 0.85rem;
    font-size: 1.1rem;
}

.creditemi-mini-grid,
.ifsc-summary-grid,
.ifsc-service-grid,
.ifsc-breakdown {
    display: grid;
    gap: 0.85rem;
}

.creditemi-mini-grid,
.ifsc-summary-grid,
.ifsc-breakdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.creditemi-mini-card,
.ifsc-summary-card,
.service-tile,
.breakdown-piece {
    border-radius: var(--radius-sm);
    padding: 1rem 1.05rem;
}

.creditemi-mini-card {
    background: #fff;
    color: var(--text-900);
    border: 1px solid var(--border);
}

.creditemi-mini-card span,
.ifsc-summary-card span,
.service-tile span,
.breakdown-piece span {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-500);
}

.creditemi-mini-card strong,
.ifsc-summary-card strong,
.service-tile strong,
.breakdown-piece strong {
    display: block;
    margin-top: 0.2rem;
    font-size: 1.4rem;
    line-height: 1.1;
    font-family: var(--heading-font);
    color: var(--brand-900);
}

.ifsc-hero-panel {
    background: #fff;
}

.ifsc-search-form .form-control {
    min-height: 58px;
}

.ifsc-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    font-size: 0.88rem;
}

.ifsc-inline-links a {
    color: var(--brand-700);
    text-decoration: none;
}

.ifsc-inline-links a:hover {
    text-decoration: underline;
}

.ifsc-summary-card,
.service-tile,
.breakdown-piece {
    background: var(--sand-100);
    border: 1px solid var(--border);
    color: var(--text-900);
}

.result-card,
.directory-card,
.ifsc-zone-card {
    display: block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.result-card:hover,
.directory-card:hover,
.ifsc-zone-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(79, 142, 247, 0.2);
}

.result-card,
.directory-card {
    padding: 1.25rem;
    height: 100%;
}

.result-card h3,
.directory-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    color: var(--text-900);
}

.result-card-head,
.directory-card-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.result-card-address {
    margin: 0.85rem 0;
    color: var(--text-700);
    font-size: 0.9rem;
}

.ifsc-code-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius-xs);
    background: rgba(79, 142, 247, 0.08);
    color: var(--brand-700);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.directory-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xs);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 142, 247, 0.08);
    color: var(--brand-700);
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
}

.directory-meta,
.ifsc-service-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.directory-meta {
    margin-top: 0.85rem;
}

.directory-meta span,
.service-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-xs);
    font-size: 0.78rem;
    font-weight: 600;
}

.directory-meta span {
    background: var(--sand-100);
    color: var(--text-700);
}

.service-badge.is-on {
    background: rgba(15, 123, 108, 0.1);
    color: var(--mint-500);
}

.service-badge.is-off {
    background: rgba(200, 60, 60, 0.1);
    color: #c33c3c;
}

.coverage-meter {
    display: grid;
    gap: 0.85rem;
}

.coverage-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(23, 38, 56, 0.08);
}

.coverage-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.coverage-row span {
    color: var(--text-700);
}

.coverage-row strong {
    color: var(--brand-900);
}

.ifsc-metric {
    background: var(--sand-100);
    border: 1px solid rgba(23, 38, 56, 0.08);
}

.ifsc-metric strong {
    color: var(--brand-900);
}

.ifsc-metric span {
    color: var(--text-700);
}

.ifsc-zone-card {
    padding: 1.6rem;
}

.ifsc-zone-card h2 {
    margin: 0.6rem 0 0;
}

.ifsc-code-banner {
    margin-top: 1.5rem;
    padding: 1rem 1.15rem;
    border-radius: 22px;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    background: rgba(36, 87, 141, 0.08);
}

.code-label {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-500);
}

.ifsc-code-banner strong {
    font-size: 1.8rem;
    line-height: 1.1;
}

.ifsc-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ifsc-bank-review-card {
    overflow: hidden;
}

.ifsc-review-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 0.6rem;
}

.ifsc-review-profile,
.ifsc-review-summary {
    color: var(--text-700);
}

.ifsc-review-summary {
    margin: 1rem 0 1.15rem;
}

.ifsc-review-badge {
    flex: 0 0 auto;
    min-width: 176px;
    border: 1px solid rgba(15, 123, 108, 0.18);
    border-radius: var(--radius-sm);
    padding: 0.85rem 0.95rem;
    background: rgba(15, 123, 108, 0.08);
}

.ifsc-review-badge span,
.ifsc-review-metric span {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-500);
}

.ifsc-review-badge strong {
    display: block;
    margin-top: 0.2rem;
    color: var(--mint-500);
    line-height: 1.25;
}

.ifsc-review-metrics,
.ifsc-review-columns {
    display: grid;
    gap: 0.85rem;
}

.ifsc-review-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1.15rem;
}

.ifsc-review-metric {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    background: var(--sand-100);
    min-width: 0;
}

.ifsc-review-metric strong {
    display: block;
    margin-top: 0.2rem;
    color: var(--brand-900);
    line-height: 1.2;
}

.ifsc-review-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.ifsc-review-columns h3 {
    margin-bottom: 0.75rem;
}

.ifsc-review-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7rem;
}

.ifsc-review-list li {
    position: relative;
    padding-left: 1.05rem;
    color: var(--text-700);
}

.ifsc-review-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-500);
}

.ifsc-customer-review-card h2 {
    margin-bottom: 0;
}

.ifsc-review-source-title {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 1.25rem;
}

.ifsc-review-source-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    background: rgba(79, 142, 247, 0.09);
    color: var(--brand-700);
    font-size: 0.78rem;
    font-weight: 700;
}

.ifsc-review-source-pill.is-google {
    background: rgba(246, 184, 0, 0.12);
    color: #9b7000;
}

.ifsc-rating-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    margin: 1.25rem 0 1.4rem;
}

.ifsc-rating-bars {
    display: grid;
    gap: 0.65rem;
}

.ifsc-rating-row {
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 1fr) 2.2rem;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-700);
}

.ifsc-rating-row small {
    color: var(--text-500);
    text-align: right;
}

.ifsc-rating-track {
    height: 10px;
    border-radius: 999px;
    background: rgba(26, 39, 68, 0.07);
    overflow: hidden;
}

.ifsc-rating-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #f6b800;
}

.ifsc-rating-score {
    min-width: 132px;
    text-align: center;
}

.ifsc-rating-score strong {
    display: block;
    font-size: 3rem;
    line-height: 1;
    color: var(--text-900);
}

.ifsc-rating-score > span {
    display: block;
    color: var(--text-500);
    font-size: 0.9rem;
    margin-top: 0.15rem;
}

.ifsc-star-row,
.ifsc-public-review-stars {
    display: inline-flex;
    gap: 0.18rem;
    color: #d9dde4;
}

.ifsc-star-row {
    margin-top: 0.45rem;
}

.ifsc-star-row .is-active,
.ifsc-public-review-stars .is-active {
    color: #f6b800;
}

.ifsc-write-review-btn {
    border-radius: 999px;
    background: #cff7ff;
    color: #006f89;
    border: 1px solid rgba(0, 111, 137, 0.12);
    box-shadow: none;
}

.ifsc-write-review-btn:hover {
    background: #b9effb;
    color: #005d73;
}

.ifsc-review-form {
    margin-top: 1.25rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--sand-100);
}

.ifsc-review-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.ifsc-public-review-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.ifsc-review-filter-chips,
.ifsc-review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.ifsc-review-filter-chips button,
.ifsc-review-icon-btn,
.ifsc-review-sort {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-700);
    border-radius: 999px;
}

.ifsc-review-filter-chips button {
    padding: 0.45rem 0.85rem;
    font-weight: 500;
}

.ifsc-review-filter-chips button.is-active {
    background: #cff7ff;
    color: #006f89;
    border-color: rgba(0, 111, 137, 0.14);
}

.ifsc-review-filter-chips span {
    color: var(--text-500);
    margin-left: 0.25rem;
}

.ifsc-review-icon-btn {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #006f89;
}

.ifsc-review-sort {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.75rem;
    margin: 0;
}

.ifsc-review-sort select {
    border: 0;
    background: transparent;
    font-weight: 600;
    color: var(--text-900);
    outline: 0;
}

.ifsc-review-search {
    margin-top: 0.85rem;
}

.ifsc-public-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.ifsc-public-review-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    background: #fff;
    min-width: 0;
}

.ifsc-public-review-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.ifsc-public-review-head h3 {
    margin: 0;
    line-height: 1.2;
}

.ifsc-public-review-head span {
    color: var(--text-500);
    font-size: 0.9rem;
}

.ifsc-review-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: #0b9aa8;
    color: #fff;
    font-weight: 700;
}

.ifsc-review-source {
    margin-left: auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sand-100);
    color: var(--brand-700) !important;
    font-size: 0.72rem !important;
    font-weight: 800;
}

.ifsc-public-review-stars {
    margin-bottom: 0.75rem;
}

.ifsc-public-review-card h4 {
    font-size: 1rem;
    margin-bottom: 0.45rem;
}

.ifsc-public-review-card p {
    color: var(--text-900);
    margin-bottom: 0.85rem;
}

.ifsc-review-category {
    display: inline-flex;
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    background: var(--sand-100);
    color: var(--text-700);
    font-size: 0.78rem;
    font-weight: 600;
}

.ifsc-review-empty {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    color: var(--text-700);
    background: var(--sand-100);
}

.ifsc-google-review-panel {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.ifsc-google-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: var(--sand-100);
    border: 1px solid var(--border);
}

.ifsc-google-summary strong {
    display: block;
    font-size: 2.15rem;
    line-height: 1;
    color: var(--text-900);
}

.ifsc-google-summary span {
    display: block;
    color: var(--text-500);
    font-size: 0.9rem;
    margin-top: 0.15rem;
}

.ifsc-google-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.ifsc-google-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
    background: var(--sand-100);
}

.ifsc-review-source.is-google {
    color: #4285f4 !important;
    background: #fff;
    border: 1px solid var(--border);
}

.ifsc-review-google-link {
    display: inline-flex;
    margin-top: 0.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.ifsc-steps {
    padding-left: 1.25rem;
}

.ifsc-steps li + li {
    margin-top: 0.8rem;
}

.ifsc-breakdown {
    margin-top: 1rem;
}

.accordion-item {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(23, 38, 56, 0.08);
}

.accordion-item + .accordion-item {
    margin-top: 0.8rem;
}

.accordion-button {
    font-weight: 700;
    color: var(--text-900);
}

.accordion-button:not(.collapsed) {
    color: var(--brand-900);
    background: rgba(36, 87, 141, 0.08);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.page-hero {
    padding: 3rem 0 2rem;
}

.article-page-hero {
    padding-bottom: 1.5rem;
}

.page-hero-inner,
.article-header-card {
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.breadcrumb {
    margin-bottom: 0.85rem;
    background: transparent;
}

.breadcrumb-item a {
    text-decoration: none;
    color: var(--text-500);
}

.breadcrumb-item.active {
    color: var(--brand-700);
}

.filter-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.filter-chip {
    padding: 0.55rem 0.9rem;
    background: var(--sand-100);
    color: var(--text-700);
    border: 1px solid transparent;
    font-size: 0.85rem;
}

.filter-chip.is-active,
.filter-chip:hover {
    background: var(--text-900);
    color: #fff;
}

.content-grid {
    display: grid;
    gap: 1.5rem;
}

.sidebar-card {
    padding: 1.25rem;
}

.sidebar-card h5,
.sidebar-card h2 {
    margin-bottom: 0.85rem;
}

.list-link-card {
    display: flex;
    gap: 0.85rem;
    padding: 0.75rem 0;
    text-decoration: none;
    border-top: 1px solid var(--border);
}

.list-link-card:first-of-type {
    border-top: none;
    padding-top: 0;
}

.list-link-card:last-of-type {
    padding-bottom: 0;
}

.thumb-compact {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    background: var(--sand-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.thumb-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-header-card .article-meta,
.author-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.1rem;
    color: var(--text-500);
}

.article-standfirst {
    max-width: 62ch;
    margin-bottom: 1.25rem;
    color: var(--text-700);
    font-size: 1.04rem;
    line-height: 1.8;
}

.article-stack,
.article-sidebar-stack {
    display: grid;
    gap: 1.5rem;
}

.article-figure {
    margin: 0;
}

.article-featured-media {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    background: var(--sand-100);
}

.article-caption {
    margin-top: 0.75rem;
    font-size: 0.88rem;
    line-height: 1.6;
}

.article-body-card,
.article-sidebar-card,
.article-support-card {
    background: #fff;
}

.article-body-card {
    padding: 1.75rem;
}

.article-content {
    font-size: 1rem;
    color: var(--text-900);
    line-height: 1.85;
}

.article-content > :first-child {
    margin-top: 0;
}

.article-content > :last-child {
    margin-bottom: 0;
}

.table-responsive,
.rich-text-content p,
.rich-text-content ul,
.rich-text-content ol,
.rich-text-content .table-responsive,
.rich-text-content blockquote {
    margin-bottom: 1.35rem;
}

.rich-text-content h1,
.rich-text-content h2,
.rich-text-content h3,
.rich-text-content h4,
.rich-text-content h5,
.rich-text-content h6 {
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    color: var(--brand-900);
    scroll-margin-top: 120px;
}

.rich-text-content ul,
.rich-text-content ol {
    padding-left: 1.25rem;
}

.rich-text-content blockquote {
    padding: 1.1rem 1.35rem;
    border-left: 3px solid var(--accent-500);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: rgba(79, 142, 247, 0.05);
    color: var(--brand-900);
}

.table-responsive,
.rich-text-content .table-responsive {
    border-radius: var(--radius-sm);
    box-shadow: inset 0 0 0 1px var(--border);
    background: #fff;
}

.rich-text-content .table-responsive > .table {
    margin-bottom: 0;
}

.rich-text-content table {
    width: 100%;
}

.rich-text-content table th,
.rich-text-content table td {
    border: 1px solid var(--border);
    padding: 0.75rem;
}

.rich-text-content table th {
    background: var(--sand-100);
}

.policy-meta-card,
.page-callout,
.contact-detail-item {
    display: flex;
}

.policy-meta-card {
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.policy-meta-label,
.page-callout-kicker {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--text-500);
}

.policy-meta-card strong {
    color: var(--brand-900);
    font-size: 1.1rem;
}

.policy-meta-card p {
    color: var(--text-700);
    font-size: 0.88rem;
}

.page-callout {
    align-items: flex-start;
    gap: 0.85rem;
}

.page-callout-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--brand-700);
    box-shadow: var(--shadow-xs);
    flex-shrink: 0;
}

.policy-fact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
}

.policy-fact-list li {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.policy-fact-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.policy-fact-list strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--brand-900);
}

.policy-fact-list span {
    color: var(--text-700);
}

.contact-detail-list {
    display: grid;
    gap: 0.85rem;
}

.contact-detail-item {
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-detail-item strong,
.contact-detail-item a,
.contact-detail-item span {
    display: block;
}

.contact-detail-item a,
.contact-detail-item span {
    color: var(--text-700);
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-xs);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sand-100);
    color: var(--brand-700);
    flex-shrink: 0;
}

.contact-detail-icon .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.contact-form-stack .form-label {
    font-weight: 600;
    color: var(--text-900);
}

.author-box {
    display: flex;
    gap: 1.1rem;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    background: var(--sand-100);
    border: 1px solid var(--border);
}

.author-box img,
.avatar-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.avatar-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-700);
    color: #fff;
}

.author-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.author-social a {
    color: var(--brand-700);
}

.share-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-xs);
}

.share-strip .btn {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.toc ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
    display: grid;
    gap: 0.55rem;
}

.toc a {
    display: inline-block;
    text-decoration: none;
    color: var(--text-700);
    line-height: 1.55;
}

.toc a:hover {
    color: var(--brand-700);
}

.author-hero {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.author-hero .avatar-circle,
.author-hero img {
    width: 96px;
    height: 96px;
}

.author-hero-copy p {
    color: var(--text-700);
}

.author-archive-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-archive-card .avatar-circle,
.author-archive-card img {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
}

.article-sticky-card {
    top: 110px;
}

.product-panel {
    padding: 1.35rem;
}

.product-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.product-badge,
.bank-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius-xs);
    font-size: 0.78rem;
    font-weight: 700;
}

.product-badge {
    background: rgba(79, 142, 247, 0.1);
    color: var(--brand-700);
}

.bank-badge {
    background: rgba(15, 123, 108, 0.1);
    color: var(--mint-500);
}

.quick-facts {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-tile {
    background: var(--sand-100);
}

.detail-tile .label {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-500);
    font-weight: 600;
}

.detail-tile .value {
    margin-top: 0.2rem;
    font-weight: 700;
    color: var(--text-900);
}

.detail-list dd,
.detail-list dt {
    margin: 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border);
}

.detail-row:first-child {
    border-top: none;
    padding-top: 0;
}

.lead-layout {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.lead-feature {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: var(--sand-100);
    border: 1px solid var(--border);
}

.lead-card {
    padding: 1.5rem;
}

.lead-feature h3,
.lead-card h3 {
    margin-bottom: 0.75rem;
}

.alert {
    border: none;
    border-radius: var(--radius-sm);
}

.compare-table-wrap {
    overflow: hidden;
    padding: 0;
}

.compare-table-wrap .table {
    margin-bottom: 0;
}

.compare-table-wrap thead th {
    background: var(--sand-100);
    color: var(--brand-900);
    border-bottom-width: 1px;
}

.compare-table-wrap td,
.compare-table-wrap th {
    padding: 0.85rem;
    vertical-align: middle;
}

.compare-table-wrap tbody tr:hover {
    background: var(--sand-100);
}

.footer {
    padding: 0 0 1.5rem;
    color: var(--text-700);
}

.footer-banner {
    margin-bottom: 2rem;
}

.footer-grid {
    padding-bottom: 1.75rem;
}

.footer h6 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-500);
    margin-bottom: 0.85rem;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-700);
}

.footer-links a:hover {
    color: var(--brand-900);
}

.footer-bottom {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.footer-note {
    margin-top: 0.85rem;
    margin-bottom: 1.5rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--sand-100);
    border: 1px solid var(--border);
}

.toast-notification {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 1080;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(16px);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    background: var(--mint-500);
}

/* ── Category product list rows ── */
.cat-product-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
}

.cat-product-row:first-of-type { border-top: none; padding-top: 0; }
.cat-product-row:last-of-type  { padding-bottom: 0; }

.cat-product-main { flex: 1; min-width: 0; }

.cat-product-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-top: 0.5rem;
}

.cat-fact {
    display: flex;
    flex-direction: column;
    min-width: 80px;
}

.cat-fact-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-500);
}

.cat-fact-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-900);
    margin-top: 0.1rem;
}

.cat-product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex-shrink: 0;
    align-items: stretch;
    min-width: 90px;
}

@media (max-width: 575.98px) {
    .cat-product-row { flex-direction: column; align-items: flex-start; }
    .cat-product-actions { flex-direction: row; min-width: unset; width: 100%; }
    .cat-product-actions .btn { flex: 1; }
    .cat-product-facts { gap: 0.4rem 1rem; }
}

.loan-guide-article {
    padding: 1.5rem;
}

.loan-guide-content > * + * {
    margin-top: 1rem;
}

.loan-guide-content h2,
.loan-guide-content h3 {
    color: var(--brand-900);
    margin-bottom: 0.3rem;
}

.loan-guide-content p {
    margin-bottom: 0;
    color: var(--text-700);
}

.loan-guide-section {
    padding-top: 0.5rem;
}

.loan-guide-note {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(79, 142, 247, 0.05);
    border: 1px solid var(--border);
    color: var(--brand-900);
}

.loan-guide-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.loan-guide-table {
    margin-bottom: 0;
    min-width: 620px;
}

.loan-guide-table thead th {
    background: var(--sand-100);
    color: var(--brand-900);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.loan-guide-table td,
.loan-guide-table th {
    padding: 0.8rem 0.9rem;
    vertical-align: top;
}

.loan-guide-table tbody tr:nth-child(even) {
    background: var(--sand-100);
}

.loan-guide-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.85rem;
}

.loan-guide-fact {
    padding: 0.8rem 0.9rem;
    border-radius: var(--radius-sm);
    background: rgba(79, 142, 247, 0.05);
    border: 1px solid var(--border);
    color: var(--brand-900);
    font-weight: 600;
    font-size: 0.9rem;
}

[data-reveal],
[data-reveal].is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    visibility: visible !important;
}

.cta-section-footer {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--sand-100);
    border: 1px solid var(--border);
    margin-bottom: 2.5rem;
}

.site-footer {
    padding: 0;
}

.site-footer .container {
    padding-top: 0;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 3.5rem;
    }

    .hero-stats,
    .quick-facts,
    .lead-layout,
    .loan-guide-facts {
        grid-template-columns: 1fr;
    }

    .ifsc-summary-grid,
    .creditemi-mini-grid,
    .ifsc-service-grid,
    .ifsc-breakdown,
    .ifsc-review-metrics,
    .ifsc-review-columns,
    .ifsc-rating-panel {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        margin-top: 0;
        padding-top: 1rem;
    }

    .author-hero,
    .author-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-actions {
        padding-top: 0.85rem;
    }

    .brand-wordmark {
        height: 42px;
        max-width: 220px;
    }
}

@media (max-width: 767.98px) {
    .topbar {
        text-align: center;
    }

    .page-hero,
    .section-shell {
        padding: 3rem 0;
    }

    .article-page-hero {
        padding: 2.25rem 0 1rem;
    }

    .page-hero-inner,
    .article-header-card,
    .surface-card,
    .lead-card,
    .sidebar-card {
        padding: 1.25rem;
    }

    .hero-section h1,
    .page-hero h1 {
        font-size: 1.875rem;  /* 30px */
    }

    .h1, h1 { font-size: 1.875rem; }   /* 30px */
    .h2, h2 { font-size: 1.5rem; }     /* 24px */
    .h3, h3 { font-size: 1.25rem; }    /* 20px */
    .h4, h4 { font-size: 1.0625rem; }  /* 17px */
    .h5, h5 { font-size: 1rem; }       /* 16px */
    .h6, h6 { font-size: 0.875rem; }   /* 14px */

    .rich-text-content h1 { font-size: 1.875rem; }
    .rich-text-content h2 { font-size: 1.5rem; }
    .rich-text-content h3 { font-size: 1.25rem; }
    .rich-text-content h4 { font-size: 1.0625rem; }
    .rich-text-content h5 { font-size: 1rem; }
    .rich-text-content h6 { font-size: 0.875rem; }
    .rich-text-content h6 { font-size: 12px; }

    .brand-wordmark {
        height: 38px;
        max-width: 190px;
    }

    .hero-actions,
    .share-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .article-stack,
    .article-sidebar-stack {
        gap: 1.25rem;
    }

    .article-body-card {
        padding: 1.25rem;
    }

    .article-featured-media {
        aspect-ratio: 5 / 3;
    }

    .article-sticky-card {
        top: auto;
    }

    .home-search-panel .btn,
    .ifsc-search-form .btn,
    .hero-actions .btn,
    .cta-card .btn {
        width: 100%;
    }

    .quick-facts,
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .page-callout {
        flex-direction: column;
    }

    .calc-summary {
        grid-template-columns: 1fr;
    }

    .result-card-head,
    .directory-card-top,
    .ifsc-code-banner,
    .ifsc-review-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .ifsc-review-badge {
        width: 100%;
        min-width: 0;
    }

    .ifsc-review-source-title,
    .ifsc-google-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .ifsc-google-actions {
        justify-content: flex-start;
    }

    .ifsc-public-review-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .ifsc-review-actions {
        justify-content: flex-start;
    }

    .article-card .card-image {
        min-height: 160px;
    }

    /* category / bank pages */
    .product-head { flex-direction: column; align-items: flex-start; }
    .bank-hero-header { flex-direction: column; align-items: flex-start !important; }
    .detail-row { flex-direction: column; gap: 0.15rem; }

    /* home search panel: stack input + button on very small screens */
    .home-search-panel .input-group { flex-direction: column; }
    .home-search-panel .form-control {
        border-radius: var(--radius-xs) !important;
        min-height: 52px;
    }
    .home-search-panel .btn {
        border-radius: var(--radius-xs) !important;
        min-width: unset;
    }

    /* compare table: allow horizontal scroll on small screens */
    .compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

    /* footer CTA section: stack buttons */
    .cta-section-footer .col-lg-4 { text-align: left !important; }

    /* section titles scale down */
    .section-title { font-size: 1.25rem; }  /* 20px — stays below mobile h1 */
}

/* Table Wrapper */
.table-responsive table thead th,
table thead th {
    color: #ffffff;
    background: #2d4a8a;
}

/* Hover Effect */
.table-responsive table tbody tr:hover {
    background-color: #dce6f7;
    transition: background-color 0.2s ease;
}

/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1050;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--brand-700);
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}
#scrollTopBtn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#scrollTopBtn:hover {
    background: var(--brand-900);
}
