/* ==========================================================================
   MATKA RESULT API — Frontend stylesheet
   ==========================================================================
   1. Design tokens & utility classes (common)
   2. Base layout & components (common)
   3. Home page sections
   4. Navbar, footer, float rail (common)
   5. Inner pages — about, contact, faq, service, blog, legal
   ========================================================================== */

/* ---------- 1. Design tokens (common) ---------- */
:root {
    /* Brand accent — matches admin panel maroon */
    --mdk-color-accent: #8f1d2f;
    --mdk-color-accent-hover: #6b1523;
    --mdk-color-accent-light: #a82d42;
    --mdk-color-accent-soft: #fdf2f4;
    --mdk-color-accent-glow: rgba(143, 29, 47, 0.18);
    --mdk-color-accent-border: rgba(143, 29, 47, 0.28);

    /* Light surfaces & text (admin panel palette) */
    --mdk-bg: #f5f3f4;
    --mdk-surface: #faf8f9;
    --mdk-card: #ffffff;
    --mdk-text: #64748b;
    --mdk-heading: #0f172a;
    --mdk-border: #e8e4e6;

    /* Legacy aliases — use --mdk-color-accent in new code */
    --site-accent: var(--mdk-color-accent);
    --site-accent-hover: var(--mdk-color-accent-hover);
    --site-accent-light: var(--mdk-color-accent-light);
    --site-accent-soft: var(--mdk-color-accent-soft);
    --site-accent-glow: var(--mdk-color-accent-glow);
    --mdk-orange: var(--mdk-color-accent);
    --mdk-gold: var(--mdk-color-accent-light);
    --mdk-accent: var(--mdk-color-accent);
    --primary-color: var(--mdk-color-accent);
    --accent-color: var(--mdk-color-accent);

    --mdk-accent-green: #22c55e;
    --gradient-btn: linear-gradient(135deg, var(--mdk-color-accent), var(--mdk-color-accent-hover));
    --mdk-btn-primary-grad: linear-gradient(135deg, var(--mdk-color-accent), var(--mdk-color-accent-hover));
    --mdk-btn-shadow: 0 4px 15px var(--mdk-color-accent-glow);
    --mdk-btn-shadow-hover: 0 8px 22px rgba(143, 29, 47, 0.32);
    --mdk-btn-pad-y: 12px;
    --mdk-btn-pad-x: 30px;
    --mdk-btn-radius: 10px;
    --gradient-border: linear-gradient(135deg, var(--mdk-color-accent), var(--mdk-color-accent-hover));
    --secondary-color: #ffffff;
    --text-color: var(--mdk-text);
    --bg-light: var(--mdk-surface);
    --bg-soft: var(--mdk-card);
    --white: #ffffff;
    --radius: 16px;
    --shadow-soft: 0 10px 32px rgba(15, 23, 42, 0.08), 0 2px 10px rgba(143, 29, 47, 0.06);
    --transition-theme: 0.25s ease;
    --mdk-surface-bg: var(--mdk-card);
    --mdk-surface-gradient: linear-gradient(135deg, var(--mdk-color-accent-soft), transparent);
    --mdk-surface-pattern: radial-gradient(circle at 10% 20%, rgba(143, 29, 47, 0.05) 0%, transparent 50%);
    --mdk-surface-border: 1px solid var(--mdk-border);
    --mdk-surface-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    --mdk-surface-glow: 0 10px 32px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(143, 29, 47, 0.06);
    --mdk-surface-pad: 24px;
    --mdk-surface-radius: 16px;
    --mdk-surface-transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
    --mdk-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bs-font-sans-serif: var(--mdk-font-sans);
    --mdk-hero-bg: linear-gradient(180deg, #faf8f9 0%, #fdf2f4 48%, var(--mdk-bg) 100%);
    --mdk-title-grad: linear-gradient(135deg, var(--mdk-color-accent), var(--mdk-color-accent-light));
    --mdk-accent-line: linear-gradient(90deg, var(--mdk-color-accent), var(--mdk-color-accent-light));
    --mdk-card-fill: linear-gradient(135deg, var(--mdk-card), var(--mdk-surface));
    --mdk-card-border-hover: linear-gradient(135deg, var(--mdk-color-accent), var(--mdk-color-accent-hover));
    --mdk-black: var(--mdk-heading);
}

/* ---------- Utility classes (common) ---------- */
.mdk-text-muted { color: var(--mdk-text); }
.mdk-text-heading { color: var(--mdk-heading); }
.mdk-text-accent { color: var(--mdk-color-accent-light); }
.mdk-bg-page { background: var(--mdk-bg); }
.mdk-bg-surface { background: var(--mdk-surface); }
.mdk-border { border-color: var(--mdk-border); }
.ids-accent,
.mdk-accent { color: var(--mdk-color-accent); }

/* ---------- 2. Base layout (common) ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* —— Breadcrumb (site-wide) —— */
.breadcrumb-bar {
    margin-bottom: 0.25rem;
}

.breadcrumb-bar-track {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0.55rem 1rem 0.55rem 0.85rem;
    background: linear-gradient(var(--mdk-card), var(--mdk-card)) padding-box, var(--gradient-border) border-box;
    border: 1px solid transparent;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.breadcrumb-bar-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 0.15rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-bar-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--mdk-text);
}

.breadcrumb-bar-item:not(:last-child)::after {
    content: "";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    margin-left: 0.15rem;
    margin-right: 0.05rem;
    font-size: 0.65rem;
    color: #64748b;
    background: rgba(15, 28, 79, 0.06);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.breadcrumb-bar-link {
    color: var(--mdk-orange);
    text-decoration: none;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    margin: 0 -0.15rem;
    transition: color 0.2s ease, background 0.2s ease;
}

.breadcrumb-bar-link:hover {
    color: var(--mdk-gold);
    background: rgba(143, 29, 47, 0.15);
}

.breadcrumb-bar-home-icon {
    font-size: 0.95rem;
    vertical-align: -0.1em;
    margin-right: 0.15rem;
    color: var(--primary-color);
}

.breadcrumb-bar-item.is-current .breadcrumb-bar-current {
    color: var(--mdk-heading);
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    background: rgba(143, 29, 47, 0.12);
    border-radius: 999px;
    border: 1px solid rgba(143, 29, 47, 0.25);
    max-width: min(100vw - 8rem, 28rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 575.98px) {
    .breadcrumb-bar-track {
        padding: 0.5rem 0.75rem 0.5rem 0.65rem;
        border-radius: 14px;
        width: 100%;
    }

    .breadcrumb-bar-item.is-current .breadcrumb-bar-current {
        max-width: min(100vw - 5rem, 100%);
        white-space: normal;
        line-height: 1.35;
    }
}

html {
    overflow-x: clip;
    max-width: 100%;
}

body {
    font-family: var(--mdk-font-sans);
    background: var(--mdk-bg);
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    max-width: 100%;
    --bs-body-bg: #f5f3f4;
    --bs-body-color: #64748b;
    --bs-secondary-color: #64748b;
    --bs-tertiary-color: #64748b;
    --bs-heading-color: #0f172a;
    --bs-border-color: #e8e4e6;
    --bs-link-color: #8f1d2f;
    --bs-link-hover-color: #6b1523;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--mdk-font-sans);
    color: var(--mdk-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

:is(a, button, .btn, .card, .form-control, .form-select, .nav-link, .accordion-button, .pagination .page-link, .badge, .dropdown-item, .footer-link, .mdk-footer-link) {
    transition: color var(--transition-theme), background-color var(--transition-theme), border-color var(--transition-theme), box-shadow var(--transition-theme), transform var(--transition-theme), opacity var(--transition-theme), filter var(--transition-theme);
}

a {
    color: var(--mdk-orange);
}

a:hover {
    color: var(--mdk-gold);
}

.topbar {
    background: #0f172a;
    color: #64748b;
}

.nav-cta {
    margin-left: 0.6rem;
}

.section-space {
    padding: 88px 0;
}

.hero {
    background: linear-gradient(140deg, #fdf7f4 0%, #f9fafb 52%, #eef3ff 100%);
    /* padding: 30px 0 70px; */
}

.hero.hero--techvio {
    background: transparent;
    position: relative;
    overflow: hidden;
    margin-top: -4.5rem;
    padding-top: 5.25rem;
    padding-bottom: 0;
    font-family: var(--mdk-font-sans);
}

.hero--techvio__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(165deg, #f5f3f4 0%, #2a0a12 42%, #8f1d2f 92%);
}

.hero--techvio__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.55;
    pointer-events: none;
}

.hero--techvio__bg::after {
    content: "+ × ○ +";
    position: absolute;
    font-size: 0.65rem;
    letter-spacing: 2.5rem;
    color: rgba(255, 255, 255, 0.06);
    top: 18%;
    right: 8%;
    transform: rotate(-12deg);
    pointer-events: none;
    white-space: nowrap;
}

.hero--techvio .container {
    position: relative;
    z-index: 1;
}

.hero--techvio__row {
    min-height: min(78vh, 560px);
    align-items: center !important;
}

.hero-caption--techvio .hero-title--techvio,
.hero-caption--techvio .hero-subtitle--techvio {
    color: #fff;
}

.hero-caption--techvio .hero-title--techvio {
    font-size: clamp(1.85rem, 4.2vw, 3.15rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.hero-caption--techvio .hero-subtitle--techvio {
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 34rem;
    margin: 1.15rem 0 1.75rem;
    color: rgba(255, 255, 255, 0.88);
}

.hero-caption--techvio .hero-subtitle--techvio strong {
    color: #fff;
    font-weight: 700;
}

.hero-social__link {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.05rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-social__link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #fff !important;
}

.hero-cta-techvio .btn-hero-techvio-light {
    background: #fff !important;
    color: #8f1d2f !important;
    border: 1px solid #fff !important;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.72rem 1.35rem !important;
}

.hero-cta-techvio .btn-hero-techvio-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    color: #6b1523 !important;
}

.hero-cta-techvio .btn-hero-techvio-gradient {
    background: linear-gradient(135deg, #8f1d2f 0%, #6b1523 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.72rem 1.35rem !important;
    box-shadow: 0 10px 26px rgba(143, 29, 47, 0.35);
}

.hero-cta-techvio .btn-hero-techvio-gradient:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    color: #fff !important;
    box-shadow: 0 14px 32px rgba(110, 65, 226, 0.42);
}

.hero-visual-techvio {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0 1.5rem;
}

.hero-visual-techvio__frame {
    width: 100%;
    max-width: 440px;
    padding: 1rem;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.hero-visual-techvio__svg {
    width: 100%;
    height: auto;
    display: block;
}

.hero--techvio__wave {
    position: relative;
    z-index: 2;
    line-height: 0;
    margin-top: 0.5rem;
}

.hero--techvio__wave svg {
    display: block;
    width: 100%;
    height: clamp(52px, 9vw, 96px);
}

.hero-banner {
    background-image: url('../images/home2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* border-radius: 20px; */
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,28,79,0.35), rgba(15,28,79,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.hero-caption {
    max-width: 780px;
}

.hero-caption .hero-title,
.hero-caption .hero-subtitle {
    color: #fff;
}

.inner-hero {
    position: relative;
    overflow: hidden;
    background: var(--mdk-hero-bg);
    color: #f8fafc;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.35rem);
    color: var(--mdk-heading);
}

.inner-hero .hero-title {
    color: #ffffff !important;
}

.inner-hero .hero-subtitle {
    color: rgba(248, 250, 252, 0.9) !important;
}

.inner-hero .hero-subtitle strong {
    color: #fff !important;
}

.inner-hero figcaption,
.inner-hero .text-muted {
    color: rgba(226, 232, 240, 0.72) !important;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin: 1rem 0 2rem;
    max-width: 620px;
    color: var(--mdk-text);
}

.hero-subtitle strong {
    color: #e5e5e5;
}

.hero-art {
    min-height: 320px;
    border-radius: 20px;
    background: linear-gradient(145deg, #233a8b, #0f172a);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.hero-art::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-art-sm {
    min-height: 240px;
}

.page-hero-image {
    width: 100%;
    min-height: 240px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

/* —— Sitewide CTA / submit: primary & secondary pills —— */
.btn-brand,
a.btn-brand,
button.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: var(--mdk-btn-primary-grad);
    color: #0a0a0a !important;
    border: none;
    border-radius: var(--mdk-btn-radius);
    padding: var(--mdk-btn-pad-y) var(--mdk-btn-pad-x);
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: var(--mdk-btn-shadow);
    text-decoration: none;
    line-height: 1.25;
    vertical-align: middle;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.btn-brand:hover,
a.btn-brand:hover,
button.btn-brand:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: var(--mdk-btn-shadow-hover);
    color: #0a0a0a !important;
}

.btn-brand:focus-visible {
    outline: 2px solid #a82d42;
    outline-offset: 3px;
}

.btn-brand:active {
    transform: scale(1.02);
}

.btn-brand:disabled,
.btn-brand.disabled {
    opacity: 0.65;
    pointer-events: none;
    transform: none;
    filter: none;
    box-shadow: 0 2px 10px rgba(143, 29, 47, 0.15);
}

.btn-brand-outline,
a.btn-brand-outline,
button.btn-brand-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: transparent;
    color: #8f1d2f !important;
    border: 2px solid #8f1d2f;
    border-radius: var(--mdk-btn-radius);
    padding: var(--mdk-btn-pad-y) var(--mdk-btn-pad-x);
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: none;
    text-decoration: none;
    line-height: 1.25;
    vertical-align: middle;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn-brand-outline:hover,
a.btn-brand-outline:hover,
button.btn-brand-outline:hover {
    background: #8f1d2f !important;
    color: #ffffff !important;
    border-color: #8f1d2f !important;
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: var(--mdk-btn-shadow-hover);
}

.btn-brand-outline:focus-visible {
    outline: 2px solid #a82d42;
    outline-offset: 3px;
}

.btn-brand-outline:active {
    transform: scale(1.02);
}

.btn.btn-brand.btn-sm,
.btn.btn-brand-outline.btn-sm {
    padding: 10px 22px;
    font-size: 0.875rem;
}

/* Bootstrap outline aliases → Matka secondary pill */
.btn.btn-outline-primary:not(.accordion-button),
.btn.btn-outline-secondary:not(.accordion-button):not(.disabled) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: transparent !important;
    color: #8f1d2f !important;
    border: 2px solid #8f1d2f !important;
    border-radius: var(--mdk-btn-radius) !important;
    padding: var(--mdk-btn-pad-y) var(--mdk-btn-pad-x) !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    box-shadow: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn.btn-outline-primary:not(.accordion-button):hover,
.btn.btn-outline-secondary:not(.accordion-button):not(.disabled):hover {
    background: #8f1d2f !important;
    color: #ffffff !important;
    border-color: #8f1d2f !important;
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: var(--mdk-btn-shadow-hover);
}

.btn.btn-outline-primary.btn-sm:not(.accordion-button),
.btn.btn-outline-secondary.btn-sm:not(.accordion-button):not(.disabled) {
    padding: 10px 22px !important;
    font-size: 0.875rem;
}

.trust-strip {
    background: var(--mdk-card);
    border-top: 1px solid rgba(143, 29, 47, 0.18);
    border-bottom: 1px solid rgba(143, 29, 47, 0.18);
    margin-bottom: 8px;
}

.trust-item {
    font-weight: 600;
    color: var(--mdk-text);
}

.feature-card,
.blog-card,
.content-panel {
    background: linear-gradient(var(--mdk-card), var(--mdk-card)) padding-box, var(--gradient-border) border-box;
    border: 1px solid transparent;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    color: var(--text-color);
}

.feature-card {
    padding: 1.5rem;
    height: 100%;
    border-bottom-width: 2px;
}

.feature-card:hover,
.blog-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(143, 29, 47, 0.15);
    color: var(--primary-color);
    margin-bottom: 0.85rem;
}

.blog-card {
    overflow: hidden;
    height: 100%;
    border-radius: 16px;
    position: relative;
}

.blog-card-image {
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-body {
    padding: 1.35rem;
}

.blog-card-date {
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4f46e5;
    margin-bottom: 0.45rem;
}

.blog-card-body h2,
.blog-card-body h3 {
    margin-bottom: 0.7rem;
}

.blog-card-body p {
    color: #64748b;
    margin-bottom: 1.1rem;
}

.blog-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #2f4394;
    color: #fff;
    border-radius: 4px;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
}

.blog-location {
    color: #6b7280;
    font-size: 0.92rem;
    margin-bottom: 0.7rem;
}

.blog-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.9rem;
    font-size: 0.88rem;
    color: #6b7280;
    border-top: 1px solid #eceff4;
    border-bottom: 1px solid #eceff4;
    padding: 0.8rem 0;
    margin-bottom: 0.85rem;
}

.blog-meta-grid i {
    margin-right: 0.3rem;
}

.blog-card-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: var(--mdk-btn-pad-y) var(--mdk-btn-pad-x);
    border-radius: var(--mdk-btn-radius);
    border: 2px solid #8f1d2f;
    background: transparent;
    color: #8f1d2f !important;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.blog-read-link i {
    font-size: 1.15rem;
    vertical-align: -2px;
}

.blog-read-link:hover {
    background: #8f1d2f !important;
    color: #ffffff !important;
    border-color: #8f1d2f !important;
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: var(--mdk-btn-shadow-hover);
}

.badge-soft {
    background: rgba(239, 139, 58, 0.16);
    color: #b45309;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.22rem 0.62rem;
}

.about-image {
    width: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.content-panel {
    padding: 2rem;
}

.cta-card {
    background: linear-gradient(130deg, #0f172a, #233a8b);
    color: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 2.4rem;
    text-align: center;
}

.cta-card h2,
.cta-card p {
    color: #fff;
}

.service-form-panel {
    background: linear-gradient(var(--mdk-card), var(--mdk-card)) padding-box, var(--gradient-border) border-box;
    border: 1px solid transparent;
    color: var(--mdk-text);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.service-highlight {
    background: linear-gradient(var(--mdk-card), var(--mdk-card)) padding-box, var(--gradient-border) border-box;
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    color: var(--mdk-text);
}

.service-media-wrap {
    position: relative;
}

.service-main-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
}

.service-float-img {
    position: absolute;
    left: -30px;
    bottom: 22px;
    width: 210px;
    height: 145px;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid var(--mdk-card);
    box-shadow: var(--shadow-soft);
}

.section-kicker {
    display: inline-block;
    color: var(--mdk-orange);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.service-checks span i,
.service-checks li i {
    color: var(--accent-color);
    margin-right: 0.35rem;
}

.service-form-panel h2,
.service-form-panel p,
.service-form-panel .form-label {
    color: var(--mdk-text);
}

.service-form-panel h2 {
    color: var(--mdk-heading);
}

.form-card {
    max-width: 760px;
    margin: 0 auto;
}

.contact-help-card {
    background: linear-gradient(var(--mdk-card), var(--mdk-card)) padding-box, var(--gradient-border) border-box;
    border: 1px solid transparent;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 1.35rem;
    height: 100%;
}

.contact-help-card h3 {
    color: var(--mdk-heading);
    margin-bottom: 0.7rem;
}

.contact-help-card p {
    color: var(--mdk-text);
}

.form-control,
.form-select {
    border-radius: 12px;
    border: 1px solid rgba(143, 29, 47, 0.28);
    padding: 0.75rem 0.9rem;
    background: #141414;
    color: #ffffff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--mdk-orange);
    box-shadow: 0 0 0 0.25rem rgba(143, 29, 47, 0.2);
    background: #141414;
    color: #ffffff;
}

.faq-accordion .accordion-item {
    background: linear-gradient(var(--mdk-card), var(--mdk-card)) padding-box, var(--gradient-border) border-box;
    border: 1px solid transparent;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 0.85rem;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--mdk-heading);
    background: var(--mdk-card);
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(143, 29, 47, 0.12);
    color: var(--mdk-orange);
    box-shadow: none;
}

.faq-page-hero .faq-search-wrap {
    position: relative;
    max-width: 560px;
}

.faq-page-hero .faq-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    z-index: 1;
}

.faq-page-hero .faq-search-input {
    padding-left: 2.85rem;
    border-radius: 14px;
    border: 1px solid #d6deeb;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.faq-group-title {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(79, 70, 229, 0.25);
}

.faq-accordion-header {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    margin: 0;
}

.faq-accordion-header .accordion-button {
    flex: 1 1 auto;
    text-align: left;
    border-radius: 0;
}

.faq-accordion-header .faq-q-label {
    display: block;
    padding-right: 0.5rem;
}

.faq-copy-btn {
    flex: 0 0 auto;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 1rem;
    margin: 0;
    border: none;
    border-left: 1px solid rgba(143, 29, 47, 0.22);
    border-radius: 0;
    background: transparent;
    color: #8f1d2f !important;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-copy-btn:hover {
    background: #8f1d2f !important;
    color: #ffffff !important;
    transform: scale(1.03);
    box-shadow: var(--mdk-btn-shadow-hover);
    filter: brightness(1.05);
}

.faq-copy-btn.is-copied {
    background: rgba(96, 165, 250, 0.18) !important;
    color: var(--mdk-gold) !important;
}

.faq-copy-btn:focus-visible {
    outline: 2px solid #a82d42;
    outline-offset: -2px;
}

.faq-collapse.collapsing {
    transition: height 0.45s ease;
}

.faq-accordion .accordion-collapse {
    transition: height 0.45s ease;
}

.faq-support-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef3ff 100%);
    border: 1px solid #dbe5ff;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-soft);
}

.faq-support-action {
    min-height: 48px;
    border-radius: 12px;
    font-weight: 600;
}

.faq-question-card h2 {
    color: var(--secondary-color);
}

@media (max-width: 575.98px) {
    .faq-accordion-header {
        flex-direction: column;
    }

    .faq-copy-btn {
        border-left: none;
        border-top: 1px solid #e2e8f0;
        justify-content: center;
        padding: 0.65rem 1rem;
    }
}

/* ——— Contact page ——— */
.contact-page .svc-hero__title {
    letter-spacing: -0.02em;
}

.contact-info-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 1.35rem;
    box-shadow: var(--shadow-soft);
}

.contact-info-card__title {
    color: var(--secondary-color);
    margin-bottom: 1.25rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.contact-info-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #eef3ff, #e0e7ff);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.contact-info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.contact-info-value {
    font-size: 0.98rem;
    color: var(--mdk-orange);
    line-height: 1.5;
}

.contact-info-value a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.contact-info-value a:hover {
    text-decoration: underline;
}

.contact-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.contact-social-btn {
    border-radius: var(--mdk-btn-radius) !important;
    padding: 10px 20px !important;
    border: 2px solid #8f1d2f !important;
    background: transparent !important;
    color: #8f1d2f !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease !important;
}

.contact-social-btn:hover,
.contact-social-btn--wa:hover {
    background: #8f1d2f !important;
    border-color: #8f1d2f !important;
    color: #ffffff !important;
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: var(--mdk-btn-shadow-hover);
}

.contact-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: #f1f5f9;
}

.contact-form-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.contact-form-card .form-label {
    font-weight: 600;
    color: #fff !important;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 0;
}

.contact-submit-btn:disabled {
    opacity: 0.85;
}

.contact-trust-badge {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.15rem;
    border-radius: 12px;
    border: 1px solid #c7d2fe;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef3ff 100%);
}

.contact-trust-badge__icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.contact-trust-badge__title {
    display: block;
    color: var(--secondary-color) !important;
    font-size: 0.95rem;
}

.contact-trust-badge__text {
    color: #64748b;
}

.contact-location-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem 1.15rem;
    border-top: 4px solid var(--primary-color);
    box-shadow: var(--shadow-soft);
}

.contact-location-card__city {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-location-card__addr {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.55;
}

.contact-faq-quick-link {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    height: 100%;
    padding: 1.1rem 1.15rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-faq-quick-link:hover {
    border-color: #a5b4fc;
    background: #fafbff;
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.1);
    color: inherit;
}

.contact-faq-quick-link__q {
    font-weight: 600;
    color: #0f172a;
    line-height: 1.45;
}

.contact-faq-quick-link__meta {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.content-shell {
    margin: 0 auto;
    background: linear-gradient(var(--mdk-card), var(--mdk-card)) padding-box, var(--gradient-border) border-box;
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: var(--shadow-soft);
    color: var(--mdk-text);
}

.post-title {
    font-size: clamp(2rem, 3.7vw, 3rem);
    margin-bottom: 1rem;
    color: var(--mdk-heading);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--mdk-text);
    font-size: 0.95rem;
    margin-bottom: 1.3rem;
}

.dot-separator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #94a3b8;
}

.featured-image {
    width: 100%;
    border-radius: 14px;
    margin: 0 0 1.7rem;
}

.toc-card {
    border: 1px solid #dbe5ff;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9ff, #eef3ff);
    padding: 1rem 1.15rem;
    margin-bottom: 1.5rem;
}

.blog-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.blog-content p {
    line-height: 1.8;
    margin-bottom: 1.1rem;
}

.blog-content h2,
.blog-content h3 {
    margin-top: 2.2rem;
    margin-bottom: 1rem;
}

.blog-content blockquote {
    border-left: 4px solid var(--primary-color);
    background: #eef3ff;
    border-radius: 10px;
    margin: 1.7rem 0;
    padding: 1rem 1.2rem;
}

.blog-content mark {
    background: #fde68a;
    color: #78350f;
    border-radius: 6px;
    padding: 0.1rem 0.35rem;
}

.blog-content ul,
.blog-content ol {
    padding-left: 1.3rem;
    margin-bottom: 1.15rem;
}

.blog-content img {
    border-radius: 12px;
    margin: 1.4rem 0;
    max-width: 100%;
    height: auto;
}

.highlight-box {
    background: #fdf2f4;
    border-left: 4px solid #8f1d2f;
    border-radius: 12px;
    padding: 0.95rem 1rem;
    color: #0f172a;
}

.highlight-box--markets,
.home-hero--b4a__trusted.highlight-box {
    background: #ffffff;
    border: 1px solid rgba(143, 29, 47, 0.18);
    border-left: 4px solid #8f1d2f;
    border-radius: 16px;
    padding: 1.35rem 1.5rem 1.45rem;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(143, 29, 47, 0.04);
    color: #0f172a;
}

.blog-end-cta {
    margin-top: 2rem;
    border-top: 1px solid #e7ebf3;
    padding-top: 1.4rem;
}

.blog-page-hero {
    background: linear-gradient(155deg, #f8f9ff 0%, #ffffff 60%, #eef3ff 100%);
}

.blog-page-subtitle {
    max-width: 820px;
    color: #64748b;
}

.blog-pagination .pagination {
    justify-content: center;
}

.blog-pagination .page-link {
    border-radius: 999px;
    margin: 0 4px;
    border: 1px solid #d8e0f0;
    color: #233a8b;
}

.blog-pagination .page-item.active .page-link {
    background: #233a8b;
    border-color: #233a8b;
}

.blog-detail-wrap {
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

/* —— Blog listing & article sidebar —— */
.blog-sidebar-col {
    position: relative;
}

.blog-sidebar {
    position: sticky;
    top: 5.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.blog-sidebar--article {
    top: 5.5rem;
}

.blog-sidebar-card {
    background: var(--white);
    border: 1px solid #e4e9f4;
    border-radius: 16px;
    padding: 1.15rem 1.2rem;
    box-shadow: 0 10px 28px rgba(15, 28, 79, 0.06);
    border-top: 3px solid rgba(229, 155, 1, 0.65);
}

.blog-sidebar-card-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
}

.blog-sidebar-icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(35, 58, 139, 0.12), rgba(229, 155, 1, 0.15));
    color: var(--secondary-color);
    font-size: 1rem;
}

.blog-sidebar-title {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0;
}

.blog-sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar-links li {
    border-bottom: 1px solid #f1f4fa;
}

.blog-sidebar-links li:last-child {
    border-bottom: 0;
}

.blog-sidebar-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.blog-sidebar-links a i {
    color: var(--primary-color);
    opacity: 0.85;
    font-size: 1rem;
}

.blog-sidebar-links a:hover {
    color: var(--primary-color);
    padding-left: 0.25rem;
}

.blog-sidebar-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar-posts li {
    padding: 0.65rem 0;
    border-bottom: 1px solid #f1f4fa;
}

.blog-sidebar-posts li:first-child {
    padding-top: 0;
}

.blog-sidebar-posts li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.blog-sidebar-posts a {
    display: block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 0.2rem;
    transition: color 0.2s ease;
}

.blog-sidebar-posts a:hover {
    color: var(--primary-color);
}

.blog-sidebar-posts time {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-sidebar-cta {
    background: linear-gradient(135deg, #0f1c4f 0%, #233a8b 100%);
    border-radius: 16px;
    padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow-soft);
}

.blog-toc-card[hidden] {
    display: none !important;
}

.blog-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
    max-height: min(55vh, 22rem);
    overflow-y: auto;
    padding-right: 0.25rem;
}

.blog-toc-list li {
    margin-bottom: 0.35rem;
}

.blog-toc-list a {
    display: block;
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    font-size: 0.84rem;
    color: var(--mdk-text);
    text-decoration: none;
    line-height: 1.35;
    border-left: 3px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-toc-list a:hover,
.blog-toc-list a:focus-visible {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-left-color: var(--primary-color);
}

.blog-toc-list a.is-active {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-left-color: #233a8b;
    font-weight: 600;
}

.blog-toc-list .blog-toc-depth-3 {
    padding-left: 0.85rem;
    font-size: 0.8rem;
}

.blog-share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.blog-share-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.blog-share-btn:hover {
    background: #fff;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.blog-share-btn--copy {
    cursor: pointer;
}

.blog-article-main {
    background: var(--white);
    border: 1px solid #e9edf5;
    border-radius: 20px;
    padding: 1.75rem 1.85rem 2rem;
    box-shadow: 0 16px 40px rgba(15, 28, 79, 0.07);
}

.blog-featured-figure {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 28, 79, 0.1);
}

.blog-featured-figure .featured-image {
    margin: 0;
    display: block;
}

.blog-detail-article {
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 38%);
}

/* Blog article (single post): match home light theme when body.page-blog */
.page-blog .blog-detail-article {
    background: linear-gradient(180deg, #faf8f9 0%, #ffffff 42%, #f5f3f4 100%);
}

.page-blog .blog-article-main {
    background: linear-gradient(var(--mdk-card), var(--mdk-card)) padding-box, var(--gradient-border) border-box;
    border: 1px solid transparent !important;
    box-shadow: var(--mdk-surface-shadow, 0 4px 20px rgba(15, 23, 42, 0.06));
    color: var(--mdk-text);
}

.page-blog .blog-article-header .post-title,
.page-blog .blog-article-header .section-kicker {
    color: var(--mdk-heading);
}

.page-blog .post-meta {
    color: var(--mdk-text);
}

.page-blog .blog-internal-links,
.page-blog .blog-end-cta {
    border-color: rgba(143, 29, 47, 0.22) !important;
}

.page-blog .blog-internal-links a {
    color: var(--mdk-orange);
}

.page-blog .blog-internal-links a:hover {
    color: #a82d42;
}

.page-blog .blog-end-cta .text-secondary {
    color: var(--mdk-text) !important;
}

.page-blog .blog-share-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(143, 29, 47, 0.35);
    color: var(--mdk-heading);
}

.page-blog .blog-share-btn:hover {
    background: rgba(143, 29, 47, 0.15);
    border-color: var(--mdk-orange);
    color: #fff;
    transform: translateY(-2px);
}

.legal-content-panel .page-dynamic-content h2 {
    font-size: 1.35rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--mdk-heading);
}

.legal-content-panel .page-dynamic-content h2:first-child {
    margin-top: 0;
}

.legal-content-panel .page-dynamic-content p,
.legal-content-panel .page-dynamic-content li {
    color: var(--mdk-text);
}

.legal-content-panel .page-dynamic-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.legal-content-panel .page-dynamic-content a {
    color: var(--mdk-orange);
    text-decoration: none;
}

.legal-content-panel .page-dynamic-content a:hover {
    color: #a82d42;
    text-decoration: underline;
}

/* Rich HTML from admin (CKEditor): tables, headings, media */
.legal-content-panel .page-body-richtext h3,
.legal-content-panel .page-body-richtext h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.65rem;
    color: var(--mdk-heading);
}

.legal-content-panel .page-body-richtext h3:first-child,
.legal-content-panel .page-body-richtext h4:first-child {
    margin-top: 0;
}

.legal-content-panel .page-body-richtext table {
    width: 100%;
    margin: 1.25rem 0;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.legal-content-panel .page-body-richtext th,
.legal-content-panel .page-body-richtext td {
    border: 1px solid rgba(148, 163, 184, 0.45);
    padding: 0.5rem 0.65rem;
    text-align: left;
    vertical-align: top;
}

.legal-content-panel .page-body-richtext thead th {
    background: rgba(15, 23, 42, 0.04);
    font-weight: 600;
}

.legal-content-panel .page-body-richtext blockquote {
    border-left: 4px solid var(--primary-color, #8f1d2f);
    background: #eef3ff;
    border-radius: 10px;
    margin: 1.5rem 0;
    padding: 1rem 1.2rem;
}

.legal-content-panel .page-body-richtext img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.25rem 0;
}

.legal-content-panel .page-body-richtext figure {
    margin: 1.25rem 0;
}

.legal-content-panel .page-body-richtext figcaption {
    font-size: 0.875rem;
    color: var(--mdk-text);
    margin-top: 0.35rem;
}

.blog-article-header .post-title {
    margin-bottom: 0.75rem;
}

@media (max-width: 991.98px) {
    .blog-sidebar {
        position: static;
    }

    .blog-sidebar--article {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1rem;
    }

    .blog-sidebar--article .blog-toc-card {
        grid-column: 1 / -1;
    }

    .blog-article-main {
        padding: 1.35rem 1.25rem 1.5rem;
    }
}

.site-footer {
    background: linear-gradient(155deg, #0f172a 0%, #1e1b4b 48%, #0f172a 100%);
    color: #64748b;
    margin-top: 2rem;
    border-radius: 0;
    border-top: 1px solid rgba(143, 29, 47, 0.2);
}

.newsletter-strip {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
}

.newsletter-strip h2,
.newsletter-strip h3 {
    color: #1f2f75;
}

.newsletter-strip p {
    color: #42578f;
}

.footer-brand {
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-title {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-link {
    color: #64748b;
    text-decoration: none;
    display: inline-flex;
    margin-bottom: 0.45rem;
}

.footer-link:hover {
    color: #fff;
}

.social-icons a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 0.35rem;
    background: rgba(143, 29, 47, 0.2);
    color: #fff;
}

.social-icons a:hover {
    background: linear-gradient(135deg, #8f1d2f, #a82d42);
    transform: translateY(-2px);
}

.form-control {
    border-radius: 10px;
    padding: 10px;
}

@media (max-width: 991.98px) {
    .hero:not(.hero--techvio),
    .inner-hero {
        padding-top: 90px;
    }

    .section-space {
        padding: 72px 0;
    }

    .newsletter-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .service-float-img {
        display: none;
    }

    .service-checks {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .section-space {
        padding: 58px 0;
    }

    .content-shell {
        padding: 1.35rem;
        border-radius: 14px;
    }
}

/* ========== Premium home (Matka Dev) + global float CTA ========== */
:root {
    --md-blue: #8f1d2f;
    --md-purple: #a82d42;
    --md-slate-950: #0f172a;
    --md-slate-100: #f1f5f9;
}

.page-home .md-home {
    max-width: 100%;
}

.float-whatsapp-btn {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1020;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #25d366, #128c7e);
    color: #fff !important;
    font-size: 1.65rem;
    box-shadow: 0 10px 30px rgba(18, 140, 126, 0.45);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.2s ease;
}

.float-whatsapp-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 14px 36px rgba(18, 140, 126, 0.55);
    color: #fff !important;
    filter: brightness(1.05);
}

@media (prefers-reduced-motion: reduce) {
    .float-whatsapp-btn,
    .float-whatsapp-btn:hover,
    .md-float-card,
    .md-marquee__track,
    .float-md-visual {
        animation: none !important;
        transition: none !important;
    }
}

.md-hero {
    position: relative;
    margin-top: -4.75rem;
    padding-top: 5.75rem;
    padding-bottom: 0;
    color: #f8fafc;
    font-family: var(--mdk-font-sans);
}

.md-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(160deg, #020617 0%, #1e1b4b 42%, #172554 88%);
}

.md-hero__mesh {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.md-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(0.5px);
    pointer-events: none;
    opacity: 0.55;
    animation: md-orbit 18s ease-in-out infinite;
}

.md-hero__orb--1 {
    width: min(420px, 70vw);
    height: min(420px, 70vw);
    top: -12%;
    right: -8%;
    background: radial-gradient(circle, rgba(143, 29, 47, 0.65) 0%, transparent 65%);
}

.md-hero__orb--2 {
    width: min(280px, 50vw);
    height: min(280px, 50vw);
    bottom: 10%;
    left: -6%;
    background: radial-gradient(circle, rgba(168, 45, 66, 0.55) 0%, transparent 68%);
    animation-delay: -6s;
}

.md-hero__orb--3 {
    width: min(180px, 35vw);
    height: min(180px, 35vw);
    top: 38%;
    left: 40%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.35) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes md-orbit {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(2%, -3%) scale(1.05);
    }
    66% {
        transform: translate(-3%, 2%) scale(0.98);
    }
}

.md-hero__inner {
    z-index: 1;
}

.md-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.72);
    margin-bottom: 1rem;
}

.md-hero__kicker-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--md-blue), var(--md-purple));
    box-shadow: 0 0 0 6px rgba(143, 29, 47, 0.25);
}

.md-hero__social-link {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff !important;
    transition: transform 0.2s ease, background 0.2s ease;
}

.md-hero__social-link:hover {
    background: rgba(143, 29, 47, 0.3);
    transform: translateY(-3px);
    color: #fff !important;
}

.md-hero__title {
    font-family: var(--mdk-font-sans);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 0;
}

.md-hero__lead {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.92);
    max-width: 36rem;
    margin: 1.25rem 0 1.75rem;
}

.md-hero__lead strong {
    color: #fff;
    font-weight: 700;
}

.md-btn {
    border-radius: var(--mdk-btn-radius) !important;
    padding: var(--mdk-btn-pad-y) var(--mdk-btn-pad-x) !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

.md-btn--primary.btn-brand {
    box-shadow: var(--mdk-btn-shadow) !important;
}

.md-btn--primary.btn-brand:hover {
    box-shadow: var(--mdk-btn-shadow-hover) !important;
}

.md-btn--ghost.btn-brand-outline {
    border: 2px solid rgba(255, 255, 255, 0.55) !important;
    color: #fff !important;
    background: transparent !important;
    border-radius: var(--mdk-btn-radius) !important;
}

.md-btn--ghost.btn-brand-outline:hover {
    background: #8f1d2f !important;
    border-color: #8f1d2f !important;
    color: #ffffff !important;
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: var(--mdk-btn-shadow-hover);
}

.md-glass {
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.md-glass--hero {
    padding: 1.15rem 1.1rem 1.35rem;
}

.md-mock-head {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.md-mock-head span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.md-mock-head span:first-child {
    background: #f87171;
}

.md-mock-head span:nth-child(2) {
    background: #a82d42;
}

.md-mock-head span:nth-child(3) {
    background: #34d399;
}

.md-mock-body {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.75rem;
    min-height: 200px;
}

.md-mock-sidebar {
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.md-mock-main {
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.md-mock-chart {
    height: 72px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(143, 29, 47, 0.45), rgba(168, 45, 66, 0.35));
    opacity: 0.9;
}

.md-mock-rows span {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: 0.45rem;
}

.md-mock-rows span:first-child {
    width: 92%;
}

.md-mock-rows span:nth-child(2) {
    width: 78%;
}

.md-mock-rows span:nth-child(3) {
    width: 64%;
}

.md-hero__visual {
    position: relative;
}

.md-float-card {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    animation: md-floaty 5s ease-in-out infinite;
}

.md-float-card i {
    color: var(--md-blue);
    font-size: 1.1rem;
}

.md-float-card--a {
    top: 8%;
    left: -2%;
}

.md-float-card--b {
    bottom: 14%;
    right: -4%;
    animation-delay: -2.5s;
}

@keyframes md-floaty {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-md-visual {
    animation: md-floaty 7s ease-in-out infinite;
}

.md-hero__curve {
    position: relative;
    z-index: 2;
    line-height: 0;
    margin-top: -1px;
}

.md-hero__curve svg {
    display: block;
    width: 100%;
    height: clamp(56px, 10vw, 88px);
}

.md-stat-card {
    padding: 1.15rem 1.1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.md-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(143, 29, 47, 0.35);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.md-stat-card__value {
    display: block;
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: 1.35rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.md-stat-card__label {
    font-size: 0.8rem;
    color: rgba(226, 232, 240, 0.75);
}

.md-section {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    background: #f8fafc;
}

.md-section--soft {
    padding: 1.5rem 0;
    background: #f1f5f9;
}

.md-section--alt {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.md-section--cta {
    padding: clamp(3rem, 7vw, 5rem) 0;
    background: #f8fafc;
}

.md-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.md-marquee__track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2rem;
    width: max-content;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    animation: md-marquee 28s linear infinite;
}

.md-marquee__dot {
    color: rgba(143, 29, 47, 0.5);
    font-size: 0.5rem;
}

@keyframes md-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.md-section-head {
    max-width: 40rem;
    margin-bottom: 2rem;
}

.md-section-head__kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--md-blue);
    margin-bottom: 0.65rem;
}

.md-section-head__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    color: var(--md-slate-950);
    letter-spacing: -0.02em;
}

.md-section-head__text {
    color: #64748b;
    margin-top: 0.85rem;
    margin-bottom: 0;
}

.md-surface-card {
    padding: 1.75rem 1.5rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.md-surface-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(143, 29, 47, 0.12);
    border-color: rgba(143, 29, 47, 0.28);
}

.md-surface-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, var(--md-blue), var(--md-purple));
    box-shadow: 0 8px 20px rgba(143, 29, 47, 0.35);
}

.md-surface-card__title {
    font-family: var(--mdk-font-sans);
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: var(--md-slate-950);
}

.md-glass-tile {
    padding: 1.65rem 1.45rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.md-glass-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(79, 70, 229, 0.12);
}

.md-glass-tile__icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    background: rgba(143, 29, 47, 0.12);
    color: #6b1523;
    font-size: 1.2rem;
}

.md-glass-tile h3 {
    font-family: var(--mdk-font-sans);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--md-slate-950);
}

.md-link-arrow {
    font-weight: 600;
    color: var(--md-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 10px;
    padding: 0.45rem 0.65rem;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.md-link-arrow:hover {
    background: rgba(143, 29, 47, 0.1);
    color: #6b1523;
    transform: translateX(3px);
}

.page-home .blog-card {
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.page-home .blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(143, 29, 47, 0.12);
}

.page-home .blog-card-date {
    color: var(--md-purple);
}

.md-about-frame__img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.2);
    object-fit: cover;
    min-height: 300px;
}

.md-cta-panel {
    border-radius: 20px;
    padding: clamp(2.25rem, 6vw, 3.5rem);
    background: linear-gradient(135deg, #8f1d2f 0%, #6b1523 55%, #a82d42 100%);
    border: 1px solid rgba(143, 29, 47, 0.35);
    box-shadow: 0 18px 40px rgba(143, 29, 47, 0.22);
}

.md-cta-panel__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: #fff;
    margin-bottom: 0.75rem;
}

.md-cta-panel__text {
    color: rgba(226, 232, 240, 0.9);
    max-width: 36rem;
    margin-bottom: 1.75rem;
}

@media (max-width: 767.98px) {
    .md-float-card--a {
        left: 0;
    }

    .md-float-card--b {
        right: 0;
    }

    .md-mock-body {
        grid-template-columns: 56px 1fr;
        min-height: 170px;
    }
}

.home-hero__header,
.about-hero__header,
.svc-hero__header,
.blog-insights-hero__header,
.inner-hero .col-lg-7 > header,
.svc-hero .row > [class*="col-"] > header {
    position: relative;
    z-index: 2;
}

.home-hero__header::before,
.about-hero__header::before,
.svc-hero__header::before,
.blog-insights-hero__header::before,
.inner-hero .col-lg-7 > header::before,
.svc-hero .row > [class*="col-"] > header::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    top: -42%;
    left: -20%;
    width: min(560px, 115vw);
    height: min(400px, 58vh);
    background: radial-gradient(circle at 30% 10%, rgba(143, 29, 47, 0.15), transparent 50%);
}

.home-hero__inner {
    z-index: 1;
}

.home-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.75);
    margin-bottom: 1rem;
}

.home-hero__kicker-line {
    width: 2rem;
    height: 2px;
    border-radius: 2px;
    background: var(--mdk-accent-line);
}

.home-hero__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(2.1rem, 5vw, 3.45rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    max-width: 18ch;
}

.home-hero__sub {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.9);
    max-width: 38rem;
    margin: 1.25rem 0 1.75rem;
}

.home-hero__sub strong {
    color: #fff;
    font-weight: 700;
}

/* Hero copy — light theme (no heavy dark-mode text shadows) */
.page-home .home-hero__kicker {
}

.page-home .home-hero__title {
}

.page-home .home-hero__sub {
}

@media (max-width: 991.98px) {
    .page-home .home-hero__title {
        max-width: none;
    }

    /* Shift focal point so copy sits over darker / less busy area */
    .page-home .home-hero__bg {
        background-position: center, 62% center;
        background-image: linear-gradient(135deg, rgb(10 10 10) 0%, rgb(37 0 0 / 82%) 50%, rgb(10 10 10 / 68%) 100%), url(../images/home2.png);
    }
}

@media (max-width: 575.98px) {
    .home-hero__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .home-hero__cta .home-btn {
        width: 100%;
        justify-content: center;
    }
}

.home-btn {
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease !important;
}

.home-glass {
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.25rem 1.2rem 1.4rem;
}

.home-glass--elevated {
    transform: translateZ(0);
}

.home-mock {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.home-mock__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.home-mock__dot:first-child {
    background: #f87171;
}

.home-mock__dot:nth-child(2) {
    background: #a82d42;
}

.home-mock__dot:nth-child(3) {
    background: #4ade80;
}

.home-mock__spark {
    height: 4px;
    width: 48%;
    border-radius: 4px;
    background: linear-gradient(90deg, #8f1d2f, #a82d42);
    margin-bottom: 1rem;
}

.home-mock__label {
    font-size: 0.8125rem;
    color: rgba(248, 250, 252, 0.75);
    margin-bottom: 0.85rem;
}

.home-mock__bars span {
    display: block;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: 0.45rem;
}

.home-mock__bars span:first-child {
    width: 100%;
}

.home-mock__bars span:nth-child(2) {
    width: 82%;
}

.home-mock__bars span:nth-child(3) {
    width: 64%;
}

.home-hero__wave {
    position: relative;
    z-index: 2;
    line-height: 0;
    margin-top: -1px;
}

.home-hero__wave svg {
    display: block;
    width: 100%;
    height: clamp(48px, 9vw, 72px);
}

.home-section {
    padding: clamp(3.25rem, 7vw, 5.5rem) 0;
    background: #ffffff;
}

.home-section--stats {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    margin-top: -1px;
    background: #faf8f9;
}

.home-section--why {
    background: #fdf2f4;
}

.home-section--testimonials {
    background: #ffffff;
}

.home-section__kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--site-accent);
    margin-bottom: 0.5rem;
}

.home-section__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    color: #0f172a;
    letter-spacing: -0.02em;
}

.home-section__lead {
    color: #475569;
    max-width: 36rem;
    margin: 0.75rem auto 0;
}

.home-section__head {
    max-width: 42rem;
    margin-bottom: 0.5rem;
}

.home-text-link {
    font-weight: 600;
    color: #8f1d2f;
    text-decoration: none;
    border-radius: 10px;
    padding: 0.4rem 0.6rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.home-text-link:hover {
    background: rgba(143, 29, 47, 0.1);
    color: #6b1523;
}

.home-stat-glass {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--mdk-border, #e8e4e6);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    backdrop-filter: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-stat-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(143, 29, 47, 0.08);
}

.home-stat-glass__value {
    display: block;
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.home-stat-glass__label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
}

.home-why-card {
    padding: 1.5rem 1rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--mdk-border, #e8e4e6);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    backdrop-filter: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(143, 29, 47, 0.08);
}

.home-why-card__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #8f1d2f;
    background: #fdf2f4;
}

.home-why-card__title {
    font-family: var(--mdk-font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.home-why-card__desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #64748b;
}

.home-testimonial {
    margin: 0;
    padding: 1.5rem 1.4rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--mdk-border, #e8e4e6);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    backdrop-filter: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(143, 29, 47, 0.08);
}

.home-testimonial__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.home-testimonial__text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 1.1rem;
}

.home-testimonial__footer {
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    padding-top: 0.9rem;
}

.home-testimonial__name {
    display: block;
    font-style: normal;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
}

.home-testimonial__role {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.15rem;
}

.home-newsletter__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__grid {
        animation: none;
    }

    .home-hero__glow {
        animation: none;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ========== Home — Matka body sections (post-hero, Back4app dark) ========== */
.page-home .md-home {
    background: #f5f3f4;
    color: #475569;
}

/* Home page typography — primary + secondary titles (hero style) */
.page-home h1,
.page-home h2,
.page-home h3,
.page-home h4,
.page-home h5,
.page-home h6,
.page-home .home-section__title,
.page-home .matka-split__title,
.page-home .api-docs-section__title,
.page-home .ids-section-title,
.page-home .matka-soft-features__title,
.page-home .matka-why__title,
.page-home .matka-rules__title,
.page-home .matka-milestones__title,
.page-home .home-live-results__title,
.page-home .home-compare__title,
.page-home .home-hero--b4a__title {
    background-image: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #0f172a !important;
    color: #0f172a !important;
}

.page-home .mdk-title-accent,
.page-home .home-hero--b4a__accent,
.page-home .home-compare__accent,
.page-home .home-live-results__title-accent {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #8f1d2f !important;
    color: #8f1d2f !important;
}

.page-home p,
.page-home .home-section__lead,
.page-home .matka-split__text,
.page-home .api-docs-section__lead,
.page-home .ids-section-lead,
.page-home .matka-soft-features__lead,
.page-home .matka-rules__lead,
.page-home .home-live-results__lead,
.page-home .home-compare__lead {
    color: #475569;
}

.page-home .home-section__kicker,
.page-home .matka-split .home-section__kicker,
.page-home .matka-soft-features__kicker,
.page-home .ids-kicker {
    color: #8f1d2f;
}

.page-home strong {
    color: #0f172a;
}

/* ========== Home section backgrounds — clear A/B/C rhythm ========== */
/* A = white (#fff) · B = soft pink (#fdf2f4) · C = soft gray (#f5f3f4/#faf8f9) */
.page-home .home-section {
    background: #ffffff;
    border-top: 1px solid #e8e4e6;
}

.page-home .matka-trust-marquee {
    background: #ffffff;
    border-top: none;
    border-bottom: 1px solid #e8e4e6;
}

.page-home .matka-split--intro {
    background: #faf8f9;
    border-top: 1px solid #e8e4e6;
    border-bottom: 1px solid #e8e4e6;
}

.page-home .matka-split--why,
.page-home .api-docs-section {
    background: #fdf2f4;
    border-top: 1px solid #f5e4e8;
    border-bottom: 1px solid #e8e4e6;
}

.page-home .home-compare {
    background: #ffffff;
    border-top: 1px solid #e8e4e6;
}

.page-home .home-live-results-section {
    background: #f5f3f4;
    border-top: 1px solid #e8e4e6;
    border-bottom: 1px solid #e8e4e6;
}

.page-home .matka-soft-features {
    background: #ffffff;
    border-top: 1px solid #e8e4e6;
    border-bottom: 1px solid #e8e4e6;
}

.page-home .pricing-section--home {
    background: #ffffff;
    border-top: 1px solid #e8e4e6;
    border-bottom: 1px solid #e8e4e6;
}

.page-home .pricing-section--home,
.page-home .api-docs-section,
.page-home .home-compare,
.page-home .home-blogs,
.page-home .home-reviews,
.page-home .home-live-results-section,
.page-home .matka-soft-features {
    scroll-margin-top: 5.5rem;
}

.page-home .home-blogs.home-section {
    background: #faf8f9;
    border-top: 1px solid #e8e4e6;
    border-bottom: 1px solid #e8e4e6;
}

.page-home .home-section--testimonials,
.page-home .home-reviews.home-section {
    background: #ffffff;
    border-top: 1px solid #e8e4e6;
}

.page-home .home-compare__card {
    background: #ffffff;
    border: 1px solid #e8e4e6;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(143, 29, 47, 0.04);
}

.page-home .home-live-results__card {
    background: #ffffff;
    border: 1px solid #e8e4e6;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.page-home .home-live-results__table thead th {
    background: #fdf2f4 !important;
    color: #8f1d2f !important;
    border-bottom: 1px solid rgba(143, 29, 47, 0.2);
}

.page-home .home-live-results__table tbody td {
    background: #ffffff !important;
    color: #0f172a !important;
    border-bottom: 1px solid #e8e4e6;
}

.page-home .home-live-results__table tbody tr:nth-child(even) td {
    background: #faf8f9 !important;
}

.page-home .home-live-results__table tbody tr:hover td {
    background: #fdf2f4 !important;
}

.page-home .home-live-results__market {
    color: #0f172a !important;
}

.page-home .home-compare__table th {
    background: #fdf2f4 !important;
    color: #64748b !important;
}

.page-home .home-compare__table th.home-compare__col-ours {
    background: #fce8ec !important;
    color: #8f1d2f !important;
}

.page-home .home-live-results__table-wrap--scroll {
    scrollbar-color: rgba(143, 29, 47, 0.45) #f5f3f4;
}

.page-home .home-live-results__table-wrap--scroll::-webkit-scrollbar-track {
    background: #f5f3f4;
}

.page-home .home-section__kicker,
.page-home .matka-split .home-section__kicker {
    color: #8f1d2f;
}

.page-home .home-text-link {
    color: #8f1d2f;
}

.page-home .home-text-link:hover {
    color: #6b1523;
    background: rgba(143, 29, 47, 0.1);
}

.matka-trust-marquee {
    --trust-bg: #ffffff;
    --trust-text: #475569;
    --trust-item: #0f172a;
    --trust-accent: #8f1d2f;
    padding: clamp(2.5rem, 5vw, 3.25rem) 0;
    background: #ffffff;
    border-bottom: 1px solid #e8e4e6;
    overflow: hidden;
}

.matka-trust-marquee__caption {
    margin: 0 0 1.5rem;
    padding: 0 1rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--trust-text);
    letter-spacing: 0.01em;
}

.matka-trust-marquee__caption strong {
    color: #8f1d2f;
    font-weight: 700;
}

.matka-trust-marquee__row {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.matka-trust-marquee__track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    width: max-content;
    animation: matka-trust-marquee-rtl 32s linear infinite;
}

.matka-trust-marquee__row:hover .matka-trust-marquee__track {
    animation-play-state: paused;
}

@keyframes matka-trust-marquee-rtl {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.matka-trust-marquee__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.65rem 1.1rem;
    border-radius: 14px;
    border: 1px solid #e8e4e6;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.matka-trust-marquee__logo {
    display: block;
    width: auto;
    height: 40px;
    max-width: 150px;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 575.98px) {
    .matka-trust-marquee__logo {
        height: 32px;
        max-width: 120px;
    }

    .matka-trust-marquee__item {
        padding: 0.5rem 0.85rem;
    }
}

.matka-trust-marquee__item:hover {
    border-color: rgba(143, 29, 47, 0.28);
    box-shadow: 0 8px 20px rgba(143, 29, 47, 0.1);
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .matka-trust-marquee__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: 72rem;
        margin: 0 auto;
        padding: 0 1rem;
        gap: 1rem 2rem;
    }

    .matka-trust-marquee__row {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

.matka-split {
    padding: clamp(3rem, 7vw, 5rem) 0;
    background: #ffffff;
    border-top: 1px solid #e8e4e6;
    border-bottom: 1px solid #e8e4e6;
}

.matka-split--intro {
    background: #faf8f9;
}

.matka-split--why {
    background: #fdf2f4;
}

.matka-split__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.matka-split__text {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.matka-split__text strong {
    color: #0f172a;
}

.matka-split__img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    /* border-radius: 16px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
    border: 1px solid #e8e4e6; */
}

.matka-rules {
    padding: clamp(3rem, 7vw, 5rem) 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(143, 29, 47, 0.07) 0%, transparent 55%),
        #f5f3f4;
}

.matka-rules__head {
    max-width: 46rem;
}

.matka-rules__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.65rem, 3vw, 2.1rem);
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.matka-rules__lead {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.matka-rule-card {
    padding: 1.5rem 1.35rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e8e4e6;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.matka-rule-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(143, 29, 47, 0.15);
    border-color: rgba(143, 29, 47, 0.28);
}

.matka-rule-card__badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: 0.95rem;
    color: #ffffff;
    background: linear-gradient(135deg, #8f1d2f, #6b1523);
    margin-bottom: 1rem;
    box-shadow: 0 6px 16px rgba(143, 29, 47, 0.35);
}

.matka-rule-card__title {
    font-family: var(--mdk-font-sans);
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.matka-rule-card__desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #475569;
}

.matka-milestones {
    padding: clamp(3rem, 7vw, 5rem) 0;
    background:
        radial-gradient(ellipse 70% 60% at 10% 80%, rgba(143, 29, 47, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(143, 29, 47, 0.06) 0%, transparent 50%),
        #faf8f9;
    position: relative;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.matka-milestones__badge {
    background: linear-gradient(135deg, #fdf2f4 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    color: #0f172a;
    box-shadow: 12px 12px 0 rgba(143, 29, 47, 0.18);
    border: 1px solid rgba(143, 29, 47, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.matka-milestones__badge-main {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.matka-milestones__years {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 3.25rem);
    color: #a82d42;
    line-height: 1;
}

.matka-milestones__years-text {
    font-family: var(--mdk-font-sans);
    font-weight: 700;
    font-size: 1.5rem;
    color: #a82d42;
}

.matka-milestones__badge-cap {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8f1d2f;
    line-height: 1.45;
}

.matka-milestones__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.45rem, 2.6vw, 1.85rem);
    color: #0f172a;
}

.matka-milestone-card {
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.matka-milestone-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(143, 29, 47, 0.12);
    border-color: rgba(143, 29, 47, 0.25);
}

.matka-milestone-card__media {
    height: 108px;
    overflow: hidden;
}

.matka-milestone-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.matka-milestone-card__body {
    padding: 0.9rem 0.65rem 1rem;
}

.matka-milestone-card__value {
    display: block;
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: 1.25rem;
    color: #ffffff;
}

.matka-milestone-card__label {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.25rem;
    line-height: 1.35;
}

.matka-num-features {
    padding: clamp(3rem, 7vw, 5rem) 0;
    background: #fafafa;
}

.matka-num-features__head {
    max-width: 44rem;
}

.matka-num-features__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.65rem, 3vw, 2.05rem);
    color: #0a0a0a;
}

.matka-num-features__lead {
    color: #525252;
    font-size: 1.02rem;
    line-height: 1.7;
    margin-top: 0.65rem;
}

.matka-num-card {
    padding: 1.6rem 1.4rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(143, 29, 47, 0.1);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.matka-num-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(143, 29, 47, 0.14);
}

.matka-num-card__badge {
    width: 44px;
    height: 44px;
    margin: 0 auto 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: 0.95rem;
    color: #0a0a0a;
    background: linear-gradient(135deg, var(--mdk-orange), var(--mdk-gold));
}

.matka-num-card__title {
    font-family: var(--mdk-font-sans);
    font-weight: 700;
    font-size: 1.05rem;
    color: #0a0a0a;
    margin-bottom: 0.45rem;
}

.matka-num-card__desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #525252;
}

.matka-why__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.matka-why__list {
    margin: 0;
    padding-left: 1.1rem;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.75;
}

.matka-why__list strong {
    color: #0f172a;
}

.matka-why__list li {
    margin-bottom: 0.65rem;
}

.matka-why__list li:last-child {
    margin-bottom: 0;
}

.matka-why-figure {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
}

.matka-why-figure__disc {
    position: absolute;
    width: min(92%, 420px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(143, 29, 47, 0.35), #ffffff 55%, #f5f3f4 100%);
    opacity: 0.95;
    z-index: 0;
}

.matka-why-figure__img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
    border: 1px solid rgba(143, 29, 47, 0.25);
    /* box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35); */
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    border-radius: 10px;
}

@media (max-width: 575.98px) {
    .matka-why-figure {
        min-height: 220px;
    }
}

/* ---------- 3. Home page — core features grid ---------- */
.matka-soft-features {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    background: #ffffff;
    border-top: 1px solid #e8e4e6;
}

.matka-soft-features__head {
    max-width: 28rem;
}

.matka-soft-features__kicker {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8f1d2f;
    background: #fdf2f4;
    border: 1px solid rgba(143, 29, 47, 0.22);
    border-radius: 999px;
}

.matka-soft-features__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.matka-soft-features__lead {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.75;
}

.matka-soft-features__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.matka-soft-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    min-height: 9.5rem;
    padding: 1.15rem 0.85rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid var(--mdk-border);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.matka-soft-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(143, 29, 47, 0.08);
    border-color: rgba(143, 29, 47, 0.28);
}

.matka-soft-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--mdk-color-accent);
    background: var(--mdk-color-accent-soft);
    border: 1px solid rgba(143, 29, 47, 0.18);
    box-shadow: none;
    position: relative;
}

.matka-soft-card__icon::after {
    display: none;
}

.matka-soft-card__icon--blue {
    color: #a82d42;
    background: rgba(143, 29, 47, 0.14);
    border-color: rgba(143, 29, 47, 0.35);
}

.matka-soft-card__icon--cyan {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.12);
    border-color: rgba(34, 211, 238, 0.32);
}

.matka-soft-card__icon--purple {
    color: #c4b5fd;
    background: rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.32);
}

.matka-soft-card__icon--green {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.12);
    border-color: rgba(74, 222, 128, 0.32);
}

.matka-soft-card__icon--amber {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.32);
}

.matka-soft-card__icon--rose {
    color: #fb7185;
    background: rgba(244, 63, 94, 0.12);
    border-color: rgba(244, 63, 94, 0.32);
}

.matka-soft-card__title {
    font-family: var(--mdk-font-sans);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
}

.matka-soft-card__desc {
    font-size: 0.74rem;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .matka-soft-features__head {
        max-width: none;
        text-align: center;
    }

    .matka-soft-features__kicker {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    .matka-soft-features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .matka-soft-card {
        min-height: 8.5rem;
        padding: 1rem 0.65rem;
    }

    .matka-soft-card__icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .matka-milestones__badge {
        box-shadow: 8px 8px 0 rgba(143, 29, 47, 0.35);
    }
}

.page-home .home-section__title,
.page-home .home-blogs .home-section__title,
.page-home .home-reviews .home-section__title {
    background-image: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #0f172a !important;
    color: #0f172a !important;
}

.page-home .home-section__title .mdk-title-accent,
.page-home .ids-section-title .mdk-title-accent,
.page-home .api-docs-section__title .mdk-title-accent,
.page-home .matka-split__title .mdk-title-accent,
.page-home .matka-soft-features__title .mdk-title-accent,
.page-home .home-compare__title .mdk-title-accent,
.page-home .home-live-results__title .mdk-title-accent {
    -webkit-text-fill-color: #8f1d2f !important;
    color: #8f1d2f !important;
}

.page-home .home-section__title::after,
.page-home .home-blogs .home-section__title::after,
.page-home .home-reviews .home-section__title::after {
    background: linear-gradient(90deg, #8f1d2f, #a82d42) !important;
}

.page-home .home-section__lead {
    color: #475569;
}

.page-home .home-section .text-secondary {
    color: #64748b !important;
}

.page-home .home-section--testimonials {
    background: #ffffff;
}

.page-home .home-testimonial:hover {
    box-shadow: 0 22px 48px rgba(143, 29, 47, 0.18);
    border-color: rgba(143, 29, 47, 0.28) !important;
}

.page-home .blog-card,
.page-home .home-testimonial {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid var(--mdk-border, #e8e4e6) !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
}

.page-home .blog-card .blog-card-title {
    background-image: none !important;
    -webkit-text-fill-color: #0f172a !important;
    color: #0f172a !important;
}

.page-home .blog-card .blog-card-date {
    color: #8f1d2f !important;
}

.page-home .blog-read-link {
    color: #8f1d2f !important;
    border-color: #8f1d2f !important;
}

.page-home .blog-read-link:hover {
    background: #8f1d2f !important;
    color: #ffffff !important;
    border-color: #22c55e !important;
}

/* Colorful card accents (Back4app-style) */
.about-hero {
    position: relative;
    margin-top: -0.25rem;
    padding-top: 1.25rem;
    padding-bottom: 0;
    color: #f8fafc;
    overflow: hidden;
}

.about-hero__bg {
    position: absolute;
    inset: 0;
    background: var(--mdk-hero-bg);
}

.about-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image:
        linear-gradient(rgba(143, 29, 47, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black, transparent);
}

.about-hero__inner {
    z-index: 1;
    padding-bottom: 2rem;
}

.about-breadcrumb-wrap {
    margin-bottom: 1.75rem;
}

.about-breadcrumb-wrap .breadcrumb-bar-track {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.about-breadcrumb-wrap .breadcrumb-bar-item {
    color: rgba(226, 232, 240, 0.85);
}

.about-breadcrumb-wrap .breadcrumb-bar-link {
    color: rgba(248, 250, 252, 0.95);
}

.about-breadcrumb-wrap .breadcrumb-bar-link:hover {
    color: #a82d42;
    background: rgba(143, 29, 47, 0.18);
}

.about-breadcrumb-wrap .breadcrumb-bar-home-icon {
    color: #8f1d2f;
}

.about-breadcrumb-wrap .breadcrumb-bar-item.is-current .breadcrumb-bar-current {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.about-breadcrumb-wrap .breadcrumb-bar-item:not(:last-child)::after {
    background: rgba(255, 255, 255, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.about-hero__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(2rem, 4.2vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #fff;
    max-width: 20ch;
    margin: 0 auto 1rem;
}

@media (min-width: 992px) {
    .about-hero__title {
        margin-left: 0;
        margin-right: 0;
    }
}

.about-hero__lead {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.92);
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .about-hero__lead {
        margin-left: 0;
    }
}

.about-hero__lead strong {
    color: #fff;
    font-weight: 700;
}

.about-hero__wave {
    position: relative;
    z-index: 2;
    line-height: 0;
    margin-top: -1px;
}

.about-hero__wave svg {
    display: block;
    width: 100%;
    height: clamp(40px, 7vw, 56px);
}

.about-stats {
    margin-top: -1px;
    padding: 2rem 0 2.5rem;
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
}

.about-stat-card {
    padding: 1.25rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(143, 29, 47, 0.12);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(143, 29, 47, 0.14);
    border-color: rgba(143, 29, 47, 0.28);
}

.about-stat-card__value {
    display: block;
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: linear-gradient(135deg, #8f1d2f, #a82d42);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-stat-card__label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #525252;
}

.about-section {
    padding: clamp(3rem, 6vw, 4.75rem) 0;
    background: #fafafa;
}

.about-section--muted {
    background: linear-gradient(180deg, #f5f5f5 0%, #fafafa 50%, #f0f0f0 100%);
}

.about-section--timeline {
    background: #fafafa;
}

.about-section--cta {
    padding-bottom: clamp(3.5rem, 8vw, 5rem);
}

.about-section__intro {
    max-width: 36rem;
}

.about-section__kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8f1d2f;
    margin-bottom: 0.5rem;
}

.about-section__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    color: #0a0a0a;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.about-section__subtitle {
    color: #525252;
    font-size: 0.95rem;
}

.about-prose {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.75;
}

.about-prose p:last-child {
    margin-bottom: 0;
}

.about-story-figure__img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    min-height: 280px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(143, 29, 47, 0.22);
}

.about-story-figure__cap {
    font-size: 0.85rem;
    color: #525252;
    margin-top: 0.75rem;
}

.about-mv-card {
    padding: 1.75rem 1.6rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.about-mv-card:hover {
    transform: translateY(-6px);
    border-color: rgba(143, 29, 47, 0.35);
    box-shadow: 0 24px 48px rgba(143, 29, 47, 0.12);
}

.about-mv-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #0a0a0a;
    background: linear-gradient(135deg, #8f1d2f, #a82d42);
    margin-bottom: 1rem;
    box-shadow: 0 10px 24px rgba(143, 29, 47, 0.32);
}

.about-mv-card__icon--alt {
    background: linear-gradient(135deg, #a82d42, #8f1d2f);
    box-shadow: 0 10px 24px rgba(96, 165, 250, 0.28);
}

.about-mv-card__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: 1.35rem;
    color: #0a0a0a;
    margin-bottom: 0.75rem;
}

.about-mv-card__text {
    color: #525252;
    line-height: 1.7;
    font-size: 0.98rem;
}

.about-team-card {
    padding: 1.5rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(143, 29, 47, 0.12);
    border-color: rgba(143, 29, 47, 0.22);
}

.about-team-card__avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #64748b;
}

.about-team-card__name {
    font-family: var(--mdk-font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    color: #0a0a0a;
    margin-bottom: 0.25rem;
}

.about-team-card__role {
    font-size: 0.8rem;
    color: #525252;
    margin-bottom: 0.85rem;
}

.about-team-card__social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.about-team-card__social-link {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8f1d2f;
    background: rgba(143, 29, 47, 0.12);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.about-team-card__social-link:hover {
    background: rgba(143, 29, 47, 0.25);
    color: #ea580c;
    transform: translateY(-2px);
}

.about-timeline {
    position: relative;
    margin-top: 2rem;
    margin-left: 0.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid rgba(143, 29, 47, 0.35);
}

.about-timeline__track {
    display: none;
}

.about-timeline__item {
    position: relative;
    padding-bottom: 1.75rem;
}

.about-timeline__item:last-child {
    padding-bottom: 0;
}

.about-timeline__dot {
    position: absolute;
    left: -1.56rem;
    top: 0.35rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8f1d2f, #a82d42);
    box-shadow: 0 0 0 4px rgba(143, 29, 47, 0.22);
    transform: translateX(-50%);
}

.about-timeline__card {
    padding: 1.25rem 1.2rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(143, 29, 47, 0.12);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(8px);
}

.about-timeline__year {
    display: block;
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: 1.15rem;
    color: #8f1d2f;
    margin-bottom: 0.35rem;
}

.about-timeline__title {
    font-family: var(--mdk-font-sans);
    font-weight: 700;
    font-size: 1.05rem;
    color: #0a0a0a;
    margin-bottom: 0.45rem;
}

.about-timeline__desc {
    font-size: 0.9rem;
    color: #525252;
    line-height: 1.6;
}

@media (min-width: 992px) {
    .about-timeline {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        gap: 1rem;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        padding-top: 2.75rem;
    }

    .about-timeline__track {
        display: block;
        position: absolute;
        top: 0.65rem;
        left: 4%;
        right: 4%;
        height: 4px;
        border-radius: 4px;
        background: linear-gradient(90deg, #8f1d2f, #a82d42, #8f1d2f);
    }

    .about-timeline__item {
        flex: 1;
        min-width: 0;
        padding-bottom: 0;
        padding-top: 1.25rem;
    }

    .about-timeline__dot {
        left: 50%;
        top: 0;
        transform: translate(-50%, -1.35rem);
    }

    .about-timeline__card {
        margin-top: 0.5rem;
        height: calc(100% - 0.5rem);
    }
}

.about-value-card {
    padding: 1.5rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(143, 29, 47, 0.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(143, 29, 47, 0.12);
    border-color: rgba(143, 29, 47, 0.2);
}

.about-value-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.85rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #8f1d2f;
    background: rgba(143, 29, 47, 0.12);
}

.about-value-card__title {
    font-family: var(--mdk-font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    color: #0a0a0a;
    margin-bottom: 0.45rem;
}

.about-value-card__text {
    font-size: 0.82rem;
    color: #525252;
    line-height: 1.55;
}

.about-cta {
    text-align: center;
    padding: clamp(2.25rem, 5vw, 3.25rem);
    border-radius: 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0505 45%, #0f0f0f 100%);
    border: 1px solid rgba(143, 29, 47, 0.35);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(96, 165, 250, 0.08);
}

.about-cta__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    color: #fff;
    margin-bottom: 0.65rem;
}

.about-cta__text {
    color: rgba(226, 232, 240, 0.9);
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.65;
}

.svc-hero {
    position: relative;
    margin-top: -0.25rem;
    padding-top: 1.25rem;
    padding-bottom: 0;
    color: #f8fafc;
    overflow: hidden;
}

.svc-hero__bg {
    position: absolute;
    inset: 0;
    background: var(--mdk-hero-bg);
}

.svc-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(143, 29, 47, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.07) 1px, transparent 1px);
    background-size: 44px 44px;
}

.svc-hero__inner {
    z-index: 1;
    padding-bottom: 2rem;
}

.svc-breadcrumb-wrap {
    margin-bottom: 1.75rem;
}

.svc-breadcrumb-wrap .breadcrumb-bar-track {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.svc-breadcrumb-wrap .breadcrumb-bar-item {
    color: rgba(226, 232, 240, 0.85);
}

.svc-breadcrumb-wrap .breadcrumb-bar-link {
    color: rgba(248, 250, 252, 0.95);
}

.svc-breadcrumb-wrap .breadcrumb-bar-link:hover {
    color: #a82d42;
    background: rgba(143, 29, 47, 0.18);
}

.svc-breadcrumb-wrap .breadcrumb-bar-home-icon {
    color: #8f1d2f;
}

.svc-breadcrumb-wrap .breadcrumb-bar-item.is-current .breadcrumb-bar-current {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.svc-breadcrumb-wrap .breadcrumb-bar-item:not(:last-child)::after {
    background: rgba(255, 255, 255, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.svc-hero__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.85rem, 4vw, 2.85rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #fff;
    max-width: 22ch;
    margin: 0 auto 1rem;
}

@media (min-width: 992px) {
    .svc-hero__title {
        margin-left: 0;
        margin-right: 0;
    }
}

.svc-hero__lead {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(226, 232, 240, 0.9);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .svc-hero__lead {
        margin-left: 0;
    }
}

.svc-hero__lead strong {
    color: #fff;
    font-weight: 700;
}

.svc-hero__wave {
    position: relative;
    z-index: 2;
    line-height: 0;
    margin-top: -1px;
}

.svc-hero__wave svg {
    display: block;
    width: 100%;
    height: clamp(40px, 7vw, 56px);
}

.svc-section {
    padding: clamp(3rem, 6vw, 4.75rem) 0;
    background: #f8fafc;
}

.svc-section--muted {
    background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 55%, #f1f5f9 100%);
}

.svc-section--cta {
    padding-bottom: clamp(3.5rem, 8vw, 5.25rem);
}

.svc-section__head {
    max-width: 40rem;
}

.svc-section__kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8f1d2f;
    margin-bottom: 0.5rem;
}

.svc-section__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.svc-section__lead {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.svc-section__lead strong {
    color: #475569;
    font-weight: 600;
}

.svc-inline-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.svc-inline-link:hover {
    color: var(--mdk-gold);
}

/* Service cards: gradient border on hover */
.svc-card {
    position: relative;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(160deg, rgba(226, 232, 240, 0.95), rgba(241, 245, 249, 0.98));
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.35s ease;
}

.svc-card:hover {
    background: linear-gradient(135deg, #8f1d2f, #a82d42, #6366f1);
    box-shadow: 0 24px 56px rgba(143, 29, 47, 0.22);
    transform: translateY(-4px);
}

.svc-card__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    padding: 1.5rem 1.45rem 1.4rem;
}

.svc-card__media {
    margin: -0.35rem -0.2rem 1rem;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9);
}

.svc-card__img {
    width: 100%;
    height: auto;
    aspect-ratio: 800 / 450;
    object-fit: cover;
    display: block;
    vertical-align: middle;
}

.svc-card__top {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.svc-card__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    background: linear-gradient(135deg, #8f1d2f, #a82d42);
    box-shadow: 0 8px 22px rgba(143, 29, 47, 0.35);
}

.svc-card__title {
    font-family: var(--mdk-font-sans);
    font-weight: 700;
    font-size: 1.08rem;
    color: #0f172a;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.svc-card__desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

.svc-card__features {
    flex-grow: 1;
    margin-bottom: 1.25rem !important;
}

.svc-card__features li {
    position: relative;
    padding-left: 0.1rem;
    margin-bottom: 0.45rem;
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.45;
    display: flex;
    gap: 0.45rem;
    align-items: flex-start;
}

.svc-card__features li:last-child {
    margin-bottom: 0;
}

.svc-card__features i {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: #8f1d2f;
    font-size: 1rem;
}

.svc-card__btn.btn-brand {
    align-self: flex-start;
    margin-top: auto;
}

/* Accordion */
.svc-accordion {
    --bs-accordion-border-radius: 14px;
    --bs-accordion-inner-border-radius: 12px;
}

.svc-accordion__item {
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.svc-accordion__item:last-child {
    margin-bottom: 0;
}

.svc-accordion__btn {
    font-family: var(--mdk-font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    color: #0f172a !important;
    background: rgba(248, 250, 252, 0.95) !important;
    padding: 1rem 1.15rem !important;
    box-shadow: none !important;
}

.svc-accordion__btn:not(.collapsed) {
    background: linear-gradient(135deg, rgba(143, 29, 47, 0.08), rgba(168, 45, 66, 0.08)) !important;
    color: #5a1220 !important;
}

.svc-accordion__btn::after {
    filter: hue-rotate(220deg);
}

.svc-accordion__body {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.65;
    padding: 1rem 1.15rem 1.15rem !important;
    background: #fff;
}

/* Contact CTA panel */
.svc-contact-panel {
    border-radius: 20px;
    padding: clamp(1.75rem, 5vw, 2.75rem);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 22px 56px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(12px);
}

.svc-contact-panel__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.45rem, 2.8vw, 1.9rem);
    color: #0f172a;
    margin-bottom: 0.65rem;
    line-height: 1.2;
}

.svc-contact-panel__text {
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.65;
}

.svc-contact-form__label {
    font-weight: 600;
    font-size: 0.875rem;
    color: #334155;
}

.svc-contact-form__input {
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0.65rem 0.9rem !important;
}

.svc-contact-form__input:focus {
    border-color: rgba(143, 29, 47, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(143, 29, 47, 0.15) !important;
}

/* ========== Blog insights index ========== */
.blog-insights-hero {
    position: relative;
    padding: 2.5rem 0 0;
    color: #f8fafc;
    overflow: hidden;
}

.blog-insights-hero__bg {
    position: absolute;
    inset: 0;
    background: var(--mdk-hero-bg);
}

.blog-insights-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.25;
    background-image:
        linear-gradient(rgba(143, 29, 47, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 45, 66, 0.06) 1px, transparent 1px);
    background-size: 36px 36px;
}

.blog-insights-hero__header {
    position: relative;
    z-index: 1;
    max-width: 40rem;
    padding-bottom: 2rem;
}

.blog-insights-hero__kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(147, 197, 253, 0.9);
    margin-bottom: 0.65rem;
}

.blog-insights-hero__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
}

.blog-insights-hero__sub {
    margin-top: 0.75rem;
    font-size: 1.0625rem;
    color: rgba(226, 232, 240, 0.9);
}

.blog-insights-hero__wave {
    position: relative;
    z-index: 2;
    line-height: 0;
    margin-top: -1px;
}

.blog-insights-hero__wave svg {
    display: block;
    width: 100%;
    height: clamp(36px, 6vw, 48px);
}

.blog-insights-body {
    padding: clamp(2.25rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 4.5rem);
    background: #f8fafc;
}

.blog-insights-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6366f1;
}

/* Insight cards */
.insight-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
    transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.insight-card:hover {
    box-shadow: 0 22px 52px rgba(143, 29, 47, 0.14);
    border-color: rgba(99, 102, 241, 0.25);
    transform: translateY(-4px);
}

.insight-card__media {
    overflow: hidden;
    background: #e2e8f0;
}

.insight-card__media-link {
    display: block;
    text-decoration: none;
}

.insight-card__figure {
    margin: 0;
    overflow: hidden;
}

.insight-card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center center;
}

.insight-card:hover .insight-card__img {
    transform: scale(1.07);
}

.insight-card--featured .insight-card__img {
    height: 100%;
    min-height: 260px;
}

@media (min-width: 768px) {
    .insight-card--featured {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        align-items: stretch;
    }

    .insight-card--featured .insight-card__media {
        min-height: 280px;
    }

    .insight-card--featured .insight-card__figure,
    .insight-card--featured .insight-card__media-link {
        height: 100%;
    }
}

.insight-card__body {
    position: relative;
    padding: 1.25rem 1.35rem 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.insight-card__cat {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mdk-orange);
    background: rgba(143, 29, 47, 0.15);
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    margin-bottom: 0.5rem;
}

.insight-card__date {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mdk-text);
    margin-bottom: 0.45rem;
}

.insight-card__title {
    font-family: var(--mdk-font-sans);
    font-weight: 700;
    color: var(--mdk-heading);
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.insight-card__title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.insight-card__title-link:hover {
    color: var(--mdk-orange);
}

.insight-card__excerpt {
    font-size: 0.92rem;
    color: var(--mdk-text);
    line-height: 1.6;
    margin-bottom: 0.85rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-card__read {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    align-self: flex-start;
    padding: var(--mdk-btn-pad-y) var(--mdk-btn-pad-x);
    border-radius: var(--mdk-btn-radius);
    border: 2px solid #8f1d2f;
    background: transparent;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: #8f1d2f !important;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.insight-card__read:hover {
    background: #8f1d2f !important;
    color: #ffffff !important;
    border-color: #8f1d2f !important;
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: var(--mdk-btn-shadow-hover);
}

.insight-card__read--disabled {
    color: #737373;
}

/* Sidebar */
.blog-insights-sidebar {
    position: sticky;
    top: 5.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Sidebar is sticky / parallel column — reveal animation often never fires; keep visible */
.blog-insights-sidebar [data-reveal] {
    opacity: 1;
    transform: none;
}

.blog-insights-widget {
    padding: 1.25rem 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}


.blog-insights-widget__title {
    font-family: var(--mdk-font-sans);
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
    margin-bottom: 0.85rem;
}

.blog-insights-search__input {
    border-radius: 10px 0 0 10px !important;
    border: 1px solid #e2e8f0 !important;
}

.blog-insights-search__btn {
    border-radius: 0 var(--mdk-btn-radius) var(--mdk-btn-radius) 0 !important;
    padding: var(--mdk-btn-pad-y) 1.25rem !important;
    border: none !important;
    background: var(--mdk-btn-primary-grad) !important;
    color: #0a0a0a !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    box-shadow: var(--mdk-btn-shadow) !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease !important;
}

.blog-insights-search__btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: var(--mdk-btn-shadow-hover) !important;
    color: #0a0a0a !important;
}

.blog-insights-search__btn:focus-visible {
    outline: 2px solid #a82d42;
    outline-offset: 2px;
}

.blog-insights-cat a {
    display: block;
    padding: 0.4rem 0.35rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.blog-insights-cat a:hover {
    background: rgba(143, 29, 47, 0.08);
    color: #6b1523;
}

.blog-insights-cat a.is-active {
    background: rgba(143, 29, 47, 0.14);
    color: #6b1523;
    font-weight: 600;
}

.blog-insights-recent li {
    padding: 0.55rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.88rem;
}

.blog-insights-recent li:last-child {
    border-bottom: none;
}

/* Sidebar widgets use dark surfaces — avoid near-black link text (invisible until hover) */
.blog-insights-recent__link {
    display: block;
    font-weight: 600;
    color: var(--mdk-heading);
    text-decoration: none;
    line-height: 1.35;
}

.blog-insights-recent__link:hover {
    color: var(--mdk-orange);
}

.blog-insights-recent__link--ph {
    color: var(--mdk-text);
    font-weight: 500;
}

.blog-insights-recent time {
    display: block;
    font-size: 0.78rem;
    color: var(--mdk-text);
    margin-top: 0.2rem;
}

.blog-insights-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.blog-insights-tag {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--accent-color);
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(165, 180, 252, 0.4);
    transition: transform 0.2s ease, background 0.2s ease;
}

.blog-insights-tag:hover {
    background: rgba(143, 29, 47, 0.18);
    transform: translateY(-2px);
    color: var(--bs-heading-color);
}

.blog-insights-pagination {
    padding-bottom: 0.5rem;
}

@media (max-width: 991.98px) {
    .blog-insights-sidebar {
        position: static;
    }

    .insight-card--featured .insight-card__img {
        min-height: 220px;
        height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .insight-card__img,
    .insight-card:hover .insight-card__img,
    .insight-card:hover {
        transform: none;
        transition: none;
    }
}

/* ---------- 4. Navbar, footer & global chrome (common) ---------- */
.mdk-navbar {
    z-index: 1040;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Legacy navbar (non-split) — .mdk-navbar--split theme is at file end */
.mdk-navbar:not(.mdk-navbar--split) {
    background: rgba(10, 10, 10, 0.78) !important;
    border-bottom: 1px solid rgba(143, 29, 47, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mdk-navbar:not(.mdk-navbar--split).navbar-scrolled {
    background: rgba(10, 10, 10, 0.92) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    border-bottom-color: rgba(143, 29, 47, 0.28);
}

/* Space for fixed navbar on all frontend pages */
body.has-mdk-nav {
    padding-top: 5.25rem;
}

@media (max-width: 991.98px) {
    body.has-mdk-nav {
        padding-top: 4.85rem;
    }
}

.mdk-navbar-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    line-height: 1.15;
    padding: 0.25rem 0;
}

@media (min-width: 992px) {
    .mdk-navbar-brand {
        gap: 0.85rem;
    }
}

.mdk-navbar-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.mdk-navbar-brand-text {
    line-height: 1.15;
}

.mdk-navbar-title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    letter-spacing: 0.02em;
    color: #ffffff !important;
}

.mdk-navbar-tagline {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: #a3a3a3 !important;
    text-transform: uppercase;
}

.mdk-navbar-toggler {
    color: #fff !important;
    padding: 0.35rem 0.65rem;
}

.mdk-navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(143, 29, 47, 0.35);
}

.mdk-nav-link {
    color: #d4d4d4 !important;
    font-weight: 500;
    padding: 0.5rem 0.75rem !important;
    border-radius: 8px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mdk-nav-link:hover {
    color: #ffffff !important;
    background: rgba(143, 29, 47, 0.08) !important;
}

.mdk-nav-link.active {
    color: var(--mdk-orange) !important;
    border-bottom-color: var(--mdk-orange);
    background: transparent !important;
}

.mdk-btn-get-started {
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    padding: var(--mdk-btn-pad-y) var(--mdk-btn-pad-x);
    border-radius: var(--mdk-btn-radius);
    color: #0a0a0a !important;
    background: var(--mdk-btn-primary-grad);
    box-shadow: var(--mdk-btn-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mdk-btn-get-started:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: var(--mdk-btn-shadow-hover);
    color: #0a0a0a !important;
}

@media (max-width: 991.98px) {
    .mdk-navbar .navbar-collapse {
        margin-top: 0.75rem;
        padding: 1rem 1rem 1.25rem;
        border-radius: 14px;
        background: #ffffff;
        border: 1px solid #e8e4e6;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    }

    .mdk-nav-link {
        border-bottom-width: 0;
        border-left: 3px solid transparent;
        border-radius: 0 8px 8px 0;
        color: #0f172a;
    }

    .mdk-nav-link.active {
        border-bottom-color: transparent;
        border-left-color: #8f1d2f;
        background: rgba(143, 29, 47, 0.1) !important;
        color: #ffffff !important;
    }
}

.mdk-skip-link {
    background: var(--mdk-orange) !important;
    color: #0a0a0a !important;
    border: none !important;
    font-weight: 600;
}

/* ========== Site footer — light maroon theme ========== */
.site-footer-mdk {
    --footer-bg: #f5f3f4;
    --footer-surface: #ffffff;
    --footer-soft: #fdf2f4;
    --footer-border: #e8e4e6;
    --footer-heading: #0f172a;
    --footer-muted: #64748b;
    --footer-accent: #8f1d2f;
    position: relative;
    margin-top: auto;
    overflow: hidden;
    background: var(--footer-bg);
    color: var(--footer-muted);
    padding: 0;
    border-top: none;
}

.site-footer-mdk::before {
    content: none;
}

.site-footer-mdk__wave {
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
    height: clamp(44px, 6vw, 72px);
    color: var(--footer-bg);
    line-height: 0;
    margin-bottom: -1px;
    background: transparent;
}

.site-footer-mdk__wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.site-footer-mdk__bg {
    display: none;
}

.site-footer-mdk__main {
    position: relative;
    z-index: 2;
    background: var(--footer-bg);
    padding: clamp(2rem, 4.5vw, 3.25rem) 0 clamp(1.75rem, 3.5vw, 2.5rem);
    border-top: 1px solid var(--footer-border);
}

.site-footer-mdk__grid {
    align-items: flex-start;
}

.site-footer-mdk__bar {
    position: relative;
    z-index: 2;
    background: var(--footer-surface);
    border-top: 1px solid var(--footer-border);
    padding: 1rem 0;
}

.site-footer-mdk__bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
}

.mdk-footer-brand-block {
    max-width: 22rem;
}

.mdk-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.mdk-footer-brand__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.mdk-footer-logo-shell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    border-radius: 14px;
    background: var(--footer-surface);
    border: 1px solid rgba(143, 29, 47, 0.16);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mdk-footer-brand:hover .mdk-footer-logo-shell,
.mdk-footer-brand:focus-visible .mdk-footer-logo-shell {
    border-color: rgba(143, 29, 47, 0.35);
    box-shadow: 0 12px 28px rgba(143, 29, 47, 0.12);
    transform: translateY(-2px);
}

.mdk-footer-logo-img {
    width: auto;
    max-width: 160px;
    height: 56px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.mdk-footer-logo {
    font-family: var(--mdk-font-sans);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--footer-heading);
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.mdk-footer-tagline {
    color: var(--footer-accent) !important;
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
}

.mdk-footer-desc {
    color: var(--footer-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.mdk-footer-cta {
    margin-bottom: 1.25rem;
}

.mdk-footer-heading {
    color: var(--footer-heading) !important;
    background: none !important;
    background-image: none !important;
    -webkit-text-fill-color: var(--footer-heading) !important;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--mdk-font-sans);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mdk-footer-heading::after {
    content: "";
    display: block;
    height: 3px;
    width: 40px;
    margin-top: 0.5rem;
    background: linear-gradient(90deg, #8f1d2f, #a82d42) !important;
    border-radius: 2px;
}

.mdk-footer-list li {
    margin-bottom: 0.55rem;
}

.mdk-footer-list li:last-child {
    margin-bottom: 0;
}

.mdk-footer-link {
    color: var(--footer-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.mdk-footer-link::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(143, 29, 47, 0.45);
    transition: background 0.2s ease, transform 0.2s ease;
}

a.mdk-footer-link:hover,
a.mdk-footer-link:focus-visible {
    color: var(--footer-accent) !important;
    transform: translateX(2px);
}

a.mdk-footer-link:hover::before,
a.mdk-footer-link:focus-visible::before {
    background: var(--footer-accent);
    transform: scale(1.25);
}

.mdk-footer-join__text {
    color: var(--footer-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    max-width: 24rem;
}

.mdk-footer-join__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 0.25rem;
}

.mdk-footer-contact li + li {
    margin-top: 0.65rem;
}

.mdk-footer-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: var(--footer-surface);
    border: 1px solid var(--footer-border);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

a.mdk-footer-contact-card:hover,
a.mdk-footer-contact-card:focus-visible {
    border-color: rgba(143, 29, 47, 0.28);
    background: var(--footer-soft);
    transform: translateY(-1px);
}

.mdk-footer-contact-card--static {
    cursor: default;
}

.mdk-footer-contact-card__icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(143, 29, 47, 0.1);
    color: var(--footer-accent);
    font-size: 1rem;
}

.mdk-footer-contact-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.mdk-footer-contact-card__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.mdk-footer-contact-card__value {
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--footer-heading);
    word-break: break-word;
}

.mdk-footer-link--row {
    display: inline-flex !important;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.45;
}

.mdk-footer-link--row .bi {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--footer-accent);
    transition: color 0.2s ease;
}

a.mdk-footer-link--row:hover .bi,
a.mdk-footer-link--row:focus-visible .bi {
    color: #6b1523 !important;
}

.mdk-footer-link--static {
    display: inline-flex !important;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--footer-muted);
    font-size: 0.92rem;
    line-height: 1.45;
    cursor: default;
    user-select: text;
}

.mdk-footer-link--static .bi {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--footer-accent);
}

.text-mdk-accent {
    color: var(--mdk-orange) !important;
}

.mdk-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.mdk-social-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(145deg, #a82d42, #8f1d2f);
    border: 1px solid rgba(143, 29, 47, 0.2);
    text-decoration: none;
    font-size: 1.05rem;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.mdk-social-btn:hover,
.mdk-social-btn:focus-visible {
    color: #ffffff !important;
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(143, 29, 47, 0.28);
}

.mdk-social-btn--whatsapp {
    background: linear-gradient(145deg, #22c55e, #16a34a);
}

.mdk-social-btn--facebook {
    background: linear-gradient(145deg, #1877f2, #166fe5);
}

.mdk-social-btn--instagram {
    background: linear-gradient(145deg, #e1306c, #c13584);
}

.mdk-social-btn--youtube {
    background: linear-gradient(145deg, #ef4444, #dc2626);
}

.mdk-footer-copy {
    color: var(--footer-muted);
    font-size: 0.84rem;
}

.mdk-footer-bar-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1rem;
}

.mdk-footer-bar-link {
    color: var(--footer-muted);
    font-size: 0.84rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mdk-footer-bar-link:hover,
.mdk-footer-bar-link:focus-visible {
    color: var(--footer-accent);
}

/* —— Responsive imagery (dummy / remote assets) —— */
.blog-card-image img,
.blog-card-image__img,
.insight-card__img,
.about-story-figure__img,
.about-team-card__photo,
.home-testimonial__avatar-img,
.page-hero-image,
.blog-featured-figure .featured-image {
    max-width: 100%;
    object-fit: cover;
}

.blog-featured-figure .featured-image {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    min-height: 220px;
}

.svc-card__icon .fa-solid {
    font-size: 1.15rem;
    line-height: 1;
}

.home-testimonial__avatar-img,
.about-team-card__photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
}

@media (max-width: 767.98px) {
    .site-footer-mdk__main {
        padding: 2.25rem 0 1.75rem;
    }

    .mdk-footer-heading {
        margin-top: 0.5rem;
    }

    .site-footer-mdk__bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .mdk-footer-brand-block {
        max-width: none;
    }

    .mdk-footer-join__actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
}

/* —— Matka global dark theme: remaining surfaces + blog + utilities —— */
.text-muted {
    color: #737373 !important;
}

.blog-card-body {
    color: var(--mdk-text);
}

.blog-card-body .blog-card-title,
.blog-card h3,
.feature-card h3,
.feature-card .card-title {
    color: var(--mdk-heading);
}

.faq-accordion .accordion-body {
    background: #141414;
    color: var(--mdk-text);
}

.contact-faq-quick-link {
    background: linear-gradient(var(--mdk-card), var(--mdk-card)) padding-box, var(--gradient-border) border-box !important;
    border: 1px solid transparent !important;
    color: inherit;
}

.contact-faq-quick-link:hover {
    border-color: transparent !important;
    box-shadow: 0 12px 32px rgba(143, 29, 47, 0.2);
    background: linear-gradient(rgba(26, 26, 26, 0.98), rgba(26, 26, 26, 0.98)) padding-box, var(--gradient-border) border-box !important;
}

.contact-faq-quick-link__q {
    color: var(--mdk-heading) !important;
}

.contact-info-card,
.contact-form-card,
.contact-location-card,
.faq-support-card,
.faq-question-card,
.contact-trust-badge,
.contact-page-hero .faq-search-input {
    background: linear-gradient(var(--mdk-card), var(--mdk-card)) padding-box, var(--gradient-border) border-box !important;
    border: 1px solid transparent !important;
    color: var(--mdk-text);
}

.contact-info-card__title,
.contact-form-card h3,
.faq-group-title {
    color: var(--mdk-heading) !important;
}

.insight-card,
.blog-sidebar-card,
.blog-toc-card,
.insight-card--featured {
    background: linear-gradient(var(--mdk-card), var(--mdk-card)) padding-box, var(--gradient-border) border-box;
    border: 1px solid transparent !important;
    color: var(--mdk-text);
}

.insight-card__title,
.blog-insights-hero__title {
    color: var(--mdk-heading) !important;
}

.blog-content,
.blog-content p {
    color: var(--mdk-text);
}

.blog-content h2,
.blog-content h3 {
    color: var(--mdk-heading);
}

.blog-content blockquote {
    background: rgba(143, 29, 47, 0.08);
    border-left-color: var(--mdk-orange);
    color: var(--mdk-text);
}

.toc-card {
    border: 1px solid transparent;
    background: linear-gradient(var(--mdk-card), var(--mdk-card)) padding-box, var(--gradient-border) border-box;
    color: var(--mdk-text);
}

.pagination .page-link {
    background: var(--mdk-card);
    border-color: rgba(143, 29, 47, 0.25);
    color: var(--mdk-text);
}

.pagination .page-link:hover {
    background: rgba(143, 29, 47, 0.15);
    color: var(--mdk-heading);
    border-color: var(--mdk-orange);
    transform: scale(1.05);
}

.pagination .page-item.active .page-link {
    background: var(--gradient-btn);
    border-color: transparent;
    color: #0a0a0a !important;
}

.alert-success {
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(74, 222, 128, 0.45);
    color: #bbf7d0;
}

.alert-success .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.alert-danger {
    background: rgba(220, 38, 38, 0.15);
    border-color: rgba(248, 113, 113, 0.4);
    color: #fecaca;
}

.home-glass {
    background: linear-gradient(rgba(26, 26, 26, 0.92), rgba(26, 26, 26, 0.92)) padding-box, var(--gradient-border) border-box !important;
    border: 1px solid transparent !important;
}

.home-mock,
.home-mock__body {
    background: rgba(20, 20, 20, 0.95);
    color: var(--mdk-text);
}

.home-hero__title {
    color: var(--mdk-heading) !important;
}

.home-hero__sub,
.home-hero__sub strong {
    color: var(--mdk-heading);    
}

.home-hero__sub strong {
    color: var(--accent-color) !important;
}

.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--mdk-text);
    border-color: rgba(143, 29, 47, 0.2);
}

/* ========== Unified #1A1A1A cards, orange gradient fill, pattern + hero decor ========== */
@keyframes mdk-hero-float-ring {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.4;
    }
    50% {
        transform: translate(14px, -12px) rotate(4deg);
        opacity: 0.62;
    }
}

@keyframes mdk-hero-float-blob {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.45;
    }
    50% {
        transform: translate(-16px, 10px) scale(1.08);
        opacity: 0.65;
    }
}

.inner-hero,
.blog-page-hero {
    position: relative;
    overflow: hidden;
}

.home-hero__bg,
.about-hero__bg,
.svc-hero__bg,
.blog-insights-hero__bg {
    z-index: 0;
}

.page-home .home-hero__inner {
    z-index: 3 !important;
}

.page-home .home-hero::before,
.inner-hero::before,
.about-hero::before,
.svc-hero::before,
.blog-page-hero::before,
.blog-insights-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    width: clamp(140px, 26vw, 300px);
    height: clamp(140px, 26vw, 300px);
    border-radius: 50%;
    border: 2px solid rgba(143, 29, 47, 0.16);
    top: 10%;
    left: 4%;
    box-shadow: 0 0 0 1px rgba(143, 29, 47, 0.06);
    z-index: 2;
    animation: mdk-hero-float-ring 18s ease-in-out infinite;
}

.page-home .home-hero::after,
.inner-hero::after,
.about-hero::after,
.svc-hero::after,
.blog-page-hero::after,
.blog-insights-hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    width: clamp(100px, 18vw, 200px);
    height: clamp(100px, 18vw, 200px);
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 35%, rgba(143, 29, 47, 0.14) 0%, transparent 52%),
        radial-gradient(circle, rgba(255, 255, 255, 0.06) 1.5px, transparent 2px) 0 0 / 22px 22px;
    bottom: 12%;
    right: 6%;
    z-index: 2;
    animation: mdk-hero-float-blob 14s ease-in-out infinite;
    animation-delay: -3s;
}

.page-home .home-hero .home-hero__inner,
.inner-hero .container,
.about-hero .about-hero__inner,
.svc-hero .svc-hero__inner,
.blog-insights-hero .blog-insights-hero__header,
.blog-page-hero .container {
    position: relative;
    z-index: 3;
}

/* Hero media: stay above decorative rings/blobs */
.svc-hero .row > [class*="col-"] > figure {
    position: relative;
    z-index: 2;
}

/* —— Base card shell (no pattern) —— */
.feature-card,
.content-panel,
.contact-help-card,
.about-mv-card,
.about-timeline__card,
.about-value-card,
.home-stat-glass,
.home-why-card,
.faq-support-card,
.faq-question-card,
.service-form-panel,
.service-highlight,
.about-cta,
.contact-info-card,
.contact-form-card,
.contact-location-card,
.contact-trust-badge,
.blog-sidebar-card,
.blog-toc-card,
.toc-card,
.cta-card {
    background-color: var(--mdk-surface-bg) !important;
    background-image: var(--mdk-surface-gradient) !important;
    border: var(--mdk-surface-border) !important;
    border-radius: var(--mdk-surface-radius) !important;
    padding: var(--mdk-surface-pad) !important;
    box-shadow: var(--mdk-surface-shadow) !important;
    transition: var(--mdk-surface-transition) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.faq-accordion .accordion-item {
    background-color: var(--mdk-surface-bg) !important;
    background-image: var(--mdk-surface-gradient) !important;
    border: var(--mdk-surface-border) !important;
    border-radius: var(--mdk-surface-radius) !important;
    padding: 0 !important;
    margin-bottom: 0.85rem !important;
    box-shadow: var(--mdk-surface-shadow) !important;
    transition: var(--mdk-surface-transition) !important;
}

.faq-accordion .accordion-button {
    background-color: transparent !important;
    border-radius: var(--mdk-surface-radius) !important;
    padding: 1rem 1.15rem !important;
}

.faq-accordion .accordion-body {
    padding: 1rem 1.15rem 1.15rem !important;
    border-radius: 0 0 var(--mdk-surface-radius) var(--mdk-surface-radius) !important;
}

.feature-card:hover,
.content-panel:hover,
.contact-help-card:hover,
.about-mv-card:hover,
.about-timeline__card:hover,
.about-value-card:hover,
.home-stat-glass:hover,
.home-why-card:hover,
.faq-support-card:hover,
.faq-question-card:hover,
.service-form-panel:hover,
.service-highlight:hover,
.about-cta:hover,
.contact-info-card:hover,
.contact-form-card:hover,
.contact-location-card:hover,
.contact-trust-badge:hover,
.blog-sidebar-card:hover,
.blog-toc-card:hover,
.toc-card:hover,
.cta-card:hover,
.faq-accordion .accordion-item:hover {
    transform: scale(1.02) !important;
    box-shadow: var(--mdk-surface-glow) !important;
}

.blog-insights-widget {
    background-color: var(--mdk-surface-bg) !important;
    background-image: var(--mdk-surface-gradient) !important;
    border: var(--mdk-surface-border) !important;
    border-radius: var(--mdk-surface-radius) !important;
    padding: var(--mdk-surface-pad) !important;
    box-shadow: var(--mdk-surface-shadow) !important;
    transition: var(--mdk-surface-transition) !important;
    backdrop-filter: none !important;
}

.blog-insights-widget:hover {
    transform: scale(1.02) !important;
    box-shadow: var(--mdk-surface-glow) !important;
}


/* —— Content cards: light maroon theme —— */
.blog-card,
.about-team-card,
.home-testimonial,
.insight-card,
.insight-card--featured,
.svc-card__inner {
    background-color: #ffffff !important;
    background-image: none !important;
    border: 1px solid #e8e4e6 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06) !important;
    transition: all 0.3s ease !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.blog-card {
    padding: 0 !important;
    overflow: hidden !important;
}

.blog-card-image {
    border-radius: 16px 16px 0 0 !important;
    overflow: hidden;
}

.insight-card__media {
    background: #faf8f9 !important;
}

.blog-card-image figcaption,
.blog-card-image .text-muted {
    color: #a3a3a3 !important;
}

.blog-card .blog-card-date {
    color: #a82d42 !important;
}

.blog-card-body {
    padding: var(--mdk-surface-pad) !important;
}

.insight-card__body {
    padding: var(--mdk-surface-pad) !important;
}

.about-team-card {
    padding: var(--mdk-surface-pad) !important;
}

.home-testimonial {
    padding: var(--mdk-surface-pad) !important;
}

.blog-card__icon,
.insight-card__icon,
.about-team-card__avatar,
.home-testimonial__avatar,
.svc-card__icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    color: #fff !important;
    background: linear-gradient(145deg, #8f1d2f, #6b1523) !important;
    box-shadow: 0 8px 20px rgba(143, 29, 47, 0.35) !important;
    flex-shrink: 0 !important;
}

.blog-card__icon,
.insight-card__icon {
    margin: 0 0 0.75rem !important;
}

.about-team-card__avatar,
.home-testimonial__avatar {
    margin: 0 auto 1rem !important;
}

.svc-card__icon {
    margin: 0 !important;
}

.about-team-card__avatar.about-team-card__avatar--photo,
.home-testimonial__avatar.home-testimonial__avatar--photo {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    display: block !important;
    overflow: hidden !important;
    border: 2px solid rgba(143, 29, 47, 0.35) !important;
    align-items: unset !important;
    justify-content: unset !important;
}

.about-team-card__avatar.about-team-card__avatar--photo {
    width: 88px !important;
    height: 88px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 1rem !important;
}

.home-testimonial__avatar.home-testimonial__avatar--photo {
    width: 48px !important;
    height: 48px !important;
    margin: 0 0 1rem !important;
}

.blog-card .blog-card-title,
.insight-card__title {
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #0f172a !important;
    color: #0f172a !important;
}

.insight-card__title-link {
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #0f172a !important;
    color: #0f172a !important;
    text-decoration: none !important;
}

.insight-card__title-link:hover {
    -webkit-text-fill-color: #8f1d2f !important;
    color: #8f1d2f !important;
    filter: none;
}

.about-team-card__name,
.home-testimonial__name,
.svc-card__title {
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #0f172a !important;
    color: #0f172a !important;
}

.blog-card-body > p,
.insight-card__excerpt,
.about-team-card__role,
.home-testimonial__text,
.home-testimonial__role,
.svc-card__desc,
.svc-card__features li {
    color: #64748b !important;
}

.svc-card__features i {
    color: #8f1d2f !important;
}

.blog-card:hover,
.about-team-card:hover,
.insight-card:hover,
.home-testimonial:hover,
.svc-card:hover .svc-card__inner {
    transform: translateY(-4px) !important;
    border-color: rgba(143, 29, 47, 0.28) !important;
    background-color: #ffffff !important;
    background-image: none !important;
    box-shadow: 0 16px 40px rgba(143, 29, 47, 0.12) !important;
}

.svc-card {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
}

.svc-card:hover {
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.svc-card__inner {
    padding: var(--mdk-surface-pad) !important;
}

/* Home / about card text on dark */
.home-stat-glass__value,
.home-why-card__title,
.home-newsletter__title {
    color: var(--mdk-heading) !important;
}

.home-stat-glass__label,
.home-why-card__desc {
    color: var(--mdk-text) !important;
}

.home-testimonial__footer {
    border-top-color: rgba(143, 29, 47, 0.12) !important;
}

.about-mv-card__title,
.about-timeline__title,
.about-value-card__title {
    color: var(--mdk-heading) !important;
}

.about-mv-card__text,
.about-timeline__desc,
.about-value-card__text {
    color: var(--mdk-text) !important;
}

.about-timeline__year {
    color: var(--mdk-orange) !important;
}

.about-cta__title {
    color: var(--mdk-heading) !important;
}

.about-cta__text {
    color: var(--mdk-text) !important;
}

.contact-location-card__city {
    color: var(--mdk-heading) !important;
}

.contact-location-card__addr {
    color: var(--mdk-text) !important;
}

.blog-insights-widget__title {
    color: var(--mdk-heading) !important;
}

.blog-insights-cat a {
    color: var(--mdk-text) !important;
}

.blog-insights-cat a:hover,
.blog-insights-cat a.is-active {
    color: var(--mdk-orange) !important;
}

.blog-sidebar-title,
.blog-sidebar-links a {
    color: var(--mdk-text) !important;
}

.contact-faq-quick-link:hover {
    transform: scale(1.02) !important;
    box-shadow: var(--mdk-surface-glow) !important;
}

/* —— Section & widget headings: gradient text + 60px accent rule —— */
.home-section__title,
.about-section__title,
.svc-section__title,
.faq-group-title,
.section-title,
.home-newsletter__title,
.about-cta__title,
.blog-insights-widget__title,
.blog-insights-hero__title,
.faq-support-card h2,
.blog-end-cta h2 {
    background-image: var(--mdk-title-grad) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

.home-section__title::after,
.about-section__title::after,
.svc-section__title::after,
.faq-group-title::after,
.section-title::after,
.home-newsletter__title::after,
.about-cta__title::after,
.blog-insights-widget__title::after,
.blog-insights-hero__title::after,
.faq-support-card h2::after,
.blog-end-cta h2::after {
    content: "";
    display: block;
    height: 3px;
    width: 60px;
    margin-top: 0.65rem;
    background: var(--mdk-accent-line);
    border-radius: 2px;
}

.text-center .home-section__title::after,
.home-section__head.text-center .home-section__title::after,
.text-center.about-section__intro .about-section__title::after,
.text-center.svc-section__head .svc-section__title::after,
.blog-insights-hero__header.text-center .blog-insights-hero__title::after {
    margin-left: auto;
    margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
    .page-home .home-hero::before,
    .page-home .home-hero::after,
    .inner-hero::before,
    .inner-hero::after,
    .about-hero::before,
    .about-hero::after,
    .svc-hero::before,
    .svc-hero::after,
    .blog-page-hero::before,
    .blog-page-hero::after,
    .blog-insights-hero::before,
    .blog-insights-hero::after {
        animation: none;
    }

    .feature-card:hover,
    .content-panel:hover,
    .blog-card:hover,
    .about-team-card:hover,
    .insight-card:hover,
    .home-testimonial:hover,
    .svc-card:hover .svc-card__inner,
    .faq-accordion .accordion-item:hover {
        transform: none !important;
    }
}

/* ========== FAQ & Contact — match Services / brand hero ========== */
.faq-page .svc-hero__title {
    max-width: none;
}

.faq-page__body,
.contact-page__body {
    background: #fafafa;
}

.faq-page__hero-img,
.contact-page__hero-img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    min-height: 240px;
    border: 1px solid rgba(143, 29, 47, 0.25);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

.faq-page .faq-hero__figure-caption,
.contact-page .contact-hero__figure-caption {
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.75);
}

.faq-page .faq-search-wrap .faq-search-input {
    background: rgba(10, 10, 10, 0.55);
    border: 1px solid rgba(143, 29, 47, 0.35);
    color: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.faq-page .faq-search-wrap .faq-search-input::placeholder {
    color: rgba(248, 250, 252, 0.55);
}

.faq-page .faq-search-wrap .faq-search-input:focus {
    border-color: #a82d42;
    box-shadow: 0 0 0 0.2rem rgba(143, 29, 47, 0.25);
    background: rgba(10, 10, 10, 0.72);
    color: #fff;
}

.faq-page .faq-search-icon {
    color: #8f1d2f;
}

.faq-page #faq-search-hint {
    color: rgba(248, 250, 252, 0.7) !important;
}

.faq-page .faq-group-title {
    color: #0a0a0a;
    border-bottom-color: rgba(143, 29, 47, 0.45);
}

.faq-page .faq-support-card {
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    border: 1px solid rgba(143, 29, 47, 0.18);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.faq-page .faq-support-card .h4 {
    color: #0a0a0a;
}

.faq-page .faq-support-card .text-secondary {
    color: #9e9393 !important;
}

.contact-page .contact-info-card {
    background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
    border: 1px solid rgba(143, 29, 47, 0.22);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.contact-page .contact-info-card__title {
    color: #fff;
}

.contact-page .contact-info-label {
    color: rgba(96, 165, 250, 0.9);
}

.contact-page .contact-info-value,
.contact-page .contact-info-value a {
    color: #e5e5e5;
}

.contact-page .contact-info-icon {
    background: linear-gradient(135deg, rgba(143, 29, 47, 0.25), rgba(96, 165, 250, 0.15));
    color: #a82d42;
}

.contact-page .contact-social-block {
    border-top-color: rgba(143, 29, 47, 0.22) !important;
}

.contact-page .contact-form-card {
    background: #fff;
    border: 1px solid rgba(143, 29, 47, 0.15);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.contact-page .contact-form-card .form-label {
    color: #262626;
}

.contact-page .contact-trust-badge {
    border: 1px solid rgba(143, 29, 47, 0.22);
    background: linear-gradient(135deg, rgba(143, 29, 47, 0.08) 0%, rgba(96, 165, 250, 0.06) 100%);
}

.contact-page .contact-trust-badge__icon {
    color: #8f1d2f;
}

.contact-page .contact-trust-badge__title {
    color: #0a0a0a;
}

.contact-page .contact-location-card {
    border: 1px solid rgba(143, 29, 47, 0.12);
    border-top: 3px solid #8f1d2f;
    background: #fff;
}

.contact-page .contact-location-card__city {
    color: #0a0a0a;
}

.contact-page .contact-faq-quick-link:hover {
    border-color: rgba(143, 29, 47, 0.4);
    background: rgba(143, 29, 47, 0.04);
    box-shadow: 0 12px 28px rgba(143, 29, 47, 0.12);
}

.contact-page .contact-faq-quick-link__meta {
    color: #8f1d2f;
}

.contact-page .contact-trust-badge__text {
    color: #525252;
}

.contact-page .contact-location-card__addr {
    color: #525252;
}

/* Global typography — Inter across all UI controls */
button,
input,
select,
textarea,
.btn,
.form-control,
.form-select,
.navbar,
.accordion-button,
.dropdown-menu,
.modal,
.mdk-navbar,
.mdk-navbar-brand-text,
.mdk-footer-logo {
    font-family: inherit;
}


/* ========== Matka Result API theme ========== */

/* Header — 3 sections: logo | pill nav | login/register */

.mdk-navbar--split {
    --nav-navy: #ffffff;
    --nav-navy-solid: rgba(255, 255, 255, 0.96);
    --nav-pill-bg: #f3f3f5;
    --nav-accent: #8f1d2f;
    --nav-accent-hover: #6b1523;
    --nav-text: #0f172a;
    --nav-text-muted: #64748b;
    --nav-border: #e8e4e6;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding: 0.65rem 0;
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid var(--nav-border) !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.mdk-navbar--split.navbar-scrolled {
    background: var(--nav-navy-solid) !important;
    border-bottom-color: var(--nav-border) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.mdk-navbar__shell {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (min-width: 992px) {
    .mdk-navbar__shell {
        flex-wrap: nowrap;
        min-height: 56px;
    }

    .mdk-navbar__collapse {
        display: flex !important;
        flex: 1;
        align-items: center;
        justify-content: flex-end;
        gap: 1rem;
    }

    .mdk-navbar__nav-col {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
    }

    .mdk-navbar__auth-col {
        margin-left: auto;
        flex-shrink: 0;
    }
}

/* Section 1 — brand (logo only) */
.mdk-navbar--split .mdk-navbar-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    z-index: 2;
}

.mdk-navbar--split .mdk-navbar-logo {
    width: 200px;
    height: 69px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Section 2 — pill navigation */
.mdk-navbar-pill {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    margin: 0;
    padding: 0.35rem 0.45rem;
    list-style: none;
    background: var(--nav-pill-bg);
    border: 1px solid var(--nav-border);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mdk-navbar--split .mdk-nav-link {
    color: var(--nav-text-muted) !important;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.45rem 0.85rem !important;
    border-radius: 999px !important;
    border: none !important;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

.mdk-navbar--split .mdk-nav-link:hover {
    color: var(--nav-accent) !important;
    background: #fdf2f4 !important;
}

.mdk-navbar--split .mdk-nav-link.active {
    color: #fff !important;
    background: var(--nav-accent) !important;
    box-shadow: 0 2px 10px rgba(143, 29, 47, 0.28);
}

.mdk-navbar--split .mdk-nav-link.active:hover {
    background: var(--nav-accent-hover) !important;
}

/* Section 3 — auth buttons */
.mdk-navbar__auth-col {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.mdk-navbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.45rem 1.15rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mdk-navbar-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.mdk-navbar-btn--login {
    color: #8f1d2f !important;
    background: transparent;
    border: 1px solid #8f1d2f;
}

.mdk-navbar-btn--login:hover {
    color: #ffffff !important;
    background: #8f1d2f;
    border-color: #8f1d2f;
}

.mdk-navbar-btn--register {
    color: #ffffff !important;
    background: #8f1d2f;
    border: 1px solid #8f1d2f;
    box-shadow: 0 2px 12px rgba(143, 29, 47, 0.28);
}

.mdk-navbar-btn--register:hover {
    color: #ffffff !important;
    background: #6b1523;
    border-color: #6b1523;
}

.mdk-navbar--split .mdk-navbar-toggler {
    color: #0f172a !important;
    z-index: 2;
}

.mdk-navbar--split .mdk-navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(143, 29, 47, 0.35);
}

/* Mobile */
@media (max-width: 991.98px) {
    .mdk-navbar.mdk-navbar--split .mdk-navbar__collapse,
    .mdk-navbar.mdk-navbar--split .navbar-collapse {
        width: 100%;
        margin-top: 0.5rem;
        padding: 1rem;
        border-radius: 16px;
        background: #f5f3f4 !important;
        border: 1px solid #e8e4e6 !important;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08) !important;
    }

    .mdk-navbar__nav-col {
        width: 100%;
        margin-bottom: 1rem;
    }

    .mdk-navbar--split .mdk-navbar-pill {
        flex-direction: column;
        align-items: stretch;
        border-radius: 14px;
        padding: 0.5rem;
        width: 100%;
        background: #ffffff;
        border: 1px solid #e8e4e6;
    }

    .mdk-navbar--split .mdk-nav-link {
        border-radius: 10px !important;
        text-align: center;
        color: #0f172a !important;
    }

    .mdk-navbar--split .mdk-nav-link:hover {
        background: #fdf2f4 !important;
        color: #8f1d2f !important;
    }

    .mdk-navbar--split .mdk-nav-link.active,
    .mdk-navbar--split .mdk-nav-link.active:hover {
        background: #8f1d2f !important;
        color: #ffffff !important;
        border-left-color: transparent !important;
    }

    .mdk-navbar__auth-col {
        width: 100%;
        flex-direction: column;
    }

    .mdk-navbar-btn {
        width: 100%;
    }

    .mdk-navbar--split .mdk-navbar-toggler {
        color: #8f1d2f;
    }
}

/* Override legacy mdk-navbar solid background from style.css */
.mdk-navbar.mdk-navbar--split:not(.navbar-scrolled) {
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Home hero — light admin palette */

.page-home {
    --hero-navy-950: #f5f3f4;
    --hero-navy-900: #faf8f9;
    --hero-navy-800: #ffffff;
    --hero-navy-700: #fdf2f4;
    --hero-accent-blue: #8f1d2f;
    --hero-accent-blue-soft: #fdf2f4;
    --hero-text-white: #0f172a;
    --hero-text-muted: #475569;
    --hero-border: #e8e4e6;
    --hero-btn-black: #0f172a;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Home: hero sits under fixed navbar — no body offset gap behind transparent header */
body.page-home.has-mdk-nav {
    padding-top: 0;
}

/* ---------- 3. Home page — hero (light maroon theme) ---------- */
/* Hero shell */
.home-hero--b4a {
    position: relative;
    margin-top: 0;
    padding: calc(5.25rem + 3.5rem) 0 0;
    overflow: hidden;
    color: var(--hero-text-white);
    background: var(--hero-navy-950);
    font-family: inherit;
}

@media (max-width: 991.98px) {
    .home-hero--b4a {
        padding-top: calc(4.85rem + 2.75rem);
    }
}

.home-hero--b4a__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(143, 29, 47, 0.12) 0%, transparent 58%),
        radial-gradient(ellipse 40% 35% at 85% 75%, rgba(143, 29, 47, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 35% 30% at 12% 60%, rgba(168, 45, 66, 0.07) 0%, transparent 50%),
        linear-gradient(180deg, #faf8f9 0%, #f5f3f4 45%, #fdf2f4 100%);
}

.home-hero--b4a__bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 28%, rgba(253, 242, 244, 0.9) 0%, transparent 32%),
        radial-gradient(circle at 82% 62%, rgba(143, 29, 47, 0.08) 0%, transparent 34%);
    pointer-events: none;
}

.home-hero--b4a__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(143, 29, 47, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(143, 29, 47, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 85% 65% at 50% 35%, black 15%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 35%, black 15%, transparent 78%);
    pointer-events: none;
    opacity: 0.85;
}

/* Soft floating bubbles (replaces old outline circle) */
.home-hero--b4a__bubbles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.home-hero--b4a__bubble {
    position: absolute;
    border-radius: 50%;
    display: block;
}

.home-hero--b4a__bubble--lg {
    width: clamp(120px, 18vw, 220px);
    height: clamp(120px, 18vw, 220px);
    top: 18%;
    right: 6%;
    background:
        radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.95) 0%, rgba(253, 242, 244, 0.85) 28%, rgba(168, 45, 66, 0.22) 58%, rgba(143, 29, 47, 0.08) 78%, transparent 100%);
    box-shadow:
        0 18px 40px rgba(143, 29, 47, 0.1),
        inset 0 -10px 24px rgba(143, 29, 47, 0.08);
    animation: home-hero-bubble-float-a 12s ease-in-out infinite;
}

.home-hero--b4a__bubble--md {
    width: clamp(70px, 11vw, 130px);
    height: clamp(70px, 11vw, 130px);
    top: 42%;
    left: 5%;
    background:
        radial-gradient(circle at 35% 32%, #ffffff 0%, #fdf2f4 40%, rgba(143, 29, 47, 0.18) 72%, transparent 100%);
    box-shadow: 0 12px 28px rgba(143, 29, 47, 0.08);
    animation: home-hero-bubble-float-b 9s ease-in-out infinite;
}

.home-hero--b4a__bubble--sm {
    width: clamp(36px, 6vw, 64px);
    height: clamp(36px, 6vw, 64px);
    top: 28%;
    left: 16%;
    background:
        radial-gradient(circle at 35% 30%, #ffffff 0%, #fce8ec 55%, rgba(168, 45, 66, 0.28) 100%);
    border: 1px solid rgba(143, 29, 47, 0.12);
    box-shadow: 0 8px 18px rgba(143, 29, 47, 0.08);
    animation: home-hero-bubble-float-c 7s ease-in-out infinite;
}

.home-hero--b4a__bubble--xs {
    width: clamp(18px, 3vw, 28px);
    height: clamp(18px, 3vw, 28px);
    top: 58%;
    right: 18%;
    background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f5e4e8 70%, #a82d42 100%);
    opacity: 0.75;
    animation: home-hero-bubble-float-a 8s ease-in-out infinite reverse;
}

.home-hero--b4a__bubble--glow {
    width: clamp(180px, 28vw, 320px);
    height: clamp(180px, 28vw, 320px);
    bottom: -6%;
    right: -2%;
    background:
        radial-gradient(circle at 40% 40%, rgba(253, 242, 244, 0.95) 0%, rgba(168, 45, 66, 0.2) 38%, rgba(143, 29, 47, 0.08) 62%, transparent 75%);
    filter: blur(4px);
    animation: home-hero-bubble-float-b 14s ease-in-out infinite;
}

@keyframes home-hero-bubble-float-a {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-10px, -14px) scale(1.05); }
}

@keyframes home-hero-bubble-float-b {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12px, -10px) scale(1.04); }
}

@keyframes home-hero-bubble-float-c {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(8px, 10px); }
}

/* Remove old outline circle / single orb pseudo-elements */
.page-home .home-hero.home-hero--b4a::before,
.page-home .home-hero.home-hero--b4a::after {
    content: none !important;
    display: none !important;
}

.home-hero--b4a__inner {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.home-hero--b4a__content {
    text-align: center;
    padding-bottom: 3.75rem;
}

.home-hero--b4a__title {
    margin: 0 auto 1.35rem;
    max-width: 20ch;
    font-family: inherit;
    font-size: clamp(2.4rem, 6.8vw, 3.9rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: #0f172a;
    text-wrap: balance;
}

.page-home .home-hero--b4a .home-hero--b4a__accent,
.home-hero--b4a__accent {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #8f1d2f !important;
    color: #8f1d2f !important;
}

.home-hero--b4a__lead {
    margin: 0 auto;
    max-width: 48rem;
    font-family: inherit;
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    font-weight: 400;
    line-height: 1.7;
    color: #475569;
}

.home-hero--b4a__lead + .home-hero--b4a__lead {
    margin-top: 0.85rem;
}

.home-hero--b4a__lead:last-of-type {
    margin-bottom: 2.15rem;
}

.home-hero--b4a__lead strong {
    color: #0f172a;
    font-weight: 600;
}

.home-hero--b4a__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.home-hero--b4a__actions .mdk-pill-btn {
    --pill-border: #e8e4e6;
    --pill-shell-bg: #ffffff;
    --pill-accent: #8f1d2f;
    --pill-accent-hover: #6b1523;
    min-width: 11.5rem;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.home-hero--b4a__actions .mdk-pill-btn--white {
    --pill-border: #e8e4e6;
    --pill-shell-bg: #ffffff;
}

.home-hero--b4a__actions .mdk-pill-btn--white .mdk-pill-btn__inner {
    min-height: 46px;
    padding: 0.55rem 1.45rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #e8e4e6;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.home-hero--b4a__actions .mdk-pill-btn--white:hover .mdk-pill-btn__inner {
    color: #8f1d2f;
    border-color: rgba(143, 29, 47, 0.35);
    background: #fdf2f4;
    box-shadow: 0 6px 18px rgba(143, 29, 47, 0.12);
}

.home-hero--b4a__actions .mdk-pill-btn--ghost,
.home-hero--b4a__actions .mdk-pill-btn--outline {
    --pill-border: #8f1d2f;
    --pill-shell-bg: #fdf2f4;
}

.home-hero--b4a__actions .mdk-pill-btn--ghost .mdk-pill-btn__inner,
.home-hero--b4a__actions .mdk-pill-btn--outline .mdk-pill-btn__inner {
    min-height: 46px;
    padding: 0.55rem 1.45rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #8f1d2f;
    border: 1px solid #8f1d2f;
    background: #ffffff;
    box-shadow: none;
}

.home-hero--b4a__actions .mdk-pill-btn--ghost:hover .mdk-pill-btn__inner,
.home-hero--b4a__actions .mdk-pill-btn--outline:hover .mdk-pill-btn__inner {
    color: #ffffff;
    background: #8f1d2f;
    border-color: #8f1d2f;
    box-shadow: 0 6px 18px rgba(143, 29, 47, 0.28);
}

.home-hero--b4a__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.home-hero--b4a__btn i {
    font-size: 1.05rem;
    opacity: 0.92;
}

.home-hero--b4a__btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

/* Primary — solid white */
.home-hero--b4a__btn--white {
    background: #ffffff;
    color: #0f172a;
    border-color: #e8e4e6;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

.home-hero--b4a__btn--white:hover {
    background: #fdf2f4;
    color: #8f1d2f;
    border-color: rgba(143, 29, 47, 0.35);
    box-shadow: 0 4px 18px rgba(143, 29, 47, 0.12);
}

/* Secondary — maroon outline */
.home-hero--b4a__btn--ghost,
.home-hero--b4a__btn--dark,
.home-hero--b4a__btn--outline {
    background: #ffffff;
    color: #8f1d2f;
    border-color: #8f1d2f;
    box-shadow: none;
}

.home-hero--b4a__btn--ghost:hover,
.home-hero--b4a__btn--dark:hover,
.home-hero--b4a__btn--outline:hover {
    background: #8f1d2f;
    color: #ffffff;
    border-color: #8f1d2f;
}

/* Trusted strip inside hero — theme highlight box */
.home-hero--b4a__trusted {
    margin: 0 auto 2.75rem;
    max-width: 52rem;
    padding: 1.45rem 1.6rem 1.55rem;
    text-align: center;
    background:
        linear-gradient(180deg, #ffffff 0%, #fdf2f4 100%);
    border: 1px solid rgba(143, 29, 47, 0.2);
    border-left: 4px solid #8f1d2f;
    border-radius: 18px;
    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(143, 29, 47, 0.04);
}

.home-hero--b4a__trusted-label {
    margin: 0 0 1rem;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8f1d2f;
}

.home-hero--b4a__trusted-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.home-hero--b4a__trusted-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(143, 29, 47, 0.18);
    background: #fdf2f4;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8f1d2f;
    box-shadow: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-hero--b4a__trusted-tag:hover {
    color: #ffffff;
    border-color: #8f1d2f;
    background: #8f1d2f;
    box-shadow: 0 6px 16px rgba(143, 29, 47, 0.22);
    transform: translateY(-1px);
}

.home-hero--b4a__wave {
    position: relative;
    z-index: 2;
    line-height: 0;
    margin-top: -1px;
}

.home-hero--b4a__wave svg {
    display: block;
    width: 100%;
    height: clamp(40px, 8vw, 64px);
}

.home-hero--b4a__wave svg path {
    fill: #f5f3f4;
}

/* Tablet (portrait / landscape under desktop) */
@media (max-width: 991.98px) {
    .home-hero--b4a__inner {
        max-width: 720px;
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    .home-hero--b4a__content {
        padding-bottom: 2.75rem;
    }

    .home-hero--b4a__title {
        max-width: 16ch;
        font-size: clamp(2.1rem, 5.5vw, 3rem);
        margin-bottom: 1.1rem;
    }

    .home-hero--b4a__lead {
        max-width: 40rem;
        font-size: 1rem;
        line-height: 1.65;
    }

    .home-hero--b4a__lead:last-of-type {
        margin-bottom: 1.75rem;
    }

    .home-hero--b4a__actions {
        gap: 0.7rem;
    }

    .home-hero--b4a__actions .mdk-pill-btn {
        min-width: 10.5rem;
    }

    .home-hero--b4a__trusted {
        margin-bottom: 2.35rem;
        padding: 1.2rem 1.2rem 1.3rem;
    }

    .home-hero--b4a__bubble--lg {
        right: 2%;
        top: 14%;
        opacity: 0.85;
    }

    .home-hero--b4a__bubble--md {
        left: 2%;
        opacity: 0.8;
    }

    .home-hero--b4a__bubble--glow {
        opacity: 0.7;
        right: -8%;
    }
}

/* Large phones / small tablets */
@media (max-width: 767.98px) {
    .home-hero--b4a__inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .home-hero--b4a__content {
        padding-bottom: 2.25rem;
    }

    .home-hero--b4a__title {
        max-width: none;
        font-size: clamp(1.85rem, 8vw, 2.45rem);
        line-height: 1.12;
        letter-spacing: -0.03em;
    }

    .home-hero--b4a__lead {
        font-size: 0.95rem;
        line-height: 1.65;
        max-width: 36rem;
    }

    .home-hero--b4a__lead + .home-hero--b4a__lead {
        margin-top: 0.7rem;
    }

    .home-hero--b4a__lead:last-of-type {
        margin-bottom: 1.5rem;
    }

    .home-hero--b4a__actions {
        gap: 0.65rem;
    }

    .home-hero--b4a__actions .mdk-pill-btn {
        min-width: 0;
        flex: 1 1 calc(50% - 0.35rem);
        max-width: 100%;
    }

    .home-hero--b4a__actions .mdk-pill-btn .mdk-pill-btn__inner {
        width: 100%;
        min-height: 42px;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .home-hero--b4a__trusted {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 1.75rem;
        padding: 1.1rem 1rem 1.2rem;
        border-radius: 14px;
    }

    .home-hero--b4a__trusted-label {
        margin-bottom: 0.9rem;
        font-size: 0.68rem;
    }

    .home-hero--b4a__trusted-tags {
        gap: 0.4rem;
    }

    .home-hero--b4a__trusted-tag {
        padding: 0.35rem 0.7rem;
        font-size: 0.68rem;
        letter-spacing: 0.06em;
    }

    .home-hero--b4a__bg::after {
        background-size: 44px 44px;
        opacity: 0.65;
    }

    .home-hero--b4a__bubble--sm,
    .home-hero--b4a__bubble--xs {
        opacity: 0.55;
    }

    .home-hero--b4a__bubble--glow {
        opacity: 0.55;
    }
}

/* Phones */
@media (max-width: 575.98px) {
    .home-hero--b4a__actions {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }

    .home-hero--b4a__actions .mdk-pill-btn,
    .home-hero--b4a__btn {
        width: 100%;
        max-width: none;
        flex: none;
        min-width: 0;
    }

    .home-hero--b4a__title {
        max-width: none;
        font-size: clamp(1.7rem, 8.5vw, 2.15rem);
    }

    .home-hero--b4a__content {
        padding-bottom: 1.85rem;
    }

    .home-hero--b4a__trusted-tags {
        justify-content: center;
    }

    .home-hero--b4a__bubble--md,
    .home-hero--b4a__bubble--sm,
    .home-hero--b4a__bubble--xs {
        display: none;
    }

    .home-hero--b4a__bubble--lg {
        width: 90px;
        height: 90px;
        top: 12%;
        right: -8px;
        opacity: 0.55;
    }

    .home-hero--b4a__bubble--glow {
        width: 140px;
        height: 140px;
        bottom: -20px;
        right: -20px;
        opacity: 0.45;
    }

    .home-hero--b4a__wave svg {
        height: 36px;
    }
}

/* Extra-small phones */
@media (max-width: 379.98px) {
    .home-hero--b4a__title {
        font-size: 1.55rem;
        letter-spacing: -0.02em;
    }

    .home-hero--b4a__lead {
        font-size: 0.9rem;
    }

    .home-hero--b4a__actions .mdk-pill-btn__inner {
        font-size: 0.8125rem;
        padding: 0.45rem 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero--b4a__bubble {
        animation: none;
    }

    .home-hero--b4a__trusted-tag:hover {
        transform: none;
    }
}

/* Override legacy home-hero rules from style.css */
.page-home .home-hero.home-hero--b4a {
    margin-top: 0;
    padding-top: calc(5.25rem + 3.5rem);
    padding-bottom: 0;
}

@media (max-width: 991.98px) {
    .page-home .home-hero.home-hero--b4a {
        padding-top: calc(4.85rem + 2.75rem);
    }
}

.page-home .home-hero--b4a .home-hero--b4a__title {
    color: #0f172a !important;
    font-family: inherit !important;
    -webkit-text-fill-color: #0f172a;
}

.page-home .home-hero--b4a .home-hero--b4a__accent {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #8f1d2f !important;
    color: #8f1d2f !important;
}

.page-home .home-hero--b4a .home-hero--b4a__lead {
    color: #475569 !important;
    font-family: inherit !important;
}

.page-home .home-hero--b4a .home-hero--b4a__lead strong {
    color: #0f172a !important;
}

/* Home compare table */

.home-compare {
    --cmp-bg: #f5f3f4;
    --cmp-bg-soft: #ffffff;
    --cmp-card: #ffffff;
    --cmp-card-border: #e8e4e6;
    --cmp-accent: #8f1d2f;
    --cmp-accent-soft: rgba(143, 29, 47, 0.1);
    --cmp-text: #0f172a;
    --cmp-muted: #64748b;
    --cmp-muted-2: #94a3b8;
    --cmp-ours-col: #fdf2f4;
    --cmp-ours-border: rgba(143, 29, 47, 0.28);
    --cmp-good: #22c55e;
    --cmp-bad: #ef4444;
    --cmp-warn: #f59e0b;
    position: relative;
    padding: clamp(4rem, 8vw, 5.5rem) 0;
    background: #ffffff;
    color: var(--cmp-text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
}

.home-compare__head {
    max-width: 40rem;
    margin: 0 auto 2.75rem;
}

.home-compare__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.875rem, 4.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--cmp-text);
}

.home-compare__accent {
    color: var(--cmp-accent);
}

.home-compare__lead {
    margin: 0;
    font-size: clamp(0.95rem, 2vw, 1.0625rem);
    line-height: 1.65;
    color: var(--cmp-muted);
}

.home-compare__card {
    max-width: 920px;
    margin: 0 auto;
    padding: 0.35rem;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e8e4e6;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
}

.home-compare__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
}

.home-compare__table {
    width: 100%;
    min-width: 560px;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

.home-compare__table th,
.home-compare__table td {
    padding: 1.15rem 1.25rem;
    vertical-align: middle;
    text-align: left;
    border-bottom: 1px solid rgba(55, 65, 81, 0.55);
}

.home-compare__table tr:last-child td {
    border-bottom: none;
}

.home-compare__table th {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cmp-muted);
    background: rgba(5, 10, 24, 0.45);
}

.home-compare__table th:first-child {
    border-radius: 16px 0 0 0;
    width: 28%;
}

.home-compare__table th:last-child {
    border-radius: 0 16px 0 0;
    width: 36%;
}

.home-compare__table th.home-compare__col-ours {
    width: 36%;
    color: var(--cmp-accent);
    background: var(--cmp-ours-col);
    border-left: 1px solid var(--cmp-ours-border);
    border-right: 1px solid var(--cmp-ours-border);
}

.home-compare__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.home-compare__brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
}

.home-compare__brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.05rem;
    text-transform: none;
    letter-spacing: normal;
}

.home-compare__brand-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--cmp-text);
    line-height: 1.2;
}

.home-compare__brand-tag {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cmp-accent);
}

.home-compare__feature {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--cmp-muted);
}

.home-compare__cell {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--cmp-muted);
}

.home-compare__cell i {
    font-size: 1.05rem;
    flex-shrink: 0;
}

.home-compare__cell--ours {
    font-weight: 600;
    color: var(--cmp-text);
}

.home-compare__cell--ours i.bi-check-circle-fill {
    color: var(--cmp-good);
}

.home-compare__cell--ours i.bi-lightning-charge-fill {
    color: var(--cmp-warn);
}

.home-compare__cell--ours i.bi-tag-fill {
    color: var(--cmp-warn);
}

.home-compare__cell--ours i.bi-headset {
    color: var(--cmp-good);
}

.home-compare__cell--other i.bi-x-circle {
    color: var(--cmp-bad);
}

.home-compare__cell--other i.bi-clock {
    color: var(--cmp-muted-2);
}

.home-compare__cell--other i.bi-wallet2 {
    color: var(--cmp-muted-2);
}

.home-compare__cell--other i.bi-envelope {
    color: var(--cmp-muted-2);
}

.home-compare__table td.home-compare__col-ours {
    background: var(--cmp-ours-col);
    border-left: 1px solid var(--cmp-ours-border);
    border-right: 1px solid var(--cmp-ours-border);
}

.home-compare__table tr:last-child td:first-child {
    border-radius: 0 0 0 16px;
}

.home-compare__table tr:last-child td:last-child {
    border-radius: 0 0 16px 0;
}

.home-compare__note {
    max-width: 920px;
    margin: 1.25rem auto 0;
    font-size: 0.8125rem;
    font-style: italic;
    color: var(--cmp-muted-2);
    text-align: center;
}

.home-compare__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

/* Live result sample tables (below compare) */
.home-live-results-section {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: #f5f3f4;
    border-top: 1px solid #e8e4e6;
}

.home-live-results {
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 5vw, 3.5rem);
}

.home-live-results__block {
    width: 100%;
}

.home-live-results__head {
    text-align: center;
    margin-bottom: 1.35rem;
}

.home-live-results__badge {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.3rem 0.85rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a82d42;
    background: rgba(143, 29, 47, 0.12);
    border: 1px solid rgba(143, 29, 47, 0.28);
    border-radius: 999px;
}

.home-live-results__badge--delhi {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.28);
}

.home-live-results__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.home-live-results__title-accent {
    color: var(--cmp-accent, #8f1d2f);
}

.home-live-results__lead {
    margin: 0 auto;
    max-width: 46rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #475569;
}

.home-live-results__card {
    width: 100%;
    border-radius: 16px;
    background: var(--cmp-card, rgba(253, 242, 244, 0.95));
    border: 1px solid var(--cmp-card-border, #e8e4e6);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.home-live-results__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.home-live-results__table-wrap--scroll {
    max-height: 26rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(143, 29, 47, 0.55) rgba(15, 23, 42, 0.45);
}

.home-live-results__table-wrap--scroll::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.home-live-results__table-wrap--scroll::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.45);
}

.home-live-results__table-wrap--scroll::-webkit-scrollbar-thumb {
    background: rgba(143, 29, 47, 0.55);
    border-radius: 999px;
}

.home-live-results__table-wrap--scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(143, 29, 47, 0.75);
}

.home-live-results__table-wrap--scroll .home-live-results__table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.home-live-results__table {
    width: 100%;
    min-width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.home-live-results__table thead th {
    padding: 0.9rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #8f1d2f 0%, #6b1523 100%);
    border-bottom: 1px solid rgba(143, 29, 47, 0.45);
    white-space: nowrap;
}

.home-live-results__table--mumbai thead th:first-child {
    text-align: left;
}

.home-live-results__table--mumbai thead th:not(:first-child) {
    text-align: center;
}

.home-live-results__table tbody td {
    padding: 0.9rem 1rem;
    color: #0f172a;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(11, 17, 32, 0.5);
    vertical-align: middle;
}

.home-live-results__table tbody tr:nth-child(even) td {
    background: rgba(22, 30, 46, 0.45);
}

.home-live-results__table tbody tr:last-child td {
    border-bottom: none;
}

.home-live-results__table tbody tr:hover td {
    background: var(--cmp-ours-col, rgba(143, 29, 47, 0.08));
}

.home-live-results__table--mumbai tbody td:not(.home-live-results__market) {
    text-align: center;
    font-variant-numeric: tabular-nums;
    color: #64748b;
}

.home-live-results__table--delhi tbody td.home-live-results__market {
    text-align: left;
}

.home-live-results__table--delhi tbody td:not(.home-live-results__market):not(.home-live-results__jodi) {
    text-align: center;
    font-variant-numeric: tabular-nums;
    color: #64748b;
}

.home-live-results__market {
    font-weight: 600;
    color: #ffffff;
    text-align: left;
}

.home-live-results__jodi {
    font-weight: 700;
    color: #a82d42;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.home-live-results__table--delhi thead th:not(:first-child),
.home-live-results__table--delhi tbody td.home-live-results__jodi {
    text-align: center;
}

@media (max-width: 991.98px) {
    .home-live-results__head {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .home-live-results__table {
        font-size: 0.78rem;
    }

    .home-live-results__table thead th,
    .home-live-results__table tbody td {
        padding: 0.65rem 0.5rem;
    }

    .home-live-results__market {
        white-space: normal;
        min-width: 7rem;
    }
}

@media (max-width: 575.98px) {
    .home-compare__table {
        min-width: 480px;
    }

    .home-compare__table th,
    .home-compare__table td {
        padding: 0.9rem 0.85rem;
    }

    .home-compare__cell {
        font-size: 0.8125rem;
        gap: 0.4rem;
    }

    .home-compare__brand-logo {
        width: 28px;
        height: 28px;
    }

    .home-compare__actions {
        flex-direction: column;
        width: 100%;
    }

    .home-compare__actions .mdk-pill-btn {
        width: 100%;
        max-width: 320px;
    }
}

/* ---------- Home page — latest blogs (1 row × 3 cols) ---------- */
.home-blogs__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.home-blogs__head-text {
    max-width: 36rem;
}

.home-blogs__row {
    align-items: stretch;
}

.home-blogs__row > [class*="col-"] > .blog-card,
.home-blogs__row > [class*="col-"] .blog-card {
    width: 100%;
    height: 100%;
}

.page-home .home-blogs .blog-card {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid var(--mdk-border, #e8e4e6) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden;
}

.page-home .home-blogs .blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(143, 29, 47, 0.14) !important;
    border-color: rgba(143, 29, 47, 0.28) !important;
}

.page-home .home-blogs .blog-card-image {
    border-radius: 16px 16px 0 0 !important;
    overflow: hidden;
    margin: 0;
}

.page-home .home-blogs .blog-card-image__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-home .home-blogs .blog-card-body {
    background: #ffffff !important;
}

.page-home .home-blogs .blog-card-title {
    background-image: none !important;
    -webkit-text-fill-color: #0f172a !important;
    color: #0f172a !important;
}

.page-home .home-blogs .blog-card-date {
    color: #8f1d2f !important;
    font-weight: 600;
}

.page-home .home-blogs .blog-card-body > p {
    color: #64748b !important;
}

.page-home .home-blogs .blog-card__icon {
    background: linear-gradient(145deg, #8f1d2f, #6b1523) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(143, 29, 47, 0.28) !important;
}

@media (min-width: 768px) {
    .home-blogs__head {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

@media (max-width: 767.98px) {
    .page-home .home-blogs .blog-card-image__img {
        height: 180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .home-blogs .blog-card:hover {
        transform: none;
    }
}

/* ---------- Home page — reviews (left summary + right vertical scroller) ---------- */
.home-reviews__layout {
    min-height: 0;
}

.home-reviews__intro {
    max-width: 28rem;
    position: relative;
    padding-bottom: 5.5rem;
}

.home-reviews__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: #fdf2f4;
    color: #8f1d2f;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.home-reviews__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.85rem, 3.6vw, 2.65rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 1.25rem;
    text-align: left;
}

.home-reviews__title-accent {
    color: #8f1d2f;
}

.page-home .home-reviews .home-reviews__title,
.page-home .home-reviews .home-reviews__title-accent {
    background-image: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
}

.page-home .home-reviews .home-reviews__title {
    color: #0f172a !important;
}

.page-home .home-reviews .home-reviews__title-accent {
    color: #8f1d2f !important;
}

.page-home .home-reviews .home-reviews__title::after {
    display: none !important;
}

.home-reviews__rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.75rem;
    margin-bottom: 0.85rem;
}

.home-reviews__rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    color: #f59e0b;
    font-size: 1rem;
    line-height: 1;
}

.home-reviews__rating-text {
    font-size: 0.95rem;
    color: #334155;
}

.home-reviews__rating-text strong {
    color: #0f172a;
    font-weight: 700;
}

.home-reviews__count {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #8f1d2f;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.home-reviews__count:hover {
    color: #6b1523;
    gap: 0.55rem;
}

.home-reviews__smile {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 88px;
    height: 88px;
    color: #8f1d2f;
    opacity: 0.9;
    pointer-events: none;
}

.home-reviews__smile svg {
    width: 100%;
    height: 100%;
    display: block;
}

.home-reviews__scroller {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-radius: 20px;
    mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.home-reviews__scroller:focus-visible {
    outline: 2px solid rgba(143, 29, 47, 0.45);
    outline-offset: 4px;
}

.home-reviews__track {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    will-change: transform;
}

.home-reviews__clone {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-reviews__card {
    margin: 0;
    padding: 1.25rem 1.35rem;
    border-radius: 16px;
    background: #fdf2f4;
    border: 1px solid rgba(143, 29, 47, 0.1);
    box-shadow: 0 6px 20px rgba(143, 29, 47, 0.06);
}

.home-reviews__card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.home-reviews__card-person {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.home-reviews__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #ffffff;
    border: 2px solid rgba(143, 29, 47, 0.22);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.home-reviews__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.home-reviews__card-meta {
    min-width: 0;
}

.home-reviews__card-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.home-reviews__card-role {
    margin: 0.15rem 0 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.35;
}

.home-reviews__card-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.12rem;
    color: #f59e0b;
    font-size: 0.85rem;
    line-height: 1;
    flex-shrink: 0;
    padding-top: 0.2rem;
}

.home-reviews__card-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #475569;
}

@media (max-width: 991.98px) {
    .home-reviews__intro {
        max-width: none;
        text-align: center;
        padding-bottom: 4.5rem;
        margin-inline: auto;
    }

    .home-reviews__title {
        text-align: center;
    }

    .home-reviews__rating,
    .home-reviews__count {
        justify-content: center;
    }

    .home-reviews__smile {
        left: 50%;
        transform: translateX(-50%);
    }

    .home-reviews__scroller {
        height: 380px;
        max-width: 560px;
        margin-inline: auto;
    }
}

@media (max-width: 575.98px) {
    .home-reviews__card {
        padding: 1.1rem 1.15rem;
    }

    .home-reviews__card-head {
        flex-direction: column;
        gap: 0.55rem;
    }

    .home-reviews__card-stars {
        padding-top: 0;
        margin-left: 3.9rem;
    }

    .home-reviews__scroller {
        height: 360px;
    }

    .home-reviews__smile {
        width: 72px;
        height: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-reviews__track {
        transform: none !important;
    }

    .home-reviews__scroller {
        overflow-y: auto;
        mask-image: none;
        -webkit-mask-image: none;
    }
}

/* Floating WhatsApp + Contact Us rail */

.mdk-float-rail {
    position: fixed;
    right: 1.1rem;
    bottom: 1.25rem;
    top: auto;
    z-index: 1020;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    transform: none;
    pointer-events: none;
}

.mdk-float-rail__wa {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 3.5rem;
    height: 3.5rem;
    padding: 0 1rem 0 0.85rem;
    border-radius: 999px;
    text-decoration: none;
    color: #ffffff;
    background: #25d366;
    border: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    font-size: 1.55rem;
    line-height: 1;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.mdk-float-rail__wa-text {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
}

.mdk-float-rail__wa:hover,
.mdk-float-rail__wa:focus-visible {
    color: #ffffff;
    background: #1ebe57;
    text-decoration: none;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
    outline: none;
}

.mdk-float-rail__wa:focus-visible {
    outline: 2px solid #8f1d2f;
    outline-offset: 3px;
}

@media (max-width: 575.98px) {
    .mdk-float-rail {
        right: 0.85rem;
        bottom: 0.9rem;
        left: auto;
    }

    .mdk-float-rail__wa {
        min-width: 3.15rem;
        height: 3.15rem;
        padding: 0 0.85rem 0 0.7rem;
        font-size: 1.35rem;
    }

    .mdk-float-rail__wa-text {
        font-size: 0.78rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mdk-float-rail__wa,
    .mdk-float-rail__wa:hover {
        transition: none;
        transform: none;
    }
}


/* ---------- 5. Inner pages — about, contact, faq, service, blog, legal ---------- */


/* ---------- 5b. Pill buttons (common) ---------- */

/* Common pill CTA — outer border → shell padding → inner bg → text (matches header nav pill) */

.mdk-pill-btn {
    --pill-border: #e8e4e6;
    --pill-shell-bg: rgba(253, 242, 244, 0.95);
    --pill-accent: #8f1d2f;
    --pill-accent-hover: #6b1523;

    display: inline-flex;
    align-items: stretch;
    padding: 0.35rem;
    border: 1px solid var(--pill-border);
    border-radius: 999px;
    background: var(--pill-shell-bg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.2;
    transition: transform 0.2s ease, border-color 0.2s ease;
    vertical-align: middle;
}

.mdk-pill-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.mdk-pill-btn__inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 38px;
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.mdk-pill-btn__inner i {
    font-size: 1rem;
    opacity: 0.92;
    line-height: 1;
}

/* Primary — maroon fill (active nav link style) */
.mdk-pill-btn--primary .mdk-pill-btn__inner {
    color: #ffffff;
    background: #8f1d2f;
    box-shadow: 0 2px 10px rgba(143, 29, 47, 0.28);
}

.mdk-pill-btn--primary:hover .mdk-pill-btn__inner {
    background: #6b1523;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(143, 29, 47, 0.35);
}

/* White — solid inner surface */
.mdk-pill-btn--white .mdk-pill-btn__inner {
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #e8e4e6;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.mdk-pill-btn--white:hover .mdk-pill-btn__inner {
    background: #fdf2f4;
    color: #8f1d2f;
    border-color: rgba(143, 29, 47, 0.35);
    box-shadow: 0 6px 18px rgba(143, 29, 47, 0.12);
}

/* Ghost — maroon outline */
.mdk-pill-btn--ghost .mdk-pill-btn__inner {
    color: #8f1d2f;
    background: #ffffff;
    border: 1px solid #8f1d2f;
}

.mdk-pill-btn--ghost:hover .mdk-pill-btn__inner {
    color: #ffffff;
    background: #8f1d2f;
    border-color: #8f1d2f;
    box-shadow: 0 6px 18px rgba(143, 29, 47, 0.28);
}

.mdk-pill-btn:focus-visible {
    outline: 2px solid #a82d42;
    outline-offset: 3px;
}

.mdk-pill-btn:disabled,
.mdk-pill-btn.disabled {
    opacity: 0.65;
    pointer-events: none;
    transform: none;
}

.mdk-pill-btn--sm {
    padding: 0.3rem;
}

.mdk-pill-btn--sm .mdk-pill-btn__inner {
    min-height: 34px;
    padding: 0.35rem 0.9rem;
    font-size: 0.8125rem;
}

.mdk-pill-btn--block {
    width: 100%;
}

.mdk-pill-btn--block .mdk-pill-btn__inner {
    width: 100%;
}

.mdk-navbar__auth-col .mdk-pill-btn {
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .mdk-navbar__auth-col {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.75rem 0 0.25rem;
    }
}

@media (max-width: 575.98px) {
    .mdk-pill-btn--block-sm {
        width: 100%;
    }

    .mdk-pill-btn--block-sm .mdk-pill-btn__inner {
        width: 100%;
    }
}



/* ---------- 5c. Theme tokens & inner page base (common) ---------- */

/* Shared light theme — aligns all inner pages with admin palette */

:root {
    --mdk-surface: #faf8f9;
    --mdk-card-bg: #ffffff;
    --mdk-border: #e8e4e6;
    --mdk-muted: #64748b;
    --mdk-text-bright: #0f172a;
    --mdk-kicker: #8f1d2f;
}

body.page-about,
body.page-contact,
body.page-services,
body.page-faq,
body.page-blog,
body.page-legal {
    background: var(--mdk-bg);
    color: var(--mdk-muted);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Accent — secondary title color (maroon) */
.ids-accent,
.mdk-accent,
.mdk-title-accent,
.home-hero--b4a__accent {
    color: #8f1d2f;
}

/* Shared kicker pill */
.ids-kicker,
.page-blog .ids-blog-hero__kicker,
.page-legal .ids-legal-hero__kicker {
    display: inline-block;
    margin-bottom: 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--site-accent-light);
}

/* Section headings */
.ids-section-kicker {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mdk-kicker);
    background: rgba(143, 29, 47, 0.12);
    border: 1px solid rgba(143, 29, 47, 0.22);
    border-radius: 999px;
}

.ids-section-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: var(--mdk-heading);
}

.ids-section-lead {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--mdk-muted);
}

/* Form fields — shared across inner pages */
.ids-field-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #64748b;
}

.ids-field-input {
    background: #ffffff !important;
    border: 1px solid var(--mdk-border) !important;
    border-radius: 10px !important;
    color: #0f172a !important;
    min-height: 44px;
}

.ids-field-input::placeholder {
    color: #64748b;
}

.ids-field-input:focus {
    border-color: var(--site-accent) !important;
    box-shadow: 0 0 0 0.2rem rgba(143, 29, 47, 0.2) !important;
}

/* Insight cards — light maroon on blog */
.page-blog .insight-card {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #e8e4e6 !important;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06) !important;
}

.page-blog .insight-card:hover {
    border-color: rgba(143, 29, 47, 0.28) !important;
    box-shadow: 0 16px 40px rgba(143, 29, 47, 0.12) !important;
    transform: translateY(-3px);
}

.page-blog .insight-card__media {
    background: #faf8f9 !important;
}

.page-blog .insight-card__cat {
    color: #8f1d2f;
    background: #fdf2f4;
    border: 1px solid rgba(143, 29, 47, 0.22);
}

.page-blog .insight-card__date {
    color: #64748b;
}

.page-blog .insight-card__title,
.page-blog .insight-card__title-link {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    background: none !important;
    background-image: none !important;
}

.page-blog .insight-card__title-link:hover {
    color: #8f1d2f !important;
    -webkit-text-fill-color: #8f1d2f !important;
}

.page-blog .insight-card__excerpt {
    color: #64748b !important;
}

.page-blog .insight-card__read {
    color: #8f1d2f !important;
}

.page-blog .insight-card__read:hover {
    color: #ffffff !important;
}

.page-blog .insight-card__icon {
    color: #ffffff !important;
    background: linear-gradient(145deg, #a82d42, #8f1d2f) !important;
    border: 1px solid rgba(143, 29, 47, 0.22);
}

/* Blog cards — related posts */
.page-blog .blog-card {
    background: var(--mdk-card-bg);
    border: 1px solid var(--mdk-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-blog .blog-card:hover {
    transform: translateY(-3px);
    border-color: rgba(143, 29, 47, 0.35);
    box-shadow: 0 16px 40px rgba(143, 29, 47, 0.12);
}

.page-blog .blog-card-body {
    padding: 1.15rem 1.25rem 1.25rem;
}

.page-blog .blog-card .blog-card-title,
.page-blog .blog-card-body h2 {
    color: var(--mdk-heading) !important;
    background: none !important;
    -webkit-text-fill-color: var(--mdk-heading) !important;
}

.page-blog .blog-card .blog-card-date {
    color: var(--mdk-muted);
}

.page-blog .blog-card-body > p {
    color: var(--mdk-muted);
    font-size: 0.875rem;
}

.page-blog .blog-read-link {
    color: var(--mdk-kicker);
    font-weight: 600;
    text-decoration: none;
}

.page-blog .blog-read-link:hover {
    color: var(--mdk-heading);
}

.page-blog .blog-card__icon {
    color: var(--mdk-kicker);
    background: rgba(143, 29, 47, 0.12);
    border: 1px solid rgba(143, 29, 47, 0.22);
}

/* Pagination */
.page-blog .pagination .page-link {
    background: #ffffff;
    border-color: var(--mdk-border);
    color: var(--mdk-muted);
}

.page-blog .pagination .page-link:hover {
    background: rgba(143, 29, 47, 0.15);
    border-color: rgba(143, 29, 47, 0.35);
    color: var(--mdk-heading);
}

.page-blog .pagination .page-item.active .page-link {
    background: var(--site-accent);
    border-color: var(--site-accent);
    color: #ffffff;
}

.page-blog .blog-pagination-nav {
    gap: 0.75rem;
}

/* Legal / dynamic pages */
.page-legal .ids-legal {
    background: var(--mdk-bg);
}

.page-legal .ids-legal-hero {
    position: relative;
    padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(1.25rem, 2.5vw, 2rem);
    overflow: hidden;
}

.page-legal .ids-legal-hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(143, 29, 47, 0.15) 0%, transparent 60%),
        repeating-linear-gradient(135deg, transparent, transparent 18px, rgba(143, 29, 47, 0.04) 18px, rgba(143, 29, 47, 0.04) 36px);
    pointer-events: none;
}

.page-legal .ids-legal-hero__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3.8vw, 2.65rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--mdk-heading);
}

.page-legal .ids-legal-hero__lead {
    margin: 0;
    max-width: 40rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mdk-muted);
}

.page-legal .ids-legal-hero__lead strong {
    color: var(--mdk-text-bright);
}

.page-legal .ids-legal-main {
    padding: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}

.page-legal .ids-legal-panel {
    padding: clamp(1.35rem, 3vw, 2rem);
    border-radius: 16px;
    background: var(--mdk-card-bg);
    border: 1px solid var(--mdk-border);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.page-legal .page-body-richtext,
.page-legal .page-dynamic-content {
    color: #64748b;
    line-height: 1.75;
}

.page-legal .page-body-richtext h2,
.page-legal .page-body-richtext h3,
.page-legal .page-body-richtext h4 {
    color: var(--mdk-heading);
    margin-top: 1.5rem;
}

.page-legal .page-body-richtext a {
    color: var(--mdk-kicker);
}

.page-legal .page-body-richtext a:hover {
    color: var(--mdk-heading);
}

/* Mobile — shared inner page tweaks */
@media (max-width: 991.98px) {
    body.page-about .container,
    body.page-contact .container,
    body.page-services .container,
    body.page-faq .container,
    body.page-blog .container,
    body.page-legal .container {
        --bs-gutter-x: 1rem;
    }
}

@media (max-width: 575.98px) {
    .page-blog .insight-card--featured {
        display: flex;
        flex-direction: column;
    }

    .page-blog .insight-card--featured .insight-card__img {
        min-height: 200px;
        height: 200px;
    }

    .page-blog .blog-pagination-nav {
        flex-direction: column;
        align-items: stretch !important;
    }

    .page-blog .blog-pagination-nav > div {
        display: flex;
        justify-content: center;
    }

    .page-blog .blog-pagination-nav .pagination {
        justify-content: center !important;
    }
}



/* ---------- 5d. Inner pages shared overrides (common) ---------- */

/* Inner pages — dark theme (service, FAQ, contact, blog) aligned with home */

/* Tighter spacing on all inner pages */
body.page-about,
body.page-contact,
body.page-services,
body.page-faq,
body.page-blog,
body.page-legal {
    background: #f5f3f4;
    color: #64748b;
}
body.page-about .container,
body.page-contact .container,
body.page-services .container,
body.page-faq .container,
body.page-blog .container,
body.page-legal .container {
    --bs-gutter-x: 1.15rem;
}

body.page-about main .container.pt-2,
body.page-contact main .container.pt-2 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.page-services .services-page,
.page-faq .faq-page,
.page-contact .contact-page,
.page-blog .ids-blog,
.page-legal .ids-legal {
    background: #f5f3f4;
    color: #64748b;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Shared inner hero */
.inner-hero--page.home-hero--b4a,
.page-services .svc-hero--page.home-hero--b4a,
.page-faq .faq-hero--page.home-hero--b4a,
.page-contact .contact-hero--page.home-hero--b4a,
.page-blog .blog-hero--page.home-hero--b4a {
    padding-top: 1rem;
    margin-top: -0.35rem;
}

.page-about .about-hero--page.home-hero--b4a {
    padding-top: 0;
    margin-top: 0;
}

.page-about .ids-about-hero {
    padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

.inner-hero--page .home-hero--b4a__content,
.page-services .svc-hero--page .home-hero--b4a__content,
.page-faq .faq-hero--page .home-hero--b4a__content,
.page-contact .contact-hero--page .home-hero--b4a__content,
.page-blog .blog-hero--page .home-hero--b4a__content {
    padding-bottom: 1.5rem;
}

.inner-hero--page .home-hero--b4a__title,
.page-services .svc-hero--page .home-hero--b4a__title,
.page-faq .faq-hero--page .home-hero--b4a__title,
.page-contact .contact-hero--page .home-hero--b4a__title,
.page-blog .blog-hero--page .home-hero--b4a__title {
    max-width: none;
    font-size: clamp(2rem, 4.5vw, 3rem);
}

/* Breadcrumb pill (shared) */
.inner-breadcrumb-wrap,
.about-breadcrumb-wrap,
.svc-breadcrumb-wrap {
    margin-bottom: 1.75rem;
}

.inner-breadcrumb-wrap .breadcrumb-bar-track,
.about-breadcrumb-wrap .breadcrumb-bar-track,
.svc-breadcrumb-wrap .breadcrumb-bar-track,
.page-blog .breadcrumb-bar-track,
.page-contact .breadcrumb-bar-track,
.page-faq .breadcrumb-bar-track,
.page-services .breadcrumb-bar-track {
    background: rgba(253, 242, 244, 0.95);
    border: 1px solid #e8e4e6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.inner-breadcrumb-wrap .breadcrumb-bar-item,
.about-breadcrumb-wrap .breadcrumb-bar-item,
.svc-breadcrumb-wrap .breadcrumb-bar-item,
.page-blog .breadcrumb-bar-item,
.page-contact .breadcrumb-bar-item,
.page-faq .breadcrumb-bar-item,
.page-services .breadcrumb-bar-item {
    color: #64748b;
}

.inner-breadcrumb-wrap .breadcrumb-bar-link,
.about-breadcrumb-wrap .breadcrumb-bar-link,
.svc-breadcrumb-wrap .breadcrumb-bar-link,
.page-blog .breadcrumb-bar-link,
.page-contact .breadcrumb-bar-link,
.page-faq .breadcrumb-bar-link,
.page-services .breadcrumb-bar-link {
    color: #0f172a;
}

.inner-breadcrumb-wrap .breadcrumb-bar-link:hover,
.about-breadcrumb-wrap .breadcrumb-bar-link:hover,
.svc-breadcrumb-wrap .breadcrumb-bar-link:hover,
.page-blog .breadcrumb-bar-link:hover,
.page-contact .breadcrumb-bar-link:hover,
.page-faq .breadcrumb-bar-link:hover,
.page-services .breadcrumb-bar-link:hover {
    color: #8f1d2f;
    background: rgba(143, 29, 47, 0.08);
}

.inner-breadcrumb-wrap .breadcrumb-bar-home-icon,
.about-breadcrumb-wrap .breadcrumb-bar-home-icon,
.svc-breadcrumb-wrap .breadcrumb-bar-home-icon,
.page-blog .breadcrumb-bar-home-icon,
.page-contact .breadcrumb-bar-home-icon,
.page-faq .breadcrumb-bar-home-icon,
.page-services .breadcrumb-bar-home-icon {
    color: #8f1d2f;
}

.inner-breadcrumb-wrap .breadcrumb-bar-item.is-current .breadcrumb-bar-current,
.about-breadcrumb-wrap .breadcrumb-bar-item.is-current .breadcrumb-bar-current,
.svc-breadcrumb-wrap .breadcrumb-bar-item.is-current .breadcrumb-bar-current,
.page-blog .breadcrumb-bar-item.is-current .breadcrumb-bar-current,
.page-contact .breadcrumb-bar-item.is-current .breadcrumb-bar-current,
.page-faq .breadcrumb-bar-item.is-current .breadcrumb-bar-current,
.page-services .breadcrumb-bar-item.is-current .breadcrumb-bar-current {
    color: #ffffff;
    background: #8f1d2f;
    border-color: #8f1d2f;
    box-shadow: 0 2px 10px rgba(143, 29, 47, 0.35);
}

/* Section kickers & titles */
.page-services .svc-section__kicker,
.page-faq .matka-soft-features__kicker,
.page-blog .blog-insights-hero__kicker {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a82d42;
    background: rgba(143, 29, 47, 0.12);
    border: 1px solid rgba(143, 29, 47, 0.22);
    border-radius: 999px;
}

.page-services .svc-section {
    padding: clamp(3rem, 6vw, 4.75rem) 0;
    background:
        radial-gradient(ellipse 70% 50% at 20% 50%, rgba(143, 29, 47, 0.08) 0%, transparent 60%),
        #faf8f9;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.page-services .svc-section--cta {
    background:
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(143, 29, 47, 0.1) 0%, transparent 60%),
        #f5f3f4;
    padding-bottom: clamp(3.5rem, 8vw, 5.25rem);
}

.page-services .svc-section__title {
    color: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
}

.page-services .svc-section__title::after {
    display: none !important;
}

.page-services .svc-section__lead {
    color: #64748b;
}

.page-services .svc-section__lead strong {
    color: #0f172a;
}

.page-services .svc-inline-link {
    color: #a82d42;
}

.page-services .svc-contact-panel {
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border-radius: 16px;
    background: rgba(253, 242, 244, 0.95) !important;
    border: 1px solid #e8e4e6 !important;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35) !important;
}

.page-services .svc-contact-panel__title {
    font-weight: 800;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    color: #ffffff;
    margin-bottom: 0.65rem;
}

.page-services .svc-contact-panel__text {
    color: #64748b;
    line-height: 1.65;
}

.page-services .svc-contact-form__label {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

.page-services .svc-contact-form__input {
    background: rgba(5, 10, 24, 0.6);
    border: 1px solid #e8e4e6;
    color: #ffffff;
    border-radius: 10px;
}

.page-services .svc-contact-form__input::placeholder {
    color: #64748b;
}

.page-services .svc-contact-form__input:focus {
    background: rgba(5, 10, 24, 0.85);
    border-color: #8f1d2f;
    box-shadow: 0 0 0 0.2rem rgba(143, 29, 47, 0.2);
    color: #ffffff;
}

.page-services .svc-accordion__item {
    background: #ffffff !important;
    border: 1px solid rgba(148, 163, 184, 0.14) !important;
    border-radius: 12px !important;
    margin-bottom: 0.65rem;
    overflow: hidden;
}

.page-services .svc-accordion__btn {
    background: transparent !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: none !important;
}

.page-services .svc-accordion__btn:not(.collapsed) {
    background: rgba(143, 29, 47, 0.12) !important;
    color: #ffffff !important;
}

.page-services .svc-accordion__body {
    color: #64748b;
    background: transparent;
}

/* FAQ page */
.page-faq .faq-page__body {
    background: #f5f3f4;
}

.page-faq .section-space {
    padding-top: clamp(1.25rem, 2.5vw, 2rem);
    padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.page-faq .faq-group-title {
    color: #0f172a !important;
    background: none !important;
    -webkit-text-fill-color: #0f172a !important;
    font-weight: 700;
}

.page-faq .faq-group-title::after {
    background: #8f1d2f !important;
}

.page-faq .faq-search-input {
    background: #ffffff;
    border: 1px solid #e8e4e6;
    color: #0f172a;
    border-radius: 999px;
    padding-left: 2.75rem;
}

.page-faq .faq-search-input:focus {
    border-color: #8f1d2f;
    box-shadow: 0 0 0 0.2rem rgba(143, 29, 47, 0.2);
    color: #0f172a;
}

.page-faq .faq-search-icon {
    color: #64748b;
}

.page-faq #faq-search-hint {
    color: #64748b;
}

.page-faq .faq-item {
    background: #ffffff !important;
    border: 1px solid rgba(148, 163, 184, 0.14) !important;
    border-radius: 12px !important;
    margin-bottom: 0.65rem;
}

.page-faq .faq-item .accordion-button {
    color: #0f172a !important;
    background: transparent !important;
}

.page-faq .faq-item .accordion-body {
    color: #64748b;
}

.page-faq .faq-support-card,
.page-faq .faq-question-card,
.page-faq .service-form-panel {
    background: #ffffff !important;
    border: 1px solid #e8e4e6 !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08) !important;
}

.page-faq .faq-support-card h2,
.page-faq .faq-question-card h2,
.page-faq .service-form-panel h2 {
    color: #0f172a !important;
    background: none !important;
    -webkit-text-fill-color: #0f172a !important;
}

.page-faq .faq-support-card h2::after,
.page-faq .faq-question-card h2::after {
    display: none !important;
}

.page-faq .faq-support-card p,
.page-faq .faq-question-card p {
    color: #64748b !important;
}

.page-faq .faq-support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.page-faq .form-label {
    color: #64748b;
}

.page-faq .form-control {
    background: #ffffff;
    border: 1px solid #e8e4e6;
    color: #0f172a;
    border-radius: 10px;
}

.page-faq .form-control:focus {
    background: #ffffff;
    border-color: #8f1d2f;
    box-shadow: 0 0 0 0.2rem rgba(143, 29, 47, 0.2);
    color: #0f172a;
}

.page-faq .faq-page__hero-img,
.page-contact .contact-page__hero-img {
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}

.page-faq .faq-hero__figure-caption,
.page-contact .contact-hero__figure-caption {
    color: #64748b;
    font-size: 0.8125rem;
}

/* Contact page */
.page-contact .contact-page__body {
    background: #f5f3f4;
    padding-bottom: clamp(3rem, 6vw, 4rem);
}

.page-contact .contact-info-card,
.page-contact .contact-form-card,
.page-contact .contact-trust-badge {
    background: #ffffff !important;
    border: 1px solid #e8e4e6 !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08) !important;
}

.page-contact .contact-info-card__title,
.page-contact .contact-form-card h3 {
    color: #0f172a !important;
}

.page-contact .contact-info-label {
    color: #64748b;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.page-contact .contact-info-value,
.page-contact .contact-info-value a {
    color: #0f172a;
}

.page-contact .contact-info-value a:hover {
    color: #a82d42;
}

.page-contact .contact-info-icon {
    color: #8f1d2f;
    background: rgba(143, 29, 47, 0.12);
    border: 1px solid rgba(143, 29, 47, 0.22);
    border-radius: 10px;
}

.page-contact .contact-social-block {
    border-color: rgba(148, 163, 184, 0.15) !important;
}

.page-contact .form-label {
    color: #64748b;
}

.page-contact .form-control {
    background: #ffffff;
    border: 1px solid #e8e4e6;
    color: #0f172a;
    border-radius: 10px;
}

.page-contact .form-control:focus {
    background: #ffffff;
    border-color: #8f1d2f;
    box-shadow: 0 0 0 0.2rem rgba(143, 29, 47, 0.2);
    color: #0f172a;
}

.page-contact .contact-trust-badge__title {
    color: #0f172a !important;
}

.page-contact .contact-trust-badge__text {
    color: #64748b !important;
}

.page-services .svc-card {
    background: rgba(22, 30, 46, 0.4) !important;
    border-radius: 16px !important;
    padding: 1px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.page-services .svc-card:hover {
    background: rgba(143, 29, 47, 0.2) !important;
    box-shadow: 0 20px 48px rgba(143, 29, 47, 0.15);
}

.page-services .svc-card__inner {
    background: rgba(13, 27, 62, 0.65) !important;
    border: 1px solid #e8e4e6 !important;
    border-radius: 15px !important;
}

.page-services .svc-card__title {
    color: #ffffff !important;
}

.page-services .svc-card__desc,
.page-services .svc-card__features li {
    color: #64748b !important;
}

.page-services .svc-card__icon {
    color: #a82d42;
    background: rgba(143, 29, 47, 0.12);
    border: 1px solid rgba(143, 29, 47, 0.25);
}

.page-contact .contact-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.page-contact .contact-form-actions .mdk-pill-btn[disabled] {
    opacity: 0.65;
    pointer-events: none;
}

/* Blog listing */
.page-blog .blog-insights-hero--legacy {
    display: none;
}

.page-blog .blog-insights-body {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(143, 29, 47, 0.08) 0%, transparent 55%),
        #faf8f9;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.page-blog .blog-insights-label {
    color: #a82d42;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-blog .blog-insights-widget {
    background: #ffffff !important;
    border: 1px solid #e8e4e6 !important;
    border-radius: 14px !important;
}

.page-blog .blog-insights-widget__title {
    color: #0f172a !important;
    background: none !important;
    -webkit-text-fill-color: #0f172a !important;
    font-size: 1rem !important;
}

.page-blog .blog-insights-widget__title::after {
    display: none !important;
}

.page-blog .blog-insights-search__input {
    background: #ffffff;
    border: 1px solid #e8e4e6;
    color: #0f172a;
}

.page-blog .blog-insights-search__input:focus {
    border-color: #8f1d2f;
    box-shadow: 0 0 0 0.2rem rgba(143, 29, 47, 0.2);
    color: #0f172a;
}

.page-blog .blog-insights-cat a {
    color: #64748b !important;
    border-radius: 8px;
    padding: 0.35rem 0.5rem;
}

.page-blog .blog-insights-cat a:hover,
.page-blog .blog-insights-cat a.is-active {
    color: #8f1d2f !important;
    background: rgba(143, 29, 47, 0.1);
}

.page-blog .blog-insights-recent__link {
    color: #0f172a !important;
}

.page-blog .blog-insights-recent__link:hover {
    color: #a82d42 !important;
}

.page-blog .blog-insights-tag {
    background: rgba(143, 29, 47, 0.12);
    border: 1px solid rgba(143, 29, 47, 0.22);
    color: #64748b;
}

.page-blog .blog-insights-search__btn {
    padding: 0.25rem;
    border: none;
    background: transparent;
}

.page-blog .blog-insights-search__btn .mdk-pill-btn__inner {
    min-height: 38px;
    padding: 0.4rem 0.85rem;
}

/* Blog article */
.page-blog .blog-detail-article {
    padding-top: 1.5rem;
    padding-bottom: clamp(3rem, 6vw, 4rem);
}

.page-blog .blog-article-main {
    background: #ffffff;
    border: 1px solid #e8e4e6;
    border-radius: 16px;
    padding: clamp(1.5rem, 3vw, 2rem);
}

.page-blog .post-title {
    color: #0f172a !important;
    background: none !important;
    -webkit-text-fill-color: #0f172a !important;
}

.page-blog .post-meta,
.page-blog .post-short-description {
    color: #64748b !important;
}

.page-blog .section-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a82d42;
    background: rgba(143, 29, 47, 0.12);
    border: 1px solid rgba(143, 29, 47, 0.22);
    border-radius: 999px;
}

.page-blog .blog-body-richtext {
    color: #64748b;
}

.page-blog .blog-body-richtext h2,
.page-blog .blog-body-richtext h3,
.page-blog .blog-body-richtext h4 {
    color: #0f172a;
}

.page-blog .blog-sidebar-card {
    background: #ffffff !important;
    border: 1px solid #e8e4e6 !important;
    border-radius: 14px !important;
}

.page-blog .blog-sidebar-title {
    color: #0f172a !important;
}

.page-blog .blog-end-cta h2 {
    color: #0f172a !important;
    background: none !important;
    -webkit-text-fill-color: #0f172a !important;
}

.page-blog .blog-end-cta h2::after {
    display: none !important;
}

.page-blog .blog-end-cta p {
    color: #64748b !important;
}

.page-blog .section-title {
    color: #0f172a !important;
    background: none !important;
    -webkit-text-fill-color: #0f172a !important;
}

.page-blog .featured-image {
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.page-blog .blog-internal-links {
    border-color: rgba(148, 163, 184, 0.15) !important;
}

.page-blog .blog-internal-links a {
    color: #a82d42 !important;
}



/* ---------- 5e. Contact lead modal (common) ---------- */

/* Contact lead modal — hero / header theme */

.contact-lead-modal {
    --modal-surface: #ffffff;
    --modal-input-bg: #ffffff;
    --modal-border: rgba(143, 29, 47, 0.28);
    --modal-input-border: rgba(148, 163, 184, 0.28);
    --modal-accent: #8f1d2f;
    --modal-accent-hover: #6b1523;
    --modal-text: #0f172a;
    --modal-muted: #64748b;
    --modal-navy: #f5f3f4;
}

body:has(#contactLeadModal.show) .modal-backdrop {
    opacity: 0.45 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#contactLeadModal .modal-content {
    background: transparent;
    border: none;
}

.contact-lead-modal__dialog {
    max-width: min(420px, 92vw);
    margin: 0.75rem auto;
}

.contact-lead-modal-content {
    position: relative;
    overflow: hidden;
    border-radius: 18px !important;
    border: 1px solid var(--modal-border) !important;
    background: var(--modal-surface) !important;
    box-shadow:
        0 28px 64px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    color: var(--modal-text);
}

.contact-lead-modal-split {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-height: 0;
}

/* Top — hero image */
.contact-lead-modal-aside {
    position: relative;
    flex: none;
    width: 100%;
    min-width: 0;
    height: 220px;
    padding: 0;
    overflow: hidden;
    background: var(--modal-navy);
}

.contact-lead-modal-aside__figure {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.contact-lead-modal-aside__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}

/* Bottom — form panel */
.contact-lead-modal-form {
    position: relative;
    flex: none;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.15rem 1.2rem;
    background: var(--modal-surface);
    border: none;
}

.contact-lead-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(5, 10, 24, 0.72);
    color: #ffffff;
    opacity: 1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-lead-modal-close i {
    font-size: 0.875rem;
    line-height: 1;
    color: #ffffff;
}

.contact-lead-modal-close:hover {
    background: rgba(5, 10, 24, 0.9);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
    transform: scale(1.05);
}

.contact-lead-modal-close:focus-visible {
    outline: 2px solid #a82d42;
    outline-offset: 2px;
}

.contact-lead-modal-form__head {
    padding-right: 1.5rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.contact-lead-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--modal-text);
    margin: 0 0 0.35rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.contact-lead-modal-tagline {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--modal-muted);
    margin: 0;
    line-height: 1.45;
}

.contact-lead-modal-body {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-lead-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
}

.contact-lead-alert {
    border-radius: 10px;
    border: 1px solid rgba(34, 197, 94, 0.35);
    font-size: 0.75rem;
    padding: 0.5rem 0.7rem;
    margin-bottom: 0.75rem !important;
}

.contact-lead-field {
    position: relative;
    margin-bottom: 0.65rem;
}

.contact-lead-field--message {
    margin-bottom: 0.9rem;
}

.contact-lead-modal-form .contact-lead-input,
.contact-lead-modal-form .contact-lead-textarea {
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--modal-input-border) !important;
    background: var(--modal-input-bg) !important;
    font-size: 0.875rem;
    color: var(--modal-text) !important;
    min-height: 44px;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-lead-modal-form .contact-lead-textarea {
    min-height: 4.25rem;
    resize: none;
    padding-top: 0.7rem;
    line-height: 1.45;
}

.contact-lead-modal-form .contact-lead-input::placeholder,
.contact-lead-modal-form .contact-lead-textarea::placeholder {
    color: var(--modal-muted);
    opacity: 1;
    font-size: 0.875rem;
}

.contact-lead-modal-form .contact-lead-input:hover,
.contact-lead-modal-form .contact-lead-textarea:hover {
    border-color: rgba(148, 163, 184, 0.45) !important;
}

.contact-lead-modal-form .contact-lead-input:focus,
.contact-lead-modal-form .contact-lead-textarea:focus {
    border-color: var(--modal-accent) !important;
    box-shadow: 0 0 0 0.2rem rgba(143, 29, 47, 0.22) !important;
    background: #060b18 !important;
    color: var(--modal-text) !important;
    outline: none;
}

.contact-lead-modal-form .contact-lead-input.is-invalid,
.contact-lead-modal-form .contact-lead-textarea.is-invalid {
    border-color: #ef4444 !important;
    background: rgba(127, 29, 29, 0.25) !important;
}

.contact-lead-modal-form .invalid-feedback {
    font-size: 0.7rem;
    margin-top: 0.25rem;
    color: #fca5a5;
}

.contact-lead-modal-form .contact-lead-submit {
    margin-top: 0.25rem;
    --pill-accent: #8f1d2f;
    --pill-accent-hover: #6b1523;
    --pill-border: rgba(143, 29, 47, 0.35);
    --pill-shell-bg: rgba(143, 29, 47, 0.12);
    width: 100%;
}

.contact-lead-modal-form .contact-lead-submit .mdk-pill-btn__inner {
    min-height: 44px;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 18px rgba(143, 29, 47, 0.35);
}

.contact-lead-modal-form .contact-lead-submit:hover .mdk-pill-btn__inner {
    box-shadow: 0 6px 24px rgba(143, 29, 47, 0.42);
}

@media (max-width: 767.98px) {
    .contact-lead-modal__dialog {
        max-width: min(360px, 94vw);
        margin: 0.5rem auto;
        max-height: calc(100vh - 1rem);
    }

    .contact-lead-modal-content {
        max-height: calc(100vh - 1rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .contact-lead-modal-aside {
        height: 140px;
    }

    .contact-lead-modal-form {
        padding: 1.1rem 1rem 1.05rem;
    }

    .contact-lead-modal-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 575.98px) {
    .contact-lead-modal__dialog {
        max-width: calc(100vw - 1.25rem);
        margin: 0.5rem auto;
    }

    .contact-lead-modal-aside {
        height: 110px;
    }

    .contact-lead-modal-form .contact-lead-submit {
        width: 100%;
    }

    .contact-lead-modal-form .contact-lead-submit .mdk-pill-btn__inner {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-lead-modal-close,
    .contact-lead-modal-close:hover {
        transition: none;
        transform: none;
    }
}



/* ---------- 5a. About us page ---------- */

/* About page — IDSPay-inspired layout (Matka Result API theme) */

:root {
    --ids-bg: #f5f3f4;
    --ids-surface: #faf8f9;
    --ids-card: #ffffff;
    --ids-border: #e8e4e6;
    --ids-accent: #8f1d2f;
    --ids-accent-blue: #8f1d2f;
    --ids-text: #0f172a;
    --ids-muted: #64748b;
}

body.page-about {
    background: var(--ids-bg);
    color: var(--ids-muted);
}

.page-about .ids-about {
    background: var(--ids-bg);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ids-accent {
    color: var(--ids-accent);
}

/* Hero */
.ids-about-hero {
    position: relative;
    padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(1.25rem, 2.5vw, 2rem);
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid #e8e4e6;
}

.ids-about-hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(143, 29, 47, 0.15) 0%, transparent 60%),
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 18px,
            rgba(143, 29, 47, 0.04) 18px,
            rgba(143, 29, 47, 0.04) 36px
        );
    pointer-events: none;
}

.ids-about-hero__kicker {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ids-accent);
}

.ids-about-hero__title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.75rem, 3.8vw, 2.65rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.ids-about-hero__lead {
    margin: 0 0 1.75rem;
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ids-muted);
}

.ids-about-hero__lead strong {
    color: var(--ids-text);
}

.ids-about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ids-about-hero__media {
    display: block;
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
}

.ids-about-hero__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

/* Buttons — use mdk-pill-btn / x-button component site-wide */
/* Flip card */
.ids-flip-card {
    perspective: 1200px;
    max-width: 22rem;
    margin: 0 auto;
    cursor: pointer;
    outline: none;
}

.ids-flip-card__inner {
    position: relative;
    min-height: 280px;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.ids-flip-card.is-flipped .ids-flip-card__inner {
    transform: rotateY(180deg);
}

.ids-flip-card__face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--ids-border);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
    backface-visibility: hidden;
    text-align: center;
}

.ids-flip-card__face--back {
    transform: rotateY(180deg);
}

.ids-flip-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    font-size: 1.35rem;
    color: var(--ids-accent-blue);
    background: rgba(143, 29, 47, 0.12);
    border: 1px solid rgba(143, 29, 47, 0.3);
}

.ids-flip-card__icon--alt {
    color: #a82d42;
    background: rgba(143, 29, 47, 0.1);
    border-color: rgba(143, 29, 47, 0.28);
}

.ids-flip-card__title {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
}

.ids-flip-card__text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--ids-muted);
}

.ids-flip-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
    width: 100%;
    max-width: 16rem;
}

.ids-flip-card__list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--ids-text);
}

.ids-flip-card__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--ids-accent-blue);
}

.ids-flip-card__hint {
    margin-top: auto;
    padding-top: 1.25rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ids-accent);
}

/* Stats */
.ids-about-stats {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
    background: #fdf2f4;
    border-top: 1px solid #f5e4e8;
    border-bottom: 1px solid #e8e4e6;
}

.ids-stat-box {
    padding: 1.25rem 1rem 1.25rem 1.15rem;
    border-left: 3px solid var(--ids-accent-blue);
    background: #ffffff;
    border-radius: 0 10px 10px 0;
    min-height: 100%;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.ids-stat-box__value {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #8f1d2f;
    line-height: 1.1;
}

.ids-stat-box__label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ids-muted);
}

/* Story head */
.ids-about-story-head {
    padding: clamp(2rem, 4vw, 3rem) 0 1rem;
    background: #ffffff;
}

.ids-about-story-head__title {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 800;
    color: #0f172a;
}

.ids-about-story-head__lead {
    max-width: 40rem;
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ids-muted);
}

/* Scaling */
.ids-about-scaling {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
    background: #faf8f9;
    border-top: 1px solid #e8e4e6;
}

.ids-about-scaling__title {
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #0f172a;
}

.ids-about-scaling__text {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--ids-muted);
}

.ids-about-scaling__text strong {
    color: var(--ids-text);
}

.ids-about-scaling__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.ids-about-scaling__img {
    display: block;
    width: 100%;
    max-width: 28rem;
    height: auto;
    margin: 0 auto;
    border-radius: 16px;
    object-fit: cover;
}

.ids-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.ids-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #8f1d2f;
    background: #ffffff;
    border: 1px solid rgba(143, 29, 47, 0.2);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.ids-badge-pill i {
    color: var(--ids-accent);
}

/* Commitment card */
.ids-commit-card {
    margin: 0;
    height: 100%;
    padding: 2rem 1.75rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--ids-border);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
}

.ids-commit-card__quote-icon {
    display: inline-flex;
    font-size: 1.75rem;
    color: var(--ids-accent);
    margin-bottom: 1rem;
}

.ids-commit-card__text {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.75;
    color: var(--ids-text);
}

.ids-commit-card__footer {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.ids-commit-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    padding: 4px;
}

.ids-commit-card__name {
    display: block;
    font-style: normal;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #0f172a;
}

.ids-commit-card__role {
    display: block;
    font-size: 0.75rem;
    color: var(--ids-muted);
}

/* CTA */
.ids-about-cta {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: #ffffff;
}

.ids-about-cta__inner {
    padding: clamp(2rem, 4vw, 2.75rem) clamp(1.5rem, 3.5vw, 2.5rem);
    border-radius: 16px;
    background: #fdf2f4;
    border: 1px solid #f5e4e8;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}

.ids-about-cta__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.45rem, 2.8vw, 1.9rem);
    font-weight: 800;
    color: #0f172a;
}

.ids-about-cta__text {
    margin: 0 auto 1.75rem;
    max-width: 34rem;
    color: var(--ids-muted);
    line-height: 1.7;
}

.ids-about-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

@media (max-width: 991.98px) {
    .ids-about-hero__actions {
        justify-content: center;
    }

    .ids-about-hero__actions .mdk-pill-btn {
        width: auto;
        max-width: none;
    }

    .ids-about-hero__lead {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .ids-about-hero__kicker {
        display: table;
        margin-left: auto;
        margin-right: auto;
    }

    .ids-about-hero__title {
        text-align: center;
    }

    .ids-about-hero__media,
    .ids-about-scaling__media {
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
    }

    .ids-about-scaling__img {
        max-width: 22rem;
    }

    .ids-about-scaling__title,
    .ids-about-scaling__text,
    .ids-badge-row {
        text-align: center;
    }

    .ids-badge-row {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .ids-about-hero__media,
    .ids-about-scaling__media {
        max-width: 18rem;
        margin-left: auto;
        margin-right: auto;
    }

    .ids-about-scaling__img {
        max-width: 18rem;
    }

    .ids-about-hero__img,
    .ids-about-scaling__img {
        border-radius: 14px;
    }
}

@media (max-width: 575.98px) {
    .ids-about-cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .ids-about-cta__actions .mdk-pill-btn {
        width: auto;
        max-width: 100%;
    }

    .ids-about-cta__actions .mdk-pill-btn__inner {
        width: auto;
    }

    .ids-about-hero__media,
    .ids-about-scaling__media {
        max-width: 16rem;
        margin-left: auto;
        margin-right: auto;
    }

    .ids-about-scaling__img {
        max-width: 16rem;
    }

    .ids-about-hero__actions {
        width: 100%;
        justify-content: center;
    }

    .ids-about-hero__actions .mdk-pill-btn {
        width: auto;
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ids-flip-card__inner {
        transition: none;
    }
}



/* ---------- 5f. Contact page ---------- */

/* Contact page — IDSPay-inspired layout */

:root {
    --ids-bg: #f5f3f4;
    --ids-surface: #faf8f9;
    --ids-card: #ffffff;
    --ids-border: #e8e4e6;
    --ids-accent: #8f1d2f;
    --ids-text: #0f172a;
    --ids-muted: #64748b;
}

body.page-contact {
    background: var(--ids-bg);
    color: var(--ids-muted);
}

.page-contact .ids-contact {
    background: var(--ids-bg);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding-bottom: 0;
}

.ids-accent {
    color: var(--ids-accent);
}

/* Hero */
.ids-contact-hero {
    position: relative;
    padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(1.25rem, 2.5vw, 2rem);
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid #e8e4e6;
}

.ids-contact-hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background:
        radial-gradient(ellipse 55% 45% at 50% 30%, rgba(143, 29, 47, 0.12) 0%, transparent 55%),
        repeating-linear-gradient(
            60deg,
            transparent,
            transparent 20px,
            rgba(143, 29, 47, 0.035) 20px,
            rgba(143, 29, 47, 0.035) 40px
        );
    pointer-events: none;
}

.ids-contact-hero__title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.ids-contact-hero__lead {
    max-width: 40rem;
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ids-muted);
}

/* Main grid */
.ids-contact-main {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
    /* background: #faf8f9; */
    background-image: url('../images/contact_us.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ids-contact-form-card {
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 16px;
    background: #ffffff69;
    border: 1px solid var(--ids-border);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
    height: 100%;
}

.ids-contact-form-card__title {
    margin: 0 0 1.5rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
}

.ids-contact-form-card .ids-field-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #1e293b;
}

.ids-field-input {
    background: #ffffff !important;
    border: 1px solid var(--ids-border) !important;
    border-radius: 10px !important;
    color: #0f172a !important;
    min-height: 46px;
}

.ids-contact-form-card .ids-field-input::placeholder {
    color: #475569;
}

.ids-field-input:focus {
    border-color: #8f1d2f !important;
    box-shadow: 0 0 0 0.2rem rgba(143, 29, 47, 0.2) !important;
}

.ids-contact-form .mdk-pill-btn--block {
    margin-top: 0.25rem;
}

.ids-contact-hq {
    padding: 1.25rem 1.35rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid var(--ids-border);
}

.ids-contact-hq__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.ids-contact-hq__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.ids-contact-hq__map-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: #8f1d2f;
    text-decoration: none;
    white-space: nowrap;
}

.ids-contact-hq__map-link:hover {
    color: #6b1523;
    text-decoration: underline;
}

.ids-contact-hq__addr {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--ids-muted);
}

/* Info tiles */
.ids-info-tile {
    height: 100%;
    padding: 1.15rem 1rem;
    border-radius: 12px;
    background: #ffffff69;
    border: 1px solid var(--ids-border);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.ids-info-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(143, 29, 47, 0.28);
}

.ids-info-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.65rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.ids-info-tile--green .ids-info-tile__icon {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.25);
}

.ids-info-tile--orange .ids-info-tile__icon {
    color: #8f1d2f;
    background: rgba(143, 29, 47, 0.1);
    border: 1px solid rgba(143, 29, 47, 0.22);
}

.ids-info-tile--cyan .ids-info-tile__icon {
    color: #8f1d2f;
    background: rgba(143, 29, 47, 0.1);
    border: 1px solid rgba(143, 29, 47, 0.22);
}

.ids-info-tile--purple .ids-info-tile__icon {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.25);
}

.ids-info-tile__title {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
}

.ids-info-tile__line {
    margin: 0 0 0.25rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #0f172a;
}

.ids-info-tile__line a {
    color: #0f172a;
    text-decoration: none;
}

.ids-info-tile__line a:hover {
    color: #8f1d2f;
}

.ids-info-tile__hours {
    margin-top: 0.35rem;
    font-size: 0.6875rem;
    color: #1e293b;
}

.ids-contact-human {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
    background: #ffffff;
    border-top: 1px solid #e8e4e6;
}

.ids-contact-human__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 16px;
    background: #fdf2f4;
    border: 1px solid #f5e4e8;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.ids-contact-human__tiles {
    margin-top: 0.25rem;
}

.ids-contact-human__tiles .ids-info-tile {
    background: #ffffff;
}

.ids-contact-human__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 800;
    color: #0f172a;
}

.ids-contact-human__text {
    max-width: 28rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--ids-muted);
}

.ids-contact-human__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 575.98px) {
    .ids-contact-human__inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .ids-contact-human__actions {
        justify-content: center;
    }

    .ids-contact-human__text {
        margin-left: auto;
        margin-right: auto;
    }
}



/* ---------- 5g. FAQ page ---------- */

/* FAQ page — matches about / contact inner theme */

.page-faq .ids-faq {
    background: #f5f3f4;
    color: #64748b;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.page-faq .ids-accent {
    color: #8f1d2f;
}

/* Hero */
.page-faq .ids-faq-hero {
    position: relative;
    padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(1.25rem, 2.5vw, 2rem);
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid #e8e4e6;
}

.page-faq .ids-faq-hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background:
        radial-gradient(ellipse 55% 45% at 50% 30%, rgba(143, 29, 47, 0.12) 0%, transparent 55%),
        repeating-linear-gradient(
            60deg,
            transparent,
            transparent 20px,
            rgba(143, 29, 47, 0.035) 20px,
            rgba(143, 29, 47, 0.035) 40px
        );
    pointer-events: none;
}

.page-faq .ids-faq-hero__kicker {
    display: inline-block;
    margin-bottom: 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8f1d2f;
}

.page-faq .ids-faq-hero__title {
    margin: 0 0 1rem;
    font-size: clamp(1.85rem, 4vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.page-faq .ids-faq-hero__lead {
    max-width: 40rem;
    margin: 0 auto 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #64748b;
}

.page-faq .ids-faq-hero__lead--split {
    margin-left: 0;
    margin-right: 0;
}

.page-faq .ids-faq-hero__lead strong {
    color: #0f172a;
}

.page-faq .ids-faq-hero__media {
    display: block;
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
}

.page-faq .ids-faq-hero__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.page-faq .ids-faq-search-wrap {
    position: relative;
    max-width: 32rem;
    margin: 0 auto;
}

.page-faq .ids-faq-search-wrap--split {
    margin-left: 0;
    margin-right: 0;
}

.page-faq .ids-faq-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    z-index: 1;
}

.page-faq .ids-faq-search-input {
    width: 100%;
    min-height: 46px;
    padding: 0.55rem 1rem 0.55rem 2.75rem;
    border-radius: 999px;
    border: 1px solid #e8e4e6;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.9375rem;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.page-faq .ids-faq-search-input:focus {
    border-color: #8f1d2f;
    box-shadow: 0 0 0 0.2rem rgba(143, 29, 47, 0.2);
    outline: none;
    color: #0f172a;
}

.page-faq .ids-faq-search-hint {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
}

.page-faq .ids-faq-search-hint--split {
    text-align: left;
}

@media (max-width: 991.98px) {
    .page-faq .ids-faq-hero .text-lg-start {
        text-align: center !important;
    }

    .page-faq .ids-faq-hero__lead--split {
        margin-left: auto;
        margin-right: auto;
    }

    .page-faq .ids-faq-search-wrap--split {
        margin-left: auto;
        margin-right: auto;
    }

    .page-faq .ids-faq-search-hint--split {
        text-align: center;
    }

    .page-faq .ids-faq-hero__media {
        max-width: 20rem;
        margin: 0.5rem auto 0;
    }
}

@media (max-width: 767.98px) {
    .page-faq .ids-faq-hero__media {
        max-width: 16rem;
        margin-left: auto;
        margin-right: auto;
    }

    .page-faq .ids-faq-hero__img {
        border-radius: 14px;
    }

    .page-faq .ids-faq-hero__title {
        font-size: clamp(1.75rem, 7vw, 2.35rem);
    }
}

@media (max-width: 575.98px) {
    .page-faq .ids-faq-hero__media {
        max-width: 14rem;
        margin-left: auto;
        margin-right: auto;
    }

    .page-faq .ids-faq-copy-btn .faq-copy-btn-label {
        display: none;
    }

    .page-faq .ids-faq-search-input {
        min-height: 44px;
        font-size: 0.875rem;
    }
}

/* FAQ list */
.page-faq .ids-faq-main {
    padding: clamp(2rem, 4vw, 3.25rem) 0;
    background: #faf8f9;
}

.page-faq .ids-section-head {
    max-width: 40rem;
    margin: 0 auto 1.25rem;
    text-align: center;
}

.page-faq .ids-section-kicker {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8f1d2f;
    background: #fdf2f4;
    border: 1px solid rgba(143, 29, 47, 0.22);
    border-radius: 999px;
}

.page-faq .ids-section-title {
    margin: 0;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: #0f172a;
}

.page-faq .ids-faq-accordion .accordion-item {
    background: #ffffff !important;
    border: 1px solid #e8e4e6 !important;
    border-radius: 12px !important;
    margin-bottom: 0.55rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.page-faq .ids-faq-accordion .accordion-header {
    display: flex;
    align-items: stretch;
}

.page-faq .ids-faq-accordion .accordion-button {
    flex: 1;
    background: transparent !important;
    color: #0f172a !important;
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: none !important;
    padding-right: 0.5rem;
}

.page-faq .ids-faq-accordion .accordion-button:not(.collapsed) {
    background: #fdf2f4 !important;
    color: #8f1d2f !important;
}

.page-faq .ids-faq-accordion .accordion-body {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.65;
}

.page-faq .ids-faq-copy-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.35rem 0.5rem 0.35rem 0;
    padding: 0.35rem 0.65rem;
    border: 1px solid #e8e4e6;
    border-radius: 999px;
    background: #faf8f9;
    color: #64748b;
    font-size: 0.6875rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.page-faq .ids-faq-copy-btn:hover {
    color: #8f1d2f;
    border-color: rgba(143, 29, 47, 0.45);
    background: #fdf2f4;
}

.page-faq .ids-faq-empty {
    text-align: center;
    color: #64748b;
}

/* Support band */
.page-faq .ids-faq-human {
    padding: clamp(2rem, 4vw, 3rem) 0;
    background: #ffffff;
    border-top: 1px solid #e8e4e6;
}

.page-faq .ids-faq-human__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: clamp(1.5rem, 3vw, 2rem) clamp(1.35rem, 3vw, 2rem);
    border-radius: 16px;
    background: #fdf2f4;
    border: 1px solid #f5e4e8;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.page-faq .ids-faq-human__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    font-weight: 800;
    color: #0f172a;
}

.page-faq .ids-faq-human__text {
    margin: 0;
    max-width: 28rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #64748b;
}

.page-faq .ids-faq-human__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

/* Form panel */
.page-faq .ids-faq-form {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: #faf8f9;
}

.page-faq .ids-faq-panel {
    padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.35rem, 3vw, 2.15rem);
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e8e4e6;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
}

.page-faq .ids-faq-panel__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: #0f172a;
}

.page-faq .ids-faq-panel__text {
    margin: 0 0 0.5rem;
    color: #64748b;
    line-height: 1.7;
}

.page-faq .ids-field-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #64748b;
}

.page-faq .ids-field-input {
    background: #ffffff !important;
    border: 1px solid #e8e4e6 !important;
    border-radius: 10px !important;
    color: #0f172a !important;
    min-height: 44px;
}

.page-faq .ids-field-input:focus {
    border-color: #8f1d2f !important;
    box-shadow: 0 0 0 0.2rem rgba(143, 29, 47, 0.2) !important;
}

@media (max-width: 575.98px) {
    .page-faq .ids-faq-human__inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .page-faq .ids-faq-human__actions {
        justify-content: center;
    }

    .page-faq .ids-faq-human__text {
        margin-left: auto;
        margin-right: auto;
    }
}



/* ---------- 5h. Service page ---------- */

/* Service page — matches about / contact inner theme */

.page-services .ids-service {
    background: #f5f3f4;
    color: #64748b;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.page-services .ids-accent {
    color: #8f1d2f;
}

.page-services .ids-service-hero {
    position: relative;
    padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(1.25rem, 2.5vw, 2rem);
    overflow: hidden;
}

.page-services .ids-service-hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(143, 29, 47, 0.15) 0%, transparent 60%),
        repeating-linear-gradient(135deg, transparent, transparent 18px, rgba(143, 29, 47, 0.04) 18px, rgba(143, 29, 47, 0.04) 36px);
    pointer-events: none;
}

.page-services .ids-service-hero__kicker {
    display: inline-block;
    margin-bottom: 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8f1d2f;
}

.page-services .ids-service-hero__title {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 3.8vw, 2.65rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.page-services .ids-service-hero__lead {
    margin: 0;
    max-width: 40rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #64748b;
}

.page-services .ids-service-hero__lead strong {
    color: #0f172a;
}

.page-services .ids-service-section {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
    background: #faf8f9;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.page-services .ids-service-section--alt {
    background:
        radial-gradient(ellipse 70% 50% at 20% 50%, rgba(143, 29, 47, 0.08) 0%, transparent 60%),
        #f5f3f4;
}

.page-services .ids-service-section--cta {
    padding-bottom: clamp(2rem, 4vw, 3rem);
    background: #f5f3f4;
}

.page-services .ids-section-head {
    max-width: 40rem;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.page-services .ids-section-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a82d42;
    background: rgba(143, 29, 47, 0.12);
    border: 1px solid rgba(143, 29, 47, 0.22);
    border-radius: 999px;
}

.page-services .ids-section-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #ffffff;
}

.page-services .ids-section-lead {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #64748b;
}

.page-services .ids-svc-card {
    height: 100%;
    padding: 1.35rem;
    border-radius: 14px;
    background: rgba(253, 242, 244, 0.95);
    border: 1px solid #e8e4e6;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-services .ids-svc-card:hover {
    transform: translateY(-3px);
    border-color: rgba(143, 29, 47, 0.35);
    box-shadow: 0 16px 40px rgba(143, 29, 47, 0.12);
}

.page-services .ids-svc-card__media {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.page-services .ids-svc-card__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.page-services .ids-svc-card__top {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
}

.page-services .ids-svc-card__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    font-size: 1rem;
    color: #a82d42;
    background: rgba(143, 29, 47, 0.12);
    border: 1px solid rgba(143, 29, 47, 0.25);
}

.page-services .ids-svc-card__title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.page-services .ids-svc-card__desc {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #64748b;
}

.page-services .ids-svc-card__features {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.page-services .ids-svc-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    color: #64748b;
}

.page-services .ids-svc-card__features li i {
    color: #8f1d2f;
    margin-top: 0.1rem;
}

.page-services .ids-svc-accordion .accordion-item {
    background: rgba(253, 242, 244, 0.95) !important;
    border: 1px solid #e8e4e6 !important;
    border-radius: 12px !important;
    margin-bottom: 0.55rem;
    overflow: hidden;
}

.page-services .ids-svc-accordion .accordion-button {
    background: transparent !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: none !important;
}

.page-services .ids-svc-accordion .accordion-button:not(.collapsed) {
    background: rgba(143, 29, 47, 0.1) !important;
}

.page-services .ids-svc-accordion .accordion-body {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.65;
}

.page-services .ids-svc-panel {
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 16px;
    background: rgba(253, 242, 244, 0.95);
    border: 1px solid #e8e4e6;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.page-services .ids-svc-panel__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 800;
    color: #ffffff;
}

.page-services .ids-svc-panel__text {
    margin: 0;
    color: #64748b;
    line-height: 1.65;
}

.page-services .ids-field-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #64748b;
}

.page-services .ids-field-input {
    background: rgba(5, 10, 24, 0.6) !important;
    border: 1px solid #e8e4e6 !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    min-height: 44px;
}

.page-services .ids-field-input:focus {
    border-color: #8f1d2f !important;
    box-shadow: 0 0 0 0.2rem rgba(143, 29, 47, 0.2) !important;
}

.page-services .ids-inline-link {
    color: #a82d42;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 991.98px) {
    .page-services .ids-service-hero__title,
    .page-services .ids-service-hero__lead {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .page-services .ids-service-hero__kicker {
        display: table;
        margin-left: auto;
        margin-right: auto;
    }
}



/* ---------- 5i. Blog page ---------- */

/* Blog pages — index & article (matches about / contact / faq) */

.page-blog .ids-blog {
    background: var(--mdk-bg);
    color: var(--mdk-muted);
}

/* Hero */
.page-blog .ids-blog-hero {
    position: relative;
    padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(1.25rem, 2.5vw, 2rem);
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid #e8e4e6;
}

.page-blog .ids-blog-hero--article {
    padding-bottom: clamp(1rem, 2vw, 1.5rem);
}

.page-blog .ids-blog-hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background:
        radial-gradient(ellipse 55% 45% at 50% 30%, rgba(143, 29, 47, 0.12) 0%, transparent 55%),
        repeating-linear-gradient(
            60deg,
            transparent,
            transparent 20px,
            rgba(143, 29, 47, 0.035) 20px,
            rgba(143, 29, 47, 0.035) 40px
        );
    pointer-events: none;
}

.page-blog .ids-blog-hero__title {
    margin: 0 0 1rem;
    font-size: clamp(1.85rem, 4vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    background: none !important;
    background-image: none !important;
}

.page-blog .ids-blog-hero--article .ids-blog-hero__title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    margin-bottom: 0.75rem;
}

.page-blog .ids-blog-hero__lead {
    max-width: 40rem;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mdk-muted);
}

.page-blog .ids-blog-hero__lead strong {
    color: var(--mdk-text-bright);
}

.page-blog .ids-blog-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--mdk-muted);
}

.page-blog .ids-blog-hero__excerpt {
    max-width: 42rem;
    margin: 0.75rem auto 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #64748b;
}

/* Main content area */
.page-blog .ids-blog-main {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
    background: #faf8f9;
    border-top: 1px solid #e8e4e6;
}

.page-blog .ids-blog-main--article {
    background: var(--mdk-bg);
    border-top: none;
    padding-top: clamp(1rem, 2vw, 1.5rem);
}

.page-blog .ids-blog-label {
    color: var(--mdk-kicker);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Sidebar widgets */
.page-blog .ids-blog-widget {
    padding: 1.15rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: #ffffff !important;
    border: 1px solid #e8e4e6 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.page-blog .ids-blog-widget__title {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a !important;
    background: none !important;
    -webkit-text-fill-color: #0f172a !important;
}

.page-blog .ids-blog-cat a:hover,
.page-blog .ids-blog-cat a.is-active {
    color: #8f1d2f !important;
    background: #fdf2f4;
}

.page-blog .ids-blog-tag {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #8f1d2f;
    background: #fdf2f4;
    border: 1px solid rgba(143, 29, 47, 0.22);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.page-blog .ids-blog-tag:hover {
    color: #6b1523;
    background: #fce8ec;
}

.page-blog .ids-blog-search .input-group {
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100%;
}

.page-blog .ids-blog-search__input {
    background: #ffffff;
    border: 1px solid var(--mdk-border);
    color: var(--mdk-heading);
    border-radius: 10px 0 0 10px;
    min-height: 42px;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.page-blog .ids-blog-search__input:focus {
    border-color: var(--site-accent);
    box-shadow: none;
    color: var(--mdk-heading);
}

.page-blog .ids-blog-search__btn {
    border-radius: 0 10px 10px 0;
    align-self: stretch;
    flex: 0 0 auto;
}

.page-blog .ids-blog-cat a {
    display: block;
    padding: 0.4rem 0.55rem;
    border-radius: 8px;
    color: #64748b !important;
    text-decoration: none;
    font-size: 0.875rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.page-blog .ids-blog-cat a:hover,
.page-blog .ids-blog-cat a.is-active {
    color: #8f1d2f !important;
    background: #fdf2f4;
}

.page-blog .ids-blog-recent li {
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.page-blog .ids-blog-recent li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.page-blog .ids-blog-recent__link {
    color: var(--mdk-text-bright) !important;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.page-blog .ids-blog-recent__link:hover {
    color: var(--mdk-kicker) !important;
}

.page-blog .ids-blog-recent__link--ph {
    color: var(--mdk-muted) !important;
    cursor: default;
}

.page-blog .ids-blog-recent time {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: #64748b;
}

.page-blog .ids-blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.page-blog .ids-blog-tag {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #8f1d2f;
    background: #fdf2f4;
    border: 1px solid rgba(143, 29, 47, 0.22);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.page-blog .ids-blog-tag:hover {
    color: #6b1523;
    background: #fce8ec;
}

.page-blog .ids-blog-tag:hover {
    color: #6b1523;
    background: #fce8ec;
}

/* Article panel */
.page-blog .ids-blog-article-panel {
    padding: clamp(1.25rem, 3vw, 1.85rem);
    border-radius: 16px;
    background: #ffffff !important;
    border: 1px solid #e8e4e6;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
}

.page-blog .ids-blog-featured-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.page-blog .ids-blog-body {
    color: #64748b;
    line-height: 1.75;
    font-size: 1rem;
}

.page-blog .ids-blog-body h2,
.page-blog .ids-blog-body h3,
.page-blog .ids-blog-body h4 {
    color: var(--mdk-heading);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.page-blog .ids-blog-body a {
    color: var(--mdk-kicker);
}

.page-blog .ids-blog-body a:hover {
    color: var(--mdk-heading);
}

.page-blog .ids-blog-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.page-blog .ids-blog-internal {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.page-blog .ids-blog-internal__title {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mdk-heading);
}

.page-blog .ids-blog-internal a {
    color: var(--mdk-kicker) !important;
    text-decoration: none;
    font-weight: 600;
}

.page-blog .ids-blog-internal a:hover {
    color: var(--mdk-heading) !important;
}

.page-blog .ids-blog-cta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.page-blog .ids-blog-cta__title {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mdk-heading);
}

.page-blog .ids-blog-cta__text {
    margin: 0 0 1rem;
    color: var(--mdk-muted);
    font-size: 0.9375rem;
}

/* Article sidebar */
.page-blog .ids-blog-sidebar-card {
    padding: 1.15rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: var(--mdk-card-bg);
    border: 1px solid var(--mdk-border);
}

.page-blog .ids-blog-sidebar-card__head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.page-blog .ids-blog-sidebar-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--mdk-kicker);
    background: rgba(143, 29, 47, 0.12);
    border: 1px solid rgba(143, 29, 47, 0.22);
}

.page-blog .ids-blog-sidebar-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--mdk-heading);
}

.page-blog .ids-blog-share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.page-blog .ids-blog-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    border: 1px solid var(--mdk-border);
    background: #faf8f9;
    color: var(--mdk-muted);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.page-blog .ids-blog-share-btn:hover {
    color: var(--mdk-heading);
    border-color: rgba(143, 29, 47, 0.4);
    background: rgba(143, 29, 47, 0.12);
}

.page-blog .ids-blog-toc-list {
    padding-left: 1.15rem;
    font-size: 0.875rem;
}

.page-blog .ids-blog-toc-list a {
    color: var(--mdk-muted);
    text-decoration: none;
}

.page-blog .ids-blog-toc-list .blog-toc-depth-3 {
    padding-left: 0.65rem;
    font-size: 0.8125rem;
}

.page-blog .ids-blog-related {
    padding: clamp(1.25rem, 2.5vw, 2rem) 0 clamp(1.5rem, 3vw, 2.5rem);
    background: var(--mdk-surface);
    border-top: 1px solid rgba(148, 163, 184, 0.08);
}

@media (max-width: 991.98px) {
    .page-blog .ids-blog-sidebar {
        margin-top: 0.5rem;
    }

    .page-blog .ids-blog-hero__title,
    .page-blog .ids-blog-hero__lead,
    .page-blog .ids-blog-hero__excerpt {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .page-blog .ids-blog-search .input-group {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.55rem;
    }

    .page-blog .ids-blog-search__input {
        width: 100%;
        flex: 0 0 auto;
        border-radius: 10px !important;
        margin-bottom: 0;
    }

    .page-blog .ids-blog-search__btn {
        width: 100%;
        flex: 0 0 auto;
        border-radius: 999px;
        align-self: stretch;
    }

    .page-blog .ids-blog-search__btn.mdk-pill-btn {
        display: flex;
        width: 100%;
    }

    .page-blog .ids-blog-search__btn .mdk-pill-btn__inner {
        width: 100%;
        justify-content: center;
    }
}



/* ---------- 3. Home page — API code card ---------- */

/* API code card — macOS-style window (docs section) */

.api-code-card-wrap {
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.api-webhook-url-card {
    position: relative;
    z-index: 1;
    border-radius: 14px;
    overflow: hidden;
    background: #1e2530;
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(0, 0, 0, 0.2);
}

.api-webhook-url-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #252d3a;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.api-webhook-url-card__badge {
    display: inline-block;
    padding: 0.22rem 0.6rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a82d42;
    background: rgba(143, 29, 47, 0.14);
    border: 1px solid rgba(143, 29, 47, 0.32);
    border-radius: 999px;
}

.api-webhook-url-card__title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.api-webhook-url-card__body {
    padding: 0.95rem 1rem 1.05rem;
}

.api-webhook-url-card__label {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    color: #64748b;
}

.api-webhook-url-card__label code {
    font-family: "SF Mono", "Fira Code", "Cascadia Code", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: inherit;
    color: #e5c07b;
    background: rgba(15, 23, 42, 0.55);
    padding: 0.12rem 0.35rem;
    border-radius: 4px;
}

.api-webhook-url-card__url {
    margin: 0;
}

.api-webhook-url-card__link {
    display: block;
    font-family: "SF Mono", "Fira Code", "Cascadia Code", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: clamp(0.6875rem, 1.5vw, 0.8125rem);
    line-height: 1.55;
    color: #d19a66;
    word-break: break-all;
    text-decoration: none;
}

.api-webhook-url-card__link:hover {
    color: #f0b07a;
    text-decoration: underline;
}

.api-code-card-wrap::before {
    content: "";
    position: absolute;
    inset: -8% -6%;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(143, 29, 47, 0.18) 0%, transparent 65%),
        repeating-linear-gradient(
            60deg,
            rgba(143, 29, 47, 0.04) 0,
            rgba(143, 29, 47, 0.04) 1px,
            transparent 1px,
            transparent 18px
        );
    border-radius: 24px;
    pointer-events: none;
}

.api-code-card {
    position: relative;
    z-index: 1;
    border-radius: 14px;
    overflow: hidden;
    background: #1e2530;
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(0, 0, 0, 0.2);
    font-family: "SF Mono", "Fira Code", "Cascadia Code", Consolas, "Liberation Mono", Menlo, monospace;
}

.api-code-card__titlebar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 38px;
    padding: 0.5rem 1rem;
    background: #252d3a;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.api-code-card__dots {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.api-code-card__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.api-code-card__dot--red {
    background: #ff5f57;
}

.api-code-card__dot--yellow {
    background: #febc2e;
}

.api-code-card__dot--green {
    background: #28c840;
}

.api-code-card__filename {
    font-size: 0.6875rem;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.02em;
}

.api-code-card__body {
    padding: 1rem 1.1rem 1.15rem;
    overflow-x: auto;
    background: #1e2530;
}

.api-code-card__pre {
    margin: 0;
    font-size: clamp(0.6875rem, 1.6vw, 0.8125rem);
    line-height: 1.65;
    color: #0f172a;
    tab-size: 2;
}

.api-code-card__pre code {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: transparent;
    padding: 0;
}

.api-code-card .json-key {
    color: #e5c07b;
}

.api-code-card .json-str {
    color: #d19a66;
}

.api-code-card .json-num {
    color: #61afef;
}

.api-code-card .json-bool {
    color: #c678dd;
}

.api-code-card .json-null {
    color: #c678dd;
}

.api-code-card .json-punct {
    color: #abb2bf;
}

.api-code-card .json-comment {
    color: #5c6370;
    font-style: italic;
}

.api-code-card .json-method {
    color: #61afef;
}

@media (max-width: 991.98px) {
    .api-code-card-wrap {
        margin-bottom: 0.5rem;
    }

    .api-code-card__body {
        padding: 0.85rem 0.9rem 1rem;
    }
}



/* ---------- 3. Home page — API docs section ---------- */

/* API docs — horizontal tabs (left) + fixed timeline (right) */

.api-docs-section__head {
    max-width: 40rem;
    margin: 0 auto 2rem;
}

.api-docs-section__title {
    font-family: var(--mdk-font-sans);
    font-weight: 800;
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 0 0 0.65rem;
    text-align: center;
}

.api-docs-section__lead {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #475569;
    text-align: center;
}

.api-docs-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.api-docs-tabs--horizontal {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    width: 100%;
    padding: 0.35rem 0.45rem;
    background: rgba(253, 242, 244, 0.95);
    border: 1px solid #e8e4e6;
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.api-docs-tabs__btn {
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    text-align: center;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.api-docs-tabs__btn:hover {
    color: #8f1d2f;
    background: #fdf2f4;
}

.api-docs-tabs__btn.is-active {
    color: #ffffff;
    background: #8f1d2f;
    box-shadow: 0 2px 10px rgba(143, 29, 47, 0.35);
}

.api-docs-tabs__btn.is-active:hover {
    color: #ffffff;
    background: #6b1523;
}

.api-docs-left .api-code-card-wrap {
    width: 100%;
}

.api-docs-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.api-docs-timeline {
    position: relative;
    padding-left: 0.25rem;
}

.api-docs-timeline::before {
    content: "";
    position: absolute;
    left: 1.35rem;
    top: 0.75rem;
    bottom: 0.75rem;
    width: 2px;
    background: linear-gradient(180deg, #8f1d2f 0%, rgba(55, 65, 81, 0.6) 100%);
    border-radius: 2px;
}

.api-docs-step {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

.api-docs-step:last-child {
    margin-bottom: 0;
}

.api-docs-step__marker {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 2.75rem;
}

.api-docs-step__num-label {
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    line-height: 1;
}

.api-docs-step__num {
    font-size: 1.125rem;
    font-weight: 800;
    color: #8f1d2f;
    line-height: 1;
}

.api-docs-step__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    font-size: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: none;
}

.api-docs-step__icon--blue {
    color: #a82d42;
    background: rgba(143, 29, 47, 0.12);
    border-color: rgba(143, 29, 47, 0.35);
}

.api-docs-step__icon--cyan {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.3);
}

.api-docs-step__icon--purple {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.1);
    border-color: rgba(167, 139, 250, 0.3);
}

.api-docs-step__body {
    padding: 0.75rem 1rem;
    border-radius: 0 12px 12px 0;
    background: rgba(253, 242, 244, 0.95);
    border: 1px solid #e8e4e6;
    border-left: 3px solid #8f1d2f;
}

.api-docs-step__title {
    margin: 0 0 0.35rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: 0.01em;
    line-height: 1.35;
}

.api-docs-step__url {
    margin: 0;
    font-family: "SF Mono", "Fira Code", Consolas, monospace;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #a82d42;
    word-break: break-all;
}

.api-docs-step__url code {
    color: inherit;
    font-size: inherit;
    background: transparent;
    padding: 0;
}

.api-docs-section__cta {
    margin-top: 1.75rem;
}

.api-code-card__panel[hidden] {
    display: none !important;
}

@media (max-width: 575.98px) {
    .api-docs-tabs--horizontal {
        border-radius: 14px;
    }

    .api-docs-tabs__btn {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0.45rem 0.65rem;
        font-size: 0.75rem;
    }
}



/* Site flash alerts � visible below fixed navbar */
.mdk-site-alerts-bar {
    position: relative;
    z-index: 1050;
}

.mdk-site-alerts-bar:not(:has(.alert)) {
    display: none;
}

.mdk-site-alerts {
    padding-top: 0.65rem;
    padding-bottom: 0.35rem;
}

.mdk-site-alerts .alert {
    margin-bottom: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.mdk-site-alerts .alert:last-child {
    margin-bottom: 0;
}

.alert-danger .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* ========== Auth login / register (matches homepage light burgundy) ========== */
body.auth-body--mapi {
    margin: 0;
    min-height: 100vh;
    font-family: var(--mdk-font-sans);
    background: var(--mdk-bg);
    color: var(--mdk-text);
}

.auth-page--mapi .auth-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 1rem;
    position: relative;
    background:
        radial-gradient(ellipse 90% 60% at 12% 0%, rgba(143, 29, 47, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 100%, rgba(143, 29, 47, 0.08) 0%, transparent 50%),
        var(--mdk-hero-bg);
}

.auth-page--mapi .auth-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.55;
    background-image:
        linear-gradient(rgba(143, 29, 47, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(143, 29, 47, 0.035) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.auth-card--mapi {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    background: var(--mdk-card);
    border: 1px solid var(--mdk-border);
    box-shadow: var(--shadow-soft);
}

.auth-card--mapi::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--mdk-accent-line);
}

.auth-card--mapi .auth-card__inner {
    padding: 2.15rem 2rem 2rem;
}

.auth-card--mapi .auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    margin-bottom: 1.65rem;
}

.auth-card--mapi .auth-brand-logo {
    width: 128px;
    height: 76px;
    object-fit: contain;
    border-radius: 16px;
    padding: 6px;
    background: var(--mdk-color-accent-soft);
    border: 1px solid var(--mdk-color-accent-border);
    box-shadow: 0 10px 28px rgba(143, 29, 47, 0.12);
}

.auth-card--mapi .auth-brand-kicker {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mdk-color-accent);
}

.auth-card--mapi .auth-brand-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--mdk-heading);
    letter-spacing: 0.01em;
}

.auth-card--mapi .auth-heading {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--mdk-heading);
    letter-spacing: -0.025em;
    text-align: center;
    margin-bottom: 0.45rem;
    line-height: 1.3;
}

.auth-card--mapi .auth-lead {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--mdk-text);
    text-align: center;
    max-width: 24rem;
    margin: 0 auto 1.5rem;
}

.auth-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--mdk-heading);
    margin-bottom: 0.45rem;
}

.auth-card--mapi .auth-input-wrap {
    position: relative;
}

.auth-card--mapi .auth-input-icon {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.05rem;
    pointer-events: none;
    z-index: 1;
    transition: color 0.2s ease;
}

.auth-input-icon--top {
    top: 0.95rem;
    transform: none;
}

.auth-card--mapi .auth-input {
    width: 100%;
    padding: 0.78rem 0.95rem 0.78rem 2.65rem;
    border-radius: 12px;
    border: 1px solid var(--mdk-border);
    background: var(--mdk-surface);
    color: var(--mdk-heading);
    font-size: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-card--mapi .auth-input::placeholder {
    color: #94a3b8;
}

.auth-card--mapi .auth-input:hover {
    border-color: var(--mdk-color-accent-border);
    background: #fff;
}

.auth-card--mapi .auth-input:focus {
    border-color: var(--mdk-color-accent);
    box-shadow: 0 0 0 0.22rem var(--mdk-color-accent-glow);
    background: #fff;
    color: var(--mdk-heading);
    outline: none;
}

.auth-card--mapi .auth-input-wrap:focus-within .auth-input-icon {
    color: var(--mdk-color-accent);
}

.auth-card--mapi .auth-input.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 0.15rem rgba(239, 68, 68, 0.15);
}

.auth-textarea {
    min-height: 5.5rem;
    resize: vertical;
}

.auth-check-label {
    color: var(--mdk-text);
    font-size: 0.8125rem;
}

.auth-card--mapi .form-check-input {
    background-color: #fff;
    border: 1px solid var(--mdk-border);
}

.auth-card--mapi .form-check-input:checked {
    background-color: var(--mdk-color-accent);
    border-color: var(--mdk-color-accent);
}

.auth-card--mapi .form-check-input:focus {
    border-color: var(--mdk-color-accent);
    box-shadow: 0 0 0 0.15rem var(--mdk-color-accent-glow);
}

.auth-link-small {
    color: var(--mdk-color-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8125rem;
    transition: color 0.2s ease;
}

.auth-link-small:hover {
    color: var(--mdk-color-accent-hover);
    text-decoration: underline;
}

.auth-card--mapi .auth-form-submit {
    margin-top: 0.25rem;
    --pill-accent: var(--mdk-color-accent);
    --pill-accent-hover: var(--mdk-color-accent-hover);
    --pill-border: var(--mdk-color-accent-border);
    --pill-shell-bg: var(--mdk-color-accent-soft);
    width: 100%;
}

.auth-card--mapi .auth-form-submit .mdk-pill-btn__inner {
    min-height: 44px;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: var(--mdk-btn-shadow);
}

.auth-card--mapi .auth-form-submit:hover .mdk-pill-btn__inner {
    box-shadow: var(--mdk-btn-shadow-hover);
}

.auth-footnote {
    font-size: 0.78rem;
    color: var(--mdk-text);
    line-height: 1.5;
}

.auth-right--mapi {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 70% at 50% 30%, rgba(143, 29, 47, 0.1) 0%, transparent 60%),
        linear-gradient(165deg, var(--mdk-color-accent-soft) 0%, var(--mdk-surface) 100%);
}

.auth-right--mapi .auth-right-bg {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image:
        linear-gradient(rgba(143, 29, 47, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(143, 29, 47, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

.auth-right--mapi .auth-right-logo {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 28px rgba(143, 29, 47, 0.14);
}

.auth-right-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 18rem;
}

.auth-right-kicker {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mdk-color-accent);
    margin-bottom: 0.65rem;
}

.auth-right-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--mdk-heading);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.auth-right-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.auth-right-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.82rem;
    color: var(--mdk-text);
    margin-bottom: 0.65rem;
    line-height: 1.45;
}

.auth-right-list li i {
    color: var(--mdk-color-accent);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.auth-back-home {
    position: relative;
    z-index: 1;
}

.auth-back-home .auth-link-small {
    color: var(--mdk-text);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.auth-back-home .auth-link-small:hover {
    color: var(--mdk-color-accent);
}

.auth-switch {
    color: var(--mdk-text);
    font-size: 0.8125rem;
}

.auth-page--mapi .alert {
    border-radius: 12px;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.auth-page--mapi .alert-info {
    background: var(--mdk-color-accent-soft);
    border-color: var(--mdk-color-accent-border);
    color: var(--mdk-color-accent-hover);
}

.auth-page--mapi .alert-success {
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.28);
    color: #166534;
}

.auth-page--mapi .alert-danger {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.25);
    color: #991b1b;
}

.auth-page--mapi .alert .btn-close {
    filter: none;
}

@media (max-width: 575.98px) {
    .auth-page--mapi .auth-wrap {
        padding: 1.25rem 0.85rem;
    }

    .auth-card--mapi .auth-card__inner {
        padding: 1.65rem 1.35rem 1.75rem;
    }

    .auth-card--mapi .auth-brand-logo {
        width: 68px;
        height: 68px;
    }

    .auth-card--mapi .auth-heading {
        font-size: 1.2rem;
    }

    .auth-card--mapi .auth-lead {
        font-size: 0.8125rem;
    }
}

/* ---------- Pricing page & plan cards ---------- */
.pricing-page {
    background: var(--mdk-bg);
}

.pricing-hero {
    position: relative;
    padding: 5.5rem 0 3rem;
    overflow: hidden;
}

.pricing-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(143, 29, 47, 0.22) 0%, transparent 55%),
        linear-gradient(180deg, #0a1428 0%, var(--mdk-bg) 100%);
    pointer-events: none;
}

.pricing-hero__kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mdk-color-accent-light);
    margin-bottom: 0.75rem;
}

.pricing-hero__title {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--mdk-heading);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.pricing-hero__accent {
    background: var(--mdk-title-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pricing-hero__lead {
    max-width: 38rem;
    color: var(--mdk-text);
    font-size: 1.05rem;
    line-height: 1.65;
}

.pricing-section {
    padding: 2rem 0 5rem;
}

.pricing-section--home {
    padding: 4rem 0;
    background: #fdf2f4;
}

.pricing-section__note {
    color: var(--mdk-text);
    font-size: 0.95rem;
    margin-top: 2.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem 1.5rem;
    border-radius: var(--mdk-surface-radius);
    background: var(--mdk-card-fill);
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: var(--mdk-surface-shadow);
    transition: var(--mdk-surface-transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mdk-surface-glow);
    border-color: var(--mdk-color-accent-border);
}

.pricing-card--featured {
    border-color: rgba(143, 29, 47, 0.45);
    background:
        linear-gradient(165deg, rgba(143, 29, 47, 0.12) 0%, transparent 45%),
        var(--mdk-card-fill);
    box-shadow: 0 18px 48px rgba(143, 29, 47, 0.18);
}

.pricing-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(143, 29, 47, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(143, 29, 47, 0.35);
}

.pricing-card__badge--free {
    right: auto;
    left: 1rem;
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.35);
}

.pricing-card--featured .pricing-card__badge--free {
    top: 2.75rem;
}

.pricing-card__head {
    margin-bottom: 1.25rem;
    padding-right: 4.5rem;
}

.pricing-card__name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--mdk-heading);
    margin-bottom: 0.35rem;
}

.pricing-card__desc {
    font-size: 0.875rem;
    color: var(--mdk-text);
    line-height: 1.5;
    margin-bottom: 0;
}

.pricing-card__price-wrap {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.pricing-card__price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--mdk-heading);
    line-height: 1;
}

.pricing-card__period {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: var(--mdk-text);
}

.pricing-card__features {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    flex: 1;
}

.pricing-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.875rem;
    color: #cbd5e1;
    margin-bottom: 0.65rem;
    line-height: 1.45;
}

.pricing-card__features li i {
    color: var(--mdk-accent-green);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.pricing-card__cta {
    margin-top: auto;
}

@media (max-width: 575.98px) {
    .pricing-hero {
        padding-top: 4.5rem;
    }

    .pricing-card__head {
        padding-right: 0;
        padding-top: 1.75rem;
    }

    .pricing-card__badge {
        top: 0.85rem;
    }
}

/* ---------- Pricing showcase (home + pricing page) — border cards, 3-col row ---------- */
.pricing-showcase {
    --price-accent: #8f1d2f;
    --price-accent-soft: #fdf2f4;
    --price-border: #e8e4e6;
    --price-text: #0f172a;
    --price-muted: #64748b;
    --price-good: #22c55e;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-showcase__shell {
    display: contents;
}

.pricing-showcase__grid {
    margin: 0;
    align-items: stretch;
}

.pricing-showcase__col {
    position: relative;
    display: flex;
}

.pricing-showcase__card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 16px;
    padding: 1.65rem 1.5rem 1.75rem;
    background: #ffffff;
    border: 1px solid var(--price-border);
    color: var(--price-text);
    min-height: 100%;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.pricing-showcase__card:hover {
    border-color: rgba(143, 29, 47, 0.28);
    box-shadow: 0 14px 36px rgba(143, 29, 47, 0.1);
    transform: translateY(-3px);
}

.pricing-showcase__card--featured {
    background: #ffffff;
    border: 1px solid rgba(143, 29, 47, 0.35);
    box-shadow:
        0 8px 28px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(143, 29, 47, 0.08);
}

.pricing-showcase__card--featured:hover {
    border-color: rgba(143, 29, 47, 0.5);
    box-shadow: 0 16px 40px rgba(143, 29, 47, 0.14);
}

.pricing-showcase__card--free {
    background: #ffffff;
}

.pricing-showcase__card-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    min-height: 1.6rem;
}

.pricing-showcase__tag {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
}

.pricing-showcase__tag--free {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.32);
}

.pricing-showcase__tag--paid {
    background: rgba(143, 29, 47, 0.1);
    color: var(--price-accent);
    border: 1px solid rgba(143, 29, 47, 0.28);
}

.pricing-showcase__tag--popular {
    margin-left: auto;
    background: var(--price-accent);
    color: #ffffff;
    border: 1px solid var(--price-accent);
}

.pricing-showcase__name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    color: var(--price-text);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.pricing-showcase__card--featured .pricing-showcase__name {
    color: var(--price-accent);
}

.pricing-showcase__desc {
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0 0 1.15rem;
    color: var(--price-muted);
}

.pricing-showcase__price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    margin: 0 0 1.35rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid var(--price-border);
}

.pricing-showcase__price {
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    font-weight: 800;
    line-height: 1;
    color: var(--price-text);
    letter-spacing: -0.03em;
}

.pricing-showcase__card--featured .pricing-showcase__price {
    color: var(--price-accent);
}

.pricing-showcase__period {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--price-muted);
}

.pricing-showcase__included {
    flex: 1 1 auto;
    margin-bottom: 0.35rem;
}

.pricing-showcase__included-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 0.75rem;
    color: #94a3b8;
}

.pricing-showcase__card--featured .pricing-showcase__included-title {
    color: rgba(143, 29, 47, 0.65);
}

.pricing-showcase__included-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.pricing-showcase__included-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.9rem;
    margin-bottom: 0.65rem;
    line-height: 1.45;
    color: #334155;
}

.pricing-showcase__included-list li:last-child {
    margin-bottom: 0;
}

.pricing-showcase__included-list li i {
    flex-shrink: 0;
    margin-top: 0.12rem;
    font-size: 1rem;
    color: var(--price-good);
}

.pricing-showcase__card--featured .pricing-showcase__included-list li i {
    color: var(--price-accent);
}

.pricing-showcase__cta {
    margin-top: auto;
    padding-top: 0.5rem;
}

.pricing-showcase__cta .mdk-pill-btn {
    width: 100%;
}

.pricing-showcase__cta .mdk-pill-btn__inner {
    width: 100%;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .pricing-showcase__card {
        padding: 1.45rem 1.3rem 1.55rem;
    }
}

@media (max-width: 767.98px) {
    .pricing-showcase__card {
        padding: 1.35rem 1.2rem 1.5rem;
        border-radius: 14px;
    }

    .pricing-section--home .ids-section-title {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    .pricing-section--home .ids-section-lead {
        font-size: 0.9375rem;
        padding-inline: 0.25rem;
    }
}

.pricing-section--home {
    padding: 4rem 0;
    background: #ffffff;
}

.pricing-section__note {
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 2.5rem;
}

.pricing-section--home .ids-section-head {
    max-width: 40rem;
    margin-inline: auto;
}

.pricing-section--home .ids-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.65rem;
    color: #8f1d2f !important;
    -webkit-text-fill-color: #8f1d2f !important;
    background-image: none !important;
}

.pricing-section--home .ids-section-title .mdk-title-accent {
    color: #8f1d2f !important;
    -webkit-text-fill-color: #8f1d2f !important;
}

.pricing-section--home .ids-section-title::after {
    content: "";
    display: block;
    height: 3px;
    width: 60px;
    margin: 0.65rem auto 0;
    background: linear-gradient(90deg, #8f1d2f, #a82d42);
    border-radius: 2px;
}

.pricing-section--home .ids-section-lead {
    font-size: 1rem;
    color: #64748b !important;
}

.pricing-section--home .home-text-link {
    color: #8f1d2f !important;
}

.pricing-section--home .home-text-link:hover {
    color: #6b1523 !important;
    background: rgba(143, 29, 47, 0.08);
}

@media (max-width: 575.98px) {
    .pricing-showcase__price {
        font-size: 1.75rem;
    }
}

/* ---------- Pricing page (inner-page style, matches FAQ / blog) ---------- */
.page-pricing .ids-pricing {
    background: var(--mdk-bg);
    color: var(--mdk-text);
}

.page-pricing .ids-pricing-hero {
    position: relative;
    padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(1.25rem, 2.5vw, 2rem);
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid #e8e4e6;
}

.page-pricing .ids-pricing-hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background:
        radial-gradient(ellipse 55% 45% at 50% 30%, rgba(143, 29, 47, 0.12) 0%, transparent 55%),
        repeating-linear-gradient(
            60deg,
            transparent,
            transparent 20px,
            rgba(143, 29, 47, 0.035) 20px,
            rgba(143, 29, 47, 0.035) 40px
        );
    pointer-events: none;
}

.page-pricing .ids-pricing-hero__kicker {
    display: inline-block;
    margin-bottom: 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mdk-color-accent-light);
}

.page-pricing .ids-pricing-hero__title {
    margin: 0 0 1rem;
    font-size: clamp(1.85rem, 4vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--mdk-heading);
    line-height: 1.15;
}

.page-pricing .ids-pricing-hero__lead {
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mdk-text);
}

.page-pricing .ids-pricing-hero__lead strong {
    color: #0f172a;
}

.page-pricing .ids-pricing-main {
    padding: clamp(2rem, 4vw, 3.25rem) 0;
    background: #faf8f9;
}

.page-pricing .ids-section-head {
    max-width: 40rem;
    margin-inline: auto;
}

.page-pricing .ids-pricing-empty,
.page-pricing .ids-pricing-note {
    color: var(--mdk-text);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.page-pricing .ids-pricing-note {
    margin-top: 2rem;
}

.page-pricing .ids-pricing-upgrade {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: #ffffff;
}

.page-pricing .ids-pricing-upgrade__panel {
    padding: clamp(2rem, 4vw, 2.75rem) clamp(1.35rem, 3vw, 2.25rem);
    border-radius: 1.25rem;
    border: 1px solid #e8e4e6;
    background: #fdf2f4;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}

.page-pricing .ids-pricing-upgrade__head {
    max-width: 40rem;
    margin: 0 auto 2rem;
}

.page-pricing .ids-pricing-upgrade__title {
    margin: 0 0 0.95rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--mdk-heading);
    line-height: 1.2;
}

.page-pricing .ids-pricing-upgrade__lead {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mdk-text);
}

.page-pricing .ids-pricing-upgrade__sub {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mdk-color-accent-light);
}

.page-pricing .ids-pricing-upgrade__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 100%;
    padding: 0.95rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid #e8e4e6;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.page-pricing .ids-pricing-upgrade__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    color: #a82d42;
    background: rgba(143, 29, 47, 0.14);
    border: 1px solid rgba(143, 29, 47, 0.22);
}

.page-pricing .ids-pricing-upgrade__icon i {
    font-size: 0.95rem;
    line-height: 1;
}

.page-pricing .ids-pricing-upgrade__label {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    color: #0f172a;
}

.page-pricing .ids-pricing-cta {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: #faf8f9;
}

.page-pricing .ids-pricing-cta__inner {
    padding: clamp(2rem, 4vw, 2.75rem) clamp(1.35rem, 3vw, 2.25rem);
    border-radius: 1.25rem;
    border: 1px solid #f5e4e8;
    background: #fdf2f4;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}

.page-pricing .ids-pricing-cta__kicker {
    display: inline-block;
    margin: 0 0 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mdk-color-accent-light);
}

.page-pricing .ids-pricing-cta__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--mdk-heading);
    line-height: 1.2;
}

.page-pricing .ids-pricing-cta__text {
    margin: 0 auto 1.5rem;
    max-width: 38rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mdk-text);
}

.page-pricing .ids-pricing-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

@media (max-width: 991.98px) {
    .page-pricing .ids-pricing-cta__actions .mdk-pill-btn {
        width: 100%;
        max-width: 320px;
    }

    .page-pricing .ids-pricing-cta__actions .mdk-pill-btn__inner {
        width: 100%;
    }
}

.pricing-showcase__card--free:not(.pricing-showcase__card--featured) {
    background: #ffffff;
    border-color: var(--price-border, #e8e4e6);
}

/* ---------- Inner pages light theme polish (match home) ---------- */
body.page-about,
body.page-blog,
body.page-pricing,
body.page-faq,
body.page-contact {
    background: #f5f3f4;
    color: #64748b;
}

.page-about .ids-accent,
.page-blog .ids-accent,
.page-pricing .ids-accent,
.page-faq .ids-accent,
.page-contact .ids-accent {
    color: #8f1d2f;
}

.page-about .ids-inline-link,
.page-blog .ids-inline-link,
.page-pricing .ids-inline-link,
.page-faq .ids-inline-link,
.page-contact .ids-inline-link {
    color: #8f1d2f;
    font-weight: 600;
    text-decoration: none;
}

.page-about .ids-inline-link:hover,
.page-blog .ids-inline-link:hover,
.page-pricing .ids-inline-link:hover,
.page-faq .ids-inline-link:hover,
.page-contact .ids-inline-link:hover {
    color: #6b1523;
    text-decoration: underline;
}

.page-blog .ids-blog-hero__kicker,
.page-faq .ids-faq-hero__kicker,
.page-about .ids-about-hero__kicker,
.page-pricing .ids-pricing-hero__kicker,
.page-contact .ids-contact-hero__kicker {
    color: #8f1d2f;
}

.page-blog .ids-blog-related {
    background: #ffffff;
    border-top: 1px solid #e8e4e6;
    padding: clamp(2rem, 4vw, 3rem) 0;
}

.page-blog .ids-blog-widget,
.page-blog .ids-blog-sidebar-card {
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.page-pricing .ids-pricing .ids-accent,
.page-about .ids-about .ids-accent,
.page-faq .ids-faq .ids-accent,
.page-contact .ids-contact .ids-accent,
.page-blog .ids-blog .ids-accent {
    color: #8f1d2f !important;
}

