
/* Performance and Page Experience refinements */
html{scroll-behavior:smooth}
img{max-width:100%;height:auto}
.site-preloader-wrap{display:none!important}
.final-section,.content-block-area{content-visibility:auto;contain-intrinsic-size:1px 720px}
.background-preview,.final-hero,.internal-hero{content-visibility:visible;contain-intrinsic-size:auto}
.choice-option,.final-btn,.theme-btn,.mobile-action-bar a{touch-action:manipulation}
@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}


/* Final RTL and identity fixes */
html[lang="ar"], html[dir="rtl"], body[dir="rtl"] { direction: rtl; }
body { text-align: right; }
.auto-dark-navbar .container, .auto-navbar .container { direction: rtl; }
.navbar-brand { margin-left: 1rem; margin-right: 0; display:flex; align-items:center; }
.navbar-brand img, .footer-logo img { width: 220px !important; height: auto !important; max-height: 106px; object-fit: contain; }
.footer-logo img { width: 190px !important; max-height: 92px; }
.navbar-nav { padding-right: 0; }
.navbar .dropdown-menu { text-align: right; right: 0; left: auto; }
.navbar .dropdown-item, .final-site-footer, .final-site-footer p, .final-site-footer li, .final-site-footer h3,
.service-content, .about-content, .contact-content, .faq-content, .choice-step-form, .auto-page-section,
.auto-home-section, .hero-content, .breadcrumb-area, .section-title { direction: rtl; text-align: right; }
.hero-buttons, .footer-contact-actions, .contact-buttons, .cta-buttons { direction: rtl; }
ul, ol { padding-right: 1.2rem; padding-left: 0; }
.final-site-footer ul, .navbar-nav, .choice-step-form ul { padding-right: 0; }
input, textarea, select, button { direction: rtl; text-align: right; }
.choice-option, .step-submit, .step-prev, .footer-contact-actions a { text-align: center; }
@media(max-width: 767px){
  .navbar-brand img { width: 165px !important; max-height: 80px; }
  .footer-logo img { width: 165px !important; }
  .navbar-collapse { text-align: right; }
}


/* Final local SEO + Core Web Vitals tuning */
.site-preloader-wrap,.top-header-area{display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important}.auto-navbar.compact-header{position:relative!important;background:#071816!important;padding:6px 0!important;min-height:72px!important;border-top:0!important}.auto-navbar.compact-header:before{display:none!important}.navbar-light .navbar-brand{padding:0!important;margin:0!important}.navbar-light .navbar-brand img,.footer-logo img{width:auto!important;max-width:150px!important;height:auto!important;max-height:72px!important;object-fit:contain!important}.auto-navbar .navbar-nav .nav-link{padding:10px 9px!important;color:#fff!important;font-weight:700!important;text-transform:none!important}.auto-navbar .dropdown-menu{background:#0b2420!important;border:1px solid rgba(255,255,255,.08);box-shadow:0 18px 45px rgba(0,0,0,.22)}.auto-navbar .dropdown-item{color:#fff!important;text-align:right}.auto-navbar .dropdown-item:hover{background:#0F766E!important}.seo-footer-v2{background:#071816;color:#d8f3ee}.footer-grid-v2{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 1fr;gap:26px}.seo-footer-v2 h3{color:#fff;font-size:18px;margin-bottom:14px}.seo-footer-v2 a{color:#d8f3ee}.seo-footer-v2 a:hover{color:#f59e0b}.footer-contact-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.footer-call,.footer-whatsapp{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;font-weight:800}.footer-call{background:#0f766e;color:#fff!important}.footer-whatsapp{background:#25d366;color:#062116!important}.area-content-section{padding:70px 0}.area-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.area-card{background:#fff;border-radius:22px;padding:28px;box-shadow:0 12px 36px rgba(0,0,0,.08);border:1px solid #e8f3f1}.area-card h2{color:#071816}.area-card li{margin-bottom:8px}.area-links-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.area-links-grid a{background:#fff;border-radius:16px;padding:16px;text-align:center;font-weight:800;color:#0f766e;box-shadow:0 8px 24px rgba(0,0,0,.07)}.faq-section{padding:70px 0;background:#fff}.faq-list details{background:#f7fbfa;border:1px solid #dbeeea;border-radius:16px;padding:16px 18px;margin-bottom:12px}.faq-list summary{font-weight:900;color:#071816;cursor:pointer}.final-cta-section{padding:60px 0;background:linear-gradient(135deg,#071816,#0f766e);color:#fff;text-align:center}.final-cta-section h2{color:#fff}@media(max-width:991px){.auto-navbar.compact-header{min-height:64px!important}.navbar-light .navbar-brand img{max-width:126px!important;max-height:60px!important}.navbar-collapse{background:#071816;padding:12px;border-radius:14px;margin-top:10px}.footer-grid-v2,.area-grid,.area-links-grid{grid-template-columns:1fr}.footer-bottom-flex{gap:8px;flex-direction:column;text-align:center}}

/* Header safety for rebuilt pages */
.auto-navbar.compact-header{z-index:1000!important}.navbar-light .navbar-brand img{max-width:126px!important;max-height:60px!important}.auto-navbar.compact-header + .breadcrumb-ai{margin-top:0!important}
@media(max-width:575px){.navbar-light .navbar-brand img{max-width:112px!important;max-height:54px!important}.auto-navbar.compact-header{min-height:58px!important;padding:5px 0!important}}
