/* Shared responsive layout. Loaded after the original page styles. */
:root { --mobile-header-height: 78px; }
html { scroll-padding-top: 100px; }
body :is(main, .container, article, form, fieldset) { min-width: 0; }
:is(.container, .footer-inner, .header-inner) > * { min-width: 0; }
:is(h1, h2, h3, h4, p, li, label, a, button) { overflow-wrap: break-word; }
:is(input, select, textarea) { max-width: 100%; min-width: 0; }
:is(button, input, select, textarea) { font-family: inherit; }
:is(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid var(--amber-dark);
    outline-offset: 4px;
}
.breadcrumb { flex-wrap: wrap; }
.breadcrumb > * { min-width: 0; }
.responsive-grid > * { min-width: 0; }
.rich-body-content, .impact-article-body { overflow-wrap: anywhere; }
:is(.rich-body-content, .impact-article-body) :is(img, video) { max-width: 100%; height: auto; }
:is(.rich-body-content, .impact-article-body) pre { max-width: 100%; overflow: auto; }
.content-table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.popup-close-btn, .popup-lang-wrap { display: none; }
.search-bar:not(.open) { visibility: hidden; }

@media (max-width: 1024px) {
    :is(.services-grid-6, .leadership-grid, .training-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .services-intro { grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
    .service-profile-layout { grid-template-columns: minmax(0,1fr); }
    .service-profile-aside { position: static; }
    .responsive-grid { grid-template-columns: minmax(0, 1fr) !important; }
    .quote-layout-grid > *, .quote-row-2col > *, .quote-row-3col > * { min-width: 0; }
    .stats-layout { grid-template-columns: minmax(0, 1fr); }
    .stats-featured-box { min-height: 230px; flex-direction: row; }
    .stats-featured-box .featured-separator { width: 1px; height: 64px; }
}

@media (max-width: 860px) {
    :root { --site-header-height: var(--mobile-header-height); }
    html { scroll-padding-top: 88px; }
    .container { width: 100%; padding-inline: 24px; }
    .site-header, [dir="ltr"] .site-header,
    .site-header.scrolled, [dir="ltr"] .site-header.scrolled {
        background: radial-gradient(ellipse 220px 135px at 50% 50%, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.7) 48%, rgba(255, 255, 255, 0) 100%), linear-gradient(135deg, #245738 0%, var(--green-dark) 100%) !important;
    }
    .header-inner, .site-header.scrolled .header-inner { height: var(--mobile-header-height); padding-inline: 16px; }
    .site-logo-img, .site-header.scrolled .site-logo-img { height: 56px; max-height: 56px; }
    .header-logo { max-width: calc(100% - 136px); }
    .hamburger, .btn-search { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
    .hero-slider, .page-hero { margin-top: var(--site-header-height); }
    body.navbar-static :is(.hero-slider, .page-hero) { margin-top: 0; }
    .header-nav { width: min(420px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 64px 16px 20px; overscroll-behavior: contain; }
    .header-nav .nav-list { flex: 0 0 auto; }
    .header-nav .nav-item { flex-shrink: 0; }
    .header-nav .dropdown { min-width: 0; width: auto; }
    .header-nav .dropdown a { overflow-wrap: anywhere; min-height: 44px; }
    .header-nav .popup-close-btn { display: flex !important; width: 44px; height: 44px; top: 10px; }
    .trust-bar-label { white-space: normal; max-width: 100%; line-height: 1.7; }
    .trust-bar-label i { flex-shrink: 0; }
    .trust-bar-inner { display:grid;gap:12px; }
    .trust-bar-logos { width:100vw;margin-inline:calc(50% - 50vw); }
    .trust-logo-card { width:132px;height:66px;padding:7px 10px;border-radius:15px; }
    .trust-logo-card img { width:120%;max-width:none;height:54px;transform:scale(1.24); }
    .trust-logo-track { animation-duration:22s; }
    .hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .search-bar.open { max-height: calc(100dvh - var(--mobile-header-height)); overflow-y: auto; }
    .search-bar .container { gap: 8px; }
    .search-input { width: 0; min-width: 0; flex: 1; font-size: 16px; }
    .search-close { flex-shrink: 0; min-width: 44px; min-height: 44px; }
    .search-result-item { flex-wrap: wrap; }
    .search-res-title { min-width: 0; overflow-wrap: anywhere; }

    /* Grid overlap lets every slide contribute to height, including long translations. */
    .hero-slider, .managed-hero.hero-slider, .managed-hero.page-hero { height: auto; min-height: 0; max-height: none; }
    .hero-slider .slides-container, .managed-hero .slides-container { display: grid; height: auto; }
    .hero-slider .slide, .managed-hero .slide { position: relative; inset: auto; grid-area: 1 / 1; min-width: 0; min-height: 460px; }
    .managed-hero.hero-slider .slide { min-height: min(var(--hero-mobile-height, 460px), calc(100svh - var(--mobile-header-height))); }
    .managed-hero.page-hero .slide { min-height: min(var(--hero-mobile-height, 280px), calc(100svh - var(--mobile-header-height))); }
    html[dir] .slide-content, html[dir] .managed-hero .slide-content {
        width: 100%; max-width: 100%; padding: 44px 24px 64px; max-height: none; overflow: visible;
    }
    .page-hero:not(.managed-hero) { height: auto !important; min-height: 280px; padding: 40px 0; }
    .page-hero-content { width: 100%; padding-inline: 24px; }
    .slide-title, .page-hero-content h1, .managed-hero.page-hero .slide-title {
        font-size: clamp(28px, 4.5vw, 38px); line-height: 1.4; letter-spacing: 0;
    }
    .slide-desc { font-size: 16px; line-height: 1.8; }
    .slide-badge { white-space: normal; max-width: 100%; font-size: 12px; }
    .hero-btn-group { flex-wrap: wrap; gap: 12px; }
    .hero-btn-group .btn-hero { margin-top: 0; }
    .slider-dots { bottom: 12px; gap: 4px; }
    .slider-dots .dot { width: 32px; height: 32px; padding: 13px 4px; background-clip: content-box; border-radius: 0; }
    .slider-dots .dot.active { width: 44px; }

    .section-title { font-size: clamp(26px, 4vw, 34px); line-height: 1.4; }
    .section-desc { font-size: 16px; line-height: 1.85; }
    :is(.about-overview-grid, .overview-grid, .contact-grid, .careers-intro-grid) { gap: 28px; }
    :is(.services-grid, .services-detail-grid, .team-grid, .vision-cards, .impact-pillars-grid) > * { min-width: 0; }
    .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
    .footer-bottom-inner { flex-wrap: wrap; gap: 16px; }
    .footer-address, .contact-detail-item, .quote-sidebar-contacts a { overflow-wrap: anywhere; min-width: 0; }
    .quote-sidebar-contacts a i, .contact-detail-item i { flex-shrink: 0; }
}

@media (max-width: 768px) {
    body { padding-bottom: 0; }
    body:has(.floating-contact-bar) { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
    html[dir] .floating-contact-bar {
        left: 50%; right: auto; bottom: calc(8px + env(safe-area-inset-bottom, 0px));
        transform: translateX(-50%); border-radius: 36px; max-width: calc(100% - 24px);
        background: rgba(255, 255, 255, .78);
        -webkit-backdrop-filter: blur(22px) saturate(165%);
        backdrop-filter: blur(22px) saturate(165%);
        border: 1px solid rgba(255, 255, 255, .92); padding: 5px 8px; gap: 2px;
        box-shadow: 0 12px 38px rgba(15, 39, 27, .18), 0 2px 8px rgba(15, 39, 27, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
    }
    .float-btn { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; }
    .float-btn:active { transform: scale(.92); }
    .float-btn + .float-btn::before { background: rgba(15, 39, 27, .12); }
    .chat-pulse { border-color: rgba(255, 255, 255, .95); }
    .scroll-top { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; inset-inline-end: 12px; inset-inline-start: auto; }
    .site-toast { width: max-content; max-width: calc(100vw - 32px); bottom: calc(88px + env(safe-area-inset-bottom, 0px)); white-space: normal; }
    body:has(input:focus, textarea:focus, select:focus) .floating-contact-bar { visibility: hidden; pointer-events: none; }
}

@media (max-width: 600px) {
    :root { --mobile-header-height: 72px; }
    .about-stats-grid { grid-template-columns: minmax(0, 1fr) !important; }
    .container, .services-section .container { padding-inline: 16px; }
    .header-inner, .site-header.scrolled .header-inner { padding-inline: 12px; }
    .site-logo-img, .site-header.scrolled .site-logo-img { height: 50px; max-height: 50px; }
    #main-content > section:not(.hero-slider):not(.page-hero):not(.trust-bar):not(.quote-ribbon-section),
    :is(.about-overview, .leadership-section, .vision-section, .training-section, .contact-section, .careers-intro, .careers-jobs, .impact-pillars-section) { padding-block: 44px !important; }
    /* Mobile type hierarchy: clear steps between page, section, card and body copy. */
    body { font-size: 16px; line-height: 1.8; }
    .section-header { margin-bottom: 28px; }
    .section-title { font-size: clamp(25px, 7vw, 30px); line-height: 1.35; font-weight: 850; letter-spacing: -.015em; margin-bottom: 12px; }
    .section-desc { max-width: 38rem; font-size: 15.5px; line-height: 1.85; color: var(--text-mid); }
    :is(.section-badge, .team-badge-sub, .slide-badge) { font-size: 12px; line-height: 1.4; font-weight: 800; letter-spacing: .02em; }
    :is(.about-text, .custom-page-content, .impact-article-body, .service-detail-desc, .training-desc, .vision-card, .impact-pillar-card, .job-card) p { font-size: 15.5px; line-height: 1.85; }
    html[dir] .slide-content, html[dir] .managed-hero .slide-content { padding: 36px 16px 60px; }
    .hero-slider .slide, .managed-hero .slide { min-height: 420px; }
    .managed-hero.page-hero .slide { min-height: min(var(--hero-mobile-height, 260px), calc(100svh - var(--mobile-header-height))); }
    .page-hero:not(.managed-hero) { min-height: 260px; padding-block: 32px; }
    .page-hero-content { padding-inline: 16px; }
    .slide-title, .page-hero-content h1, .managed-hero.page-hero .slide-title { font-size: clamp(29px, 8.2vw, 37px); line-height: 1.25; font-weight: 900; letter-spacing: -.02em; margin-bottom: 14px; text-wrap: balance; }
    .slide-desc { max-width: 34rem; font-size: 15.5px; line-height: 1.75; opacity: .92; }
    .hero-btn-group { margin-top: 24px; }
    :is(.btn-primary, .btn-amber, .btn-hero, .btn-outline-white, .btn-hero-primary, .btn-hero-secondary) {
        min-height: 48px; max-width: 100%; padding: 11px 18px; font-size: 15px; line-height: 1.6; white-space: normal; justify-content: center;
    }
    :is(.services-grid, .services-grid-6, .services-detail-grid, .vision-cards, .training-grid, .leadership-grid, .impact-pillars-grid, .team-grid) { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .services-section { padding-block: 58px !important; }
    .services-intro { margin-bottom: 32px; }
    .services-eyebrow { font-size: 11px; margin-bottom: 10px; }
    .services-intro .section-desc { font-size: 15px; line-height: 1.8; }
    .services-category { margin-bottom: 42px; }
    .services-category-title { margin-bottom: 18px; line-height: 1.6; }
    .service-card, .service-card-sm { min-height: 0; }
    .service-media { height: 190px; }
    .service-card-content, html[dir="ltr"] .service-card-content { padding: 22px 48px 24px 20px; }
    html[dir="ltr"] .service-card-content { padding-inline: 48px 20px; }
    .service-title, .service-card-sm .service-title { font-size: 18px; }
    .service-desc { -webkit-line-clamp: 4; }
    .services-cta { margin-top: 34px; }
    .btn-services-all { width: 100%; }
    .service-profile-layout { padding-top: 44px; padding-bottom: 56px; gap: 28px; }
    .service-profile-heading { align-items: flex-start; gap: 14px; }
    .service-profile-icon { width: 52px; height: 52px; border-radius: 15px; font-size: 20px; }
    .service-profile-heading h1 { font-size: 27px; }
    .service-profile-lead { padding: 18px; font-size: 15px; }
    .service-profile-image { aspect-ratio: 4/3; border-radius: 16px; margin-bottom: 24px; }
    .service-profile-content { padding: 22px 18px; border-radius: 16px; font-size: 15px; }
    .service-quote-card { padding: 24px 20px; }
    .related-services { padding-block: 52px; }
    :is(.stats-grid, .stats-grid-2, .sus-stats-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .stat-number { font-size: 30px; }
    .stat-label { font-size: 13px; line-height: 1.6; }
    .stat-box { padding: 20px 12px; }
    .stats-grid-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .stats-section { padding-block: 64px !important; }
    .stats-section::before { width: 260px; height: 260px; inset-inline-end: -120px; top: -80px; }
    .stats-header { margin-bottom: 32px; text-align: start; }
    .stats-kicker { margin-bottom: 12px; }
    .stats-title { font-size: clamp(29px,8vw,35px); line-height: 1.3; }
    .stats-subtitle { margin-inline: 0; font-size: 15px; }
    .stats-layout { gap: 16px; }
    .stats-featured-box { min-height: 0; padding: 28px 20px; border-radius: 22px; flex-direction: column; gap: 16px; }
    .stats-featured-box .featured-separator { width: 64px; height: 1px; }
    .featured-year { font-size: 38px; }
    .featured-big-num { font-size: 64px; }
    .featured-bottom-label { font-size: 14px; }
    .stats-grid-container { grid-template-columns: minmax(0,1fr); }
    .stat-box,.stat-box:nth-child(4),.stat-box:nth-child(5) { grid-column: auto; min-height: 132px; padding: 20px; border-radius: 18px; }
    .about-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
    .about-stats-grid .about-stat-card,
    .about-stats-grid .about-stat-card:nth-child(4),
    .about-stats-grid .about-stat-card:nth-child(5) {
        grid-column: auto !important;
        min-height: 150px;
        padding: 22px 14px;
        border-radius: 14px;
    }
    .about-stat-icon {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
    .about-stat-card .stat-box-num { font-size: 30px; }
    .about-stat-card .stat-box-label { font-size: 12.5px; }
    .stat-box-top { flex-direction: row !important; }
    html[dir="rtl"] .stat-box-top { flex-direction: row-reverse !important; }
    .stat-box-top { flex-direction: column; align-items: flex-start; gap: 10px; }
    .stat-box-num { font-size: 24px; overflow-wrap: anywhere; }
    .stat-box-label { font-size: 13px; }
    .stats-title { font-size: 28px; line-height: 1.5; }
    .stats-subtitle { font-size: 15px; }
    .sus-stat-num { font-size: 32px; }
    .sus-stat-label { font-size: 13px; }
    .service-detail-body, .vision-card, .training-card, .impact-pillar-card { padding: 24px 20px; }
    :is(.service-detail-title, .job-title, .training-title, .leader-name) { font-size: 20px; line-height: 1.45; font-weight: 850; letter-spacing: -.01em; }
    :is(.service-detail-desc, .training-desc, .vision-card p, .impact-pillar-card p) { font-size: 15px; line-height: 1.8; }
    .about-img-frame img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
    .timeline-year, html[dir="ltr"] .timeline-year { text-align: start; }
    .people-pillars { gap: 20px; padding: 24px 16px; }
    .pillar { min-width: 0; width: 100%; }
    :is(.services-tabs, .careers-filters, .team-filters) { flex-wrap: wrap; gap: 8px; }
    :is(.tab-btn, .filter-btn, .team-filter-btn) { min-height: 44px; max-width: 100%; white-space: normal; padding: 10px 14px; font-size: 14px; }
    .job-card { align-items: stretch; gap: 16px; padding: 22px 18px; }
    .job-meta { flex-wrap: wrap; row-gap: 8px; }
    .job-apply-btn { width: 100%; min-height: 48px; }
    :is(.form-group input:not([type=checkbox]):not([type=radio]), .form-group select, .form-group textarea, .form-control) { font-size: 16px; min-height: 48px; }
    .form-group label { font-size: 14px; line-height: 1.6; margin-bottom: 8px; }
    .form-row, .career-modal-row { grid-template-columns: minmax(0, 1fr) !important; }
    .quote-form-title { font-size: 23px; line-height: 1.5; }
    .quote-form-desc { font-size: 15px; line-height: 1.8; }
    .quote-section-title { font-size: 17px; line-height: 1.6; align-items: flex-start; }
    .quote-service-checkbox { min-height: 52px; align-items: flex-start; }
    .quote-service-checkbox input { margin-top: 4px; }
    .quote-submit-btn { white-space: normal; font-size: 16px; line-height: 1.6; }
    .quote-ribbon-section { padding-block: 20px; }
    .quote-ribbon-container { align-items: stretch; gap: 14px; text-align: start; }
    .quote-ribbon-item { justify-content: flex-start; }
    .legal-card { padding: 24px 18px !important; }
    .legal-card h2 { font-size: 21px !important; line-height: 1.6 !important; }
    .article-heading { align-items: flex-start !important; gap: 14px !important; }
    .article-heading h2 { font-size: 25px !important; }
    .article-heading > div:first-child { width: 44px !important; height: 44px !important; font-size: 23px !important; }
    .faq-accordion-item > button { padding: 18px 16px !important; font-size: 16px !important; line-height: 1.7; }
    .faq-content { padding-inline: 16px !important; }
    .faq-cta { padding: 26px 18px !important; }
    .faq-cta a { width: 100%; }
    .custom-page-content, .impact-article-body { font-size: 16px !important; line-height: 1.9 !important; }
    .custom-page-content h2, .impact-article-body h2 { font-size: 24px; }
    .site-footer { text-align: center; }
    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding-block: 38px 26px;
    }
    .footer-col {
        width: 100%;
        padding: 0 0 24px;
        margin: 0 0 24px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .footer-col:last-child { margin-bottom: 0; border-bottom: 0; }
    .footer-logo { display: flex; justify-content: center; }
    .footer-logo-img { max-height: 58px; max-width: min(240px, 82vw); object-fit: contain; }
    .footer-brand-desc { max-width: 34rem; margin: 16px auto 8px; font-size: 14px; line-height: 1.85; }
    .footer-brand-slogan { font-size: 13px; line-height: 1.7; }
    .footer-heading {
        display: inline-block;
        margin-bottom: 12px;
        padding-bottom: 10px;
        font-size: 18px;
        line-height: 1.45;
        font-weight: 850;
    }
    .footer-heading::after {
        right: 50%;
        transform: translateX(50%);
    }
    .footer-links {
        display: grid;
        gap: 4px;
        justify-items: center;
    }
    .footer-links li { margin: 0; width: 100%; }
    .footer-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        max-width: 100%;
        padding: 4px 8px;
        text-align: center;
        line-height: 1.55;
    }
    .footer-address { display: grid; gap: 8px; }
    .footer-address p {
        justify-content: center;
        align-items: flex-start;
        margin-bottom: 0;
        text-align: center;
        overflow-wrap: anywhere;
    }
    .footer-address p i { margin-top: 5px; }
    .footer-newsletter {
        max-width: 360px;
        margin: 20px auto 0 !important;
        padding-top: 18px !important;
    }
    #footer-newsletter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 10px !important;
    }
    #nl-email { width: 0; flex: 1; min-width: 0; min-height: 48px; font-size: 16px !important; }
    #footer-newsletter-form #nl-email { width: 100% !important; flex: none !important; text-align: center; }
    #nl-btn { width: 100%; min-height: 48px; flex-shrink: 0; justify-content: center; }
    .footer-social { margin-top: 20px !important; }
    .social-icons { justify-content: center; }
    .footer-bottom { padding: 16px; }
    .footer-bottom .container {
        flex-direction: column;
        justify-content: center !important;
        text-align: center;
        gap: 12px !important;
    }
    .footer-legal-links { flex-wrap: wrap; justify-content: center; gap: 8px 12px !important; }
    .footer-legal-links a { min-height: 44px; display: inline-flex; align-items: center; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .prefooter-actions { gap: 12px; }
    .prefooter-cta h2 { font-size: 27px; line-height: 1.5; }
    .prefooter-desc { font-size: 15px; }
    .career-modal { padding: 12px !important; }
    .career-modal > div { max-height: calc(100dvh - 24px); overflow-y: auto !important; overscroll-behavior: contain; }
    .career-modal > div > div:first-child { padding: 18px 16px !important; gap: 12px; }
    .career-modal button[onclick="closeApplyModal()"] { width: 44px !important; height: 44px !important; flex-shrink: 0; }
    #applyJobForm { padding: 20px 16px !important; }
    .apply-modal { padding: 12px; }
    .apply-modal-inner { max-height: calc(100dvh - 24px); padding: 64px 20px 24px; }
    .apply-modal-close { width: 44px; height: 44px; top: 10px; }
}

/* Mobile timeline hardening: one stable layout for Arabic and English. */
@media (max-width: 768px) {
    .timeline-section .timeline {
        padding-inline: 0 !important;
        overflow: visible !important;
    }

    .timeline-section .timeline::before,
    html[dir="rtl"] .timeline-section .timeline::before,
    html[dir="ltr"] .timeline-section .timeline::before {
        display: none !important;
        left: 48px !important;
        right: auto !important;
        width: 2px !important;
        transform: none !important;
    }

    .timeline-section .timeline-item,
    .timeline-section .timeline-item:nth-child(odd),
    .timeline-section .timeline-item:nth-child(even),
    html[dir="rtl"] .timeline-section .timeline-item,
    html[dir="ltr"] .timeline-section .timeline-item {
        display: grid !important;
        grid-template-columns: 112px minmax(0, 1fr) !important;
        column-gap: 8px !important;
        align-items: start !important;
        margin-bottom: 26px !important;
        padding: 0 !important;
        text-align: inherit !important;
    }

    .timeline-section .timeline-year,
    .timeline-section .timeline-item:nth-child(even) .timeline-year,
    html[dir="rtl"] .timeline-section .timeline-year,
    html[dir="ltr"] .timeline-section .timeline-year {
        grid-column: 1 !important;
        grid-row: 1 !important;
        position: relative !important;
        align-self: start !important;
        min-width: 0 !important;
        padding: 0 !important;
    }

    .timeline-section .timeline-year::after,
    html[dir="rtl"] .timeline-section .timeline-year::after,
    html[dir="ltr"] .timeline-section .timeline-year::after {
        left: 48px !important;
        right: auto !important;
        top: 24px !important;
        width: 15px !important;
        height: 15px !important;
        transform: translate(-50%, -50%) !important;
    }

    .timeline-section .timeline-year span,
    .timeline-section .timeline-item:nth-child(odd) .timeline-year span,
    .timeline-section .timeline-item:nth-child(even) .timeline-year span,
    html[dir="rtl"] .timeline-section .timeline-year span,
    html[dir="ltr"] .timeline-section .timeline-year span {
        position: absolute !important;
        top: 12px !important;
        left: 66px !important;
        right: auto !important;
        inset-inline-start: auto !important;
        inset-inline-end: auto !important;
        transform: none !important;
        min-width: 54px !important;
        max-width: 58px !important;
        padding: 6px 8px !important;
        border-radius: 999px !important;
        direction: ltr !important;
        unicode-bidi: isolate !important;
        text-align: center !important;
        white-space: nowrap !important;
        line-height: 1 !important;
    }

    .timeline-section .timeline-content,
    .timeline-section .timeline-item:nth-child(odd) .timeline-content,
    .timeline-section .timeline-item:nth-child(even) .timeline-content,
    html[dir="rtl"] .timeline-section .timeline-content,
    html[dir="ltr"] .timeline-section .timeline-content {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }
}

@media (max-width: 380px) {
    .slide-title, .page-hero-content h1, .managed-hero.page-hero .slide-title { font-size: 28px; }
    .section-title { font-size: 25px; }
    html[dir] .floating-contact-bar { max-width: calc(100% - 16px); padding-inline: 6px; }
    .float-btn { width: 46px; height: 46px; font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .trust-logo-track {
        -webkit-animation: trustLogosMarquee 24s linear infinite !important;
        animation: trustLogosMarquee 24s linear infinite !important;
    }
    .slide.active :is(.slide-badge, .slide-title, .slide-desc, .hero-btn-group) {
        animation-name: heroTextRise !important;
        animation-duration: .55s !important;
        animation-timing-function: ease-out !important;
        animation-fill-mode: both !important;
    }
    .slide.active .slide-badge { animation-delay: .03s !important; }
    .slide.active .slide-title { animation-delay: .10s !important; }
    .slide.active .slide-desc { animation-delay: .18s !important; }
    .slide.active .hero-btn-group { animation-delay: .26s !important; }
}

@media (max-width: 700px) {
  .newsletter-popup { padding: 14px; }
  .newsletter-popup-card { grid-template-columns: 1fr; max-height: calc(100dvh - 28px); border-radius: 27px; }
  .newsletter-popup-visual { min-height: 170px; padding: 30px 26px 24px; border-radius: 25px 25px 0 0 !important; }
  .newsletter-popup-icon { width:52px;height:52px;margin-bottom:15px;border-radius:17px;font-size:21px; }
  .newsletter-popup-logo { top:18px;inset-inline-start:20px;width:145px;min-height:50px;padding:8px 12px;border-radius:15px; }
  .newsletter-popup-logo img { height:32px; }
  .newsletter-popup-kicker { margin-bottom:5px;font-size:11px; }
  .newsletter-popup-visual strong { font-size:18px;line-height:1.5;max-width:260px; }
  .newsletter-popup-content { padding:28px 23px 24px; }
  .newsletter-popup-content h2 { margin:9px 0 7px;font-size:25px; }
  .newsletter-popup-content > p { margin-bottom:18px;font-size:13.5px;line-height:1.75; }
  .newsletter-popup-field input,.newsletter-popup-submit { height:51px;border-radius:15px; }
  .newsletter-popup-close { top:13px;right:13px;left:auto;width:38px;height:38px; }
  [dir="rtl"] .newsletter-popup-close { right:auto;left:13px; }
}

@media (prefers-reduced-motion: reduce) {
  .newsletter-popup,.newsletter-popup-card { transition:none; }
}

@media (max-width: 700px) {
  .newsletter-popup { padding: 14px !important; }
  .newsletter-popup-card { display: block !important; width: min(430px, 100%) !important; max-height: calc(100dvh - 28px) !important; border-radius: 18px !important; }
  .newsletter-popup-visual { display: none !important; }
  .newsletter-popup-content { padding: 32px 22px 24px !important; }
  .newsletter-popup-content h2 { font-size: 22px !important; margin-top: 0 !important; }
  .newsletter-popup-content > p { margin-bottom: 16px !important; font-size: 13px !important; line-height: 1.7 !important; }
  .newsletter-popup-field input,.newsletter-popup-submit { height: 48px !important; border-radius: 10px !important; }
}
