/* ASAYESH MEDICAL TURQUOISE v2 — private draft component. */

/* Asayesh Physiotherapy — Medical Turquoise v1.
   Draft-only visual layer. Color/typography/navigation; no content or exercise changes. */
:root {
  --asayesh-navy:#064C53;
  --asayesh-navy-dark:#043942;
  --asayesh-teal:#087F8C;
  --asayesh-turquoise:#119DA7;
  --asayesh-mint:#E8F7F7;
  --asayesh-bg:#F8FCFC;
  --asayesh-ink:#183D46;
  --asayesh-muted:#516D76;
  --asayesh-border:#D0E7E9;
  --asayesh-primary:#087F8C;
  --asayesh-primary-hover:#066D79;
  --asayesh-primary-soft:#E8F7F7;
  --asayesh-heading:#064C53;
  --asayesh-white:#fff;
}
html[lang="fa-IR"], html[lang="fa"] {scroll-padding-top:94px}
body, body :is(button,input,select,textarea), .elementor, .elementor-widget,
.elementor-heading-title, .ax2, #asayesh-v5 {
  font-family:"Vazirmatn",Tahoma,sans-serif !important;
}
body { color:var(--asayesh-ink); background:var(--asayesh-bg); font-size:15px; line-height:1.85; }
body :is(h1,h2,h3,h4){letter-spacing:0; font-family:"Vazirmatn",Tahoma,sans-serif !important}
body :is(a,button,summary,input,select,textarea):focus-visible {
  outline:3px solid #F0B94D; outline-offset:3px;
}
body a,body button { -webkit-tap-highlight-color:transparent }
.asayesh-topbar {
  background:linear-gradient(100deg,#043942 0%,#075A65 52%,#087F8C 100%) !important;
}
.asayesh-header {
  background:rgba(255,255,255,.97)!important;
  border-bottom:1px solid #D7E9E9!important;
  box-shadow:0 6px 25px rgba(3,67,74,.065)!important;
}
.asayesh-header__inner { max-width:1280px; min-height:80px; gap:clamp(12px,1.5vw,23px); }
.asayesh-brand {gap:10px; flex-shrink:0}
.asayesh-brand__logo img {
  filter:drop-shadow(0 3px 8px rgba(8,127,140,.14))!important;
}
.asayesh-brand__text strong{color:#064C53!important;letter-spacing:0;font-weight:800}
.asayesh-brand__text small{color:#087F8C!important}
.asayesh-nav--desktop{min-width:0}
.asayesh-nav--desktop .asayesh-menu{gap:clamp(7px,1vw,17px)}
.asayesh-nav--desktop .asayesh-menu>li>a{
  display:inline-flex;align-items:center;min-height:42px;
  color:#254B55!important;font-size:clamp(11px,.87vw,13px);font-weight:650;
  text-wrap:nowrap;border-bottom:2px solid transparent;transition:color .18s,border-color .18s;
}
.asayesh-nav--desktop .asayesh-menu>li>a:hover,
.asayesh-nav--desktop .asayesh-menu>li.current-menu-item>a,
.asayesh-nav--desktop .asayesh-menu>li.current-menu-ancestor>a {
  color:#087F8C!important;border-bottom-color:#087F8C;
}
.asayesh-nav .sub-menu {
  background:#fff;border:1px solid #CFE7E8;border-radius:14px;
  box-shadow:0 14px 32px #064C531c; min-width:200px;
}
.asayesh-nav .sub-menu a{color:#244B54!important;padding:9px 12px}
.asayesh-nav .sub-menu a:hover {color:#066D79!important;background:#E8F7F7}
.asayesh-header__cta,.asayesh-footer__cta{
  background:linear-gradient(135deg,#087F8C,#066975)!important;
  border:1px solid #087F8C!important;color:#fff!important;
  box-shadow:0 7px 18px #087f8c28!important;white-space:nowrap;
}
.asayesh-header__cta:hover,.asayesh-footer__cta:hover{
  background:#05616E!important;box-shadow:0 10px 24px #087f8c3a!important;
}
.asayesh-mobile-nav summary{
  border-color:#B8DADD!important;background:#F0FAFA!important;color:#075A65!important;
  font-weight:800;
}
.asayesh-mobile-nav__panel{
  border-color:#CFE7E8!important;background:#fff!important;
  box-shadow:0 18px 45px #064c532a!important;
  max-height:min(75vh,610px);overflow-y:auto;
}
.asayesh-mobile-nav__panel .asayesh-menu a{color:#254B55!important}
.asayesh-mobile-nav__panel .asayesh-menu a:hover,
.asayesh-mobile-nav__panel .current-menu-item>a{
  background:#E6F5F5!important;color:#075A65!important;
}
.asayesh-mobile-nav__panel .sub-menu{
  position:static!important;display:block!important;
  border:0!important;background:#F8FCFC!important;
  box-shadow:none!important;padding:3px 9px!important;
  border-right:2px solid #9FD5D9!important;
}
.asayesh-mobile-nav__phone{
  display:block;margin-top:9px;text-align:center;
  background:#087F8C!important;color:#fff!important;border-radius:11px;
}
.asayesh-footer{
  background:radial-gradient(circle at 12% 4%,#1CA3AC45,transparent 32%),
  linear-gradient(135deg,#053C44 0%,#064C53 54%,#087F8C 100%)!important;
}
.asayesh-footer a:hover{color:#BCEFF0!important}
.asayesh-footer__logo{box-shadow:0 8px 28px #031e2840!important}


/* Shared site sections: avoid coloring SVG anatomy maps or photos. */
body:not(.wp-admin) :is(.page-content,.entry-content,.elementor) :is(h1,h2,h3) {
  font-family:"Vazirmatn",Tahoma,sans-serif!important;
}
body:not(.wp-admin) :is(.page-content,.entry-content,.elementor) a:hover{color:#087F8C}
body :is(.elementor-button,.wp-block-button__link,.fluentform .ff-btn-submit){
  font-family:"Vazirmatn",Tahoma,sans-serif!important;
}
body :is(.elementor-button,.fluentform .ff-btn-submit):not(.elementor-button-link--secondary){
  background-color:#087F8C!important;border-color:#087F8C!important;
}
body :is(.elementor-button,.fluentform .ff-btn-submit):hover{
  background-color:#066D79!important;border-color:#066D79!important;
}
body :is(.asn-ins-action,.asn-btn:not(.asn-btn--ghost),.asn-booking-call,.asayesh-methods-v1 .btn-primary){
  background-color:#087F8C!important;border-color:#087F8C!important;
}
body :is(.asn-ins-action,.asn-btn:not(.asn-btn--ghost),.asn-booking-call):hover{
  background-color:#066D79!important;border-color:#066D79!important;
}
body :is(.asn-ins,.asn-visit-v2,.asayesh-methods-v1,.asayesh-complete-v1){
  --asayesh-primary:#087F8C;--primary:#087F8C;--teal:#087F8C;
  --navy:#064C53;--deep:#064C53;--line:#D0E7E9;
}
body :is(.asn-ins-hero,.asn-visit-v2 .asn-head) {
  border-color:#D0E7E9!important;
}
@media(max-width:1180px) {
  .asayesh-nav--desktop{display:none!important}
  .asayesh-mobile-nav{display:block!important}
  .asayesh-header__cta{display:none!important}
  .asayesh-header__inner{min-height:74px}
}
@media(max-width:680px){
  body{font-size:14px}
  .asayesh-header__inner{gap:8px;padding:8px 13px}
  .asayesh-brand__text strong{font-size:15px!important}
  .asayesh-mobile-nav__panel{width:min(86vw,330px)}
  body.page-id-91 #asayesh-v5 .asv-hero:after {
    background:linear-gradient(to bottom,#053D47 0%,#053D47f8 35%,#053D47d3 55%,#053D4700 87%)!important;
  }
  body.page-id-91 #asayesh-v5 .asv-book:after{
    background:linear-gradient(to bottom,#EDF7F7 0%,#EDF7F7 39%,#EDF7F7d2 59%,transparent 87%)!important;
  }
}


/* Logo study uses the EXACT original 1254px transparent logo silhouette.
   The original image remains in WordPress; only the draft display color changes. */
.asayesh-brand__logo{position:relative}
@supports (mask-image:url("https://asayeshphysio.ir/wp-content/uploads/2026/10/لوگوی-فیزیوتراپی-آسایش-نو-150x150.png")) or (-webkit-mask-image:url("https://asayeshphysio.ir/wp-content/uploads/2026/10/لوگوی-فیزیوتراپی-آسایش-نو-150x150.png")){
  .asayesh-brand__logo img{opacity:0!important}
  .asayesh-brand__logo::after{
    content:"";position:absolute;inset:0;pointer-events:none;
    background:#087F8C!important;
    -webkit-mask-image:url("https://asayeshphysio.ir/wp-content/uploads/2026/10/لوگوی-فیزیوتراپی-آسایش-نو-150x150.png");
    mask-image:url("https://asayeshphysio.ir/wp-content/uploads/2026/10/لوگوی-فیزیوتراپی-آسایش-نو-150x150.png");
    -webkit-mask-size:contain;mask-size:contain;
    -webkit-mask-position:center;mask-position:center;
    -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  }
}
.asayesh-footer__logo{
  background:transparent!important;
  box-shadow:none!important;
  filter:brightness(0) invert(1)!important;
  padding:3px!important;
}
/* Canonical site header/footer: homepage previously concealed these. */
html body.home.page-id-91 header#site-header.asayesh-header,
html body.home.page-id-91 footer#site-footer.asayesh-footer {
  display:block!important;visibility:visible!important;opacity:1!important;
}
html body.home.page-id-91 header#site-header.asayesh-header{position:sticky!important;top:0!important;z-index:1000!important}


/* STEP 8 — Reliable desktop and mobile navigation focus states. */
@media(min-width:1181px) {
  .asayesh-nav--desktop .asayesh-menu>li.menu-item-has-children{position:relative}
  .asayesh-nav--desktop .asayesh-menu>li.menu-item-has-children>.sub-menu{
    position:absolute!important;right:0;left:auto;top:100%;
    z-index:400;display:none!important;min-width:215px;
    padding:9px!important;margin:0!important;
    border-radius:14px!important;background:#fff!important;
    border:1px solid #D0E7E9!important;box-shadow:0 16px 36px #064C5326!important;
  }
  .asayesh-nav--desktop .asayesh-menu>li.menu-item-has-children:is(:hover,:focus-within)>.sub-menu{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    gap:2px!important;
  }
  .asayesh-nav--desktop .asayesh-menu .sub-menu li{width:100%}
  .asayesh-nav--desktop .asayesh-menu .sub-menu a{
    display:block;padding:10px 12px!important;border-radius:9px!important;
    font:650 13px/1.8 "Vazirmatn",Tahoma,sans-serif!important;
  }
}
@media(max-width:1180px){
  .asayesh-mobile-nav__panel{z-index:2000;direction:rtl;text-align:right}
  .asayesh-mobile-nav__panel .sub-menu{
    display:block!important;position:static!important;width:auto!important;
    margin:3px 0 5px!important;padding:3px 8px!important;
  }
  .asayesh-mobile-nav__panel .asayesh-menu>li{width:100%}
  .asayesh-mobile-nav__panel .asayesh-menu>li>a{
    font-weight:750;border-radius:9px;
  }
  .asayesh-mobile-nav__panel a:focus-visible{outline:3px solid #F0B94D;outline-offset:2px}
}
@media(max-width:620px){
  html body .asayesh-mobile-nav__panel{
    width:min(88vw,330px)!important;left:0!important;right:auto!important;
  }
  html body .asayesh-topbar__inner{row-gap:4px}
}


/* Preserve photos and exercise step media: no filters, no forced dimensions. */
body.page-id-16 .axm-photo-grid img, body.page-id-16 .axm-card img {
  filter:none!important;
}

@media(prefers-reduced-motion:reduce){
  body :is(a,button,summary){transition:none!important;scroll-behavior:auto!important}
}
