/*
Theme Name: Riyadh Furniture Services
Theme URI: https://RiyadhFurnitureServices.com
Author: Riyadh Furniture Services
Description: Lightweight bilingual WordPress theme for luxury furniture, carpentry, curtains and blinds in Riyadh.
Version: 2.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: riyadh-furniture
Domain Path: /languages
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root{--green:#07843d;--green2:#10b957;--navy:#072b55;--blue:#1e9eea;--ink:#10233d;--muted:#5d6b7b;--light:#f3f8fb;--white:#fff;--shadow:0 16px 44px rgba(7,43,85,.12);--radius:22px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Arial,"Noto Sans Arabic",sans-serif;font-size:16px;line-height:1.7;background:#fff}body.rtl{font-family:"Noto Sans Arabic",Arial,sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1160px,calc(100% - 34px));margin:auto}.topbar{background:var(--navy);color:#fff;font-size:14px}.topbar .container{display:flex;justify-content:space-between;align-items:center;padding:7px 0}.site-header{position:sticky;top:0;z-index:99;background:rgba(255,255,255,.97);box-shadow:0 4px 20px rgba(7,43,85,.08)}.nav-wrap{min-height:82px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:10px;min-width:230px}.brand img{width:68px;height:58px;object-fit:contain}.brand strong{display:block;color:var(--navy);font-size:18px;line-height:1.15}.brand span{color:var(--green);font-size:12px}.main-nav{display:flex;gap:24px;align-items:center;margin-left:auto}.rtl .main-nav{margin-left:0;margin-right:auto}.main-nav a{font-weight:700;font-size:14px}.header-actions{display:flex;align-items:center;gap:9px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:13px 22px;font-weight:800;border:0;cursor:pointer;transition:.2s}.btn:hover{transform:translateY(-2px)}.btn-call{background:var(--green);color:#fff;box-shadow:0 8px 22px rgba(7,132,61,.25)}.btn-wa{background:#25d366;color:#062b16}.lang-switch{border:1px solid #d8e1e8;padding:8px 11px;border-radius:10px;font-weight:800}.menu-toggle{display:none;background:none;border:0;font-size:28px}.hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#ecf8ff 0%,#fff 47%,#e5f7ed 100%);padding:68px 0}.hero:after{content:"";position:absolute;width:450px;height:450px;border-radius:50%;background:rgba(30,158,234,.12);right:-180px;top:-180px}.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:48px}.eyebrow{display:inline-flex;color:var(--green);background:#e4f7eb;border:1px solid #bde7cc;border-radius:999px;padding:6px 14px;font-size:13px;font-weight:800}.hero h1{font-size:clamp(40px,5vw,68px);line-height:1.05;margin:18px 0;color:var(--navy);letter-spacing:-2px}.rtl .hero h1{letter-spacing:0}.hero h1 span{color:var(--green)}.hero p{font-size:19px;color:var(--muted);max-width:650px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}.trust-row{display:flex;flex-wrap:wrap;gap:18px;color:var(--navy);font-weight:700;font-size:14px}.hero-visual{position:relative}.hero-visual img{border-radius:30px;box-shadow:var(--shadow)}.hero-badge{position:absolute;bottom:20px;left:-20px;background:#fff;border-radius:18px;padding:13px 18px;box-shadow:var(--shadow);font-weight:900;color:var(--green)}.section{padding:78px 0}.section-alt{background:var(--light)}.section-head{max-width:720px;margin:0 auto 38px;text-align:center}.section-head h2{font-size:clamp(30px,4vw,46px);line-height:1.15;margin:0 0 12px;color:var(--navy)}.section-head p{color:var(--muted);margin:0}.grid{display:grid;gap:20px}.services-grid{grid-template-columns:repeat(3,1fr)}.card{background:#fff;border:1px solid #e3ebf0;border-radius:var(--radius);padding:25px;box-shadow:0 8px 26px rgba(7,43,85,.06);transition:.2s}.card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:#b8ddc5}.icon{width:52px;height:52px;border-radius:15px;background:linear-gradient(135deg,var(--green),var(--green2));color:#fff;display:grid;place-items:center;font-size:24px;margin-bottom:17px}.card h3{margin:0 0 8px;color:var(--navy);font-size:20px;line-height:1.3}.card p{color:var(--muted);margin:0 0 14px}.learn{font-weight:800;color:var(--green)}.areas-grid{grid-template-columns:repeat(5,1fr)}.area-card{text-align:center;padding:20px 12px}.area-card .pin{font-size:24px}.area-card strong{display:block;color:var(--navy)}.area-card span{font-size:14px;color:var(--muted)}.split{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.feature-list{display:grid;gap:12px}.feature{display:flex;gap:12px;align-items:flex-start}.check{flex:0 0 26px;height:26px;border-radius:50%;background:#e3f7ea;color:var(--green);display:grid;place-items:center;font-weight:900}.steps{grid-template-columns:repeat(3,1fr)}.step-no{font-size:44px;color:#d7eee0;font-weight:900;line-height:1}.cta{background:linear-gradient(125deg,var(--navy),#0b4a82);color:#fff;border-radius:32px;padding:48px;display:flex;justify-content:space-between;align-items:center;gap:30px}.cta h2{font-size:38px;line-height:1.2;margin:0 0 10px}.cta p{margin:0;color:#dbe9f5}.site-footer{background:#041d38;color:#d9e5ef;padding:58px 0 20px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:40px}.site-footer h3{color:#fff;margin-top:0}.site-footer a{display:block;margin:8px 0}.copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:35px;padding-top:18px;text-align:center;font-size:14px}.page-hero{background:linear-gradient(135deg,var(--navy),#0d5b8e);color:#fff;padding:58px 0}.page-hero h1{font-size:44px;line-height:1.15;margin:0 0 10px}.content-wrap{max-width:850px;margin:auto}.content-wrap h2,.content-wrap h3{color:var(--navy);line-height:1.25}.entry-content{padding:65px 0}.contact-box{background:var(--light);border-left:5px solid var(--green);padding:25px;border-radius:16px;margin:30px 0}.rtl .contact-box{border-left:0;border-right:5px solid var(--green)}.floating-actions{display:none}.not-found{text-align:center;padding:100px 0}.screen-reader-text{position:absolute;left:-9999px}
@media(max-width:900px){.main-nav{display:none;position:absolute;top:82px;left:0;right:0;background:#fff;padding:20px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.main-nav.open{display:flex}.menu-toggle{display:block;margin-left:auto}.rtl .menu-toggle{margin-left:0;margin-right:auto}.header-actions .btn{display:none}.hero-grid,.split{grid-template-columns:1fr}.hero-visual{max-width:620px}.services-grid{grid-template-columns:repeat(2,1fr)}.areas-grid{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.cta{display:block}.cta .hero-actions{margin-bottom:0}}
@media(max-width:600px){body{padding-bottom:72px}.topbar{display:none}.nav-wrap{min-height:70px}.brand img{width:55px;height:48px}.brand strong{font-size:15px}.brand span{font-size:10px}.lang-switch{font-size:13px;padding:6px 8px}.hero{padding:45px 0}.hero h1{font-size:40px}.hero p{font-size:17px}.hero-visual{margin-top:10px}.hero-badge{left:10px;bottom:12px}.section{padding:55px 0}.services-grid,.areas-grid,.steps,.footer-grid{grid-template-columns:1fr}.areas-grid{grid-template-columns:repeat(2,1fr)}.card{padding:21px}.cta{padding:30px 23px;border-radius:24px}.cta h2{font-size:30px}.page-hero h1{font-size:34px}.floating-actions{display:grid;grid-template-columns:1fr 1fr;position:fixed;bottom:0;left:0;right:0;z-index:999;background:#fff;box-shadow:0 -7px 25px rgba(0,0,0,.14)}.floating-actions a{padding:14px;text-align:center;color:#fff;font-weight:900}.floating-actions .call{background:var(--green)}.floating-actions .wa{background:#25d366;color:#063a1a}}

/* Riyadh Furniture Services premium palette and compact responsive header */
:root{--green:#0a4b38;--green2:#146b50;--navy:#163b31;--blue:#cda33b;--gold:#cda33b;--ink:#182722;--muted:#64716c;--light:#f7f3e9;--shadow:0 16px 44px rgba(10,75,56,.13)}
.topbar{background:#123a2f}.site-header{top:0}.nav-wrap{gap:18px}.brand{min-width:220px}.brand img{width:58px;height:58px}.main-nav{gap:17px}.header-actions{gap:7px;white-space:nowrap}.header-actions .btn{padding:10px 14px;font-size:13px}.header-number{color:var(--green);font-size:13px;font-weight:800}.lang-switch{padding:6px 9px;font-size:12px}.hero{background:linear-gradient(120deg,#f7f3e9 0%,#fff 49%,#e7f1ec 100%)}.hero:after{background:rgba(205,163,59,.13)}.hero h1 span,.learn{color:#a97d18}.eyebrow{background:#f3ead1;border-color:#dfca91;color:#775711}.hero-visual img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.hero-grid .hero-visual img{aspect-ratio:16/10}.icon{background:linear-gradient(135deg,var(--green),#b78b25)}.cta,.page-hero{background:linear-gradient(125deg,#0a4b38,#1b3029)}.site-footer{background:#082b22}.btn-call{box-shadow:0 8px 22px rgba(10,75,56,.25)}
@media(max-width:1120px){.main-nav{gap:12px}.main-nav a{font-size:13px}.header-number{display:none}.header-actions .btn{padding:9px 12px}.brand{min-width:205px}}
@media(max-width:900px){.nav-wrap{gap:10px}.header-actions{order:2;margin-left:auto}.menu-toggle{order:3;margin-left:0}.rtl .header-actions{margin-left:0;margin-right:auto}.main-nav{top:76px}.header-number{display:none}.header-actions .btn{display:none}.brand{min-width:0}.brand>span{display:none}.lang-switch{display:inline-flex;align-items:center;justify-content:center;min-width:62px}.menu-toggle{width:44px;height:44px;border-radius:12px;background:var(--green);color:#fff;font-size:23px}}
@media(max-width:600px){.topbar{display:block;font-size:11px}.topbar .container{justify-content:center;padding:4px 0;text-align:center}.topbar .container span:last-child{display:none}.site-header{position:sticky}.nav-wrap{min-height:64px}.brand img{width:52px;height:48px}.hero{padding:38px 0}.hero h1{font-size:36px}.hero-actions .btn{width:100%}.floating-actions a{padding:12px 8px;font-size:14px}.copyright{margin-top:25px}.page-hero{padding:42px 0}}
.content-featured-image{display:block;width:100%;height:auto;aspect-ratio:auto;margin:0 0 30px;border-radius:20px}.wp-caption,.entry-content figure{max-width:100%}.entry-content img{height:auto}.brand img{object-fit:contain}.hero-image,.section-image{display:block;width:100%;height:100%}
@media(max-width:600px){.container{width:min(100% - 24px,1160px)}.section-head{margin-bottom:26px}.services-grid{gap:14px}.card{border-radius:17px}.hero-grid{gap:28px}.hero-visual img{border-radius:20px}.page-hero h1{font-size:30px}.entry-content{padding:42px 0}}

/* Arabic-first mobile rebuild: stable two-row header on every device */
.sticky-shell{position:sticky;top:0;z-index:999;background:#fff;box-shadow:0 4px 20px rgba(10,75,56,.1)}
.sticky-shell .site-header{position:relative;top:auto;box-shadow:none}
.header-actions,.lang-switch{position:relative;z-index:1002}
.lang-switch{pointer-events:auto;touch-action:manipulation;cursor:pointer}
.admin-bar .sticky-shell{top:32px}
@media(max-width:782px){.admin-bar .sticky-shell{top:46px}}
@media(max-width:600px){.sticky-shell{width:100%}.topbar{min-height:24px}.nav-wrap{height:64px;min-height:64px;flex-wrap:nowrap}.brand{flex:0 0 52px}.header-actions{flex:0 0 auto;margin-inline-start:auto}.lang-switch{min-width:68px;min-height:38px;padding:6px 8px}.menu-toggle{flex:0 0 44px}.main-nav{top:64px;max-height:calc(100vh - 88px);overflow-y:auto}.floating-actions{padding-bottom:env(safe-area-inset-bottom)}body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}}
