/*
Theme Name: Shafaya | شفايا
Theme URI: https://example.invalid/shafaya
Author: Shafaya Website Project
Description: Arabic RTL responsive physiotherapy theme; original supplied Shafaya identity; demo service pages and content installed on activation.
Version: 2.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: shafaya
License: GPL-2.0-or-later
*/
:root{--teal:#247C76;--deep:#174E4A;--mint:#F0F7F5;--gold:#D5A45B;--ink:#344443;--white:#fff;--shadow:0 16px 45px rgba(18,71,67,.08);--radius:20px}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'Tajawal',Tahoma,Arial,sans-serif;color:var(--ink);background:var(--white);font-size:17px;line-height:1.85;direction:rtl}a{color:var(--deep);text-decoration:none}a:hover{color:var(--teal)}img{max-width:100%;height:auto}button,input,textarea{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:3px}h1,h2,h3,h4{font-family:'Cairo',Tahoma,sans-serif;color:var(--deep);line-height:1.45;margin:0 0 16px}h1{font-size:clamp(2.05rem,4.2vw,3.7rem);font-weight:800}h2{font-size:clamp(1.65rem,3vw,2.3rem);font-weight:800}h3{font-size:1.2rem}p{margin:0 0 18px}.container{width:min(1160px,calc(100% - 44px));margin-inline:auto}.skip-link{position:absolute;right:10px;top:-80px;background:var(--deep);color:white;padding:10px;z-index:200}.skip-link:focus{top:12px}.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.98);box-shadow:0 3px 24px rgba(19,74,69,.06)}.header-inner{min-height:88px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand img{height:67px;width:auto;max-width:135px;object-fit:contain}.nav-list{display:flex;align-items:center;gap:23px;padding:0;margin:0;list-style:none}.nav-list a{font-weight:700;font-size:.87rem}.nav-list .current-menu-item a,.nav-list .current_page_item a{color:var(--teal)}.header-actions{display:flex;gap:9px;align-items:center}.menu-toggle{display:none;background:var(--mint);border:0;color:var(--deep);border-radius:12px;padding:9px 14px}.btn{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:47px;padding:9px 23px;border-radius:11px;font-weight:800;font-size:.92rem;transition:transform .2s,background .2s,box-shadow .2s;white-space:normal;text-align:center}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--teal);color:white}.btn-primary:hover{background:var(--deep);color:white;box-shadow:0 10px 20px rgba(36,124,118,.19)}.btn-outline{border-color:var(--teal);color:var(--teal);background:white}.btn-outline:hover{background:var(--mint)}.btn-light{background:white;color:var(--deep)}.tiny{font-size:.82rem;color:#68817d}.eyebrow{color:var(--teal);font-weight:800;letter-spacing:.01em;font-size:.92rem}.section{padding:74px 0}.section-soft{background:var(--mint)}.section-title{text-align:center;margin-bottom:33px}.section-title p{color:#5b7c76;margin-inline:auto;max-width:690px}.hero{overflow:hidden;background:linear-gradient(125deg,#fff 13%,#ecf8f5 85%);position:relative}.hero::before{content:'';position:absolute;width:490px;height:490px;background:#d9f0e9;border-radius:50%;opacity:.45;left:-210px;bottom:-270px}.hero-grid{display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:40px;min-height:530px;padding-block:50px}.hero p{font-size:1.11rem;max-width:520px}.hero h1 span{color:var(--teal)}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.hero-visual{position:relative;overflow:hidden;border-radius:50px 18px 50px 18px;background:#dcefe8;box-shadow:var(--shadow)}.hero-visual img{display:block;width:100%;min-height:365px;object-fit:cover}.hero-visual .visual-label{position:absolute;bottom:18px;right:18px;background:rgba(255,255,255,.94);padding:6px 15px;border-radius:30px;font-size:.78rem;color:var(--deep);font-weight:700}.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.card{background:white;border:1px solid #e5efec;border-radius:var(--radius);padding:27px;box-shadow:0 8px 30px rgba(14,72,66,.04);height:100%;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.card-icon{display:grid;place-items:center;width:58px;height:58px;background:var(--mint);border-radius:17px;color:var(--teal);font-size:27px;margin-bottom:17px}.card h3{margin-bottom:10px}.card p{font-size:.91rem;color:#64807a}.arrow-link{display:inline-block;color:var(--teal);font-weight:800;font-size:.89rem;margin-top:8px}.accent-line{height:3px;width:42px;border-radius:9px;background:var(--gold);margin:13px 0 19px}.benefit{display:flex;gap:15px;align-items:flex-start;padding:21px;background:white;border-radius:18px}.benefit-badge{background:#e5f2ef;color:var(--teal);border-radius:50%;min-width:43px;height:43px;display:grid;place-items:center;font-size:22px}.benefit h3{margin:0 0 3px}.benefit p{font-size:.89rem;margin:0}.split{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.panel{background:linear-gradient(130deg,#e8f6f2,#f7fbf9);border-radius:24px;padding:37px}.panel p:last-child{margin-bottom:0}.coverage{background:linear-gradient(110deg,#e9f6f2,#f7fbfa);border-radius:28px;display:grid;grid-template-columns:1fr .7fr;align-items:center;gap:20px;padding:38px 46px}.coverage-icon{font-size:100px;text-align:center;opacity:.25}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;counter-reset:s}.step{text-align:center;padding:15px}.step-number{display:grid;place-items:center;margin:0 auto 13px;width:67px;height:67px;border-radius:50%;background:var(--mint);color:var(--deep);font-family:'Cairo',sans-serif;font-size:1.45rem;font-weight:800}.cta{background:linear-gradient(130deg,#075d55,#147d70);border-radius:24px;padding:44px;color:white;text-align:center;box-shadow:var(--shadow)}.cta h2,.cta p{color:white}.cta p{opacity:.87}.cta-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}.blog-tile{overflow:hidden;padding:0}.blog-thumbnail{width:100%;height:170px;background:linear-gradient(rgba(20,78,74,.08),rgba(20,78,74,.08)), url('assets/img/blog-default.png') center/cover no-repeat;display:grid;place-items:end start;color:transparent;font-size:58px;position:relative}.blog-thumbnail::after{content:' ';display:block;width:100%;height:100%;}.blog-body{padding:22px}.site-footer{background:#f6faf8;border-top:1px solid #e6eee9;margin-top:50px}.footer-columns{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:40px;padding:55px 0 38px}.footer-columns ul{padding:0;margin:0;list-style:none}.footer-columns li{margin-bottom:5px}.footer-columns h3{font-size:1rem}.footer-logo{width:130px;height:auto}.footer-bottom{border-top:1px solid #dfeae6;padding:14px 0;font-size:.82rem;color:#64807a;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}.page-hero{background:linear-gradient(120deg,#edf8f5,#f8fbfa);padding:65px 0 56px;margin-bottom:15px}.page-hero p{max-width:730px}.breadcrumbs{font-size:.82rem;color:#64807a;margin-bottom:12px}.content-section{padding:60px 0}.prose{max-width:770px;font-size:1.05rem}.prose h2{margin-top:28px}.prose ul{padding-right:20px}.notice{background:#fff9ed;border-right:4px solid var(--gold);padding:16px 20px;border-radius:9px;color:#785e32;font-size:.88rem}.detail-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,.8fr);gap:36px}.side-card{background:var(--mint);padding:25px;border-radius:18px;align-self:start;position:sticky;top:116px}.faq-list details{background:#f5faf8;border:1px solid #e2ece8;border-radius:13px;margin-bottom:12px;padding:14px 19px}.faq-list summary{color:var(--deep);font-weight:800;cursor:pointer}.faq-list details p{margin:12px 0 0}.form-grid{display:grid;gap:14px}.field label{display:block;font-weight:700;color:var(--deep);margin-bottom:5px}.field input,.field textarea{width:100%;padding:12px 14px;border:1px solid #ccdcd6;border-radius:9px;background:white;color:var(--ink)}.field textarea{min-height:140px}.footer-note{font-size:.77rem;color:#76908a}.wp-block-image img{border-radius:12px}.pagination{margin:34px 0}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.mobile-cta{display:none}
@media(max-width:1050px){.nav-list{gap:12px}.nav-list a{font-size:.8rem}.header-inner{gap:10px}.grid-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){body{font-size:16px}.header-inner{min-height:75px}.brand img{height:59px}.menu-toggle{display:block}.site-nav{display:none;position:absolute;right:0;left:0;top:75px;background:white;padding:15px 22px;box-shadow:var(--shadow)}.site-nav.is-open{display:block}.nav-list{display:flex;flex-direction:column;align-items:stretch;gap:0}.nav-list a{display:block;padding:10px;font-size:1rem}.header-actions .btn{display:none}.hero-grid,.split,.coverage,.detail-layout{grid-template-columns:1fr}.hero-grid{padding-top:35px;gap:22px}.hero-visual img{min-height:270px}.grid-3{grid-template-columns:repeat(2,1fr)}.footer-columns{grid-template-columns:1fr 1fr}.footer-columns>div:first-child{grid-column:1/-1}.section{padding:54px 0}.coverage-icon{display:none}.mobile-cta{display:flex;position:fixed;z-index:50;bottom:0;left:0;right:0;background:#fff;box-shadow:0 -2px 18px #143c3422;padding:10px 16px;gap:8px}.mobile-cta .btn{flex:1;padding:8px;font-size:.85rem}body{padding-bottom:64px}}
@media(max-width:540px){.container{width:min(100% - 28px,1160px)}h1{font-size:2.04rem}.grid-4,.grid-3,.grid-2,.steps,.footer-columns{grid-template-columns:1fr}.card{padding:22px}.hero-visual{border-radius:24px}.hero-visual img{min-height:230px}.panel,.cta{padding:25px}.coverage{padding:26px}.section{padding:45px 0}.footer-columns>div:first-child{grid-column:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}


/* Shafaya Premium Demo 2.0 — photography and refined components */
body{background:#fffdfb}.site-header{border-bottom:1px solid #e8efea}.header-inner{min-height:86px}.hero{background:radial-gradient(circle at 8% 12%,#e4f5f1 0,transparent 35%),linear-gradient(135deg,#fffefd 10%,#eff9f7 100%)}.hero:before{background:#c4e6dc;opacity:.3}.premium-hero-grid{min-height:585px;grid-template-columns:.9fr 1.1fr;gap:52px}.hero h1{font-size:clamp(2.4rem,4vw,4rem);letter-spacing:-.025em}.hero p{color:#4b736b}.hero-visual{border-radius:18px 72px 22px 70px;border-bottom:5px solid var(--gold);box-shadow:0 25px 50px #225e4a24}.hero-visual img{aspect-ratio:4/3;object-fit:cover;min-height:400px}.visual-label{box-shadow:0 8px 18px #184e4930}.section-title h2{position:relative;display:inline-block}.section-title h2:after{content:'';display:block;width:56px;height:3px;margin:9px auto 0;background:var(--gold);border-radius:10px}.section-soft{background:linear-gradient(135deg,#f5faf8,#eaf6f2)}.card{border-radius:20px;box-shadow:0 12px 32px #12493f0c}.service-card{padding:0!important;overflow:hidden;display:flex;flex-direction:column}.service-image{display:block;overflow:hidden;line-height:0;background:#e6f3f0}.service-image img{width:100%;height:180px;object-fit:cover;transition:transform .35s ease}.service-card:hover .service-image img{transform:scale(1.045)}.service-card-body{padding:21px;display:flex;flex-direction:column;flex:1}.service-card h3{font-size:1.03rem;line-height:1.65}.service-card p{margin-bottom:16px}.btn-small{font-size:.8rem;min-height:37px;padding:6px 16px;align-self:flex-start;margin-top:auto}.services-grid .service-image img{height:250px}.services-grid .service-card h3{font-size:1.2rem}.services-grid .service-card-body{padding:25px}.coverage{overflow:hidden;grid-template-columns:1fr .75fr;border:1px solid #dcefe8;min-height:230px}.coverage-photo{height:100%;min-height:205px;align-self:stretch;background:url('assets/img/hero-premium.webp') center 45%/cover no-repeat;border-radius:20px}.benefit{box-shadow:0 7px 24px #174e4a0b}.steps .step-number{border:2px solid #d4a65c;color:var(--deep);background:#fff}.cta{position:relative;overflow:hidden;border-radius:25px;background:linear-gradient(115deg,#085a52,#157e72);border-bottom:3px solid #d5a45b}.cta:before{content:'';position:absolute;right:-95px;top:-110px;border:2px solid #d5a45b70;width:260px;height:260px;border-radius:50%}.blog-thumbnail{height:190px!important;background:none!important;display:block!important;overflow:hidden}.blog-thumbnail:after{display:none!important}.article-thumb{width:100%;height:100%;object-fit:cover;display:block}.article-cover{width:100%;max-height:460px;object-fit:cover;border-radius:22px}.page-hero{background:linear-gradient(105deg,#f6fbfa,#e7f4f1);border-bottom:1px solid #d9e8e3;position:relative;overflow:hidden}.page-hero:after{content:'';position:absolute;width:210px;height:210px;left:-80px;bottom:-110px;border:2px solid #d5a45b80;border-radius:50%}.page-hero h1{font-size:clamp(2rem,3.3vw,3rem)}.footer-columns{align-items:start}.footer-logo{width:160px}.site-footer{background:#f0f7f5}.site-footer .footer-bottom{border-color:#cbded7}.prose img{max-width:100%;height:auto}.prose>img:first-child{width:100%;max-height:430px;object-fit:cover}.service-card img,.hero-visual img,.coverage-photo,.article-thumb{color:transparent}
@media(max-width:1050px){.premium-hero-grid{gap:26px}}
@media(max-width:780px){.premium-hero-grid{grid-template-columns:1fr;min-height:auto}.hero-visual img{min-height:280px}.coverage{grid-template-columns:1fr}.coverage-photo{min-height:170px}.services-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.hero h1{font-size:2.2rem}.hero-visual{border-radius:18px 38px 18px 38px}.service-image img{height:190px}.services-preview{grid-template-columns:1fr}.services-grid .service-image img{height:220px}.service-card-body{padding:19px}}
