/* ============================================================
   SERVICE PAGE STYLES — NRI Life Insurance
   Scoped to service landing pages; inherits variables from styles.css
   ============================================================ */

/* ---- Breadcrumb ---- */
.breadcrumb-nav {
    background: var(--navy-900, #0a1628);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 0.75rem 0;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}
.breadcrumb a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--gold-400, #d4af37); }
.breadcrumb [aria-current="page"] { color: var(--gold-400, #d4af37); font-weight: 600; }

/* ---- Service Page Hero ---- */
.sp-hero {
    position: relative;
    background: var(--navy-900, #0a1628);
    padding: 5rem 0 4rem;
    overflow: hidden;
    text-align: center;
}
.sp-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99,179,237,0.08) 0%, transparent 70%),
                radial-gradient(ellipse 60% 40% at 80% 100%, rgba(212,175,55,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.sp-hero-container {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
}
.sp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    padding: 0.4rem 1.1rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.sp-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.22;
    margin-bottom: 1.25rem;
}
.sp-hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 2rem;
}
.sp-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.sp-hero-trust {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

/* ---- Section wrapper ---- */
.sp-section { }

/* ---- 4-column reasons grid ---- */
.sp-reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.sp-reasons-grid--5 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.sp-reason-card {
    background: var(--surface, #fff);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    transition: transform 0.25s, box-shadow 0.25s;
}
.sp-reason-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.09);
}
.sp-reason-icon {
    font-size: 2rem;
    margin-bottom: 0.9rem;
    display: block;
}
.sp-reason-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--navy-900, #0a1628);
}
.sp-reason-card p {
    font-size: 0.9rem;
    color: var(--text-secondary, #4a5568);
    line-height: 1.65;
    margin: 0;
}

/* ---- Tables ---- */
.sp-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    margin-top: 2rem;
}
.sp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.sp-table thead {
    background: var(--navy-900, #0a1628);
    color: #fff;
}
.sp-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}
.sp-table td {
    padding: 0.95rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    color: var(--text-primary, #1a202c);
    vertical-align: top;
}
.sp-table tbody tr:last-child td { border-bottom: none; }
.sp-table tbody tr:nth-child(even) { background: rgba(0,0,0,0.02); }
.sp-table--eligibility td:first-child { white-space: nowrap; }
.sp-table-note {
    font-size: 0.82rem;
    color: var(--text-secondary, #4a5568);
    margin-top: 0.85rem;
}
.sp-inline-link {
    color: var(--gold-600, #b7860c);
    font-weight: 600;
    text-decoration: none;
}
.sp-inline-link:hover { text-decoration: underline; }

/* ---- Two-column layout ---- */
.sp-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 860px) {
    .sp-two-col { grid-template-columns: 1fr; gap: 2rem; }
}
.sp-text-col h2 { margin-bottom: 1rem; }
.sp-text-col p { color: var(--text-secondary, #4a5568); line-height: 1.7; margin-bottom: 1.25rem; }

/* ---- Info blocks (NRE/NRO) ---- */
.sp-info-block {
    border-left: 4px solid;
    border-radius: 0 10px 10px 0;
    padding: 1.1rem 1.4rem;
    margin-bottom: 1.25rem;
    background: rgba(0,0,0,0.02);
}
.sp-info-block--teal { border-color: #319795; }
.sp-info-block--gold { border-color: var(--gold-400, #d4af37); }
.sp-info-block h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--navy-900, #0a1628); }
.sp-info-block p { font-size: 0.88rem; color: var(--text-secondary, #4a5568); line-height: 1.65; margin: 0; }

/* ---- Card stack (NRE/NRO visual) ---- */
.sp-card-stack { display: flex; flex-direction: column; gap: 1rem; }
.sp-feature-card {
    background: var(--navy-900, #0a1628);
    color: #fff;
    border-radius: 14px;
    padding: 1.4rem 1.5rem;
}
.sp-feature-icon { font-size: 1.5rem; margin-bottom: 0.6rem; display: block; }
.sp-feature-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.6rem; }
.sp-feature-card ul { list-style: none; padding: 0; margin: 0; }
.sp-feature-card li {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.72);
    padding: 0.25rem 0;
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.5;
}
.sp-feature-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #68d391;
    font-size: 0.78rem;
    top: 0.28rem;
}

/* ---- Tax cards ---- */
.sp-tax-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}
@media (max-width: 700px) { .sp-tax-grid { grid-template-columns: 1fr; } }
.sp-tax-card {
    border-radius: 16px;
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
}
.sp-tax-card--primary {
    background: var(--navy-900, #0a1628);
    color: #fff;
}
.sp-tax-card--gold {
    background: linear-gradient(135deg, #7b4f00 0%, #b7860c 100%);
    color: #fff;
}
.sp-tax-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 0.25rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}
.sp-tax-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.sp-tax-amount { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; line-height: 1; margin-bottom: 0.3rem; }
.sp-tax-desc { font-size: 0.83rem; opacity: 0.75; margin-bottom: 1.2rem; }
.sp-tax-list { list-style: none; padding: 0; margin: 0; }
.sp-tax-list li {
    font-size: 0.85rem;
    opacity: 0.85;
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.55;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sp-tax-list li:last-child { border-bottom: none; }
.sp-tax-list li::before { content: "→"; position: absolute; left: 0; opacity: 0.6; }

/* ---- Disclaimer box ---- */
.sp-disclaimer-box {
    background: rgba(255,193,7,0.08);
    border: 1px solid rgba(255,193,7,0.25);
    border-radius: 10px;
    padding: 1.1rem 1.4rem;
    margin-top: 2rem;
    font-size: 0.82rem;
    color: var(--text-secondary, #4a5568);
    line-height: 1.65;
}
.sp-disclaimer-box--small { margin-top: 2.5rem; }
.sp-disclaimer-box p { margin: 0; }

/* ---- Documentation grid ---- */
.sp-docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.sp-doc-group {
    background: var(--surface, #fff);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 14px;
    padding: 1.5rem 1.4rem;
}
.sp-doc-group h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.85rem; color: var(--navy-900, #0a1628); }
.sp-doc-group ul { list-style: none; padding: 0; margin: 0; }
.sp-doc-group li {
    font-size: 0.85rem;
    color: var(--text-secondary, #4a5568);
    padding: 0.3rem 0;
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.55;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.sp-doc-group li:last-child { border-bottom: none; }
.sp-doc-group li::before { content: "•"; position: absolute; left: 0; color: var(--gold-500, #c9a227); font-size: 0.9rem; }

/* ---- Assist note ---- */
.sp-assist-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(49,151,149,0.07);
    border: 1px solid rgba(49,151,149,0.2);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
}
.sp-assist-icon { font-size: 1.5rem; flex-shrink: 0; }
.sp-assist-note p { margin: 0; font-size: 0.9rem; color: var(--text-secondary, #4a5568); line-height: 1.65; }

/* ---- Related services ---- */
.sp-related { background: var(--navy-900, #0a1628); }
.sp-related .section-label { color: rgba(255,255,255,0.5); }
.sp-related h2 { color: #fff; }
.sp-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.sp-related-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
    display: block;
}
.sp-related-card:hover {
    background: rgba(255,255,255,0.09);
    border-color: var(--gold-400, #d4af37);
    transform: translateY(-3px);
}
.sp-related-icon { font-size: 2rem; display: block; margin-bottom: 0.85rem; }
.sp-related-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.6rem; }
.sp-related-card p { font-size: 0.87rem; color: rgba(255,255,255,0.6); line-height: 1.65; margin-bottom: 1rem; }
.sp-related-link { font-size: 0.82rem; font-weight: 600; color: var(--gold-400, #d4af37); }

/* ---- CTA block ---- */
.sp-cta-block {
    position: relative;
    background: linear-gradient(135deg, #0a1628 0%, #0d2044 60%, #162a4a 100%);
    padding: 5rem 0;
    text-align: center;
    overflow: hidden;
}
.sp-cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(212,175,55,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.sp-cta-container { position: relative; z-index: 1; max-width: 660px; margin: 0 auto; }
.sp-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    padding: 0.4rem 1.1rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.sp-cta-block h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}
.sp-cta-block p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
}
.sp-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}
.btn--large { padding: 0.9rem 2.2rem; font-size: 1rem; }
.sp-cta-details {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.83rem;
    color: rgba(255,255,255,0.5);
}
.sp-cta-details a { color: rgba(255,255,255,0.65); text-decoration: none; }
.sp-cta-details a:hover { color: var(--gold-400, #d4af37); }

/* ---- Responsive tweaks ---- */
@media (max-width: 600px) {
    .sp-hero { padding: 3.5rem 0 3rem; }
    .sp-hero h1 { font-size: 1.7rem; }
    .sp-hero-sub { font-size: 0.95rem; }
    .sp-hero-trust { flex-direction: column; align-items: center; gap: 0.5rem; }
    .sp-table th, .sp-table td { padding: 0.75rem 0.9rem; font-size: 0.82rem; }
    .sp-cta-block { padding: 3.5rem 0; }
}
