/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: #a3a3a3 #ffffff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 10px;
}

*::-webkit-scrollbar-track {
    background: #ffffff;
}

*::-webkit-scrollbar-thumb {
    background-color: #a3a3a3;
    border-radius: 10px;
    border: 3px solid #ffffff;
}

:root {
    --card-radius: 24px;
    --card-shadow: 0 16px 40px rgba(16, 24, 40, .08);
    --text-primary: #232834;
    --text-muted: #7a8595;
    --border-soft: #e6eaf2;
    --blue-accent: #005FAF;
}

html { scroll-behavior: smooth; }
body { color: var(--text-primary); font-family: Nunito, sans-serif; font-size: 15px; overflow-x: hidden; }
.navbar { min-height: 76px; }
.site-header { background: transparent; border-bottom: 0; position: fixed; top: 0; transition: background-color .25s ease, box-shadow .25s ease; width: 100%; z-index: 1030; }
.site-header.is-scrolled { background: #fff; border-bottom: 1px solid var(--border-soft); box-shadow: 0 4px 18px rgba(16, 24, 40, .06); }
.brand-logos { align-items: center; display: flex; gap: 12px; }
.brand-logo { height: 48px; width: auto; }
.partner-logo { height: 42px; object-fit: contain; width: 42px; }
.navbar .nav-link { color: #596171; font-size: 15px; font-weight: 700; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--blue-accent) !important; }
.btn-primary { --bs-btn-bg: var(--blue-accent); --bs-btn-border-color: var(--blue-accent); --bs-btn-hover-bg: #045AC5; --bs-btn-hover-border-color: #045AC5; }
.btn { border-radius: 999px; font-size: 13px; font-weight: 800; padding: 12px 20px; }
.hero { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.95) 31%, rgba(255,255,255,.15) 65%), url('/images/hero.png') center right / cover no-repeat; min-height: 510px; }
.hero-content { padding-bottom: 100px; padding-top: 86px; }
.hero h1 { font-size: 52px; font-weight: 600; letter-spacing: -.5px; line-height: 1.1; max-width: 650px; margin-top: 28px; }
.hero h1 span { color: var(--blue-accent); }
.hero-copy { color: #555e6d; font-size: 16px; font-weight: 800; line-height: 1.55; max-width: 520px; }
.trust-item { align-items: center; color: #3c4451; display: flex; font-size: 13px; font-weight: 800; gap: 8px; line-height: 1.2; }
.trust-item > i { align-items: center; border: 2px solid #232834; border-radius: 50%; color: #232834; display: flex; flex: 0 0 36px; font-size: 20px; height: 36px; justify-content: center; margin: 0; width: 36px; }
.trust-item span { display: block; white-space: nowrap; }
.trust-item small { color: var(--text-muted); display: block; font-size: 11px; font-weight: 700; margin: 4px 0 0; }
.section-title { font-size: 26px; font-weight: 900; text-align: center; }
.section-title:after { background: var(--blue-accent); content: ''; display: block; height: 3px; margin: 9px auto 0; width: 98px; }
.feature-card { border: 1px solid var(--border-soft); border-radius: var(--card-radius); box-shadow: var(--card-shadow); margin-top: -58px; position: relative; }
.feature-card, .process-section, .faq-section, .contact-section { background: #fff; }
.feature-icon { align-items: center; display: flex; height: 96px; justify-content: center; margin: 0 auto 14px; width: 120px; }
.feature-icon img { height: 100%; object-fit: contain; width: 100%; }
.feature-item { border-right: 1px solid var(--border-soft); padding: 8px 24px; }
.feature-item:last-child { border-right: 0; }
.feature-item h3, .process-item h3 { font-size: 15px; font-weight: 900; margin-bottom: 8px; }
.feature-item p, .process-item p { color: var(--text-muted); font-size: 13px; font-weight: 500; line-height: 1.45; margin-bottom: 0; }
.process-section, .faq-section, .contact-section { padding-bottom: 76px; padding-top: 80px; }
.process-item { position: relative; text-align: center; }
.process-mobile-controls { display: none; }
.process-item:not(:last-child)::after { align-items: center; color: var(--blue-accent); content: '\F138'; display: flex; font-family: bootstrap-icons; font-size: 25px; height: 30px; justify-content: center; line-height: 1; position: absolute; right: -15px; top: 32px; transform: translateY(-50%); width: 30px; }
.process-icon { align-items: center; background: #e8f1ff; border-radius: 50%; color: var(--blue-accent); display: flex; font-size: 27px; height: 64px; justify-content: center; margin: auto auto 13px; width: 64px; }
.process-qrcode { display: block; height: 92px; margin: 4px auto 0; object-fit: contain; width: 92px; }
.step-number { background: var(--blue-accent); border: 3px solid #fff; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 900; height: 20px; line-height: 15px; position: absolute; right: calc(50% - 37px); top: -5px; width: 20px; }
.faq-column { display: flex; flex-direction: column; }
.faq-grid details { border: 1px solid var(--border-soft); border-radius: 999px; margin-bottom: 12px; padding: 13px 20px; }
.faq-grid details[open] { border-radius: 24px; }
.faq-grid summary { align-items: center; cursor: pointer; display: flex; font-size: 14px; font-weight: 700; justify-content: space-between; list-style: none; }
.faq-grid summary span { min-width: 0; overflow-wrap: anywhere; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary i { flex: 0 0 auto; margin-left: 16px; transition: transform .2s ease; }
.faq-grid details[open] summary i { transform: rotate(180deg); }
.faq-grid .faq-answer { color: var(--text-muted); font-size: 13px; line-height: 1.45; margin: 12px 22px 0 0; }
.faq-grid .faq-answer strong { color: var(--text-primary); }
.faq-grid .faq-answer ol { margin: 12px 0 0 20px; padding-left: 18px; }
.faq-grid .faq-answer li { padding-left: 4px; }
.map-frame { border-radius: 16px; min-height: 350px; overflow: hidden; }
.map-frame iframe { border: 0; height: 100%; min-height: 350px; width: 100%; }
.contact-copy { padding-left: 18px; }
.contact-logos { align-items: center; display: flex; margin-bottom: 24px; }
.contact-logos img { height: 60px; object-fit: contain; width: 100px; }
.contact-copy h3 { font-size: 20px; font-weight: 900; line-height: 1.25; }
.contact-copy p { color: #606978; font-size: 16px; line-height: 1.55; }
.site-footer { background: #0867b8; color: #fff; }
.site-footer { padding-top: 42px !important; }
.site-footer strong { font-size: 18px; line-height: 1.45; }
.site-footer .nav-link { color: #fff; font-size: 16px; font-weight: 600; line-height: 1.65; }
.social-links { align-items: center; display: flex; gap: 20px; }
.social-links a { align-items: center; color: #fff; display: inline-flex; flex-direction: column; font-size: 32px; gap: 5px; line-height: 1; text-decoration: none; }
.social-links a:hover { color: #d9edff; }
.footer-logo { filter: brightness(0) invert(1); height: 92px; }
.copyright { border-top: 1px solid rgba(255,255,255,.35); font-size: 12px; opacity: .85; padding-bottom: 20px; padding-top: 18px; text-align: center; }

#custom-chatwoot-button { align-items: center; background: transparent; border: 0; bottom: 32px; cursor: pointer; display: flex; font-family: 'Nunito', sans-serif; gap: 8px; padding: 0; position: fixed; right: 32px; z-index: 9999; }
.chatwoot-text { align-items: center; background: #fff; border-radius: 999px; box-shadow: 0 3px 12px rgba(0,0,0,.12); color: #333; display: flex; font-size: 16px; font-weight: 700; height: 46px; line-height: 1; padding: 0 22px; white-space: nowrap; }
.chatwoot-icon { align-items: center; background: #045AC5; border-radius: 50%; box-shadow: 0 3px 12px rgba(0,0,0,.12); display: flex; flex-shrink: 0; height: 52px; justify-content: center; width: 52px; }
.chatwoot-icon img { display: block; filter: brightness(0) invert(1); height: 42px; object-fit: contain; width: 42px; }
.custom-chatwoot-prechat { align-items: flex-end; display: flex; inset: 0; justify-content: flex-end; opacity: 0; padding: 0 32px 100px 0; pointer-events: none; position: fixed; transition: opacity .2s ease, visibility .2s ease; visibility: hidden; z-index: 10000; }
.custom-chatwoot-prechat.is-open { opacity: 1; pointer-events: auto; visibility: visible; }
.custom-chatwoot-backdrop { background: rgba(20,30,45,.18); inset: 0; position: absolute; }
.custom-chatwoot-card { background: #fff; border-radius: 24px; box-shadow: 0 18px 50px rgba(16,24,40,.18); max-height: calc(100vh - 140px); overflow-y: auto; padding: 24px 28px 28px; position: relative; width: min(420px, calc(100vw - 64px)); z-index: 1; }
.custom-chatwoot-close { align-items: center; background: transparent; border: 0; color: #232834; cursor: pointer; display: flex; font-size: 20px; height: 36px; justify-content: center; padding: 0; position: absolute; right: 14px; top: 14px; width: 36px; }
.custom-chatwoot-logo { display: flex; justify-content: center; margin: 2px auto 16px; }
.custom-chatwoot-logo img { height: 68px; object-fit: contain; width: auto; }
.custom-chatwoot-title { color: #333; font-size: 24px; font-weight: 400; line-height: 1.15; text-align: center; }
.custom-chatwoot-title span { display: block; }
.custom-chatwoot-title strong { color: #0867c9; display: block; font-size: 36px; font-weight: 900; margin-top: 2px; }
.custom-chatwoot-description { color: #333; font-size: 14px; line-height: 1.45; margin: 12px 0 22px; }
.custom-chatwoot-field { align-items: center; background: #fff; border: 1px solid #e5e7eb; border-radius: 999px; box-shadow: 0 4px 13px rgba(16,24,40,.11); display: flex; height: 56px; margin-bottom: 18px; padding: 0 18px; }
.custom-chatwoot-field i { color: #0867c9; flex: 0 0 28px; font-size: 20px; text-align: center; }
.custom-chatwoot-field input { background: transparent; border: 0; color: #333; font-family: 'Nunito', sans-serif; font-size: 16px; height: 100%; outline: 0; padding: 0 14px; width: 100%; }
.custom-chatwoot-field input::placeholder { color: #9fa5b2; opacity: 1; }
.custom-chatwoot-field input:focus { outline: 0; }
#custom-chatwoot-submit { background: #0867c9; border: 0; border-radius: 999px; box-shadow: none; color: #fff; cursor: pointer; font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 700; height: 48px; margin-top: 6px; width: 100%; }
#custom-chatwoot-submit:hover { background: #045ab5; }
body.chatwoot-prechat-open { overflow: hidden; }

@media (max-width: 767.98px) {
    body { background: #fff; font-size: 13px; }
    main, main > section { background: #fff; }
    .navbar { min-height: 60px; }
    .navbar.container { padding-left: 20px; padding-right: 20px; }
    .site-header.mobile-open { background: #fff; border-bottom: 1px solid var(--border-soft); box-shadow: 0 4px 18px rgba(16, 24, 40, .06); }
    .navbar-collapse { background: #fff; margin: 0 -12px; }
    .navbar-collapse .navbar-nav { align-items: stretch !important; gap: 0 !important; }
    .navbar-collapse .nav-link { border-bottom: 1px solid var(--border-soft); padding: 16px 20px; }
    .navbar-collapse .btn { display: none; }
    .navbar-toggler { color: var(--text-primary); padding: 6px 2px; }
    .navbar-toggler:focus { box-shadow: none; }
    .brand-logo { height: 37px; }
    .brand-logos { gap: 6px; }
    .partner-logo { height: 31px; width: 31px; }
    .hero { background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 34%, rgba(255,255,255,.68) 58%, rgba(255,255,255,.08) 100%), url('/images/hero.png') 65% center / cover no-repeat; min-height: 390px; }
    .hero-content { padding: 78px 22px 48px; }
    .hero h1 { font-size: 28px; max-width: 340px; }
    .hero-copy { font-size: 12px; max-width: 300px; }
    .hero .btn { font-size: 10px; padding: 9px 13px; }
    .trust-list { column-gap: 8px !important; display: grid !important; grid-template-columns: repeat(3, max-content); row-gap: 8px !important; }
    .trust-item { font-size: 8px; gap: 2px; min-width: 0; }
    .trust-item > i { flex-basis: 24px; font-size: 14px; height: 24px; width: 24px; }
    .trust-item small { font-size: 7px; margin-top: 2px; }
    .feature-card { background: #fff; border-radius: var(--card-radius); border-color: #f0f2f5; box-shadow: none; margin: -25px auto 0; max-width: calc(100% - 24px); padding: 24px 12px !important; width: calc(100% - 24px); }
    .section-title { font-size: 18px; }
    .feature-item { border: 0; padding: 13px 8px; }
    .feature-icon { height: 64px; width: 82px; }
    .feature-item h3, .process-item h3 { font-size: 14px; }
    .feature-item p, .process-item p { font-size: 12px; }
    .process-section, .faq-section, .contact-section { background: #fff; padding-bottom: 35px; padding-top: 40px; }
    .process-section { position: relative; }
    .process-grid { display: flex; flex-wrap: nowrap; overflow: hidden; }
    .process-item { flex: 0 0 100%; }
    .process-mobile-controls { align-items: center; display: flex; inset: 50% 10px auto; justify-content: space-between; pointer-events: none; position: absolute; z-index: 2; }
    .process-arrow { align-items: center; background: #cfe2f7; border: 0; border-radius: 50%; color: #fff; display: flex; font-size: 22px; height: 34px; justify-content: center; pointer-events: auto; width: 34px; }
    .process-item { display: none; }
    .process-item.is-mobile-active { display: block; }
    .process-item:not(:last-child)::after { display: none; }
    .process-icon { height: 58px; width: 58px; }
    .process-qrcode { height: 88px; margin-top: 4px; width: 88px; }
    .faq-grid details { padding: 10px 14px; }
    .faq-grid details[open] { border-radius: 20px; }
    .faq-grid summary { font-size: 12px; }
    .faq-grid .faq-answer { font-size: 12px; }
    .contact-copy { padding-left: 14px; }
    .contact-logos { gap: 12px; margin-bottom: 16px; }
    .contact-logos img { height: 54px; width: 92px; }
    .contact-copy h3 { font-size: 16px; line-height: 1.25; }
    .contact-copy p { font-size: 12px; }
    .map-frame, .map-frame iframe { min-height: 180px; }
    .footer-logo { height: 45px; }
    .footer-main { display: none !important; }
    .social-links { display: none; }
    .site-footer strong { font-size: 12px; }
    .site-footer .nav-link { font-size: 11px; }
    .site-footer { padding-bottom: 12px !important; padding-top: 12px !important; }
    .copyright { border-top: 0; font-size: 12px; line-height: 1.7; margin-top: 0 !important; padding-bottom: 0; padding-top: 0; }
    .copyright-brand, .copyright-copy { display: block; }
    #custom-chatwoot-button { bottom: 8px; gap: 4px; right: 8px; }
    .chatwoot-text { font-size: 12px; height: 34px; padding: 0 12px; }
    .chatwoot-icon { height: 44px; width: 44px; }
    .chatwoot-icon img { height: 30px; width: 30px; }
    .custom-chatwoot-prechat { align-items: flex-end; justify-content: center; padding: 0 8px 68px; }
    .custom-chatwoot-card { border-radius: 20px; max-height: calc(100vh - 86px); padding: 20px 18px 24px; width: 100%; }
    .custom-chatwoot-close { font-size: 16px; right: 8px; top: 8px; }
    .custom-chatwoot-logo { margin-bottom: 12px; }
    .custom-chatwoot-logo img { height: 58px; }
    .custom-chatwoot-title { font-size: 24px; }
    .custom-chatwoot-title strong { font-size: 30px; }
    .custom-chatwoot-description { font-size: 12px; margin: 12px 0 18px; }
    .custom-chatwoot-field { height: 52px; margin-bottom: 14px; padding: 0 14px; }
    .custom-chatwoot-field i { flex-basis: 24px; font-size: 19px; }
    .custom-chatwoot-field input { font-size: 12px; padding-left: 10px; }
    #custom-chatwoot-submit { font-size: 12px; height: 52px; margin-top: 2px; }
}