@font-face { font-family: 'Noto Sans'; src: url('../../../backdrop/modules/_custom/common/fonts/noto-sans-latin-wght-normal.woff2')format('woff2'); font-style: normal; }
*, *::before, *::after { box-sizing: border-box; }
body, html { margin: 0; padding: 0; font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--signal); text-decoration: none; }
a:hover { color: var(--signal-dark); }
img, video { max-width: 100%; height: auto; }
code { font-family: var(--font-mono); font-size: 0.88em; background: #ECEFF3; color: var(--text); padding: 0.15em 0.4em; border-radius: 5px; white-space: nowrap; }
pre { background: #2d3a48; color: #E8ECF1; padding: 14px 18px; border-radius: var(--radius); overflow-x: auto; font-size: 0.9em; line-height: 1.55; margin: 1em 0; }
pre code { background: none; padding: 0; border-radius: 0; white-space: pre; font-size: inherit; color: inherit; }
:root { /* modern design tokens (single source of truth) */ --text: #1B2430; --text-dim: #5A6472; --text-faint: #94A0AB; --border: #E3E6EA; --border-soft: #EBEDF1; --signal: #2E86D8; --signal-dark: #1F6FBF; --signal-soft: #EAF3FD; --bg: #F7F8FA; --panel: #FFFFFF; --panel-2: #FAFBFC; --font-mono: monospace; --radius: 10px; /* legacy --dd-* aliases remapped to the modern palette */ --dd-blue: var(--signal); --dd-text-dark: var(--text); --dd-text-muted: var(--text-dim); --dd-bg-light: var(--panel); --dd-green: var(--signal); --dd-green-hover: var(--signal-dark); --dd-border: var(--border); --dd-nav-bg: #2d3a48; --dd-background-blue: var(--signal); }
ul { padding-left: 0px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.row-lg-center { align-items: center; }
.col-lg-6, .col-md-6, .col-md-4, .col-lg-12, .col-md-12 { padding: 0 15px; }
.col-lg-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-lg-12 { flex: 0 0 100%; max-width: 100%; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }
@media (max-width: 991px) {
  .col-lg-6 { flex: 0 0 100%; max-width: 100%; }
}
@media (max-width: 767px) {
  .col-md-6 { flex: 0 0 100%; max-width: 100%; }
  .col-md-4 { flex: 0 0 100%; max-width: 100%; }
}
.dd-section { padding: 2rem 0; }
.dd-bg-white { background-color: #fff; }
.dd-bg-light { background-color: var(--dd-bg-light); }
.dd-bg-gradient-light { background: linear-gradient(180deg, var(--dd-bg-light) 0%, #ffffff 100%); }
.dd-text-white { color: #fff; }
.dd-text-center { text-align: center; }
.dd-text-muted { color: var(--dd-text-muted); }
.dd-text-dark { color: var(--dd-text-dark); }
.dd-display-1 { font-size: 2.75rem; font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; color: var(--dd-blue); }
.dd-display-2 { font-size: 2.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; color: var(--dd-blue); }
.dd-display-3 { font-size: 2rem; font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; color: var(--dd-blue); }
.dd-hero-sub-heading { font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; color: var(--dd-text-muted); }
.dd-h5 { font-size: 1.3rem; font-weight: 600; margin-bottom: 1rem; }
.dd-lead { font-size: 1.1rem; line-height: 1.5; font-weight: 300; }
.dd-btn { display: inline-block; font-weight: 600; text-align: center; white-space: nowrap; cursor: pointer; text-decoration: none; padding: 12px 32px; font-size: 1rem; border-radius: 6px; transition: all 0.3s ease; border: none; }
.dd-btn-success { background-color: var(--dd-green); color: #fff; box-shadow: 0 4px 6px rgba(46,134,216,0.3); line-height: 1.15; }
.dd-btn-success:hover { background-color: var(--dd-green-hover); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(46,134,216,0.4); color: #fff; }
.dd-btn-light { background-color: #fff; color: #333; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.dd-btn-light:hover { background-color: #f8f9fa; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0,0,0,0.15); }
.dd-fw-bold { font-weight: 700; }
.dd-fw-semibold { font-weight: 600; }
.dd-mb-0 { margin-bottom: 0; }
.dd-mb-3 { margin-bottom: 1rem; }
.dd-mb-4 { margin-bottom: 1.5rem; }
.dd-mb-5 { margin-bottom: 3rem; }
.dd-mt-5 { margin-top: 3rem; }
.dd-pt-3 { padding-top: 1rem; }
.dd-pt-4 { padding-top: 1.5rem; }
.dd-p-4 { padding: 1.5rem; }
.dd-p-5 { padding: 3rem; }
.dd-px-3 { padding-left: 1rem; padding-right: 1rem; }
.dd-gap-y-3 { row-gap: 3rem; }
.dd-video { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.dd-feature-box { background-color: var(--dd-bg-light); border-radius: 12px; padding: 3rem; }
.dd-list-unstyled { list-style: none; padding-left: 0; }
.dd-list-item { display: flex; align-items: flex-start; margin-bottom: 1.5rem; }
.dd-list-item:last-child { margin-bottom: 0; }
.dd-list-icon { color: var(--dd-green); margin-right: 1rem; font-size: 1.875rem; flex-shrink: 0; }
.dd-list-text { font-size: 1.25rem; }
.dd-card { background-color: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); padding: 3rem; height: 100%; }
.dd-card-bordered { background-color: var(--dd-bg-light); border: 2px solid #dee2e6; border-radius: 12px; padding: 3rem; height: 100%; }
.dd-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 24px 0; }
.dd-template-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 24px 0; }
.dd-template-grid .dd-card-sm { display: flex; flex-direction: column; }
.dd-template-card-cta { margin-top: auto; padding-top: 16px; }
.dd-card-sm { background-color: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; height: 100%; }
.dd-card-sm h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 8px; color: var(--text); }
.dd-card-sm p { font-size: 14.5px; line-height: 1.55; color: var(--text-dim); margin: 0; }
@media (max-width: 640px) {
  .dd-card-grid { grid-template-columns: 1fr; }
  .dd-template-grid { grid-template-columns: 1fr; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .dd-template-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ---- Templates: filter pills ---- */
.dd-template-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 4px; }
.dd-template-filter { font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--text-dim); background: var(--panel-2); border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px; transition: all .15s ease; }
.dd-template-filter:hover { color: var(--text); border-color: var(--signal); }
.dd-template-filter.is-active { color: #fff; background: var(--signal); border-color: var(--signal); }
/* ---- Templates: card header (icon + name + badge) ---- */
.dd-template-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.dd-template-card-head h3 { margin: 0; }
.dd-template-card-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; }
.dd-template-card-icon img { width: 24px; height: 24px; object-fit: contain; }
.dd-template-badge { margin-left: auto; flex: none; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: #92400e; background: #fef3c7; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
/* ---- Templates widget (top-4, reuses pricing-widget.css card styles) ---- */
.dd-templates-widget .dd-template-card-icon { margin-bottom: 14px; }
.dd-step-number { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: #fff; background-color: var(--dd-green); border-radius: 50%; font-size: 1.75rem; height: 80px; width: 80px; box-shadow: 0 4px 12px rgba(46,134,216,0.3); }
.dd-cta { background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%); color: #fff; }
.dd-staff-login { text-align: center; margin-top: 1rem; }
.dd-staff-login .staff-login-button { font-size: 0.72rem; color: rgba(255,255,255,0.35); background: none; border: none; padding: 0; cursor: pointer; }
.dd-staff-login .staff-login-button:hover { color: #fff; }
.dd-edit-fab { position: fixed; bottom: 1rem; right: 1rem; z-index: 999; background: rgba(0,0,0,0.5); padding: 0.3rem 0.6rem; }
#wechat { margin-top: 20px; display: table; text-align: center; }
#wechat img { display: block; width: 120px; height: 120px; margin-bottom: 10px; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
#wechat::after { content: "添加客服微信"; display: block; font-size: 13px; color: rgba(255,255,255,0.9); letter-spacing: 1px; }
@media (max-width: 1199px) {
  .dd-display-1 { font-size: 2.5rem; }
  .dd-display-2 { font-size: 2rem; }
  .dd-display-3 { font-size: 1.75rem; }
}
@media (max-width: 991px) {
  .dd-section { padding: 3rem 0; }
  .dd-p-5 { padding: 2rem; }
}
@media (max-width: 575px) {
  .dd-display-1 { font-size: 2.2rem; }
  .dd-display-2 { font-size: 1.8rem; }
}
.dd-page-content { max-width: 1340px; margin: 0 auto; padding: 40px 28px 64px; }
.dd-page-title { font-size: 2rem; font-weight: 600; color: var(--dd-text-dark); margin: 0 0 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--dd-border); }
.dd-breadcrumb { max-width: 1340px; margin: 0 auto; padding: 1.25rem 20px 0; font-size: 0.875rem; }
.dd-breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.dd-breadcrumb li { color: var(--dd-text-muted); }
.dd-breadcrumb li + li::before { content: "\203A"; padding: 0 0.5rem; }
.dd-breadcrumb a { color: var(--dd-text-muted); text-decoration: none; }
.dd-breadcrumb a:hover { color: var(--dd-blue); text-decoration: underline; }
.dd-breadcrumb [aria-current="page"] { color: var(--dd-text-dark); font-weight: 600; }
/* ---------- shared dd_pages primitives (homepage + pricing + content pages) ---------- */
.section { padding-top: 24px; padding-bottom: 24px; padding-left: 0; padding-right: 0; }
.section-flush { padding-top: 0; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); margin: 14px 0 0; }
.section-head p { color: var(--text-dim); margin: 12px auto 0; font-size: 15.5px; max-width: 60ch; }
.head-left { text-align: left; margin-left: 0; }
.prose { max-width: 74ch; }
.prose p { font-size: 15px; color: var(--text); margin: 14px 0 0; }
.prose p b { color: var(--text); }
.prose ul { margin: 14px 0 0 19px; }
.prose ul li { font-size: 15px; color: var(--text); padding: 5px 0; }
.dd-page-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14.5px; }
.dd-page-content table th, .dd-page-content table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border-soft); }
.dd-page-content table th { font-weight: 600; color: var(--panel-2); background: var(--text); border-bottom: 2px solid var(--border); }
.dd-page-content table td { color: var(--text); }
.dd-page-content table tr:last-child td { border-bottom: none; }
.dd-page-content table tr:hover td { background: var(--panel-2); }
.dd-page-content > ul, .dd-page-content > ol { margin: 16px 0; padding-left: 24px; }
.dd-page-content > ul li, .dd-page-content > ol li { font-size: 15px; color: var(--text); line-height: 1.6; padding: 4px 0; }
@media (max-width: 640px) {
  .dd-page-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .dd-page-content table th, .dd-page-content table td { white-space: nowrap; }
}
.cta { margin: 0 auto; max-width: 1284px; width: calc(100% - 56px); padding: 60px 52px; border-radius: 18px; background: radial-gradient(900px 300px at 15% 0%, rgba(91, 157, 255, 0.18), transparent 60%), var(--panel); border: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { font-size: clamp(24px, 3vw, 32px); max-width: 480px; margin: 0; }
.cta p { color: var(--text-dim); margin: 10px 0 0; max-width: 460px; font-size: 14.5px; }
.cta-actions { display: flex; gap: 14px; flex: none; }
@media (max-width: 900px) {
  .section { padding: clamp(40px, 6vw, 56px) 0; }
  .cta { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
}
@media (max-width: 560px) {
  .cta-actions { flex-wrap: wrap; }
}
form .form-item { margin-bottom: 1rem; }
form .form-text, form .form-email, form .form-textarea { width: 100%; padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 4px; font-size: 1rem; background: #fff; }
.m-bottom { margin-bottom: 15px; }
.d-block { width: 100%; }
.m0 { margin: 0; }
.search-wrapper { margin-bottom: 2rem; }
.search-form { position: relative; max-width: 500px; margin: 0 auto; }
.search-input-container { position: relative; display: flex; align-items: center; background: #fff; border: 2px solid #e1e5e9; border-radius: 25px; padding: 0 20px; transition: all 0.3s ease; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.search-input-container:focus-within { border-color: #007cba; box-shadow: 0 2px 20px rgba(0, 124, 186, 0.15); transform: translateY(-2px); }
.search-icon { width: 20px; height: 20px; color: #6c757d; margin-right: 12px; flex-shrink: 0; }
.search-input { flex: 1; border: none; outline: none; padding: 16px 0; font-size: 16px; background: transparent; color: #333; }
.search-input::-webkit-search-cancel-button { display: none; }
.search-input::placeholder { color: #6c757d; font-size: 15px; }
.search-submit { flex-shrink: 0; margin-left: 8px; padding: 8px 16px; border: none; border-radius: 20px; background: #007cba; color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; }
.search-submit:hover { background: #005a87; }
.search-submit:active { transform: scale(0.98); }
.clear-search { background: none; border: none; padding: 8px; cursor: pointer; color: #6c757d; border-radius: 50%; transition: all 0.2s ease; margin-left: 8px; }
.clear-search:hover { background: #f8f9fa; color: #dc3545; }
.clear-search svg { width: 16px; height: 16px; }
/* Responsive adjustments */
@media (max-width: 768px) {
  .search-input-container { padding: 0 16px; }
  .search-input { padding: 14px 0; font-size: 16px; /* Prevents zoom on iOS */; }
  .search-icon { width: 18px; height: 18px; margin-right: 10px; }
}
/* Loading state */
.search-input-container.loading { opacity: 0.7; }
.search-input-container.loading .search-icon { animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}
:root { --footer-bg: #1B222D; --footer-border: #2B3542; --footer-text: #A9B2C0; --footer-text-dim: #6B7686; }
.wrap { max-width: 1340px; margin: 0 auto; padding: 0 28px; }
/* ---------- header ---------- */
header { position: sticky; top: 0; z-index: 50; background: #FFFFFF; border-bottom: 1px solid var(--border-soft); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10); }
header a { color: inherit; text-decoration: none; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; }
.logo img, .logo svg { height: 28px; width: auto; display: block; }
.navlinks { display: flex; align-items: center; gap: 34px; }
.nav-item { position: relative; }
.nav-item > .nav-parent, .nav-item > button { background: none; border: none; font-size: 14.5px; color: var(--text-dim); cursor: pointer; padding: 22px 0; display: flex; align-items: center; gap: 5px; transition: color .15s ease; }
.nav-item > .nav-parent .caret, .nav-item > button .caret { font-size: 10px; transition: transform .15s ease; }
.nav-item:hover > .nav-parent, .nav-item:focus-within > .nav-parent, .nav-item:hover > button, .nav-item:focus-within > button { color: var(--text); }
.nav-item:hover > .nav-parent .caret, .nav-item:focus-within > .nav-parent .caret, .nav-item:hover > button .caret, .nav-item:focus-within > button .caret { transform: rotate(180deg); }
/* duplicate parent-page link: hidden on desktop (parent is clickable), shown in the mobile submenu */
@media (min-width: 901px) {
  .dropdown .nav-parent-link { display: none; }
}
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #FFFFFF; border: 1px solid var(--border); border-radius: 10px; padding: 8px; min-width: 250px; box-shadow: 0 24px 48px -20px rgba(18,24,31,0.22); opacity: 0; visibility: hidden; transition: opacity .12s ease; z-index: 60; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; }
.dropdown a { display: block; padding: 9px 14px; border-radius: 6px; font-size: 14px; color: var(--text-dim); white-space: nowrap; transition: background .12s ease, color .12s ease; }
.dropdown a:hover { background: var(--signal-soft); color: var(--signal); }
/* Two-level dropdown: group trigger → flyout submenu */
.dropdown-group { position: relative; }
.dropdown-group-trigger { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; border-radius: 6px; font-size: 14px; color: var(--text-dim); cursor: pointer; text-decoration: none; transition: background .12s ease, color .12s ease; }
.dropdown-group-trigger:hover { background: var(--signal-soft); color: var(--signal); }
.dropdown-group-trigger .sub-caret { font-size: 12px; color: var(--text-faint); transition: transform .12s ease; }
.dropdown-group:hover .dropdown-group-trigger .sub-caret { transform: translateX(2px); }
.dropdown-submenu { position: absolute; left: 100%; top: -8px; background: #FFFFFF; border: 1px solid var(--border); border-radius: 10px; padding: 8px; min-width: 220px; box-shadow: 0 24px 48px -20px rgba(18,24,31,0.22); opacity: 0; visibility: hidden; transition: opacity .12s ease; z-index: 61; }
.dropdown-submenu::before { content: ''; position: absolute; left: -8px; top: 0; bottom: 0; width: 8px; }
.dropdown-group:hover .dropdown-submenu, .dropdown-group:focus-within .dropdown-submenu { opacity: 1; visibility: visible; }
.dropdown-group-label { padding: 10px 14px 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); }
.dropdown-group-label:first-child { padding-top: 4px; }
.navlinks > a { font-size: 14.5px; color: var(--text-dim); transition: color .15s ease; }
.navlinks > a:hover { color: var(--text); }
.navcta { display: flex; align-items: center; gap: 18px; }
.navcta .ghost { font-size: 14.5px; color: var(--text-dim); }
.navcta .ghost:hover { color: var(--text); }
.navcta-menu { display: none; }
/* auth + lang switcher, shown inside the mobile menu panel */
.lang-switch-btn { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--text-dim); border: 1px solid var(--border); border-radius: 7px; padding: 7px 11px; line-height: 1; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.lang-switch-btn svg { width: 16px; height: 16px; flex: none; }
.lang-switch-btn:hover { color: var(--text); border-color: var(--signal); background: var(--signal-soft); }
.navsearch-btn { background: none; border: none; cursor: pointer; color: var(--text-dim); width: 34px; height: 34px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; transition: background .15s ease, color .15s ease; }
.navsearch-btn:hover { background: var(--signal-soft); color: var(--signal); }
.navsearch-btn svg { width: 18px; height: 18px; }
.navsearch { display: none; border-top: 1px solid var(--border-soft); background: #FFFFFF; }
.navsearch.is-open { display: block; }
.navsearch form { display: flex; align-items: center; gap: 10px; height: 56px; }
.navsearch svg { width: 17px; height: 17px; color: var(--text-faint); flex: none; }
.navsearch input { flex: 1; border: none; background: transparent; font-size: 15px; color: var(--text); }
.navsearch input:focus { outline: none; }
.navsearch input::placeholder { color: var(--text-faint); }
.navsearch-close { background: none; border: none; cursor: pointer; color: var(--text-faint); font-size: 20px; line-height: 1; padding: 4px 6px; }
.navsearch-close:hover { color: var(--text); }
.btn { font-weight: 600; font-size: 14.5px; padding: 10px 18px; border-radius: 7px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent; cursor: pointer; transition: all .15s ease; }
.btn-primary { background: var(--signal); color: #fff; }
.btn-primary:hover { background: var(--signal-dark); color: #fff; transform: translateY(-1px); }
.btn-line { border-color: var(--border); color: var(--text); background: transparent; }
.btn-line:hover { border-color: var(--signal); color: var(--signal); }
.menu-toggle { display: none; background: none; border: none; padding: 0; color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; width: 34px; height: 34px; align-items: center; justify-content: center; }
.menu-toggle svg { width: 20px; height: 20px; }
/* ---------- footer ---------- */
footer { background: var(--footer-bg); border-top: 1px solid var(--footer-border); padding: 52px 0 28px; }
footer a { color: inherit; text-decoration: none; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr; gap: 44px; margin-bottom: 36px; }
.foot-links-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.foot-brand p { color: var(--footer-text-dim); font-size: 13.5px; margin-top: 14px; max-width: 260px; }
.foot-col h5 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--footer-text-dim); margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14px; color: var(--footer-text); padding: 6px 0; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid var(--footer-border); padding-top: 26px; text-align: center; }
.foot-bottom span { font-size: 12px; color: var(--footer-text-dim); }
.foot-contact { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.foot-contact a { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--footer-text); transition: color .15s ease; }
.foot-contact a:hover { color: #fff; }
.foot-contact svg { width: 15px; height: 15px; flex: none; color: var(--footer-text-dim); }
.foot-region { margin-top: 22px; }
.foot-region label { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--footer-text-dim); margin-bottom: 10px; }
.foot-select { width: 100%; max-width: 240px; appearance: none; -webkit-appearance: none; background: #232C3A url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9B2C0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; background-size: 15px; border: 1px solid var(--footer-border); border-radius: 8px; color: var(--footer-text); font-size: 14px; padding: 10px 38px 10px 14px; cursor: pointer; }
.foot-select:hover { border-color: #3C4756; }
.foot-select option { background: var(--footer-bg); color: var(--footer-text); }
.staff-login { display: inline-block; margin-top: 20px; font-size: 13px; color: var(--footer-text-dim); transition: color .15s ease; }
.staff-login:hover { color: var(--footer-text); }
/* ---------- header/footer responsive ---------- */
@media (max-width: 900px) {
  .navlinks { display: none; }
  .navlinks.is-open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; z-index: 55; background: #fff; border-top: 1px solid var(--border-soft); box-shadow: 0 24px 48px -20px rgba(18,24,31,0.22); padding: 8px 28px 20px; gap: 4px; max-height: calc(100vh - 68px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .menu-toggle { display: inline-flex; }
  /* keep the search button grouped with the hamburger at the right */
  .nav { gap: 14px; }
  .nav > .navcta { margin-left: auto; }
  .nav-item { width: 100%; }
  .nav-item > .nav-parent, .nav-item > button { width: 100%; justify-content: space-between; padding: 12px 0; }
  /* top-level menu links (Pricing, Contact Us) match the dropdown buttons */
  .navlinks > a { padding: 12px 0; font-size: 14.5px; color: var(--text-dim); }
  .dropdown { position: static; transform: none; opacity: 1; visibility: hidden; height: 0; overflow: hidden; box-shadow: none; border: none; background: none; padding: 0; min-width: 0; }
  /* submenu opens only via JS (.is-open) on mobile, so tapping the parent toggles it both ways */
  .nav-item.is-open .dropdown { visibility: visible; height: auto; padding: 4px 0 8px 14px; }
  .dropdown a { color: var(--text-dim); }
  .dropdown a:hover { background: none; color: var(--text); }
  /* two-level groups: render inline/stacked on mobile (no hover flyout) */
  .dropdown-group-trigger .sub-caret { display: none; }
  .dropdown-submenu { position: static; opacity: 1; visibility: visible; border: none; box-shadow: none; padding: 0 0 4px 14px; min-width: 0; }
  .dropdown-submenu::before { display: none; }
  /* hide login/register/language-switcher in the bar; keep the search button */
  .nav > .navcta > a { display: none; }
  /* show them as a section inside the mobile menu panel */
  .navcta-menu { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border-soft); }
  .navcta-menu .lang-switch-btn { justify-content: center; width: 100%; }
  .navcta-menu .ghost { font-size: 14.5px; color: var(--text-dim); text-align: center; padding: 10px 14px; border: 1px solid var(--border); border-radius: 7px; }
  .navcta-menu .ghost:hover { color: var(--text); }
  .navcta-menu .btn { justify-content: center; width: 100%; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-col-wide { grid-column: 1 / -1; }
  .wrap { padding: 0 20px; }
}
