/* Chauhans Landing Page - custom styles */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap');

.site-lang-picker {
    position: fixed;
    top: 0.85rem;
    right: 0.9rem;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 31, 40, 0.12);
    border-radius: 999px;
    padding: 0.28rem 0.5rem 0.28rem 0.7rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(6px);
}

.cookie-consent-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1400;
}

.cookie-consent-inner {
    max-width: 780px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0f1f28 0%, #113545 100%);
    color: #eef7f8;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 35px rgba(8, 15, 24, 0.4);
    padding: 0.95rem 1rem;
}

.cookie-consent-title {
    margin: 0 0 0.25rem;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
}

.cookie-consent-text {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.45;
}

.cookie-consent-actions {
    margin-top: 0.65rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.site-lang-picker label {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 700;
    color: #0f1f28;
    letter-spacing: 0.02em;
}

.site-lang-picker select {
    border: 1px solid rgba(15, 31, 40, 0.18);
    border-radius: 999px;
    background: #fff;
    color: #0f1f28;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 1.7rem 0.25rem 0.55rem;
    outline: none;
}

.site-lang-picker select:focus {
    border-color: #029386;
    box-shadow: 0 0 0 2px rgba(2, 147, 134, 0.18);
}

.feature-cookie-note {
    display: inline-block;
    margin-left: 0.25rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(150, 47, 42, 0.08);
    border: 1px solid rgba(150, 47, 42, 0.25);
    color: #7a221f;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.feature-cookie-note-rita {
    position: fixed;
    right: 1rem;
    bottom: 5.25rem;
    z-index: 1245;
    max-width: 270px;
    background: rgba(15, 31, 40, 0.96);
    color: #f5f9fb;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .site-lang-picker {
        top: 0.45rem;
        right: 0.45rem;
        max-width: calc(100vw - 1rem);
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .feature-cookie-note {
        margin-left: 0;
        width: 100%;
    }

    .feature-cookie-note-rita {
        right: 0.75rem;
        left: 0.75rem;
        bottom: 5rem;
        max-width: none;
    }
}

/* Hide default Google Translate UI so only custom selector is used. */
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame, 
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-yAWNEb-L7lbkb,
.VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q,
iframe[id*="google_translate"],
iframe[src*="translate.google"] {
    display: none !important;
    visibility: hidden !important;
}

/* Remove Google's translated-text hover highlight/overlay behavior. */
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

.VIpgJd-yAWNEb-L7lbkb,
.VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q,
#goog-gt-tt {
    pointer-events: none !important;
}


html,
html.translated-ltr,
html.translated-rtl {
    margin-top: 0 !important;
    top: 0 !important;
}


body {
    top: 0 !important;
    margin-top: 0 !important;
}

:root {
    --brand-ink: #0f1f28;
    --brand-stone: #f5f1e7;
    --brand-gold: #d49b34;
    --brand-clay: #af4425;
    --brand-red: #962f2a;
    --hero-deep: #152934;
    --hero-mid: #213f4d;
    --hero-smoke: rgba(255, 244, 221, 0.13);
}

body {
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    color: var(--brand-ink);
    background: #eeeeee;
}

section:not(#hero):not(.kb-home-hero) {
    background: #eeeeee !important;
}

h1,
h2,
h3,
h4,
.navbar-brand {
    font-family: 'Sora', 'Manrope', sans-serif;
}

/* Navbar */
.navbar-transparent {
    background: transparent !important;
    backdrop-filter: none;
    transition: all 0.3s ease;
}

.navbar-transparent .navbar-brand img {
    filter: brightness(1.05) contrast(1.08);
}

.navbar-transparent .site-hero-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.45rem;
    border-radius: 999px;
    background: rgba(7, 15, 28, 0.22);
    backdrop-filter: blur(5px);
}

.navbar-transparent .site-hero-logo img {
    height: clamp(58px, 10vw, 100px);
    width: auto;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(6, 9, 18, 0.38));
}

@media (max-width: 575px) {
    .navbar-transparent .site-hero-logo {
        padding: 0.22rem 0.35rem;
    }

    .navbar-transparent .site-hero-logo img {
        height: clamp(50px, 17vw, 72px);
    }
}

.kb-navbar {
    position: sticky;
    top: 0;
    z-index: 1010;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    background: linear-gradient(180deg, #1b2431 0%, #1d2736 100%);
}

.kb-navbar.kb-navbar-transparent {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: none;
}

.kb-navbar.kb-navbar-transparent .kb-navbar-title {
    color: #fff;
}

.kb-navbar-brand img {
    border-radius: 999px;
}

.kb-navbar-title {
    color: #f8fbff;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.kb-back-btn {
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0.8rem;
    font-weight: 700;
    padding: 0.45rem 0.95rem;
}

.kb-back-btn:hover,
.kb-back-btn:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.7);
}

/* Hero */
#hero {
    position: relative;
    overflow: hidden;
    padding: 8rem 0 5rem;
    display: flex;
    align-items: center;
    text-align: center;
    background:
        url('/assets/herobg-march2026.png') center center / cover no-repeat;
    min-height: 86vh;
}

#hero::before,
#hero::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

#hero::before {
    inset: 0;
    /* Full cosmos — blue, cyan, white, yellow, orange, red, pink, purple, green */
    background:
        radial-gradient(ellipse at 8%  20%,  rgba(88,  28, 220, 0.68) 0%, transparent 44%),  /* purple      */
        radial-gradient(ellipse at 92% 12%,  rgba(236, 72, 153, 0.60) 0%, transparent 42%),  /* pink/magenta */
        radial-gradient(ellipse at 72% 82%,  rgba(30,  64, 255, 0.65) 0%, transparent 46%),  /* blue         */
        radial-gradient(ellipse at 28% 78%,  rgba(6,  182, 212, 0.50) 0%, transparent 42%),  /* cyan         */
        radial-gradient(ellipse at 50% 50%,  rgba(255,255,255, 0.08) 0%, transparent 38%),  /* white core   */
        radial-gradient(ellipse at 78% 42%,  rgba(239, 68,  68, 0.40) 0%, transparent 38%),  /* red          */
        radial-gradient(ellipse at 60% 18%,  rgba(251,146,  36, 0.38) 0%, transparent 36%),  /* orange       */
        radial-gradient(ellipse at 18% 48%,  rgba(250,204,  21, 0.28) 0%, transparent 34%),  /* yellow       */
        radial-gradient(ellipse at 85% 70%,  rgba(34, 197,  94, 0.22) 0%, transparent 30%);  /* green (rare) */
}

#hero::after {
    inset: 0;
    /* Darkens edges and top so text stays readable */
    background: linear-gradient(
        160deg,
        rgba(4, 0, 20, 0.55) 0%,
        rgba(8, 3, 28, 0.28) 45%,
        rgba(2, 0, 18, 0.55) 100%
    );
}

.kb-home-hero {
    min-height: 100svh !important;
    min-height: 100vh !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
}

.kb-home-hero .hero-shell {
    width: 100%;
    padding-top: 5.8rem;
    padding-bottom: 1.25rem;
}

.kb-home-hero .hero-title {
    max-width: 15ch;
}

.kb-home-hero .hero-subtitle {
    max-width: 40rem;
}

.kb-home-hero .kb-search-submit {
    background: #ff3700;
    border-color: #ff3700;
    color: #fff;
}

.kb-home-hero .kb-search-submit:hover,
.kb-home-hero .kb-search-submit:focus {
    background: #ff3700;
    border-color: #ff3700;
    color: #fff;
}

.site-footer {
    background: #111b26;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.site-footer-brand-block {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-shrink: 0;
}

.site-footer-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.site-footer-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-footer-brand img {
    height: 52px;
    width: auto;
    border-radius: 999px;
}

.site-footer-copyright {
    color: rgba(233, 241, 247, 0.55);
    font-size: 0.82rem;
    white-space: nowrap;
}

.site-footer-payments {
    color: rgba(233, 241, 247, 0.72);
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 760px;
}

.site-footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-footer-links a {
    color: rgba(233, 241, 247, 0.86);
    text-decoration: none;
    font-size: 0.9rem;
}

.site-footer-links a:hover,
.site-footer-links a:focus {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── Policy pages ──────────────────────────────────────────────────────── */

.policy-hero {
    position: relative;
    overflow: hidden;
    padding: 9.5rem 0 3.5rem;
    background: url('/assets/herobg-march2026.png') center center / cover no-repeat;
    text-align: center;
}

.policy-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 8%  20%,  rgba(88,  28, 220, 0.68) 0%, transparent 44%),
        radial-gradient(ellipse at 92% 12%,  rgba(236, 72, 153, 0.60) 0%, transparent 42%),
        radial-gradient(ellipse at 72% 82%,  rgba(30,  64, 255, 0.65) 0%, transparent 46%),
        radial-gradient(ellipse at 28% 78%,  rgba(6,  182, 212, 0.50) 0%, transparent 42%),
        radial-gradient(ellipse at 50% 50%,  rgba(255,255,255, 0.08) 0%, transparent 38%),
        radial-gradient(ellipse at 78% 42%,  rgba(239, 68,  68, 0.40) 0%, transparent 38%),
        radial-gradient(ellipse at 60% 18%,  rgba(251,146,  36, 0.38) 0%, transparent 36%),
        radial-gradient(ellipse at 18% 48%,  rgba(250,204,  21, 0.28) 0%, transparent 34%),
        radial-gradient(ellipse at 85% 70%,  rgba(34, 197,  94, 0.22) 0%, transparent 30%);
    pointer-events: none;
    z-index: 0;
}

.policy-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(4, 0, 20, 0.62) 0%,
        rgba(8, 3, 28, 0.38) 45%,
        rgba(2, 0, 18, 0.62) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.policy-hero-inner {
    position: relative;
    z-index: 2;
}

.policy-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.policy-breadcrumb a {
    color: rgba(233, 242, 255, 0.72);
    text-decoration: none;
    transition: color 0.15s;
}

.policy-breadcrumb a:hover {
    color: #fff;
}

.policy-breadcrumb span {
    color: rgba(233, 242, 255, 0.4);
}

.policy-hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: #f8fbff;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 auto 0.75rem;
}

.policy-hero-sub {
    font-size: 0.9rem;
    color: rgba(233, 242, 255, 0.6);
    margin: 0;
    font-weight: 500;
}

.policy-content {
    background: linear-gradient(180deg, #f9f7f2 0%, #ffffff 100%);
    padding: 3.5rem 0 5rem;
}

.policy-stack {
    display: grid;
    gap: 1.25rem;
}

.policy-jump {
    background: linear-gradient(135deg, #fff8e9 0%, #fff 62%);
    border: 1px solid rgba(212, 155, 52, 0.26);
    border-radius: 1.1rem;
    padding: 1rem 1.05rem;
}

.policy-jump-label {
    margin: 0 0 0.55rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #73531a;
}

.policy-jump-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.policy-jump-btn {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(175, 68, 37, 0.22);
    background: rgba(255, 255, 255, 0.92);
    color: #5c3b24;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.36rem 0.78rem;
    transition: all 0.16s ease;
}

.policy-jump-btn:hover,
.policy-jump-btn:focus {
    color: #fff;
    background: linear-gradient(135deg, #af4425 0%, #d49b34 100%);
    border-color: transparent;
    transform: translateY(-1px);
}

.policy-section-card {
    background: #fff;
    border-radius: 1.1rem;
    border: 1px solid rgba(15, 31, 40, 0.1);
    padding: 1.7rem 1.8rem;
}

.policy-section-card-spacious {
    padding: 2rem 2.1rem;
}

.policy-section-title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.04rem;
    font-weight: 800;
    color: var(--brand-ink);
    margin: 0 0 0.95rem;
    line-height: 1.35;
}

.policy-section-title::before {
    content: '';
    width: 7px;
    height: 1.35rem;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--brand-gold) 0%, var(--brand-clay) 100%);
    flex-shrink: 0;
}

.policy-section-card p {
    font-size: 1rem;
    line-height: 1.9;
    color: #3d4d57;
    margin-bottom: 0.95rem;
}

.policy-section-card ul {
    margin: 0.55rem 0 1.05rem 0;
    padding-left: 1.55rem;
}

.policy-section-card li {
    font-size: 0.98rem;
    line-height: 1.85;
    color: #3d4d57;
    margin-bottom: 0.35rem;
}

.policy-subsection-title {
    margin: 1.45rem 0 0.65rem;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: #6c7a84;
}

.policy-inline-alert {
    border: 1px solid rgba(174, 114, 22, 0.35);
    border-radius: 0.9rem;
    background: linear-gradient(180deg, #fff7e6 0%, #fff3d4 100%);
    color: #6b4a0a;
    padding: 0.82rem 0.95rem;
    font-size: 0.91rem;
    font-weight: 600;
    line-height: 1.55;
    margin: 0.55rem 0 0.8rem;
}

.policy-contact-block a[href^="tel"] {
    color: var(--brand-clay);
    font-weight: 700;
    text-decoration: none;
}

.policy-contact-block a[href^="tel"]:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 575px) {
    .policy-hero {
        padding: 8rem 0 2.5rem;
    }

    .policy-section-card {
        padding: 1.2rem 1.05rem;
    }

    .policy-section-card-spacious {
        padding: 1.3rem 1.1rem;
    }

    .policy-section-title {
        font-size: 0.98rem;
    }

    .policy-jump {
        padding: 0.85rem 0.78rem;
    }

    .policy-jump-btn {
        font-size: 0.76rem;
        padding: 0.34rem 0.66rem;
    }
}

.hero-shell {
    position: relative;
    z-index: 2;
}

.hero-clean {
    max-width: 52rem;
    margin: 0 auto;
}

.hero-eyebrow {
    margin: 0 0 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(239, 246, 255, 0.93);
}

.hero-title {
    font-size: clamp(1.9rem, 5.2vw, 4rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 auto 1.5rem;
    max-width: 18ch;
    color: #f8fbff;
}

.hero-subtitle {
    font-size: 15pt;
    line-height: 1.6;
    color: rgba(233, 242, 255, 0.94);
    max-width: 42rem;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.btn-rita {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    background: #f1f5f9;
    color: #0b2258;
    border: 2px solid #ffffff;
    border-radius: 0.95rem;
    padding: 0.66rem 1.1rem 0.66rem 0.7rem;
    font-size: 1rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-rita:hover,
.btn-rita:focus {
    color: #051b4c;
    background: #ffffff;
    transform: translateY(-1px);
}

.rita-avatar-wrap {
    position: relative;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid rgba(7, 27, 73, 0.2);
    overflow: hidden;
    flex-shrink: 0;
}

.rita-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-hero-secondary {
    border: 2px solid rgba(255, 255, 255, 0.72);
    background: rgba(5, 18, 52, 0.35);
    color: #fff;
    border-radius: 0.95rem;
    padding: 0.72rem 1.15rem;
    font-size: 0.98rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

/* Homepage hero button upgrades */
body.homepage #hero .btn-rita {
    background: linear-gradient(135deg, #2b59ff 0%, #6259ff 48%, #d63cff 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1.22rem 0.7rem 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

body.homepage #hero .btn-rita:hover,
body.homepage #hero .btn-rita:focus {
    color: #fff;
    background: linear-gradient(135deg, #3a67ff 0%, #7069ff 48%, #e248ff 100%);
    transform: translateY(-2px) scale(1.03);
}

body.homepage #hero .btn-rita .rita-avatar-wrap {
    border: none;
    background: rgba(11, 17, 46, 0.32);
}

/* Service Panel Rita Buttons */
.btn-rita-service {
    background: linear-gradient(135deg, #2b59ff 0%, #6259ff 48%, #d63cff 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px;
    padding: 0.7rem 1.22rem 0.7rem 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-rita-service:hover,
.btn-rita-service:focus {
    color: #fff !important;
    background: linear-gradient(135deg, #3a67ff 0%, #7069ff 48%, #e248ff 100%) !important;
    transform: translateY(-2px) scale(1.03);
}

.btn-rita-service .rita-avatar-wrap {
    border: none;
    background: rgba(11, 17, 46, 0.32);
}

body.homepage #hero .btn-hero-secondary {
    border: 2px solid rgba(255, 255, 255, 0.94);
    background: transparent;
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
}

body.homepage #hero .btn-hero-secondary:hover,
body.homepage #hero .btn-hero-secondary:focus {
    color: #091d4d;
    background: #fff;
    border-color: #fff;
    transform: translateY(-1px);
}

/* Services */
#services {
    background: #fff;
    padding-top: 4rem !important;
    margin-top: 1.3rem;
}

.service-card {
    border: none;
    border-radius: 1rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1rem;
}

/* eBay */
#ebay {
    background: linear-gradient(180deg, #f8f5ec 0%, #f4efe3 100%);
}

.ebay-badge {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: #e53238;
    font-weight: 800;
}

/* rita launcher - hidden by default on homepage */
#rita-launcher {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    display: none;
}

body:not(.homepage) #rita-launcher {
    display: block;
}

#rita-launcher button {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(136deg, #c68722 0%, #9d3f27 58%, #842822 100%);
    border: 1px solid rgba(255, 255, 255, 0.24);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    cursor: pointer;
}

#rita-launcher button:hover {
    transform: translateY(-3px) scale(1.02);
    filter: saturate(1.05);
}

/* rita window */
#rita-window {
    position: fixed;
    bottom: 5.7rem;
    right: 1.5rem;
    width: min(390px, calc(100vw - 1.5rem));
    max-height: 620px;
    border-radius: 1.1rem;
    border: 1px solid rgba(23, 32, 40, 0.12);
    background: #eee;
    display: flex;
    flex-direction: column;
    z-index: 1001;
    overflow: hidden;
}

#rita-window.rita-maximized {
    top: 1rem;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
    height: calc(100vh - 2rem);
    max-height: none;
    border-radius: 1rem;
}

#rita-window.d-none {
    display: none !important;
}

#rita-header {
    background:
        radial-gradient(ellipse at 8%  20%,  rgba(88,  28, 220, 0.88) 0%, transparent 50%),  /* purple      */
        radial-gradient(ellipse at 92% 15%,  rgba(236, 72, 153, 0.80) 0%, transparent 48%),  /* pink/magenta */
        radial-gradient(ellipse at 65% 90%,  rgba(30,  64, 255, 0.80) 0%, transparent 50%),  /* blue         */
        radial-gradient(ellipse at 28% 75%,  rgba(6,  182, 212, 0.65) 0%, transparent 44%),  /* cyan         */
        radial-gradient(ellipse at 50% 50%,  rgba(255,255,255, 0.06) 0%, transparent 36%),  /* white core   */
        radial-gradient(ellipse at 80% 45%,  rgba(239, 68,  68, 0.55) 0%, transparent 38%),  /* red          */
        radial-gradient(ellipse at 60% 15%,  rgba(251,146,  36, 0.50) 0%, transparent 36%),  /* orange       */
        radial-gradient(ellipse at 15% 55%,  rgba(250,204,  21, 0.38) 0%, transparent 34%),  /* yellow       */
        radial-gradient(ellipse at 88% 72%,  rgba(34, 197,  94, 0.28) 0%, transparent 30%),  /* green (rare) */
        #04001a;
    color: #fff;
    padding: 0.95rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

#rita-header .d-flex {
    gap: 0.85rem;
}

#rita-header img {
    border: 2px solid rgba(255, 255, 255, 0.4);
}

#rita-header .rita-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ── CSM Staff Login Modal ──────────────────────────────────────────── */
.csm-login-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 22, 30, 0.82);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.csm-login-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2.25rem 2rem 2rem;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.csm-warning-box {
    background: rgba(175, 68, 37, 0.08);
    border: 1.5px solid var(--brand-clay);
    border-radius: 0.7rem;
    padding: 0.9rem 1rem;
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}

.csm-warning-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.csm-warning-text {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--brand-clay);
    margin: 0;
    font-weight: 500;
}

.csm-warning-text strong {
    font-weight: 700;
    color: var(--brand-red);
}

.csm-login-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.csm-login-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.csm-login-title {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--brand-ink);
    margin: 0;
}

.csm-login-subtitle {
    font-size: 0.84rem;
    color: #6b7a87;
    margin: 0;
}

.csm-login-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.csm-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.csm-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-ink);
    letter-spacing: 0.02em;
}

.csm-input {
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    border: 1.5px solid #d4dae0;
    border-radius: 0.6rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    color: var(--brand-ink);
    background: #f8fafb;
}

.csm-input:focus {
    border-color: var(--brand-gold);
    background: #fff;
}

.csm-error {
    font-size: 0.82rem;
    color: var(--brand-red);
    font-weight: 600;
    margin: 0;
    background: rgba(150, 47, 42, 0.07);
    padding: 0.45rem 0.7rem;
    border-radius: 0.4rem;
    border-left: 3px solid var(--brand-red);
}

.csm-submit-btn {
    margin-top: 0.25rem;
    padding: 0.7rem 1.2rem;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: inherit;
    background: linear-gradient(135deg, var(--brand-clay), var(--brand-red));
    color: #fff;
    border: none;
    border-radius: 0.65rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: opacity 0.2s, transform 0.15s;
}

.csm-submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.csm-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#rita-refund-policy-modal .modal-content {
    border: 1px solid rgba(15, 31, 40, 0.12);
    border-radius: 1rem;
    overflow: hidden;
}

#rita-refund-policy-modal .modal-header {
    background: linear-gradient(180deg, #fff7e7 0%, #fff2d8 100%);
    border-bottom: 1px solid rgba(15, 31, 40, 0.08);
}

#rita-refund-policy-modal .modal-title {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-weight: 700;
    color: #243743;
}

.rita-refund-checklist {
    background: linear-gradient(180deg, #f9f7f2 0%, #ffffff 100%);
    border: 1px solid rgba(31, 46, 58, 0.1);
    border-radius: 1rem;
    padding: 0.9rem;
}

.rita-refund-checklist .form-check-label {
    color: #33444f;
    line-height: 1.55;
}

.rita-refund-policy-stack {
    display: grid;
    gap: 0.85rem;
}

.rita-policy-hidden {
    display: none !important;
}

.rita-refund-policy-card {
    background: #fff;
    border: 1px solid rgba(15, 31, 40, 0.1);
    border-radius: 1rem;
    padding: 1rem 1.05rem;
}

.rita-refund-policy-card-spacious {
    padding: 1.2rem 1.22rem;
}

.rita-refund-policy-card-title {
    display: flex;
    align-items: center;
    gap: 0.62rem;
    margin: 0 0 0.35rem;
    font-size: 0.92rem;
    font-weight: 800;
    color: #1d3340;
}

.rita-refund-policy-card-title::before {
    content: '';
    width: 7px;
    height: 1.2rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #d49b34 0%, #af4425 100%);
    flex-shrink: 0;
}

.rita-refund-policy-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.72;
    color: #455762;
}

.rita-refund-policy-card ul {
    margin: 0.45rem 0 0.35rem 0;
    padding-left: 1.35rem;
}

.rita-refund-policy-card li {
    font-size: 0.89rem;
    line-height: 1.65;
    color: #455762;
    margin-bottom: 0.18rem;
}

#rita-refund-policy-modal .policy-inline-alert {
    margin: 0.7rem 0 0.7rem;
}

/* ════════════════════════════════════════════════════════════════════════════
   Rita Knowledgebase Result Modal — Premium Styling
════════════════════════════════════════════════════════════════════════════ */

#rita-kb-result-modal .modal-dialog {
    --bs-modal-margin: 1.75rem;
}

#rita-kb-result-modal .rita-kb-modal-content {
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    background: linear-gradient(180deg, #fefdfb 0%, #ffffff 100%);
    overflow: hidden;
}

#rita-kb-result-modal .rita-kb-modal-header {
    background: linear-gradient(135deg, #029386 0%, #026b55 100%);
    border: none;
    padding: 2rem 2rem 1.5rem;
}

#rita-kb-result-modal .rita-kb-modal-title-group {
    margin: 0;
}

#rita-kb-result-modal .rita-kb-modal-title {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: #ffffff;
    margin-bottom: 0.35rem;
    line-height: 1.25;
}

#rita-kb-result-modal .rita-kb-modal-badge {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

#rita-kb-result-modal .rita-kb-modal-close {
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

#rita-kb-result-modal .rita-kb-modal-close:hover {
    opacity: 1;
}

#rita-kb-result-modal .rita-kb-modal-body {
    padding: 2.2rem 2.2rem 2rem;
    background: #fefdfb;
}

#rita-kb-result-modal .rita-kb-result-article {
    margin: 0;
}

#rita-kb-result-modal .rita-kb-section {
    margin-bottom: 2rem;
}

#rita-kb-result-modal .rita-kb-section:last-child {
    margin-bottom: 0;
}

#rita-kb-result-modal .rita-kb-question-section {
    padding-bottom: 1.8rem;
    border-bottom: 2px solid rgba(2, 147, 134, 0.15);
}

#rita-kb-result-modal .rita-kb-section-heading {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #029386;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#rita-kb-result-modal .rita-kb-section-heading::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1rem;
    background: linear-gradient(180deg, #029386 0%, #026b55 100%);
    border-radius: 999px;
    flex-shrink: 0;
}

#rita-kb-result-modal .rita-kb-question-text {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.6;
    color: #1f2937;
    margin: 0;
}

#rita-kb-result-modal .rita-kb-answer-section {
    margin-top: 2rem;
}

#rita-kb-result-modal .rita-kb-answer-body {
    font-size: 1rem;
    line-height: 1.75;
    color: #4b5563;
}

#rita-kb-result-modal .rita-kb-answer-body p {
    margin-bottom: 1rem;
}

#rita-kb-result-modal .rita-kb-answer-body p:last-child {
    margin-bottom: 0;
}

#rita-kb-result-modal .rita-kb-answer-body ul,
#rita-kb-result-modal .rita-kb-answer-body ol {
    margin: 1rem 0 1rem 1.5rem;
    padding: 0;
}

#rita-kb-result-modal .rita-kb-answer-body li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

#rita-kb-result-modal .rita-kb-answer-body strong {
    color: #1f2937;
    font-weight: 700;
}

#rita-kb-result-modal .rita-kb-answer-body em {
    color: #4b5563;
    font-style: italic;
}

#rita-kb-result-modal .rita-kb-modal-footer {
    background: #ffffff;
    border-top: 1px solid rgba(2, 147, 134, 0.1);
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

#rita-kb-result-modal .modal-footer .btn {
    min-width: 100px;
    font-weight: 600;
    border-radius: 0.6rem;
    font-size: 0.9rem;
}

#rita-kb-result-modal .modal-footer .btn-secondary {
    background: rgba(2, 147, 134, 0.1);
    color: #029386;
    border: 1px solid rgba(2, 147, 134, 0.2);
    transition: all 0.2s ease;
}

#rita-kb-result-modal .modal-footer .btn-secondary:hover {
    background: rgba(2, 147, 134, 0.15);
    border-color: rgba(2, 147, 134, 0.3);
    color: #026b55;
}

.rita-kb-open-btn {
    display: inline-block;
    background: linear-gradient(135deg, rgba(2, 147, 134, 0.08) 0%, rgba(2, 147, 134, 0.04) 100%);
    border: 1.5px solid rgba(2, 147, 134, 0.25);
    color: #029386;
    border-radius: 0.65rem;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: normal;
}

.rita-kb-open-btn:hover {
    background: linear-gradient(135deg, rgba(2, 147, 134, 0.15) 0%, rgba(2, 147, 134, 0.08) 100%);
    border-color: rgba(2, 147, 134, 0.4);
}

.rita-kb-open-btn:active {
    transform: scale(0.98);
}

.rita-refund-gate {
    display: none;
    position: relative;
    transition: opacity 0.18s ease;
}

.rita-return-gate {
    display: none;
    position: relative;
    transition: opacity 0.18s ease;
}

.rita-refund-gate.is-unlocked {
    display: block;
}

.rita-return-gate.is-unlocked {
    display: block;
}

.rita-refund-gate:not(.is-unlocked)::after {
    content: '';
    position: absolute;
    inset: 0;
}

.rita-return-gate:not(.is-unlocked)::after {
    content: '';
    position: absolute;
    inset: 0;
}

.rita-refund-policy-ack {
    margin-top: 0.78rem;
    padding-top: 0.68rem;
    border-top: 1px solid rgba(15, 31, 40, 0.08);
}

.rita-refund-policy-ack .form-check-input {
    margin-top: 0.16rem;
    opacity: 0.82;
    transform: scale(0.92);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.rita-refund-policy-ack .form-check-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6a7880;
}

.rita-refund-gate.is-unlocked .form-check-input {
    opacity: 1;
    transform: scale(1);
}

.rita-refund-gate.is-unlocked .form-check-label {
    color: #46555f;
}

.csm-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: csm-spin 0.7s linear infinite;
}

@keyframes csm-spin {
    to { transform: rotate(360deg); }
}

/* ─────────────────────────────────────────────────────────────────────── */
.rita-override-badge {
    margin-top: 0.24rem;
    display: inline-flex;
    align-self: flex-start;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff3cf;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.82), rgba(198, 57, 0, 0.82));
    border: 1px solid rgba(255, 242, 201, 0.46);
    border-radius: 999px;
    padding: 0.12rem 0.42rem;
    box-shadow: 0 4px 10px rgba(33, 8, 0, 0.35);
}

#rita-header button {
    background: rgba(255, 255, 255, 0.22);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.33rem 0.52rem;
    border-radius: 0.4rem;
    transition: background 0.2s ease;
}

#rita-header button:hover {
    background: rgba(255, 255, 255, 0.36);
}

#rita-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0.78rem;
    background:
        radial-gradient(circle at 5% 4%, rgba(213, 162, 68, 0.12) 0%, rgba(213, 162, 68, 0) 38%),
        linear-gradient(180deg, #fbf9f4 0%, #f6f4ee 100%);
}

.bubble {
    display: inline-block;
    max-width: 84%;
    padding: 0.58rem 0.88rem;
    border-radius: 1rem;
    margin-bottom: 0.52rem;
    line-height: 1.48;
    font-size: 0.89rem;
    word-break: break-word;
}

.bubble-assistant {
    color: #1f2d35;
    border: 1px solid rgba(19, 38, 50, 0.1);
    background: #ffffff;
    border-bottom-left-radius: 0.35rem;
}

.bubble-user {
    background: linear-gradient(132deg, #ef7b2d 0%, #d85a20 100%);
    color: #fff;
    border-bottom-right-radius: 0.35rem;
}

.bubble-row {
    display: flex;
    margin-bottom: 0.4rem;
}

.bubble-row.user {
    justify-content: flex-end;
}

.bubble-row.assistant {
    justify-content: flex-start;
}

.typing-dots span {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #9aa8b0;
    border-radius: 50%;
    margin: 0 2px;
    animation: bounce 0.9s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes bounce {
    0%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-6px);
    }
}

.rita-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.45rem;
}

.rita-pill {
    background: #fff8f2;
    border: 1.5px solid #d85a20;
    color: #c24d1b;
    border-radius: 999px;
    padding: 0.32rem 0.92rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.rita-pill:hover {
    background: #d85a20;
    color: #fff;
}

.rita-pill:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.rita-workflow-select-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-width: 320px;
}

.rita-workflow-select {
    border: 1.5px solid #e1b598;
    border-radius: 0.65rem;
    font-size: 0.86rem;
}

.rita-workflow-select:focus {
    border-color: #d85a20;
    box-shadow: 0 0 0 3px rgba(216, 90, 32, 0.14);
}

.rita-complaint-form {
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
    min-width: 245px;
}

.rita-complaint-grid {
    display: grid;
    gap: 0.34rem;
}

.rita-complaint-input,
.rita-complaint-textarea {
    width: 100%;
    border: 1.5px solid #e1b598;
    border-radius: 0.62rem;
    padding: 0.5rem 0.6rem;
    font-size: 0.84rem;
    color: #2b3b45;
    background: #fff;
}

.rita-complaint-textarea {
    min-height: 96px;
    resize: vertical;
}

.rita-complaint-input:focus,
.rita-complaint-textarea:focus {
    outline: none;
    border-color: #d85a20;
    box-shadow: 0 0 0 3px rgba(216, 90, 32, 0.14);
}

.rita-complaint-error {
    margin: 0;
    color: #b33a3a;
    font-size: 0.78rem;
    font-weight: 600;
}

.rita-measurements-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.rita-measurements-input {
    width: 100%;
    min-height: 110px;
    border: 1.5px solid #e1b598;
    border-radius: 0.65rem;
    padding: 0.62rem 0.72rem;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #2b3b45;
    background: #fff;
    resize: vertical;
}

.rita-measurements-input:focus {
    outline: none;
    border-color: #d85a20;
    box-shadow: 0 0 0 3px rgba(216, 90, 32, 0.14);
}

.rita-kb-links {
    margin: 0.45rem 0 0;
    padding-left: 1rem;
}

.rita-kb-links li {
    margin: 0.2rem 0;
}

.rita-kb-link {
    color: #8f3027;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rita-kb-link:hover,
.rita-kb-link:focus {
    color: #6b231d;
}

.kb-article-page {
    position: relative;
    isolation: isolate;
    background: #f6f8fb;
}

.kb-qa-page {
    min-height: calc(100vh - 80px);
}

.kb-qa-stack {
    display: grid;
    gap: 1rem;
}

.kb-qa-card {
    background: #fff;
    border: 1px solid #e3e9ef;
    border-radius: 0.9rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.kb-qa-question-card {
    border-color: #dce7f1;
}

.kb-qa-answer-card {
    border-color: #e2ebe5;
}

.kb-qa-section-title {
    margin: 0;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: clamp(1.4rem, 2.3vw, 1.9rem);
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: #173650;
    font-weight: 800;
}

.kb-qa-answer-title {
    color: #1f4c3f;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.kb-qa-question-text {
    margin: 0;
    font-size: clamp(1.22rem, 2vw, 1.5rem);
    line-height: 1.5;
    font-weight: 700;
    color: #1c3449;
}

.kb-qa-answer-body p {
    font-size: clamp(1.02rem, 1.55vw, 1.12rem);
    line-height: 1.75;
    color: #244057;
}

.kb-qa-answer-body p:last-child {
    margin-bottom: 0;
}

.kb-qa-back {
    display: inline-flex;
    align-items: center;
    border-radius: 0.55rem;
    border: 1px solid #d9e5f0;
    background: #f5f9fd;
    color: #1f4463;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
}

.kb-qa-back:hover,
.kb-qa-back:focus {
    color: #173650;
    background: #edf4fb;
    border-color: #c8daeb;
}

.kb-card {
    background: #fff;
    border: 1px solid rgba(26, 33, 39, 0.1);
    border-radius: 1rem;
    box-shadow: 0 16px 36px rgba(15, 18, 23, 0.08);
    padding: 1.35rem 1.2rem;
}

.kb-shell {
    max-width: 1120px;
}

.kb-index-page {
    background: #efefef;
    min-height: calc(100vh - 80px);
}

.kb-article-page {
    min-height: calc(100vh - 80px);
}

.kb-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    font-weight: 800;
    color: #8f3027;
}

.kb-hero-panel,
.kb-search-panel,
.kb-category-panel,
.kb-results-panel,
.kb-card {
    background: #fff;
    border: 1px solid rgba(25, 34, 43, 0.1);
    border-radius: 1rem;
    box-shadow: 0 10px 24px rgba(18, 24, 31, 0.07);
}

.kb-hero-panel {
    padding: 1.4rem 1.25rem;
    background: #fff;
}

.kb-hero-content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.kb-index-title,
.kb-title {
    color: #172336;
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.kb-index-subtitle,
.kb-article-subtitle {
    color: #304252;
    font-size: 1.02rem;
    line-height: 1.65;
    max-width: 62ch;
    margin-left: auto;
    margin-right: auto;
}

.kb-rita-ad {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    background: #f5f9fd;
    border: 1px solid #dbe7f2;
    border-radius: 1rem;
    padding: 0.95rem 1rem;
}

.kb-rita-ad-eyebrow {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #35516a;
    font-weight: 800;
}

.kb-rita-ad-copy {
    color: #4a6074;
    font-size: 0.94rem;
}

.kb-hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.kb-hero-tags span {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(23, 35, 54, 0.12);
    font-size: 0.72rem;
    font-weight: 700;
    color: #25384a;
}

.kb-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.kb-dark-btn,
.kb-light-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.9rem;
    border-radius: 0.7rem;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
}

.kb-dark-btn {
    background: #1f2631;
    border: 1px solid #1f2631;
    color: #fff;
}

.kb-dark-btn:hover,
.kb-dark-btn:focus {
    color: #fff;
    background: #283242;
    border-color: #283242;
}

.kb-light-btn {
    background: #fff;
    border: 1px solid rgba(25, 34, 43, 0.2);
    color: #253748;
}

.kb-light-btn:hover,
.kb-light-btn:focus {
    color: #8f3027;
    border-color: rgba(143, 48, 39, 0.35);
}

.kb-search-panel {
    padding: 0.9rem;
}

.kb-search-form {
    margin-bottom: 0.8rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.kb-search-form .form-control {
    border: 1px solid rgba(25, 34, 43, 0.18);
    border-right: none;
    border-radius: 0.75rem 0 0 0.75rem;
    font-size: 1rem;
}

.kb-search-form .form-control:focus {
    border-color: rgba(31, 38, 49, 0.45);
    box-shadow: 0 0 0 0.18rem rgba(31, 38, 49, 0.1);
}

.kb-search-submit {
    border-radius: 0 0.75rem 0.75rem 0;
    min-width: 190px;
}

.kb-hero-footnote {
    color: #5a6a75;
    font-size: 0.85rem;
}

.kb-quick-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.kb-quick-label {
    font-size: 0.82rem;
    color: #586773;
    font-weight: 700;
}

.kb-quick-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    line-height: 1;
    padding: 0.36rem 0.64rem;
    border-radius: 999px;
    border: 1px solid rgba(143, 48, 39, 0.24);
    color: #8f3027;
    text-decoration: none;
    background: rgba(143, 48, 39, 0.06);
    font-weight: 700;
}

.kb-quick-link:hover,
.kb-quick-link:focus {
    color: #fff;
    background: #8f3027;
    border-color: #8f3027;
}

.kb-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.kb-panel-head span {
    color: #60707b;
    font-size: 0.85rem;
}

.kb-category-panel {
    padding: 1.15rem;
}

.kb-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.85rem;
}

.kb-category-card {
    background: #fff;
    border: 1px solid rgba(25, 34, 43, 0.09);
    border-radius: 0.9rem;
    padding: 0.9rem;
}

.kb-category-count {
    margin: 0 0 0.4rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: #6a7a86;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kb-category-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    color: #1c2b3a;
}

.kb-category-card p {
    margin: 0 0 0.7rem;
    color: #455865;
    line-height: 1.55;
    font-size: 0.92rem;
}

.kb-category-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #1f2631;
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.34rem 0.65rem;
}

.kb-category-card a:hover,
.kb-category-card a:focus {
    color: #fff;
    background: #2b3648;
}

.kb-results-panel {
    padding: 1.15rem;
}

.kb-results-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(25, 34, 43, 0.08);
}

.kb-results-query {
    color: #546572;
    font-size: 0.92rem;
}

.kb-result-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f0f4f8;
    border: 1px solid rgba(25, 34, 43, 0.14);
    color: #263849;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.3rem 0.62rem;
}

.kb-results-hint {
    border-left: 4px solid #8f3027;
    background: #fff6f4;
    color: #6e231b;
    border-radius: 0.55rem;
    padding: 0.72rem 0.85rem;
    margin: 0 0 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.kb-results-toolbar {
    display: flex;
    justify-content: flex-end;
}

.kb-results-table-wrap {
    border: 1px solid rgba(25, 34, 43, 0.1);
    border-radius: 0.85rem;
    overflow: hidden;
    background: #fff;
}

.kb-results-table {
    --bs-table-bg: #fff;
    --bs-table-striped-bg: #f7f9fc;
    --bs-table-hover-bg: #f1f5fb;
}

.kb-results-table thead th {
    border-bottom: 1px solid rgba(25, 34, 43, 0.14);
    background: #eef3fb;
    color: #1f3244;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
}

.kb-results-table tbody td {
    color: #334957;
    font-size: 0.93rem;
    vertical-align: top;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.kb-table-title {
    color: #1c2f3f;
    font-weight: 700;
    text-decoration: none;
}

.kb-table-title:hover,
.kb-table-title:focus {
    color: #8f3027;
    text-decoration: underline;
}

.kb-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.85rem;
}

.kb-result-card {
    background: #fff;
    border: 1px solid rgba(25, 34, 43, 0.09);
    border-radius: 0.9rem;
    box-shadow: 0 8px 18px rgba(11, 18, 24, 0.05);
    padding: 0.9rem;
}

.kb-result-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.2rem 0.52rem;
    background: rgba(31, 38, 49, 0.08);
    color: #2d4456;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 800;
}

.kb-result-title {
    margin: 0 0 0.45rem;
    font-size: 1.04rem;
    line-height: 1.35;
}

.kb-result-title a {
    color: #1f2f3f;
    text-decoration: none;
}

.kb-result-title a:hover,
.kb-result-title a:focus {
    color: #8f3027;
}

.kb-result-excerpt {
    color: #465966;
    line-height: 1.6;
    font-size: 0.97rem;
}

.kb-result-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.kb-read-more {
    font-weight: 800;
    color: #8f3027;
    text-decoration: none;
}

.kb-read-more:hover,
.kb-read-more:focus {
    color: #6b231d;
    text-decoration: underline;
}

.kb-empty-state {
    background: #f9f9f9;
    border: 1px dashed rgba(25, 34, 43, 0.16);
    border-radius: 0.85rem;
    padding: 1rem;
}

.kb-breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0;
    margin: 0;
    font-size: 0.82rem;
    color: #6f8091;
}

.kb-breadcrumb li::after {
    content: '\203A';
    margin-left: 0.4rem;
    color: #9cafbf;
    font-weight: 700;
}

.kb-breadcrumb li:last-child::after {
    content: '';
    margin: 0;
}

.kb-breadcrumb a {
    color: #577188;
    text-decoration: none;
    font-weight: 600;
}

.kb-breadcrumb a:hover,
.kb-breadcrumb a:focus {
    color: #1f4463;
}

.kb-article-hero {
    background: #ffffff;
    border: 1px solid #e3e9ef;
    border-radius: 0.9rem;
    padding: 1.35rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    color: #0f2740;
}

.kb-article-meta-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.kb-article-badge {
    display: inline-flex;
    align-items: center;
    background: #eff4f9;
    color: #36516a;
    border: 1px solid #dbe6f0;
    border-radius: 999px;
    padding: 0.24rem 0.58rem;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.kb-meta {
    display: inline-flex;
    align-items: center;
    color: #60778d;
    background: #f7f9fc;
    border: 1px solid #e6edf4;
    border-radius: 999px;
    padding: 0.18rem 0.56rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.kb-qa-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.22rem 0.62rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.kb-qa-label-question {
    color: #1f4463;
    background: #eaf2f9;
    border: 1px solid #d6e5f2;
}

.kb-qa-label-answer {
    color: #235141;
    background: #eaf6f0;
    border: 1px solid #d2eade;
}

.kb-question-title {
    letter-spacing: -0.015em;
}

.kb-body {
    margin: 0;
    padding: 0;
}

.kb-body p {
    margin-bottom: 1rem;
    color: #243b50;
    line-height: 1.78;
    font-size: 1rem;
}

.kb-body p:last-child {
    margin-bottom: 0;
}

.kb-help-strip {
    background: #f7fafc;
    border: 1px solid #e4ecf4;
    border-radius: 0.9rem;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.kb-help-strip p {
    color: #5b7084;
    font-size: 0.9rem;
}

.kb-related-panel {
    background: #fdfdfd;
}

.kb-article-content {
    background: #fff;
    border: 1px solid #e3e9ef;
    border-radius: 0.9rem;
    padding: 1.35rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.kb-article-actions {
    margin-top: 0.3rem;
}

.kb-sticky-side {
    position: sticky;
    top: 6.2rem;
}

.kb-article-sidecard {
    background: #ffffff;
    border: 1px solid #e3e9ef;
    border-radius: 0.9rem;
    padding: 1rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.kb-article-sidecard h2 {
    color: #1f3448;
    letter-spacing: 0.02em;
    font-weight: 700;
}

.kb-article-sidecard .btn {
    border-radius: 0.6rem;
    font-weight: 700;
    padding-top: 0.56rem;
    padding-bottom: 0.56rem;
}

.kb-article-sidecard .btn-rita {
    background: #eef4fa;
    border: 1px solid #d9e6f2;
    color: #1f4463;
    box-shadow: none;
    padding: 0.56rem 0.8rem;
}

.kb-article-sidecard .btn-rita:hover,
.kb-article-sidecard .btn-rita:focus {
    background: #e5eef7;
    border-color: #c8dced;
    color: #18384f;
    transform: none;
    box-shadow: none;
}

.kb-article-sidecard .btn-outline-secondary {
    border-color: #d4dfe9;
    color: #3f5c74;
}

.kb-article-sidecard .btn-outline-secondary:hover,
.kb-article-sidecard .btn-outline-secondary:focus {
    background: #f4f8fc;
    border-color: #c7d6e4;
    color: #2f4d65;
}

.kb-related-section {
    background: #fff;
    border: 1px solid #e3e9ef;
    border-radius: 0.9rem;
    padding: 1rem 1.2rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.kb-related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.kb-related-header h2 {
    color: #203548;
    font-weight: 700;
}

.kb-related-count {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.22rem 0.62rem;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #587089;
    background: #f2f6fb;
    border: 1px solid #e1eaf3;
}

.kb-related-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.kb-related-list li {
    margin: 0;
    border-top: 1px solid #e9eef4;
}

.kb-related-list li:first-child {
    border-top: 1px solid #e9eef4;
}

.kb-related-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    color: #2e495e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.18s ease;
}

.kb-related-list a:hover,
.kb-related-list a:focus {
    color: #1f4463;
}

.kb-related-arrow {
    color: #8ea2b4;
    font-size: 0.95rem;
    line-height: 1;
}

.kb-related-list a:hover .kb-related-arrow,
.kb-related-list a:focus .kb-related-arrow {
    color: #1f4463;
}

/* ═════════════════════════════════════════════
   WHY CHOOSE US SECTION
═════════════════════════════════════════════ */
#why-choose-us {
    background: #ffffff;
    padding: 5rem 0;
}

#why-choose-us .why-choose-container {
    width: min(1220px, calc(100% - 2.4rem));
    margin-left: auto;
    margin-right: auto;
}

.why-choose-header {
    margin-bottom: 3.5rem;
}

.why-choose-title {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #DAA520;
    margin: 0 0 0.75rem;
    line-height: 1.15;
}

.why-choose-title::after {
    content: '';
    display: block;
    width: 84px;
    height: 4px;
    margin: 0.7rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #DAA520 0%, #DAA520 100%);
}

.why-choose-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #6b7a87;
    margin: 0;
    max-width: 550px;
    line-height: 1.5;
}

.why-card {
    background: #ffffff;

    border-radius: 1.2rem;
    padding: 1.55rem 1.25rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(15, 31, 40, 0.07);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.07) 0%, rgba(218, 165, 32, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: #DAA520;
    box-shadow: 0 20px 46px rgba(15, 31, 40, 0.14), 0 0 1px rgba(218, 165, 32, 0.35);
}

.why-card:hover::before {
    opacity: 1;
}

.why-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #DAA520 0%, #DAA520 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card:hover .why-card-accent {
    transform: scaleX(1);
}

.why-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18pt;
    color: #DAA520;
    margin: 0 auto 1rem;
    transition: all 0.28s ease;
}

.why-card:hover .why-card-icon {
    background: #ffffff;
    transform: scale(1.08) rotate(6deg);
}

.why-card-title {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: clamp(1rem, 1.25vw, 1.14rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--brand-ink);
    margin: 0 0 0.72rem;
    line-height: 1.35;
}

.why-card-text {
    font-size: 0.94rem;
    line-height: 1.6;
    color: #5d6d79;
    margin: 0;
}

@media (max-width: 1199px) {
    .why-card {
        padding: 1.45rem 1.15rem;
    }

    .why-card-title {
        font-size: 1.06rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #why-choose-us {
        padding: 3rem 0;
    }
}

/* ════════════════════════════════════════════════════════════════════
   OUR SERVICES - VERTICAL TABS
════════════════════════════════════════════════════════════════════ */

#our-services {
    background: #ffffff;
    padding: 5rem 0;
}

#our-services .our-services-container {
    width: min(1220px, calc(100% - 2.4rem));
    margin-left: auto;
    margin-right: auto;
}

.our-services-header {
    margin-bottom: 3.5rem;
}

.our-services-title {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #DAA520;
    margin: 0 0 0.75rem;
    line-height: 1.15;
}

.our-services-title::after {
    content: '';
    display: block;
    width: 84px;
    height: 4px;
    margin: 0.7rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #DAA520 0%, #DAA520 100%);
}

/* Vertical Tab Menu */
.services-tab-card {
    background: #ffffff;

    padding: 1rem;
    box-shadow: 0 8px 24px rgba(15, 31, 40, 0.07);
}

.services-tab-menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.services-tab-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #ffffff;

    border-radius: 0.8rem;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Sora', 'Manrope', sans-serif;
    font-weight: 600;
    color: #5d6d79;
    text-align: left;
    box-shadow: 0 2px 8px rgba(15, 31, 40, 0.04);
}

.services-tab-btn:hover {
    background: #f8fafc;
    border-color: #DAA520;
    color: #DAA520;
    transform: translateX(4px);
}

.services-tab-btn.active {
    background: #DAA520;
    border-color: #DAA520;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(218, 165, 32, 0.25);
}

.services-tab-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
}

.services-tab-label {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Service Content Panels */
.services-content-card {
    background: #ffffff;
    border: 1.5px solid #e8e4d8;
    border-radius: 1rem;
    overflow: hidden;
}

.services-content {
    position: relative;
}

.service-panel {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.service-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card-header {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f2f5 0%, #e8eaed 100%);
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.service-card-body {
    padding: 2rem;
}

.service-title {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--brand-ink);
    margin: 0 0 1rem;
    line-height: 1.3;
}

.service-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #5d6d79;
    margin: 0 0 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #455762;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #DAA520;
    font-weight: 800;
    font-size: 1.1rem;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    #our-services {
        padding: 3rem 0;
    }

    .services-tab-menu {
        flex-direction: row;
        overflow-x: auto;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .services-tab-btn {
        flex-shrink: 0;
        min-width: max-content;
    }

    .service-title {
        font-size: 1.4rem;
    }
}

    #why-choose-us .why-choose-container {
        width: min(1220px, calc(100% - 1.4rem));
    }

    .why-choose-header {
        margin-bottom: 2.5rem;
    }

    .why-card {
        padding: 1.35rem 1.1rem;
    }

    .why-card-title {
        font-size: 1.1rem;
    }

    .why-card-text {
        font-size: 0.95rem;
    }

.kb-article-hero .kb-title {
    color: #132c43;
    margin-bottom: 0.35rem;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    line-height: 1.18;
}

.kb-article-hero .kb-article-subtitle {
    color: #556d82;
    margin-left: 0;
    margin-right: 0;
    max-width: 60ch;
}

@media (max-width: 991px) {
    .kb-hero-panel,
    .kb-search-panel,
    .kb-category-panel,
    .kb-results-panel,
    .kb-card {
        padding: 1.05rem;
    }

    .kb-hero-panel {
        padding: 1.15rem 1rem;
    }

    .kb-index-title,
    .kb-title {
        font-size: 1.8rem;
    }

    .kb-article-hero {
        padding: 1.1rem 1rem;
    }

    .kb-article-content {
        padding: 1.05rem;
    }

    .kb-sticky-side {
        position: static;
    }

}

@media (max-width: 767px) {
    .kb-index-page,
    .kb-article-page {
        padding-top: 1.4rem !important;
    }

    .kb-index-title,
    .kb-title {
        font-size: 1.4rem;
        line-height: 1.22;
    }

    .kb-article-hero,
    .kb-article-content,
    .kb-related-section,
    .kb-article-sidecard,
    .kb-help-strip {
        border-radius: 0.8rem;
    }

    .kb-qa-card {
        padding: 1rem;
    }

    .kb-article-hero {
        padding: 1rem;
    }

    .kb-related-list a {
        padding: 0.72rem 0;
    }

    .kb-hero-actions,
    .kb-help-strip,
    .kb-rita-ad {
        flex-direction: column;
        align-items: stretch;
    }

    .kb-search-form .input-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .kb-search-form .form-control {
        border-right: 1px solid rgba(25, 34, 43, 0.18);
    }

    .kb-search-form .form-control,
    .kb-search-submit {
        width: 100%;
        border-radius: 0.75rem;
    }

    .kb-results-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .kb-home-hero {
        min-height: 100svh !important;
        min-height: 100vh !important;
        padding: 0 !important;
    }

    .kb-home-hero .hero-shell {
        padding-top: 5.2rem;
        padding-bottom: 1rem;
    }

    .site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer-brand-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

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

    .site-footer-copyright {
        white-space: normal;
    }

    .site-footer-payments {
        white-space: normal;
    }

    .site-footer-links {
        justify-content: flex-start;
        gap: 0.65rem 1rem;
    }
}

#rita-input-row {
    display: flex;
    padding: 0.6rem 0.75rem;
    border-top: 1px solid #e4ddd1;
    background: #fff;
    flex-shrink: 0;
    gap: 0.4rem;
}

#rita-input {
    flex: 1;
    border: 1.5px solid #e5dfd3;
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-size: 0.88rem;
    outline: none;
    transition: all 0.15s ease;
}

#rita-input:focus {
    border-color: #af4425;
    box-shadow: 0 0 0 3px rgba(175, 68, 37, 0.1);
}

#rita-send {
    background: linear-gradient(132deg, #c58a2e 0%, #9f3f27 64%, #7a241f 100%);
    border: none;
    color: #fff;
    border-radius: 50%;
    width: 37px;
    height: 37px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: transform 0.15s ease, filter 0.15s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#rita-send:hover {
    transform: scale(1.05);
    filter: brightness(1.03);
}

#rita-footer-strip {
    border-top: 1px solid #e7e0d4;
    background: #fff;
    padding: 0.32rem 0.75rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-shrink: 0;
}

#rita-footer-strip button {
    background: none;
    border: none;
    font-size: 0.75rem;
    color: #6b655c;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: color 0.15s ease;
}

#rita-footer-strip button:hover {
    color: #af4425;
}

#rita-ended-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0.5rem 0.5rem;
}

#rita-ended-screen img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(175, 68, 37, 0.3);
}

body.rita-tab-mode #rita-launcher {
    display: none !important;
}

body.rita-tab-mode #rita-window,
body.rita-tab-mode #rita-window.rita-maximized {
    top: var(--rita-vv-top, 0px);
    left: 0;
    right: 0;
    bottom: auto;
    width: 100vw;
    height: var(--rita-vv-height, 100dvh);
    max-height: none;
    border-radius: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (max-width: 991px) {
    #hero {
        padding: 7.2rem 0 4rem;
        min-height: auto;
    }

    .hero-title {
        max-width: 18ch;
    }

    #RITA-window {
        width: calc(100vw - 1.5rem);
        right: 0.75rem;
        bottom: 4.9rem;
    }
}

@media (max-width: 767px) {
    #hero {
        padding-top: 6.3rem;
    }

    .hero-title {
        max-width: 100%;
    }
}

@media (max-width: 420px) {
    .btn-RITA,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    #RITA-window {
        width: calc(100vw - 0.6rem);
        right: 0.3rem;
        bottom: 4.7rem;
        border-radius: 0.9rem;
    }
}
