/* ==========================================================================
   BONDS & FIXED INCOME (DBOND) — STYLESHEET
   Matches dhanvesttorwebsite.vercel.app/bonds reference design
   ========================================================================== */

/* 1. Page Wrap */
.bonds-page {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--color-ivory, #fbf7f0);
    color: var(--color-ink, #1d1b3a);
}

/* 2. Hero Section */
.bonds-hero {
    background-color: var(--color-ivory, #fbf7f0);
    border-bottom: 1px solid var(--color-line, rgba(29, 27, 58, 0.12));
    padding: 70px 0 80px;
    position: relative;
}
@media (min-width: 1024px) {
    .bonds-hero {
        padding: 90px 0 100px;
    }
}

.bonds-hero-grid {
    display: grid;
    gap: 48px;
    align-items: center;
}
@media (min-width: 1024px) {
    .bonds-hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 64px;
    }
}

.bonds-hero-title {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: clamp(2.5rem, 4.2vw, 4rem);
    font-weight: 500;
    line-height: 1.08;
    color: var(--color-indigo, #2e2a6e);
    letter-spacing: -0.02em;
    margin: 16px 0 20px;
}
.bonds-hero-title em {
    color: var(--color-raspberry, #de4d7a);
    font-style: italic;
    font-weight: 500;
}

.bonds-hero-lede {
    font-size: clamp(1.1rem, 1.25vw, 1.25rem);
    line-height: 1.65;
    color: #3f3d5c;
    max-width: 56ch;
    margin-bottom: 32px;
}

.bonds-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

.bonds-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    border-top: 1px solid var(--color-line, rgba(29, 27, 58, 0.12));
    padding-top: 24px;
}
.bonds-hero-trust span {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-mist, #6e6c86);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.bonds-hero-trust span::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-raspberry, #de4d7a);
}

.bonds-hero-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(29, 27, 58, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.8);
    aspect-ratio: 4/5;
    max-height: 520px;
    background: #e9dcc7;
}
.bonds-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.bonds-hero-visual:hover img {
    transform: scale(1.03);
}

/* 3. Section Scaffold */
.bonds-section {
    padding: 80px 0;
    position: relative;
}
@media (min-width: 1024px) {
    .bonds-section {
        padding: 100px 0;
    }
}
.bonds-section-paper {
    background-color: var(--color-paper, #f4ede1);
}
.bonds-section-sand {
    background-color: var(--color-sand, #e9dcc7);
}
.bonds-section-ivory {
    background-color: var(--color-ivory, #fbf7f0);
}

.bonds-head-split {
    display: grid;
    gap: 24px;
    margin-bottom: 48px;
}
@media (min-width: 1024px) {
    .bonds-head-split {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: flex-end;
        gap: 60px;
    }
}

.bonds-section-title {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: clamp(2rem, 3.2vw, 2.85rem);
    line-height: 1.15;
    color: var(--color-indigo, #2e2a6e);
    margin: 8px 0 0;
}
.bonds-section-title em {
    color: var(--color-raspberry, #de4d7a);
    font-style: italic;
    font-weight: 500;
}
.bonds-section-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #3f3d5c;
    margin: 0;
}

/* 4. Three Ways to Earn Interest (Service Grid) */
.bonds-service-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .bonds-service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bonds-service-card {
    background: #ffffff;
    border: 1px solid var(--color-line, rgba(29, 27, 58, 0.12));
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 20px rgba(29, 27, 58, 0.03);
}
.bonds-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(46, 42, 110, 0.3);
    box-shadow: 0 16px 36px -10px rgba(29, 27, 58, 0.1);
}
.bonds-service-card .bonds-card-num {
    font-family: var(--font-headline-number, "DM Serif Display", serif);
    font-size: 1.35rem;
    color: var(--color-raspberry, #de4d7a);
    display: block;
    margin-bottom: 16px;
}
.bonds-service-card h3 {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-indigo, #2e2a6e);
    margin: 0 0 12px;
    transition: color 0.3s ease;
}
.bonds-service-card:hover h3 {
    color: var(--color-raspberry, #de4d7a);
}
.bonds-service-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #3f3d5c;
    margin: 0;
}
.bonds-service-card .bonds-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-mist, #6e6c86);
}
.bonds-service-card .bonds-card-footer span.arrow {
    transition: transform 0.3s ease;
    font-size: 16px;
}
.bonds-service-card:hover .bonds-card-footer span.arrow {
    transform: translateX(4px);
    color: var(--color-raspberry, #de4d7a);
}

/* 5. Fixed-Income Comparison Table */
.bonds-table-card {
    background: #ffffff;
    border: 1px solid var(--color-line, rgba(29, 27, 58, 0.12));
    border-radius: 20px;
    overflow-x: auto;
    box-shadow: 0 6px 24px rgba(29, 27, 58, 0.04);
}
.bonds-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 15px;
    text-align: left;
}
.bonds-table thead tr {
    background: rgba(244, 237, 225, 0.7);
    border-bottom: 1px solid var(--color-line, rgba(29, 27, 58, 0.12));
}
.bonds-table thead th {
    padding: 16px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-mist, #6e6c86);
}
.bonds-table tbody tr {
    border-bottom: 1px solid var(--color-line, rgba(29, 27, 58, 0.08));
    transition: background-color 0.2s ease;
}
.bonds-table tbody tr:last-child {
    border-bottom: none;
}
.bonds-table tbody tr:hover {
    background-color: rgba(251, 247, 240, 0.5);
}
.bonds-table tbody td {
    padding: 18px 20px;
    vertical-align: top;
    color: #3f3d5c;
    line-height: 1.5;
}
.bonds-table tbody td.bonds-col-factor {
    font-family: var(--font-body, 'Gotham', sans-serif);
    font-weight: 600;
    color: var(--color-indigo, #2e2a6e);
    white-space: nowrap;
}

/* 6. In-Depth Instrument Blocks */
.bonds-detail-block {
    border-top: 1px solid var(--color-line, rgba(29, 27, 58, 0.12));
    padding-top: 60px;
    margin-top: 60px;
}
.bonds-detail-block:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.bonds-items-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
    margin-top: 36px;
}
@media (min-width: 640px) {
    .bonds-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .bonds-items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bonds-item-box {
    border-top: 1px solid var(--color-line, rgba(29, 27, 58, 0.15));
    padding-top: 20px;
}
.bonds-item-box h4 {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-indigo, #2e2a6e);
    margin: 0 0 8px;
}
.bonds-item-box p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #3f3d5c;
    margin: 0;
}

/* Risks Callout Box (Glassmorphic) */
.bonds-risks-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--color-line, rgba(29, 27, 58, 0.12));
    border-radius: 20px;
    padding: 36px 32px;
    margin-top: 40px;
    box-shadow: 0 10px 30px -10px rgba(29, 27, 58, 0.05);
}
.bonds-risks-box h3 {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: 1.65rem;
    font-weight: 500;
    color: var(--color-indigo, #2e2a6e);
    margin: 0 0 20px;
}
.bonds-risks-box h3 em {
    color: var(--color-raspberry, #de4d7a);
    font-style: italic;
}
.bonds-risks-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}
.bonds-risks-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #3f3d5c;
    line-height: 1.5;
}
.bonds-risks-list li span.dash {
    color: var(--color-raspberry, #de4d7a);
    font-weight: 700;
}
