/* ── Chinese (zh-CN) Typography ── */
html[lang="zh-CN"] body,
html[lang="zh-CN"] input,
html[lang="zh-CN"] select,
html[lang="zh-CN"] textarea,
html[lang="zh-CN"] button {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
}
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] h4 {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    letter-spacing: 0.02em;
}
/* Slightly larger line height for Chinese characters */
html[lang="zh-CN"] p,
html[lang="zh-CN"] li,
html[lang="zh-CN"] .prose {
    line-height: 1.8;
}

/* ── Mobile menu animation ── */
.mobile-menu-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
}
.mobile-menu-panel.mobile-menu--open {
    max-height: calc(100vh - 5rem);
    opacity: 1;
    overflow-y: auto;
}
.mobile-menu-panel .mobile-menu-item {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-menu-panel.mobile-menu--open .mobile-menu-item {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu-panel.mobile-menu--open .mobile-menu-item:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu-panel.mobile-menu--open .mobile-menu-item:nth-child(2) { transition-delay: 0.12s; }
.mobile-menu-panel.mobile-menu--open .mobile-menu-item:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu-panel.mobile-menu--open .mobile-menu-item:nth-child(4) { transition-delay: 0.24s; }
.mobile-menu-panel.mobile-menu--open .mobile-menu-item:nth-child(5) { transition-delay: 0.30s; }
.mobile-menu-panel.mobile-menu--open .mobile-menu-item:nth-child(6) { transition-delay: 0.36s; }
.mobile-menu-panel.mobile-menu--open .mobile-menu-item:nth-child(7) { transition-delay: 0.42s; }

/* ── Page transition (service pages) ── */
.svc-detail-main {
    animation: svcFadeIn 0.35s ease-out;
}
@keyframes svcFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.svc-page-exit .svc-detail-main {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.15s ease-in, transform 0.15s ease-in;
}

/* ── Back to top button ── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 40;
    width: 40px;
    height: 40px;
    background: #1A1A1A;
    color: #fff;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, visibility 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #83c045;
}
.back-to-top svg {
    width: 18px;
    height: 18px;
}

/* Force base typography — override WP.com / Kubio / plugin defaults */
html { font-size: 16px; }
body {
    font-family: 'Montserrat', sans-serif;
    color: #1A1A1A;
    zoom: 0.85;
    background-color: #FFFFFF;
    font-size: 1rem;
    line-height: 1.5;
}
@media (max-width: 767px) {
    body { zoom: 1; overflow-x: hidden; }
}

/* Reset WordPress/Kubio body text inflation */
body p, body li, body span, body label, body input, body select, body textarea, body button, body a {
    font-size: inherit;
    line-height: inherit;
}

/* Respect Tailwind text-size utilities explicitly (overrides Kubio !important rules) */
.text-xs   { font-size: 0.75rem  !important; line-height: 1rem     !important; }
.text-sm   { font-size: 0.875rem !important; line-height: 1.25rem  !important; }
.text-base { font-size: 1rem     !important; line-height: 1.5rem   !important; }
.text-lg   { font-size: 1.125rem !important; line-height: 1.75rem  !important; }
.text-xl   { font-size: 1.25rem  !important; line-height: 1.75rem  !important; }
.text-2xl  { font-size: 1.5rem   !important; line-height: 2rem     !important; }
.text-3xl  { font-size: 1.875rem !important; line-height: 2.25rem  !important; }
.text-4xl  { font-size: 2.25rem  !important; line-height: 2.5rem   !important; }
.text-5xl  { font-size: 3rem     !important; line-height: 1        !important; }
.text-6xl  { font-size: 3.75rem  !important; line-height: 1        !important; }
@media (min-width: 768px) {
    .md\:text-4xl { font-size: 2.25rem !important; line-height: 2.5rem !important; }
    .md\:text-5xl { font-size: 3rem    !important; line-height: 1      !important; }
    .md\:text-xl  { font-size: 1.25rem !important; line-height: 1.75rem !important; }
}
@media (min-width: 1024px) {
    .lg\:text-6xl { font-size: 3.75rem !important; line-height: 1 !important; }
}

/* Font weights */
.font-light     { font-weight: 300 !important; }
.font-normal    { font-weight: 400 !important; }
.font-medium    { font-weight: 500 !important; }
.font-semibold  { font-weight: 600 !important; }
.font-bold      { font-weight: 700 !important; }
.font-extrabold { font-weight: 800 !important; }

/* Remove WP default heading top margins that break spacing */
.entry-content h1, .entry-content h2, .entry-content h3,
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: inherit;
    line-height: inherit;
}

/* Brand green utilities */
.text-brand-green { color: #83c045; }
.bg-brand-green { background-color: #83c045; }
.border-brand-green { border-color: #83c045; }
.ring-brand-green { --tw-ring-color: #83c045; }

/* Hover states */
.hover\:border-t-brand-green:hover { border-top-color: #83c045; }
.hover\:bg-brand-green:hover { background-color: #83c045; }
.hover\:text-brand-green:hover { color: #83c045; }
.hover\:border-brand-green:hover { border-color: #83c045; }

/* Focus states */
.focus\:border-brand-green:focus { border-color: #83c045; }
.focus\:ring-brand-green:focus { --tw-ring-color: #83c045; }

/* Group hover states */
.group:hover .group-hover\:text-brand-green { color: #83c045; }
.group:hover .group-hover\:border-brand-green { border-color: #83c045; }
.group:hover .mega-menu { display: block; }

/* ══════════════════════════════════════════
   AESTHETIC POLISH — Jenga Anderson brand
   #83c045 (green) · #1A1A1A (black) · #F9FAFB (light)
   ══════════════════════════════════════════ */

/* ── 1. Frosted glass navigation ── */
header.fixed {
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(229, 231, 235, 0.6);
}
header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    backdrop-filter: blur(16px) saturate(200%);
}

/* ── 2. Custom text selection ── */
::selection {
    background: rgba(131, 192, 69, 0.18);
    color: #1A1A1A;
}
::-moz-selection {
    background: rgba(131, 192, 69, 0.18);
    color: #1A1A1A;
}

/* ── 3. Nav link animated underlines ── */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #83c045;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover::after,
.nav-link.text-brand-green::after {
    width: 100%;
}

/* ── 4. Blog / Insights card image hover zoom ── */
.grid a .h-48 img,
.grid a .h-48 {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.grid a:hover .h-48 img {
    transform: scale(1.04);
}
.grid a .h-48 {
    overflow: hidden;
}

/* ── 5. CTA button refined hover ── */
.bg-brand-green {
    transition: all 0.3s ease;
    position: relative;
}
a.bg-brand-green:hover,
button.bg-brand-green:hover {
    background-color: #6fa339;
    box-shadow: 0 4px 16px rgba(131, 192, 69, 0.3);
    transform: translateY(-1px);
}
a.bg-brand-green:active,
button.bg-brand-green:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(131, 192, 69, 0.2);
}

/* ── 6. Form input focus glow ── */
input[type="email"]:focus,
input[type="text"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    border-color: #83c045 !important;
    box-shadow: 0 0 0 3px rgba(131, 192, 69, 0.12);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* ── 7. Service value card hover accent ── */
.svc-value-card {
    border-left: 3px solid transparent;
    transition: all 0.3s ease, border-left-color 0.3s ease;
}
.svc-value-card:hover {
    border-left-color: #83c045;
}

/* ── 8. Curved section dividers ── */
.section-curve-bottom {
    position: relative;
}
.section-curve-bottom::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 48px;
    background: #F9FAFB;
    clip-path: ellipse(55% 100% at 50% 100%);
    pointer-events: none;
}
.section-curve-bottom-white::after {
    background: #fff;
}
.section-curve-bottom-dark::after {
    background: #1A1A1A;
}

/* ── 9. Subtle hover lift for solution cards (home) ── */
.stagger-item.group {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.stagger-item.group:hover {
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.1), 0 4px 8px -4px rgba(0, 0, 0, 0.04);
}

/* ── 10. Services overview cards refined shadow ── */
.page-template-page-services .group {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.page-template-page-services .group:hover {
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.1);
}

/* ── 11. Footer subtle top border glow ── */
.jenga-footer {
    border-top: 1px solid rgba(131, 192, 69, 0.15);
}

/* ── 12. Smooth link transitions everywhere ── */
a {
    transition: color 0.2s ease;
}

/* Base */
html { scroll-behavior: smooth; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* Scroll offset for fixed header anchor jumps */
.scroll-mt-24 { scroll-margin-top: 6rem; }

/* Services mega menu — ensure hover background works even if Tailwind CDN strips arbitrary values */
#services-dropdown a:hover { background-color: #F9FAFB; color: #83c045; }
#services-dropdown h3 { border-bottom: 1px solid #E5E7EB; padding-bottom: 0.5rem; margin-bottom: 0.5rem; }

/* Line clamp utilities */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Download modal — override Kubio z-index and form styles */
#download-modal { z-index: 9999 !important; }
#download-modal .download-modal-backdrop { z-index: 1 !important; }
#download-modal > div:last-child { z-index: 2 !important; }
#download-modal form label { color: #6B7280 !important; font-size: 0.7rem !important; letter-spacing: 0.03em !important; }
#download-modal form input,
#download-modal form select { background: #F9FAFB !important; border-radius: 0.375rem !important; }
#download-modal form input:focus,
#download-modal form select:focus { background: #fff !important; }
#download-modal .download-modal-content { animation: modalSlideUp 0.25s ease-out; }
@keyframes modalSlideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* Resources carousel — full-bleed hero */
.resources-hero-section { margin: 0 !important; padding: 0 !important; }
.resources-carousel-track { overflow: hidden !important; }
.resources-slide-bg { min-height: 480px !important; }
@media (min-width: 768px) { .resources-slide-bg { min-height: 65vh !important; } }
@media (min-width: 1024px) { .resources-slide-bg { min-height: 70vh !important; } }

/* Slide inner content */
.resources-slide-content { min-height: inherit !important; }

/* Decorative green glow orbs */
.resources-slide-bg .glow-orb-right {
    position: absolute; top: -20%; right: -10%; width: 50%; height: 140%;
    background: radial-gradient(ellipse at center, rgba(131,192,69,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.resources-slide-bg .glow-orb-left {
    position: absolute; bottom: -30%; left: -10%; width: 40%; height: 120%;
    background: radial-gradient(ellipse at center, rgba(131,192,69,0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* Slide progress bar at bottom of carousel */
.resources-progress-bar { height: 3px; background: rgba(255,255,255,0.08); position: relative; overflow: hidden; }
.resources-progress-fill { height: 100%; background: #83c045; width: 0%; transition: none; }
.resources-progress-fill.animating { transition: width linear; }

/* Industry tags bar — single line, centered */
.industry-tags-bar {
    background: #0f0f0f !important;
    border: none !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    display: flex !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    padding: 1.25rem 1rem !important;
    overflow-x: auto !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
    flex-wrap: nowrap !important;
}
.industry-tags-bar::-webkit-scrollbar { display: none; }

/* Industry tags — pill buttons on dark bar */
.resource-industry-tag {
    padding: 0.5rem 1.25rem !important;
    border-radius: 9999px !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.25rem !important;
}
.resource-industry-tag.tag-inactive {
    background: transparent !important;
    border-color: rgba(255,255,255,0.18) !important;
    color: rgba(255,255,255,0.5) !important;
}
.resource-industry-tag.tag-inactive:hover {
    border-color: rgba(255,255,255,0.35) !important;
    color: rgba(255,255,255,0.85) !important;
}
.resource-industry-tag.tag-active {
    background: #83c045 !important;
    border-color: #83c045 !important;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(131,192,69,0.3) !important;
}

/* Insight cards hover lift */
.insight-card { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important; }
.insight-card:hover { transform: translateY(-4px) !important; box-shadow: 0 12px 32px rgba(0,0,0,0.08) !important; }

/* FAQ category filter tabs */
.faq-tabs-wrap {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.faq-tabs-wrap::-webkit-scrollbar { display: none; }
.faq-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.faq-tab {
    padding: 0.45rem 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: inherit;
    border: 1px solid #E5E7EB;
    border-radius: 2px;
    background: #fff;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.faq-tab:hover {
    border-color: #83c045;
    color: #83c045;
}
.faq-tab--active {
    background: #1A1A1A;
    color: #fff;
    border-color: #1A1A1A;
}
.faq-tab--active:hover {
    background: #1A1A1A;
    color: #fff;
    border-color: #1A1A1A;
}

/* FAQ — corporate clean style */
.faq-list { border-top: 1px solid #E5E7EB; }
.faq-item { border-bottom: 1px solid #E5E7EB !important; border-left: 3px solid transparent !important; background: none !important; border-radius: 0 !important; box-shadow: none !important; transition: border-color 0.3s ease !important; }
.faq-item[open] { border-left-color: #83c045 !important; }
.faq-summary {
    display: flex !important; align-items: center !important; justify-content: space-between !important;
    padding: 1.25rem 0 1.25rem 1rem !important; cursor: pointer !important;
    font-weight: 600 !important; font-size: 0.95rem !important; color: #1A1A1A !important;
    line-height: 1.5 !important; list-style: none !important;
}
.faq-summary::-webkit-details-marker { display: none !important; }
.faq-question { flex: 1; padding-right: 1.5rem; }
.faq-item[open] .faq-question { color: #83c045 !important; }

/* + / - toggle */
.faq-toggle {
    position: relative; width: 20px; height: 20px; flex-shrink: 0;
}
.faq-toggle-h, .faq-toggle-v {
    position: absolute; background: #9CA3AF; border-radius: 1px; transition: all 0.3s ease;
}
.faq-toggle-h { top: 50%; left: 3px; right: 3px; height: 2px; transform: translateY(-50%); }
.faq-toggle-v { left: 50%; top: 3px; bottom: 3px; width: 2px; transform: translateX(-50%); }
.faq-item[open] .faq-toggle-v { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item[open] .faq-toggle-h { background: #83c045; }

/* Smooth expand */
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.faq-item[open] .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer-content { padding: 0 0 1.25rem 1rem; font-size: 0.875rem; line-height: 1.75; color: #6B7280; }

/* ------------------------------------------------------------------ */
/* Network map section — dark immersive                                */
/* ------------------------------------------------------------------ */
.network-section { background: #F9FAFB; }

.network-map-wrap { position: relative; overflow: hidden; }
.network-map { height: 500px !important; width: 100% !important; z-index: 1; }
@media (min-width: 768px) { .network-map { height: 600px !important; } }

/* Gradient overlay — left side for text */
.network-map-overlay {
    position: absolute; top: 0; left: 0; bottom: 0; width: 50%; z-index: 2; pointer-events: none;
    background: linear-gradient(to right, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.7) 60%, transparent 100%);
}
@media (max-width: 767px) {
    .network-map-overlay { width: 100%; background: linear-gradient(to bottom, rgba(249,250,251,0.95) 0%, rgba(249,250,251,0.5) 60%, rgba(249,250,251,0.8) 100%); }
}

/* Floating text */
.network-map-text {
    position: absolute; top: 50%; left: 0; transform: translateY(-50%);
    z-index: 3; padding: 3rem; max-width: 480px;
}
@media (max-width: 767px) {
    .network-map-text { top: 2rem; transform: none; padding: 1.5rem; max-width: 100%; }
}
.network-badge {
    display: inline-block !important; font-size: 0.6rem !important; font-weight: 700 !important;
    text-transform: uppercase !important; letter-spacing: 0.2em !important;
    color: #83c045 !important; margin-bottom: 1rem !important;
}
.network-title {
    font-size: 1.75rem !important; font-weight: 800 !important; color: #1A1A1A !important;
    line-height: 1.2 !important; margin-bottom: 1rem !important;
}
@media (min-width: 768px) { .network-title { font-size: 2.25rem !important; } }
.network-desc {
    font-size: 0.85rem !important; color: #6B7280 !important;
    line-height: 1.7 !important;
}

/* City list bar at bottom of map */
.network-cities-bar {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
    display: flex !important; justify-content: center !important; gap: 1.5rem !important;
    padding: 1rem 1.5rem !important; flex-wrap: wrap !important;
    background: linear-gradient(to top, rgba(249,250,251,0.9) 0%, transparent 100%);
}
.network-city-item {
    display: flex !important; align-items: center !important; gap: 0.4rem !important;
    font-size: 0.65rem !important; font-weight: 600 !important; color: #9CA3AF !important;
    text-transform: uppercase !important; letter-spacing: 0.08em !important; white-space: nowrap;
}
.network-city-hq { color: #83c045 !important; font-weight: 700 !important; }
.network-city-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #D1D5DB; flex-shrink: 0;
}
.network-city-dot-hq {
    background: #83c045 !important; box-shadow: 0 0 8px rgba(131,192,69,0.4);
    width: 8px; height: 8px;
}

/* Quote bar */
.network-quote-bar {
    background: #F9FAFB; padding: 2rem 1rem; border-top: 1px solid #E5E7EB;
}
.network-quote {
    font-size: 1.1rem !important; font-style: italic !important; color: #6B7280 !important;
    font-weight: 400 !important;
}

/* Leaflet overrides for dark map */
.jenga-map-marker { background: none !important; border: none !important; }

/* HQ marker — green pulsing */
.jenga-marker-hq { position: relative; width: 32px; height: 32px; }
.jenga-marker-hq-dot {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 14px; height: 14px; background: #83c045; border-radius: 50%;
    border: 2.5px solid #fff; box-shadow: 0 0 12px rgba(131,192,69,0.4), 0 1px 4px rgba(0,0,0,0.15);
    z-index: 2;
}
.jenga-marker-hq-ring {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(131, 192, 69, 0.12);
    animation: marker-pulse 2.5s ease-out infinite;
    z-index: 1;
}
@keyframes marker-pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

/* Regular city markers */
.jenga-marker-city {
    width: 8px; height: 8px; background: #1A1A1A; border-radius: 50%;
    border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    transition: all 0.2s ease; cursor: pointer;
}
.jenga-marker-city:hover { background: #83c045; border-color: #fff; transform: scale(1.4); }

/* Map tooltip */
.jenga-dark-tooltip {
    background: #1A1A1A !important; color: #fff !important; border: none !important;
    font-family: 'Montserrat', sans-serif !important; font-size: 0.7rem !important;
    font-weight: 700 !important; padding: 5px 12px !important; border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}
.jenga-dark-tooltip::before { border-top-color: #1A1A1A !important; }

/* Ctrl + scroll overlay message */
.jenga-map-scroll-msg {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7); color: #fff; font-size: 0.8rem; font-weight: 600;
    padding: 0.6rem 1.2rem; border-radius: 6px; z-index: 1000; pointer-events: none;
    opacity: 0; transition: opacity 0.3s ease; font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}
.jenga-map-scroll-msg.visible { opacity: 1; }

/* Leaflet controls */
.network-map .leaflet-control-attribution { display: none !important; }
.network-map .leaflet-control-zoom {
    display: flex !important; flex-direction: column !important;
    border: none !important; box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
    border-radius: 8px !important; overflow: hidden !important;
    margin: 16px !important; z-index: 999 !important; position: relative !important;
}
.network-map .leaflet-control-zoom a {
    display: flex !important; align-items: center !important; justify-content: center !important;
    width: 34px !important; height: 34px !important; line-height: 1 !important;
    font-size: 18px !important; color: #1A1A1A !important; background: #fff !important;
    border: none !important; border-bottom: 1px solid #E5E7EB !important;
    transition: background 0.15s ease !important; text-decoration: none !important;
}
.network-map .leaflet-control-zoom a:last-child { border-bottom: none !important; }
.network-map .leaflet-control-zoom a:hover { background: #F3F4F6 !important; color: #83c045 !important; }

/* Resources hero — flush against header, no white gaps */
.resources-hero-section { padding-top: 0 !important; background: #0f0f0f !important; margin-bottom: 0 !important; }
.resources-hero-section .resources-slide-bg { padding-top: 5rem; }

/* ------------------------------------------------------------------ */
/* Contacts page                                                       */
/* ------------------------------------------------------------------ */

/* Hero — light with subtle green accent */
.contacts-hero {
    background: #F9FAFB !important; padding: 8rem 1rem 6rem !important;
    position: relative; overflow: hidden; border-bottom: 1px solid #E5E7EB;
}
.contacts-hero-badge {
    display: inline-flex !important; align-items: center !important; gap: 0.5rem !important;
    font-size: 0.65rem !important; font-weight: 700 !important; text-transform: uppercase !important;
    letter-spacing: 0.2em !important; color: #83c045 !important; margin-bottom: 1.25rem !important;
}
.contacts-hero-title {
    font-size: 2rem !important; font-weight: 800 !important; color: #1A1A1A !important;
    line-height: 1.2 !important; margin-bottom: 1rem !important;
}
@media (min-width: 768px) { .contacts-hero-title { font-size: 2.75rem !important; } }
.contacts-hero-subtitle {
    font-size: 0.95rem !important; color: #6B7280 !important;
    max-width: 36rem !important; margin: 0 auto !important; line-height: 1.6 !important;
}

/* Form section */
.contacts-form-section {
    background: #fff !important; padding: 3rem 0 4rem !important;
    position: relative; z-index: 2;
}
.contacts-card {
    background: #fff !important; border-radius: 0.75rem !important; overflow: hidden !important;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08) !important; border: 1px solid #E5E7EB !important;
}

/* Form inputs */
.contact-label {
    display: block !important; font-size: 0.7rem !important; font-weight: 700 !important;
    color: #9CA3AF !important; text-transform: uppercase !important; letter-spacing: 0.05em !important;
    margin-bottom: 0.4rem !important;
}
.contact-input {
    width: 100% !important; border: 1px solid #E5E7EB !important; padding: 0.65rem 0.85rem !important;
    border-radius: 0.375rem !important; font-size: 0.85rem !important; color: #1A1A1A !important;
    background: #F9FAFB !important; transition: all 0.2s ease !important;
    font-family: inherit !important; -webkit-appearance: none !important;
}
.contact-input:focus {
    border-color: #83c045 !important; background: #fff !important; outline: none !important;
    box-shadow: 0 0 0 3px rgba(131,192,69,0.08) !important;
}
.contact-input::placeholder { color: #D1D5DB !important; }
.contact-submit {
    display: inline-flex !important; align-items: center !important; gap: 0.5rem !important;
    background: #83c045 !important; color: #fff !important; font-weight: 700 !important;
    font-size: 0.8rem !important; padding: 0.75rem 2rem !important; border-radius: 0.375rem !important;
    border: none !important; cursor: pointer !important; transition: all 0.2s ease !important;
    font-family: inherit !important;
}
.contact-submit:hover { background: #6fa339 !important; }

/* Sidebar — light panel */
.contacts-sidebar {
    background: #F9FAFB !important; padding: 2.5rem !important;
    border-left: 1px solid #E5E7EB;
}
@media (max-width: 1023px) { .contacts-sidebar { border-left: none; border-top: 1px solid #E5E7EB; } }
.contacts-sidebar-title {
    font-size: 0.65rem !important; font-weight: 700 !important; text-transform: uppercase !important;
    letter-spacing: 0.15em !important; color: #9CA3AF !important;
}
.contacts-sidebar-item {
    display: flex !important; align-items: center !important; gap: 0.75rem !important;
    transition: all 0.2s ease !important;
}
a.contacts-sidebar-item:hover .contacts-sidebar-value { color: #83c045 !important; }
.contacts-sidebar-icon {
    width: 36px; height: 36px; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center;
    background: #fff; color: #6B7280; flex-shrink: 0; border: 1px solid #E5E7EB;
}
.contacts-sidebar-label {
    display: block !important; font-size: 0.6rem !important; font-weight: 600 !important;
    text-transform: uppercase !important; letter-spacing: 0.1em !important;
    color: #9CA3AF !important; margin-bottom: 0.15rem !important;
}
.contacts-sidebar-value {
    display: block !important; font-size: 0.8rem !important; font-weight: 600 !important;
    color: #1A1A1A !important; transition: color 0.2s ease !important;
}
.contacts-sidebar-divider {
    height: 1px; background: #E5E7EB; margin: 1.5rem 0;
}

/* Chat buttons */
.contacts-chat-btn {
    flex: 1; display: flex !important; align-items: center !important; justify-content: center !important;
    gap: 0.5rem !important; padding: 0.6rem !important; border-radius: 0.375rem !important;
    font-size: 0.75rem !important; font-weight: 700 !important; color: #1A1A1A !important;
    background: #fff !important; border: 1px solid #E5E7EB !important;
    cursor: pointer !important; transition: all 0.2s ease !important;
    font-family: inherit !important;
}
.contacts-chat-btn:hover {
    border-color: #83c045 !important; color: #83c045 !important;
}

/* ------------------------------------------------------------------ */
/* Offices section — dark premium                                     */
/* ------------------------------------------------------------------ */
.offices-section { background: #111 !important; position: relative; overflow: hidden; }
/* Subtle radial glow */
.offices-section::before {
    content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
    width: 800px; height: 800px; border-radius: 50%;
    background: radial-gradient(circle, rgba(131,192,69,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.offices-badge {
    display: block !important; font-size: 1.75rem !important; font-weight: 800 !important;
    color: #fff !important; margin-bottom: 0.5rem !important; letter-spacing: -0.01em !important;
}
.offices-subtitle { font-size: 0.875rem !important; color: rgba(255,255,255,0.4) !important; }

/* HQ block — centered */
.office-hq {
    text-align: center; max-width: 400px; margin: 0 auto;
}
.office-hq-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(131,192,69,0.1); display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem; box-shadow: 0 0 24px rgba(131,192,69,0.15);
}
.office-hq-label {
    display: block !important; font-size: 0.65rem !important; font-weight: 700 !important;
    text-transform: uppercase !important; letter-spacing: 0.15em !important;
    color: #83c045 !important; margin-bottom: 0.75rem !important;
}
.office-hq-city {
    font-size: 1.75rem !important; font-weight: 800 !important; color: #fff !important;
    margin-bottom: 0.5rem !important;
}
.office-hq-address {
    font-size: 0.8rem !important; color: rgba(255,255,255,0.45) !important;
    line-height: 1.6 !important; margin-bottom: 1rem !important;
}
.office-hq-link {
    display: inline-flex !important; align-items: center !important; gap: 0.4rem !important;
    font-size: 0.75rem !important; font-weight: 700 !important; color: #83c045 !important;
    transition: gap 0.2s ease !important;
}
.office-hq-link:hover { gap: 0.7rem !important; }

/* Divider */
.offices-divider {
    width: 80px; height: 1px; background: rgba(255,255,255,0.1);
    margin: 2.5rem auto;
}

/* Office cards grid */
.offices-grid {
    display: flex !important; flex-wrap: wrap !important; justify-content: center !important;
    gap: 1rem !important;
}
.office-card {
    background: rgba(255,255,255,0.03) !important; border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 0.5rem !important; padding: 1.5rem !important; text-align: center !important;
    flex: 1 1 180px !important; max-width: 220px !important; transition: all 0.3s ease !important;
}
.office-card:hover {
    border-color: #83c045 !important; background: rgba(131,192,69,0.04) !important;
    transform: translateY(-2px) !important;
}
.office-card-pin {
    color: rgba(255,255,255,0.25) !important; margin-bottom: 0.75rem !important;
    display: flex; justify-content: center;
}
.office-card:hover .office-card-pin { color: #83c045 !important; }
.office-card-pin svg { stroke: currentColor; }
.office-card-city {
    font-size: 0.85rem !important; font-weight: 700 !important; color: #fff !important;
    margin-bottom: 0.35rem !important;
}
.office-card-address {
    font-size: 0.7rem !important; color: rgba(255,255,255,0.35) !important; line-height: 1.5 !important;
}

/* ------------------------------------------------------------------ */
/* Blog toolbar — single row: filters | search | sort                  */
/* ------------------------------------------------------------------ */
.blog-toolbar-row {
    display: flex !important; align-items: center !important;
    gap: 0.5rem !important; margin-bottom: 0.75rem !important;
    padding-bottom: 1rem !important; border-bottom: 1px solid #E5E7EB !important;
    flex-wrap: wrap !important;
}
.blog-toolbar-filters {
    display: flex !important; align-items: center !important; gap: 0.4rem !important;
    flex-shrink: 0 !important; margin-right: auto !important;
}
.blog-toolbar-right {
    display: flex !important; align-items: center !important; gap: 0.5rem !important;
    flex-shrink: 0 !important;
}

.blog-filter-btn {
    padding: 0.4rem 0.9rem !important; font-size: 0.7rem !important; font-weight: 600 !important;
    border-radius: 0.25rem !important; letter-spacing: 0.02em !important;
    transition: all 0.2s ease !important; border: 1px solid #E5E7EB !important;
    background: #fff !important; color: #6B7280 !important; text-decoration: none !important;
    white-space: nowrap !important; height: 34px !important; box-sizing: border-box !important;
    display: inline-flex !important; align-items: center !important;
}
.blog-filter-btn:hover { border-color: #83c045 !important; color: #83c045 !important; }
.blog-filter-btn.active {
    background: #1A1A1A !important; color: #fff !important;
    border-color: #1A1A1A !important;
}

/* Search */
.blog-search-form { flex-shrink: 1; min-width: 0; }
.blog-search-wrap { position: relative; display: flex; align-items: center; }
.blog-search-icon {
    position: absolute; left: 0.55rem; width: 13px; height: 13px; color: #B0B0B0; pointer-events: none;
}
.blog-search-input {
    width: 160px !important; padding: 0.4rem 1.8rem 0.4rem 2.1rem !important;
    font-size: 0.7rem !important; border: 1px solid #E5E7EB !important; border-radius: 0.25rem !important;
    background: #fff !important; color: #1A1A1A !important; font-family: inherit !important;
    transition: all 0.2s ease !important; -webkit-appearance: none !important;
    height: 34px !important; box-sizing: border-box !important;
}
.blog-search-input:focus {
    width: 200px !important; border-color: #83c045 !important; outline: none !important;
    box-shadow: 0 0 0 2px rgba(131,192,69,0.08) !important;
}
.blog-search-input::placeholder { color: #B0B0B0 !important; font-size: 0.7rem !important; }
.blog-search-clear {
    position: absolute; right: 0.4rem; width: 18px; height: 18px; display: flex;
    align-items: center; justify-content: center; color: #9CA3AF;
    border-radius: 50%; transition: all 0.15s ease;
}
.blog-search-clear:hover { color: #1A1A1A; background: #F3F4F6; }

/* Sort */
.blog-sort-select {
    padding: 0.4rem 1.8rem 0.4rem 0.6rem !important; font-size: 0.7rem !important;
    border: 1px solid #E5E7EB !important; border-radius: 0.25rem !important;
    background: #fff !important; color: #1A1A1A !important; font-weight: 600 !important;
    font-family: inherit !important; cursor: pointer !important; -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>") !important;
    background-repeat: no-repeat !important; background-position: right 0.5rem center !important;
    background-size: 10px !important; white-space: nowrap !important;
    height: 34px !important; box-sizing: border-box !important;
}
.blog-sort-select:focus { border-color: #83c045 !important; outline: none !important; }

/* Results count */
.blog-results-count {
    font-size: 0.7rem !important; color: #9CA3AF !important; font-weight: 500 !important;
    margin-bottom: 1.5rem !important;
}

/* Scroll fade-in animation (staggered) */
.fade-in-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.stagger-item { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.stagger-item.visible { opacity: 1; transform: translateY(0); }

/* ── Page loading progress bar ── */
.page-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: #83c045;
    z-index: 9999;
    width: 0;
    transition: none;
    pointer-events: none;
}
.page-progress.loading {
    width: 85%;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.page-progress.done {
    width: 100%;
    transition: width 0.2s ease;
}
.page-progress.fade {
    opacity: 0;
    transition: opacity 0.4s ease 0.1s;
}
.admin-bar .page-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .page-progress { top: 46px; } }

/* ── Navigation shrink on scroll ── */
header.scrolled .h-20 {
    height: 64px !important;
    transition: height 0.3s ease;
}
header .h-20 {
    transition: height 0.3s ease;
}
header.scrolled {
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}

/* ── Stats counter ── */
.stat-counter {
    display: inline-block;
    min-width: 1ch;
}

/* ── Floating WhatsApp button ── */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 40;
    width: 52px;
    height: 52px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #fff;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}
.whatsapp-float svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}
.whatsapp-float .wa-tooltip {
    position: absolute;
    right: 64px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #1A1A1A;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
}

/* ── Blog reading progress bar ── */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #83c045, #6fa339);
    z-index: 99999;
    width: 0%;
    transition: width 0.1s linear;
    pointer-events: none;
}
/* Push below WP admin bar when logged in */
.admin-bar .reading-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .reading-progress { top: 46px; } }

/* ── Cookie consent banner ── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: #1A1A1A;
    color: #D1D5DB;
    padding: 1rem 1.5rem;
    font-size: 0.8rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -2px 16px rgba(0,0,0,0.15);
}
.cookie-banner.visible {
    transform: translateY(0);
}
.cookie-banner a {
    color: #83c045;
    text-decoration: underline;
}
.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}
.cookie-btn-accept {
    background: #83c045;
    color: #fff;
    border: none;
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: inherit;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s;
}
.cookie-btn-accept:hover { background: #6fa339; }
.cookie-btn-decline {
    background: none;
    color: #9CA3AF;
    border: 1px solid #374151;
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 2px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}
.cookie-btn-decline:hover { color: #fff; border-color: #6B7280; }
@media (max-width: 640px) {
    .cookie-banner { flex-direction: column; text-align: center; padding: 1.25rem; }
    .cookie-banner-actions { justify-content: center; }
}

/* Who We Are rich text content */
.who-we-are-content p { margin-bottom: 1.25rem !important; font-size: 1rem !important; line-height: 1.75 !important; color: #4B5563 !important; }
.who-we-are-content p:last-child { margin-bottom: 0 !important; }
.who-we-are-content strong { color: #1A1A1A !important; font-weight: 700 !important; }
.who-we-are-content ul, .who-we-are-content ol { margin: 1rem 0 1.25rem 1.5rem !important; color: #4B5563 !important; }
.who-we-are-content li { margin-bottom: 0.5rem !important; }
.who-we-are-content h3, .who-we-are-content h4 { font-weight: 700 !important; color: #1A1A1A !important; margin: 1.5rem 0 0.75rem !important; }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.jenga-footer {
    background: #fff !important; padding: 4rem 0 0 !important; margin-top: auto;
    border-top: 1px solid #E5E7EB !important;
}
.footer-grid {
    display: grid !important; grid-template-columns: 2fr 1fr 1.5fr !important;
    gap: 3rem !important; padding-bottom: 3rem !important;
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
}

/* Brand */
.footer-logo {
    font-size: 1.25rem !important; font-weight: 800 !important; letter-spacing: -0.03em !important;
    color: #1A1A1A !important; text-decoration: none !important; display: block !important; margin-bottom: 0.75rem !important;
}
.footer-logo span { color: #83c045 !important; }
.footer-tagline {
    font-size: 0.8rem !important; color: #9CA3AF !important;
    line-height: 1.6 !important; max-width: 280px !important; margin-bottom: 1.25rem !important;
}
.footer-social { display: flex; gap: 0.5rem; }
.footer-social-link {
    width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
    background: #F3F4F6; color: #6B7280;
    transition: all 0.2s ease; text-decoration: none !important;
}
.footer-social-link:hover { background: #83c045; color: #fff; }
.footer-wechat-wrap { position: relative; }
.footer-wechat-popup {
    display: none; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    background: #fff; padding: 10px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 1px solid #E5E7EB; text-align: center; z-index: 50; white-space: nowrap;
}
.footer-wechat-popup::after {
    content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    border: 6px solid transparent; border-top-color: #fff;
}
.footer-wechat-wrap:hover .footer-wechat-popup { display: block; }

/* Headings */
.footer-heading {
    font-size: 0.6rem !important; font-weight: 700 !important; text-transform: uppercase !important;
    letter-spacing: 0.15em !important; color: #9CA3AF !important;
    margin-bottom: 1rem !important;
}

/* Links */
.footer-links { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.footer-links li { margin-bottom: 0.5rem !important; }
.footer-links a {
    font-size: 0.8rem !important; color: #6B7280 !important;
    text-decoration: none !important; transition: color 0.2s ease !important;
}
.footer-links a:hover { color: #83c045 !important; }

/* Newsletter */
.footer-newsletter-desc {
    font-size: 0.75rem !important; color: #9CA3AF !important;
    line-height: 1.5 !important; margin-bottom: 0.75rem !important;
}
.footer-newsletter-wrap { display: flex !important; }
.footer-newsletter-input {
    flex: 1 !important; padding: 0.55rem 0.75rem !important; font-size: 0.75rem !important;
    background: #F9FAFB !important; border: 1px solid #E5E7EB !important;
    border-right: none !important; border-radius: 0.25rem 0 0 0.25rem !important;
    color: #1A1A1A !important; font-family: inherit !important; -webkit-appearance: none !important;
}
.footer-newsletter-input:focus {
    outline: none !important; border-color: #83c045 !important;
    background: #fff !important;
}
.footer-newsletter-input::placeholder { color: #D1D5DB !important; }
.footer-newsletter-btn {
    padding: 0.55rem 0.85rem !important; background: #1A1A1A !important; border: none !important;
    border-radius: 0 0.25rem 0.25rem 0 !important; color: #fff !important; cursor: pointer !important;
    transition: background 0.2s ease !important; display: flex; align-items: center;
}
.footer-newsletter-btn:hover { background: #83c045 !important; }

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid #E5E7EB !important;
    padding: 1.5rem 0 !important;
    display: flex !important; justify-content: space-between !important; align-items: center !important;
    flex-wrap: wrap !important; gap: 0.75rem !important;
}
.footer-copyright {
    font-size: 0.7rem !important; color: #9CA3AF !important;
}
.footer-bottom-links {
    display: flex !important; align-items: center !important; gap: 0.75rem !important;
    flex-wrap: wrap !important;
}
.footer-bottom-links a {
    font-size: 0.65rem !important; color: #9CA3AF !important;
    text-decoration: none !important; transition: color 0.2s ease !important;
}
.footer-bottom-links a:hover { color: #83c045 !important; }
.footer-bottom-links span {
    font-size: 0.65rem !important; color: #D1D5DB !important;
}
.footer-dot {
    width: 3px !important; height: 3px !important; border-radius: 50% !important;
    background: #D1D5DB !important; display: inline-block !important;
}

/* ------------------------------------------------------------------ */
/* Form normalization — override WP/Kubio/plugin defaults              */
/* ------------------------------------------------------------------ */

/* Labels: uniform small, bold, uppercase grey */
form label {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #6B7280 !important;
    letter-spacing: 0.025em !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
    text-transform: none !important;
    line-height: 1.25rem !important;
}

/* All inputs / selects / textareas share same base styling */
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="url"],
form input[type="number"],
form input[type="password"],
form input[type="search"],
form select,
form textarea {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
    color: #1A1A1A !important;
    background-color: #FFFFFF !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 0.125rem !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
    font-family: inherit !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Override any Kubio/WP inflated heights */
form input,
form select {
    height: auto !important;
    min-height: 0 !important;
}

/* Focus state */
form input:focus,
form select:focus,
form textarea:focus {
    border-color: #83c045 !important;
    box-shadow: 0 0 0 3px rgba(131, 192, 69, 0.1) !important;
    outline: none !important;
}

/* Custom select arrow */
form select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 12px !important;
    padding-right: 2.5rem !important;
    cursor: pointer !important;
}

form select::-ms-expand { display: none !important; }

/* Placeholder styling */
form input::placeholder,
form textarea::placeholder {
    color: #9CA3AF !important;
    opacity: 1 !important;
}

/* Required asterisk stays red even if browser says otherwise */
form label .text-red-500,
form label [style*="red"] {
    color: #EF4444 !important;
}

/* Textarea */
form textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* Checkbox/radio - keep native appearance but size consistent */
form input[type="checkbox"],
form input[type="radio"] {
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    appearance: auto !important;
    width: 1rem !important;
    height: 1rem !important;
    padding: 0 !important;
    accent-color: #83c045;
}

/* ------------------------------------------------------------------ */
/* Article / Blog Post Content Styling                                 */
/* ------------------------------------------------------------------ */
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: #1A1A1A !important; font-weight: 700 !important; line-height: 1.3 !important;
    margin-top: 2rem !important; margin-bottom: 0.75rem !important;
}
.prose h1 { font-size: 1.75rem !important; }
.prose h2 { font-size: 1.4rem !important; }
.prose h3 { font-size: 1.15rem !important; }
.prose h4 { font-size: 1rem !important; }
.prose p {
    margin-bottom: 1.25rem !important; line-height: 1.8 !important;
    color: #4B5563 !important; font-size: 0.95rem !important;
}
.prose strong, .prose b { color: #1A1A1A !important; font-weight: 700 !important; }
.prose em, .prose i { font-style: italic !important; }
.prose ul, .prose ol {
    margin-bottom: 1.25rem !important; padding-left: 1.5rem !important;
    color: #4B5563 !important; font-size: 0.95rem !important; line-height: 1.8 !important;
}
.prose ul { list-style-type: disc !important; }
.prose ol { list-style-type: decimal !important; }
.prose li { margin-bottom: 0.4rem !important; }
.prose li ul, .prose li ol { margin-top: 0.4rem !important; margin-bottom: 0 !important; }
.prose blockquote {
    border-left: 3px solid #83c045 !important; padding-left: 1.25rem !important;
    margin: 1.5rem 0 !important; font-style: italic !important; color: #6B7280 !important;
}
.prose a { color: #83c045 !important; text-decoration: underline !important; }
.prose a:hover { color: #6fa339 !important; }
.prose img { border-radius: 2px !important; margin: 1.5rem 0 !important; max-width: 100% !important; height: auto !important; }
.prose table {
    width: 100% !important; border-collapse: collapse !important; margin: 1.5rem 0 !important;
    font-size: 0.85rem !important;
}
.prose th, .prose td {
    border: 1px solid #E5E7EB !important; padding: 0.6rem 0.8rem !important; text-align: left !important;
}
.prose th { background: #F9FAFB !important; font-weight: 700 !important; color: #1A1A1A !important; }
.prose hr { border: none !important; border-top: 1px solid #E5E7EB !important; margin: 2rem 0 !important; }
.prose pre, .prose code {
    background: #F3F4F6 !important; border-radius: 4px !important; font-size: 0.85rem !important;
}
.prose pre { padding: 1rem !important; overflow-x: auto !important; margin: 1.5rem 0 !important; }
.prose code { padding: 0.15rem 0.35rem !important; }

/* ------------------------------------------------------------------ */
/* Cost Estimator                                                      */
/* ------------------------------------------------------------------ */
.est-service {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.55rem 0.75rem; border-radius: 4px; transition: all 0.2s ease;
    border: 1px solid transparent;
}
.est-service:hover:not(.est-disabled):not(.est-na):not(.est-included) {
    background: #fff; border-color: #E5E7EB;
}
.est-service label {
    display: flex !important; align-items: center; gap: 0.6rem;
    cursor: pointer; margin: 0 !important; flex: 1;
}
.est-cb {
    width: 16px !important; height: 16px !important; accent-color: #83c045;
    cursor: pointer; flex-shrink: 0;
}
.est-label {
    font-size: 0.8rem !important; color: #333 !important; font-weight: 500 !important;
}
.est-price-tag {
    display: none;
}
.est-included .est-price-tag,
.est-na .est-price-tag {
    display: inline;
}

/* Disabled state — not available */
.est-disabled {
    opacity: 0.4; pointer-events: none;
}
.est-disabled .est-cb { cursor: not-allowed; }

/* Included state — locked, green badge */
.est-included {
    background: rgba(131, 192, 69, 0.06); border-color: rgba(131, 192, 69, 0.15);
}
.est-included .est-label { color: #333 !important; }
.est-included .est-price-tag {
    color: #83c045; font-size: 0.65rem; font-weight: 700;
    background: rgba(131, 192, 69, 0.1); padding: 2px 8px; border-radius: 10px;
}
.est-included .est-cb { cursor: not-allowed; }
.est-included label { cursor: default; }

/* N/A state — not applicable */
.est-na {
    opacity: 0.35; pointer-events: none;
}
.est-na .est-label { text-decoration: line-through; }
.est-na .est-price-tag {
    font-size: 0.6rem; color: #9CA3AF; font-weight: 600;
}

/* Button loading spinner */
.jenga-spinner {
    display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff; border-radius: 50%; vertical-align: middle; margin-right: 4px;
    animation: jenga-spin 0.6s linear infinite;
}
@keyframes jenga-spin { to { transform: rotate(360deg); } }

/* Submit button — keep Tailwind classes in charge (don't force) */
form button[type="submit"] {
    cursor: pointer !important;
    border: none !important;
    font-family: inherit !important;
}

/* ================================================================== */
/* SERVICES OVERVIEW PAGE                                              */
/* ================================================================== */

/* Hero */
.svc-overview-hero {
    position: relative; padding: 8rem 0 6rem; background: #111111; overflow: hidden;
}
.svc-hero-circle {
    position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.06);
}
.svc-hero-circle--top {
    width: 800px; height: 800px; top: 0; right: 0;
    transform: translate(33%, -15%);
}
.svc-hero-circle--bottom {
    width: 600px; height: 600px; bottom: 0; left: 0;
    transform: translate(-25%, 33%);
}
.svc-hero-tag {
    display: block; color: #83c045; font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.3em; margin-bottom: 1.5rem;
}
.svc-hero-title {
    font-size: 2.8rem; font-weight: 800; color: #fff; line-height: 1.15;
    margin-bottom: 1.5rem;
}
.svc-hero-subtitle {
    font-size: 1.1rem; color: #9CA3AF; max-width: 700px; margin: 0 auto;
    font-weight: 300; line-height: 1.7;
}
@media (min-width: 768px) {
    .svc-hero-title { font-size: 3.5rem; }
}

/* Category Cards Grid */
.svc-overview-cards {
    padding: 4rem 0; position: relative; z-index: 20; margin-top: -2rem;
}
.svc-cards-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
@media (max-width: 1023px) {
    .svc-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .svc-cards-grid { grid-template-columns: 1fr; }
}
.svc-card {
    display: flex; flex-direction: column; background: #fff; padding: 1.75rem;
    border-radius: 2px; border: 1px solid #E5E7EB; border-top: 4px solid transparent;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.svc-card:hover {
    transform: translateY(-4px); box-shadow: 0 16px 32px -8px rgba(0,0,0,0.08);
    border-top-color: #83c045;
}
.svc-card-num {
    font-size: 2.2rem; font-weight: 800; color: #F3F4F6; margin-bottom: 0.75rem; line-height: 1;
}
.svc-card-title {
    font-size: 1rem; font-weight: 700; color: #1A1A1A; margin-bottom: 0.5rem;
}
.svc-card-desc {
    font-size: 0.75rem; color: #6B7280; line-height: 1.6; margin-bottom: 1.25rem;
    flex: 1;
}

/* Hover trigger + dropdown */
.svc-card-trigger { position: static; }
.svc-card-link {
    font-size: 0.75rem; font-weight: 700; color: #83c045;
    display: inline-flex; align-items: center; gap: 0.35rem; cursor: pointer;
    position: relative;
}
.svc-card-arrow {
    width: 12px; height: 12px; transition: transform 0.2s ease;
}
.svc-card-trigger:hover .svc-card-arrow { transform: translateX(3px); }

.svc-card-dropdown {
    display: none; position: fixed; background: #fff; border: 1px solid #E5E7EB;
    border-radius: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 0.5rem 0; min-width: 200px; z-index: 9999; white-space: nowrap;
}
.svc-card-dropdown-link {
    display: block; padding: 0.35rem 1rem; font-size: 0.75rem; color: #555;
    text-decoration: none; transition: all 0.15s ease;
}
.svc-card-dropdown-link:hover {
    color: #83c045; background: #F9FAFB;
}

/* ================================================================== */
/* SERVICE DETAIL PAGE (with sidebar)                                  */
/* ================================================================== */

/* Layout: sidebar + main */
.svc-detail-layout {
    display: flex;
}

/* Sidebar */
.svc-sidebar {
    width: 280px; flex-shrink: 0; background: #fff; border-right: 1px solid #E5E7EB;
    display: flex; flex-direction: column; position: sticky; top: 5rem;
    height: calc(100vh - 5rem); z-index: 30; align-self: flex-start;
}
.svc-sidebar-header {
    padding: 1.25rem 1.5rem; border-bottom: 1px solid #F3F4F6; background: #F9FAFB;
}
.svc-sidebar-title {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.15em; color: #6B7280;
}
.svc-sidebar-sub {
    font-size: 0.6rem; color: #9CA3AF; margin-top: 0.2rem;
}
.svc-sidebar-nav {
    flex: 1; overflow-y: auto; padding: 1rem;
}
.svc-sidebar-nav::-webkit-scrollbar { width: 4px; }
.svc-sidebar-nav::-webkit-scrollbar-thumb { background: #E5E7EB; border-radius: 10px; }

/* Sidebar groups */
.svc-sidebar-group { margin-bottom: 0.5rem; }
.svc-sidebar-group-toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 0.5rem 0.6rem; background: none; border: none;
    cursor: pointer; font-size: 0.7rem; font-weight: 700; color: #1A1A1A;
    text-transform: uppercase; letter-spacing: 0.08em; text-align: left;
    border-left: 2px solid #83c045; font-family: inherit;
}
.svc-sidebar-chevron {
    width: 14px; height: 14px; color: #9CA3AF;
    transition: transform 0.2s ease;
}
.svc-sidebar-group--open .svc-sidebar-chevron { transform: rotate(180deg); }

.svc-sidebar-items {
    list-style: none; margin: 0; padding: 0;
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.svc-sidebar-items--open { max-height: 600px; }

.svc-sidebar-link {
    display: block; padding: 0.4rem 0.6rem 0.4rem 1rem;
    font-size: 0.75rem; color: #6B7280; text-decoration: none;
    transition: all 0.15s ease; border-right: 3px solid transparent;
}
.svc-sidebar-link:hover { color: #83c045; background: #FAFAFA; }
.svc-sidebar-link--active {
    color: #83c045 !important; font-weight: 700; background: #F9FAFB;
    border-right-color: #83c045;
}

/* Main content area */
.svc-detail-main {
    flex: 1; overflow-y: auto; background: #fff;
}

/* Module A: Hero */
.svc-detail-hero {
    padding: 5rem 0 3rem; background: #F9FAFB; border-bottom: 1px solid #F3F4F6;
}
.svc-detail-hero-inner { max-width: 1100px; margin: 0 auto; padding: 0 3rem; }
.svc-breadcrumb {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.65rem; font-weight: 700; color: #9CA3AF;
    text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.25rem;
}
.svc-breadcrumb a { color: #9CA3AF; text-decoration: none; }
.svc-breadcrumb a:hover { color: #83c045; }
.svc-breadcrumb-current { color: #83c045; }
.svc-detail-title {
    font-size: 2.5rem; font-weight: 800; color: #1A1A1A;
    line-height: 1.15; margin-bottom: 1rem;
}
.svc-detail-subtitle {
    font-size: 1rem; color: #6B7280; line-height: 1.7; max-width: 800px;
}

/* Module B: Values */
.svc-values-section { padding: 5rem 0; background: #fff; }
.svc-section-inner { max-width: 1100px; margin: 0 auto; padding: 0 3rem; }
.svc-section-header { text-align: center; margin-bottom: 3rem; }
.svc-section-title { font-size: 1.75rem; font-weight: 800; color: #1A1A1A; }
.svc-section-subtitle { margin-top: 0.75rem; color: #6B7280; font-size: 0.85rem; max-width: 700px; margin-left: auto; margin-right: auto; }

.svc-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .svc-values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .svc-values-grid { grid-template-columns: 1fr; } }

.svc-value-card {
    padding: 2rem; border: 1px solid #F3F4F6; border-radius: 2px;
    background: #F9FAFB; transition: all 0.3s ease;
}
.svc-value-card:hover { box-shadow: 0 10px 30px -8px rgba(0,0,0,0.08); }
.svc-value-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(131,192,69,0.1); color: #83c045;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem; transition: transform 0.3s ease;
}
.svc-value-card:hover .svc-value-icon { transform: scale(1.1); }
.svc-value-icon svg { width: 24px; height: 24px; }
.svc-value-title { font-size: 1.05rem; font-weight: 700; color: #1A1A1A; margin-bottom: 0.5rem; }
.svc-value-desc { font-size: 0.8rem; color: #6B7280; line-height: 1.6; }

/* Module C: Scope (dark) */
.svc-scope-section { padding: 5rem 0; background: #1A1A1A; color: #fff; }
.svc-scope-layout { display: flex; gap: 3rem; align-items: flex-start; }
@media (max-width: 900px) { .svc-scope-layout { flex-direction: column; } }
.svc-scope-text { flex: 3; }
.svc-scope-tag {
    display: block; color: #83c045; font-size: 0.6rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1.25rem;
}
.svc-scope-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.svc-scope-body { color: #D1D5DB; line-height: 1.8; font-size: 0.85rem; }
.svc-scope-body p { margin-bottom: 1.25rem; }

/* CTA card */
.svc-scope-cta {
    flex: 2; background: #2A2A2A; padding: 2.5rem; border-top: 4px solid #83c045;
    border-radius: 2px; box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.svc-cta-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; }
.svc-cta-desc { font-size: 0.8rem; color: #9CA3AF; line-height: 1.6; margin-bottom: 1.5rem; }
.svc-cta-input {
    width: 100%; background: #1A1A1A; border: 1px solid #444;
    padding: 0.75rem 1rem; font-size: 0.8rem; border-radius: 2px;
    color: #fff; font-family: inherit; margin-bottom: 0.5rem;
    -webkit-appearance: none;
}
.svc-cta-input:focus { border-color: #83c045; outline: none; }
.svc-cta-input::placeholder { color: #6B7280; }
.svc-cta-btn {
    width: 100%; background: #83c045; color: #fff; border: none;
    padding: 0.75rem; font-size: 0.8rem; font-weight: 700;
    cursor: pointer; border-radius: 2px; font-family: inherit;
    transition: background 0.2s ease;
}
.svc-cta-btn:hover { background: #6fa339; }
.svc-cta-divider {
    text-align: center; font-size: 0.65rem; font-weight: 700;
    color: #6B7280; padding: 0.75rem 0;
}
.svc-cta-whatsapp {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    width: 100%; border: 1px solid #83c045; color: #83c045;
    padding: 0.75rem; font-size: 0.8rem; font-weight: 700;
    text-decoration: none; border-radius: 2px; transition: all 0.2s ease;
}
.svc-cta-whatsapp:hover { background: #83c045; color: #fff; }
.svc-wa-icon { width: 20px; height: 20px; }

/* Module D: Journey */
.svc-journey-section { padding: 5rem 0; background: #F9FAFB; }
.svc-journey-grid {
    display: grid; gap: 1.5rem;
}
.svc-journey-cols-4 { grid-template-columns: repeat(4, 1fr); }
.svc-journey-cols-5 { grid-template-columns: repeat(5, 1fr); }
.svc-journey-cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) {
    .svc-journey-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .svc-journey-grid { grid-template-columns: 1fr; }
}
.svc-journey-step { position: relative; text-align: center; }
.svc-journey-connector {
    display: none; position: absolute; top: 24px; left: 50%; width: 100%;
    height: 2px; background: #E5E7EB;
}
@media (min-width: 769px) { .svc-journey-connector { display: block; } }
.svc-journey-num {
    position: relative; z-index: 2; width: 48px; height: 48px;
    border: 2px solid #83c045; border-radius: 50%; background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem; font-weight: 700; color: #83c045;
    margin: 0 auto 1rem;
}
.svc-journey-label {
    font-size: 0.85rem; font-weight: 700; color: #1A1A1A; text-align: center;
}

/* Module E: FAQ */
.svc-faq-section { padding: 5rem 0; background: #fff; border-top: 1px solid #F3F4F6; }
.svc-faq-list { max-width: 650px; margin: 0 auto; }
.svc-faq-item {
    border: 1px solid #E5E7EB; border-radius: 2px; background: #F9FAFB;
    margin-bottom: 0.75rem;
}
.svc-faq-item[open] { border-color: #83c045; }
.svc-faq-question {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 1.5rem; cursor: pointer; font-weight: 700;
    font-size: 0.9rem; color: #1A1A1A; list-style: none;
}
.svc-faq-question::-webkit-details-marker { display: none; }
.svc-faq-chevron {
    width: 20px; height: 20px; flex-shrink: 0; color: #9CA3AF;
    transition: transform 0.2s ease;
}
.svc-faq-item[open] .svc-faq-chevron { transform: rotate(180deg); }
.svc-faq-answer {
    padding: 0 1.5rem 1.25rem; font-size: 0.8rem; color: #6B7280;
    line-height: 1.7; border-top: 1px solid #E5E7EB; padding-top: 1rem;
}

/* Detail footer */
.svc-detail-footer {
    padding: 2rem 2.5rem; border-top: 1px solid #F3F4F6;
    text-align: center; font-size: 0.7rem; color: #9CA3AF;
}

/* Mobile toggle button */
.svc-mobile-toggle {
    display: none; position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 40;
    background: #1A1A1A; color: #fff; border: none; border-radius: 2rem;
    padding: 0.6rem 1.2rem; font-size: 0.75rem; font-weight: 700;
    font-family: inherit; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    align-items: center; gap: 0.4rem; transition: background 0.2s;
}
.svc-mobile-toggle:hover { background: #83c045; }
.svc-mobile-toggle-icon { width: 16px; height: 16px; }

/* Sidebar close button (mobile only) */
.svc-sidebar-close {
    display: none; background: none; border: none; cursor: pointer;
    color: #9CA3AF; padding: 0.25rem;
}
.svc-sidebar-close:hover { color: #1A1A1A; }

/* Mobile: sidebar as slide-in drawer */
@media (max-width: 1023px) {
    .svc-mobile-toggle { display: flex; }
    .svc-sidebar-close { display: block; }
    .svc-sidebar {
        position: fixed; top: 0; left: 0; width: 300px; height: 100vh;
        transform: translateX(-100%); transition: transform 0.3s ease;
        z-index: 100; box-shadow: none;
    }
    .svc-sidebar--open {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0,0,0,0.15);
    }
    .svc-detail-main { width: 100%; }
    .svc-detail-hero { padding: 3rem 0 2rem; }
    .svc-detail-title { font-size: 1.75rem; }
    .svc-scope-layout { flex-direction: column; }
}

/* ── Focus-visible states for keyboard accessibility ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid #83c045 !important;
    outline-offset: 2px !important;
}
.nav-link:focus-visible,
.blog-filter-btn:focus-visible,
.office-hq-link:focus-visible,
.footer-social a:focus-visible,
.footer-newsletter-btn:focus-visible,
.contact-submit:focus-visible,
.svc-cta-btn:focus-visible,
.svc-sidebar-link:focus-visible {
    outline: 2px solid #83c045 !important;
    outline-offset: 2px !important;
    border-radius: 2px;
}

/* ══════════════════════════════════════════════════
   MOBILE RESPONSIVE FIXES
   ══════════════════════════════════════════════════ */

@media (max-width: 767px) {
    /* Global mobile: ensure images/media fit and nothing overflows */
    img, video, svg, iframe, embed, object {
        max-width: 100%;
        height: auto;
    }

    /* ── Hero sections ── */
    .svc-overview-hero {
        padding: 5rem 0 3rem !important;
    }
    .svc-hero-title {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }
    .svc-hero-subtitle {
        font-size: 0.95rem !important;
    }

    /* ── About hero image ── */
    .grid.lg\:grid-cols-2 > div > img {
        max-height: 250px;
        object-fit: cover;
        border-radius: 8px;
    }

    /* ── Footer grid ── */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* ── Service detail sidebar ── */
    .svc-sidebar {
        width: 280px !important;
        z-index: 60 !important;
        top: 5rem !important;
        height: calc(100vh - 5rem) !important;
    }

    /* ── Cookie banner ── */
    .cookie-banner {
        flex-direction: column !important;
        gap: 0.75rem !important;
        padding: 1rem !important;
    }

    /* ── Fixed floating buttons: stack vertically, avoid overlap ── */
    .back-to-top {
        bottom: 1rem !important;
        left: 1rem !important;
    }
    .whatsapp-float {
        bottom: 1rem !important;
        right: 1rem !important;
    }
    .wa-tooltip {
        right: 52px !important;
        white-space: nowrap;
    }
    .svc-mobile-toggle {
        bottom: 4rem !important;
        left: 1rem !important;
    }

    /* ── Cost estimator ── */
    .est-cb {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
    }

    /* ── Resources carousel arrows ── */
    .carousel-arrow {
        width: 2.5rem !important;
        height: 2.5rem !important;
    }

    /* ── Reduce large gaps on mobile ── */
    .gap-16 {
        gap: 2rem !important;
    }
    .gap-12 {
        gap: 1.5rem !important;
    }
}

/* Small phones (320px) */
@media (max-width: 374px) {
    .svc-hero-title {
        font-size: 1.5rem !important;
    }
    .svc-sidebar {
        width: 260px !important;
    }
}

/* ================================================================== */
/* CAREERS — Landing page (reuses .svc-overview-hero + .svc-cards-grid) */
/* ================================================================== */

/* Hero CTA */
.careers-hero-cta { margin-top: 2.25rem; }
.careers-hero-btn {
    display: inline-block; background: #83c045; color: #fff; font-weight: 700;
    font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase;
    padding: 0.85rem 2rem; border-radius: 3px; text-decoration: none;
    transition: all 0.25s ease;
}
.careers-hero-btn:hover { background: #6fa339; transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(131,192,69,0.6); }

/* Why-join pillars */
.careers-pillars-section { background: #fff; padding: 4rem 0; border-bottom: 1px solid #E5E7EB; }
.careers-pillars-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2.5rem;
}
.careers-pillar { border-left: 3px solid #83c045; padding-left: 1.5rem; }
.careers-pillar-title { font-size: 1.05rem; font-weight: 700; color: #1A1A1A; margin: 0 0 0.5rem; }
.careers-pillar-desc { font-size: 0.9rem; color: #6B7280; line-height: 1.65; margin: 0; }

/* Positions header */
.careers-positions-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.75rem;
}
.careers-positions-title { font-size: 1.9rem; font-weight: 800; color: #1A1A1A; margin: 0; }
.careers-positions-count { font-size: 0.85rem; color: #6B7280; font-weight: 600; }

/* Department filter tabs (reuses .faq-tab visual base) */
.careers-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }

/* Job cards (the card itself reuses .svc-card) */
.careers-card { text-decoration: none; color: inherit; cursor: pointer; }
.careers-card-title { font-size: 1.15rem; margin-bottom: 0.85rem; }
.careers-card-link { margin-top: auto; }
.job-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.job-tag {
    display: inline-flex; align-items: center; background: #F3F4F6; color: #4B5563;
    border: 1px solid #E5E7EB; font-size: 0.7rem; font-weight: 600;
    padding: 0.25rem 0.65rem; border-radius: 999px; white-space: nowrap;
}
.job-tag--loc::before { content: "📍"; margin-right: 0.3rem; font-size: 0.7rem; }
.job-tag--dept { background: rgba(131,192,69,0.12); color: #5a8a26; border-color: rgba(131,192,69,0.3); }

.careers-no-match { text-align: center; color: #6B7280; padding: 2rem 0; font-size: 0.95rem; }

/* Empty state */
.careers-empty { text-align: center; padding: 3rem 1rem; }
.careers-empty-icon { width: 48px; height: 48px; margin: 0 auto 1.25rem; color: #D1D5DB; }
.careers-empty-text { color: #6B7280; max-width: 480px; margin: 0 auto; line-height: 1.7; }

/* Talent / spontaneous banner */
.careers-talent-banner {
    background: linear-gradient(135deg, #F9FAFB 0%, #fff 100%);
    border-top: 1px solid #E5E7EB; padding: 4.5rem 0;
}
.careers-talent-title { font-size: 1.6rem; font-weight: 800; color: #1A1A1A; margin: 0 0 0.75rem; }
.careers-talent-desc { color: #6B7280; max-width: 540px; margin: 0 auto 2rem; line-height: 1.7; }
.careers-talent-btn {
    display: inline-block; background: transparent; color: #1A1A1A; border: 1px solid #1A1A1A;
    font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase;
    padding: 0.85rem 2rem; border-radius: 3px; cursor: pointer; transition: all 0.25s ease;
}
.careers-talent-btn:hover { background: #1A1A1A; color: #fff; }
.careers-spontaneous-form {
    max-width: 520px; margin: 2.5rem auto 0; text-align: left;
    background: #fff; border: 1px solid #E5E7EB; border-radius: 8px;
    padding: 2rem; box-shadow: 0 12px 32px -12px rgba(0,0,0,0.1);
}

/* Equal-opportunity statement — small, muted footnote at page bottom */
.careers-eeo { background: #fff; padding: 1.5rem 0 2.5rem; border-top: 1px solid #F3F4F6; }
.careers-eeo p { font-size: 0.72rem; color: #9CA3AF; line-height: 1.6; text-align: center; max-width: 46rem; margin: 0 auto; }

/* ================================================================== */
/* CAREERS — Job detail page                                          */
/* ================================================================== */
.job-back-nav { border-bottom: 1px solid #E5E7EB; padding: 1.25rem 0; background: #fff; }
.job-back-link {
    display: inline-flex; align-items: center; color: #6B7280; text-decoration: none;
    font-size: 0.9rem; font-weight: 600; transition: color 0.2s;
}
.job-back-link:hover { color: #83c045; }

.job-header {
    padding: 3.5rem 0 2.75rem; border-bottom: 1px solid #E5E7EB;
    background: linear-gradient(180deg, #F9FAFB 0%, #fff 100%);
}
.job-header-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.job-header-title { font-size: 2.25rem; font-weight: 800; color: #1A1A1A; line-height: 1.15; margin: 0 0 1rem; letter-spacing: -0.01em; }
.job-header-summary { font-size: 1.15rem; color: #6B7280; max-width: 42rem; line-height: 1.6; margin: 0; }
@media (min-width: 768px) { .job-header-title { font-size: 2.75rem; } }

.job-detail-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .job-detail-grid { grid-template-columns: 2fr 1fr; } }

/* JD body (block-editor content) */
.job-content { color: #4B5563; line-height: 1.75; }
.job-content h2 {
    font-size: 1.4rem; font-weight: 700; color: #1A1A1A; margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem; border-bottom: 1px solid #E5E7EB;
}
.job-content h2:first-child { margin-top: 0; }
.job-content h3 { font-size: 1.1rem; font-weight: 700; color: #1A1A1A; margin: 1.75rem 0 0.75rem; }
.job-content p { margin: 0 0 1.25rem; }
.job-content ul { list-style: disc; padding-left: 1.5rem; margin: 0 0 1.5rem; }
.job-content ol { list-style: decimal; padding-left: 1.5rem; margin: 0 0 1.5rem; }
.job-content li { margin-bottom: 0.6rem; }
.job-content strong { color: #1A1A1A; font-weight: 700; }
.job-content a { color: #83c045; text-decoration: underline; }

/* Apply panel */
.job-apply-col { position: relative; }
.job-apply-panel {
    position: sticky; top: 2rem; background: #fff; border: 1px solid #E5E7EB;
    border-radius: 8px; padding: 1.75rem; box-shadow: 0 8px 24px -12px rgba(0,0,0,0.08);
}
.job-apply-heading { font-size: 1.15rem; font-weight: 700; color: #1A1A1A; margin: 0 0 1.25rem; }
.job-apply-external-text { font-size: 0.9rem; color: #6B7280; line-height: 1.6; margin: 0 0 1.25rem; }
.job-apply-external-btn { text-decoration: none; }

/* ================================================================== */
/* APPLICATION FORM (shared partial)                                  */
/* ================================================================== */
.jenga-apply-form { display: block; }
.jenga-apply-field { margin-bottom: 1.1rem; }
.jenga-apply-field label {
    display: block; font-size: 0.85rem; font-weight: 600; color: #374151; margin-bottom: 0.4rem;
}
.jenga-apply-field .req { color: #dc2626; }
.jenga-apply-hint { color: #9CA3AF; font-weight: 400; }
.jenga-apply-field input[type=text],
.jenga-apply-field input[type=email],
.jenga-apply-field input[type=url] {
    width: 100%; background: #F9FAFB; border: 1px solid #D1D5DB; color: #1A1A1A;
    border-radius: 6px; padding: 0.7rem 0.9rem; font-size: 0.95rem; transition: all 0.2s;
    box-sizing: border-box;
}
.jenga-apply-field input:focus {
    outline: none; border-color: #83c045; background: #fff;
    box-shadow: 0 0 0 3px rgba(131,192,69,0.15);
}
/* File upload */
.jenga-apply-file {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    border: 1px dashed #D1D5DB; border-radius: 6px; padding: 0.7rem 0.9rem;
    background: #F9FAFB; cursor: pointer; transition: all 0.2s;
}
.jenga-apply-file:hover { border-color: #83c045; background: #fff; }
.jenga-apply-file input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.jenga-apply-file-label { font-size: 0.9rem; color: #6B7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jenga-apply-file-btn {
    flex-shrink: 0; font-size: 0.75rem; font-weight: 700; color: #83c045;
    border: 1px solid #83c045; border-radius: 4px; padding: 0.25rem 0.7rem;
}
.jenga-apply-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 100%;
    background: #83c045; color: #fff; border: none; font-weight: 700; font-size: 0.9rem;
    letter-spacing: 0.02em; padding: 0.85rem 1.5rem; border-radius: 4px; cursor: pointer;
    transition: all 0.25s ease; margin-top: 0.5rem;
}
.jenga-apply-btn:hover { background: #6fa339; }
.jenga-apply-btn:disabled { opacity: 0.7; cursor: default; }
.jenga-apply-note { font-size: 0.72rem; color: #9CA3AF; text-align: center; margin: 0.9rem 0 0; line-height: 1.5; }
.jenga-apply-note a { color: #83c045; }
.jenga-apply-status { font-size: 0.85rem; border-radius: 6px; line-height: 1.5; }
.jenga-apply-status.is-success { background: rgba(131,192,69,0.12); color: #4d7a1c; padding: 0.7rem 0.9rem; margin-bottom: 1rem; }
.jenga-apply-status.is-error { background: #FEF2F2; color: #b91c1c; padding: 0.7rem 0.9rem; margin-bottom: 1rem; }
/* Required-field legend + PDPA consent checkbox */
.jenga-apply-legend { font-size: 0.72rem; color: #9CA3AF; margin: 0 0 1rem; }
.jenga-apply-legend .req { color: #dc2626; }
.jenga-apply-consent { margin-top: 0.25rem; }
/* Scoped with .jenga-apply-consent to outrank the generic ".jenga-apply-field label { display:block }" rule */
.jenga-apply-consent .jenga-apply-check { display: flex !important; align-items: flex-start; gap: 0.55rem; cursor: pointer; font-size: 0.8rem; color: #4B5563; line-height: 1.55; font-weight: 400; margin: 0; }
.jenga-apply-consent .jenga-apply-check input[type=checkbox] { flex: 0 0 16px; width: 16px; height: 16px; margin: 0.2rem 0 0; accent-color: #83c045; }
.jenga-apply-consent .jenga-apply-check > span { flex: 1 1 auto; min-width: 0; } /* all the wording stays in its own column beside the box */
.jenga-apply-consent .jenga-apply-check a { color: #83c045; text-decoration: underline; }
