/* Unified Sunroom-style POOYAST menu */
.pooyast-contact-menu[hidden]{display:none!important}
.pooyast-contact-menu{
  --pm-surface:var(--token-b60841d6-d7ad-4730-9329-64fac1f2c8d5);
  --pm-hover:color-mix(in srgb,var(--pm-foreground) 10%,transparent);
  --pm-border:color-mix(in srgb,var(--pm-foreground) 16%,transparent);
  --pm-foreground:var(--token-ae82c0be-4587-438c-863f-6bff04e4183e);
  --pm-secondary:color-mix(in srgb,var(--pm-foreground) 70%,transparent);
  position:fixed;z-index:2147483646;direction:ltr;
  box-sizing:border-box;width:320px;max-width:none;padding:9px;
  border-radius:20px;
  background:color-mix(in srgb,var(--pm-surface) 88%,transparent);color:var(--pm-foreground);
  backdrop-filter:blur(18px) saturate(1.4);-webkit-backdrop-filter:blur(18px) saturate(1.4);
  border:1px solid color-mix(in srgb,var(--pm-border) 80%,transparent);
  box-shadow:0 18px 44px -12px rgba(0,0,0,.34),0 2px 6px rgba(0,0,0,.08);
  font-family:Inter,"Inter Placeholder",sans-serif;font-size:13px;
  line-height:1.3;letter-spacing:-.015em;-webkit-font-smoothing:antialiased;
  transform-origin:calc(100% - 24px) 100%;
}
.pooyast-contact-menu *{box-sizing:border-box}
.pooyast-contact-menu .pooyast-menu-item{
  display:flex;align-items:center;gap:11px;width:100%;min-height:54px;
  padding:8px 9px;margin:0;border:0;border-radius:12px;background:transparent;
  text-align:left;cursor:pointer;color:inherit;
  font-family:inherit;font-size:inherit;line-height:inherit;
  transition:background-color .18s ease;
}
.pooyast-contact-menu .pooyast-menu-item:hover,
.pooyast-contact-menu .pooyast-menu-item:focus-visible{background:var(--pm-hover);outline:none}
.pooyast-contact-menu .pooyast-menu-icon{
  width:35px;height:35px;flex:0 0 35px;display:grid;place-items:center;
  border-radius:11px;color:var(--pm-foreground);background:var(--pm-hover);
}
.pooyast-contact-menu .pooyast-menu-icon svg{display:block;width:17px;height:17px;stroke-width:1.6}
.pooyast-contact-menu .pooyast-menu-copy{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}
.pooyast-contact-menu .pooyast-menu-title{
  font-family:Inter,"Inter Placeholder",sans-serif;
  color:var(--pm-foreground);font-size:13px;line-height:1.25;font-weight:500;
  white-space:normal;
}
.pooyast-contact-menu .pooyast-menu-value{
  font-family:Inter,"Inter Placeholder",sans-serif;
  color:var(--pm-secondary);font-size:11px;font-weight:400;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:162px;
}
.pooyast-contact-menu .pooyast-menu-copyglyph{display:grid;place-items:center;flex:0 0 15px;color:var(--pm-secondary);opacity:.8}
.pooyast-contact-menu .pooyast-menu-copyglyph svg{width:15px;height:15px;display:block;stroke-width:1.6}
.pooyast-contact-menu .pooyast-menu-separator{height:1px;margin:8px 8px 10px;background:var(--pm-border)}
.pooyast-contact-menu .pooyast-menu-shortcuts{
  display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;
  padding:0 1px 1px;direction:ltr;align-items:stretch;
}
.pooyast-contact-menu .pooyast-shortcut{
  display:flex;align-items:center;justify-content:center;
  width:100%;min-width:0;aspect-ratio:1/1;
  padding:0;margin:0;
  border:1px solid transparent;border-radius:11px;
  color:var(--pm-foreground);background:var(--pm-hover);
  font-family:Inter,"Inter Placeholder",sans-serif;
  font-size:11px;font-weight:600;letter-spacing:-.025em;
  cursor:pointer;transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.pooyast-contact-menu .pooyast-shortcut:hover,
.pooyast-contact-menu .pooyast-shortcut:focus-visible{
  outline:none;border-color:color-mix(in srgb,var(--pm-foreground) 19%,transparent);
  background:color-mix(in srgb,var(--pm-foreground) 9%,var(--pm-hover));
}
.pooyast-contact-menu .pooyast-shortcut[aria-pressed="true"][data-pooyast-lang]{
  color:var(--pm-surface);background:var(--pm-foreground);
  box-shadow:0 1px 4px rgba(0,0,0,.09);
}
.pooyast-contact-menu .pooyast-shortcut[data-pooyast-lang]:hover[aria-pressed="true"]{
  background:var(--pm-foreground);color:var(--pm-surface);
}
.pooyast-contact-menu .pooyast-theme-button{
  border-color:color-mix(in srgb,var(--pm-foreground) 17%,transparent);
  background:var(--pm-surface);
}
.pooyast-contact-menu .pooyast-theme-button svg{width:18px;height:18px;display:block;stroke-width:1.7}
.pooyast-contact-menu .pooyast-theme-button:active{transform:scale(.95)}
.pooyast-contact-menu[data-menu-language="fa"] .pooyast-menu-copy,
.pooyast-contact-menu[data-menu-language="ar"] .pooyast-menu-copy{
  direction:rtl;text-align:right;
}
.pooyast-contact-menu[data-menu-language="fa"] .pooyast-menu-title,
.pooyast-contact-menu[data-menu-language="ar"] .pooyast-menu-title{
  font-family:"Modam",Tahoma,Arial,sans-serif;
}
[data-pooyast-menu-trigger]{
  display:flex!important;align-items:center!important;justify-content:center!important;
  place-items:center!important;align-self:center!important;
  margin:0!important;padding:0!important;
  box-sizing:border-box!important;position:relative;
  flex:0 0 auto!important;
}
[data-pooyast-menu-trigger] svg{display:block;flex:0 0 auto;pointer-events:none;width:46%!important;height:46%!important;margin:auto!important}
[data-pooyast-menu-trigger][aria-expanded="true"]{
  color:var(--token-b60841d6-d7ad-4730-9329-64fac1f2c8d5)!important;
  background:var(--token-ae82c0be-4587-438c-863f-6bff04e4183e)!important;
}
/* Keep the menu trigger exactly centered like the six navigation icons.
   The divider no longer has asymmetric horizontal margins. */
[data-sunroom-dock]{
  direction:ltr!important;align-items:center!important;
  justify-content:center;gap:6px!important;
}
[data-sunroom-dock]>a,[data-sunroom-dock]>button{
  align-self:center!important;display:flex!important;
  justify-content:center!important;align-items:center!important;place-items:center!important;
  margin:0!important;padding:0!important;
}
[data-sunroom-dock]>span[aria-hidden="true"]{
  align-self:center!important;margin:0!important;
  height:24px!important;width:1px!important;flex:0 0 1px!important;
}
@media (max-width:809.98px){
  [data-sunroom-dock]>a,[data-sunroom-dock]>button{width:40px!important;height:40px!important}
}
@media (min-width:810px){
  [data-sunroom-dock]>a,[data-sunroom-dock]>button{width:44px!important;height:44px!important}
}
html[dir="rtl"] body{direction:ltr}
html[dir="rtl"] section [data-framer-component-type="RichTextContainer"],
html[dir="rtl"] footer [data-framer-component-type="RichTextContainer"]{direction:rtl;text-align:right}
html[dir="rtl"] section .framer-text:not([data-pooyast-menu-trigger]),
html[dir="rtl"] footer .framer-text{direction:rtl;text-align:right}
html[data-language="fa"] section .framer-text,
html[data-language="fa"] footer .framer-text,
html[data-language="ar"] section .framer-text,
html[data-language="ar"] footer .framer-text{font-family:"Modam",Tahoma,Arial,sans-serif}
@media (prefers-reduced-motion:reduce){
  .pooyast-contact-menu button{transition:none!important}
}
/* Local Modam fonts used throughout Persian and Arabic locales. */
@font-face{font-family:"Modam";src:url("/assets/fonts/Modam-Regular.woff2") format("woff2");font-style:normal;font-weight:100 500;font-display:swap}
@font-face{font-family:"Modam";src:url("/assets/fonts/Modam-SemiBold.woff2") format("woff2");font-style:normal;font-weight:501 650;font-display:swap}
@font-face{font-family:"Modam";src:url("/assets/fonts/Modam-Bold.woff2") format("woff2");font-style:normal;font-weight:651 900;font-display:swap}
/* Include headings, cards, controls, nav, modal/popover, form placeholders and any rich text. */
html:is([data-language="fa"],[data-language="ar"]) body,
html:is([data-language="fa"],[data-language="ar"]) body *:not(svg):not(svg *){
 font-family:"Modam",Tahoma,Arial,sans-serif!important;
}
html:is([data-language="fa"],[data-language="ar"]) body input::placeholder,
html:is([data-language="fa"],[data-language="ar"]) body textarea::placeholder{
 font-family:"Modam",Tahoma,Arial,sans-serif!important;
}


/* The original dock hover GSAP raises all icons. Suppress this on the menu
   trigger so its bounds and SVG remain centered when clicked or hovered. */
[data-sunroom-dock] [data-pooyast-menu-trigger] {
 transform:none!important;
 will-change:auto!important;
}

/* RTL heading placement: Framer's page intros and section title rows are
   flex containers with LTR defaults. Align their actual layout boxes, not
   just the glyphs. Scope to Arabic and Persian; leave LTR themes unchanged. */
html:is([data-language="fa"],[data-language="ar"]) :is(h1,h2,h3,h4,h5,h6){
  direction:rtl!important;
  text-align:right!important;
}
html:is([data-language="fa"],[data-language="ar"]) [data-framer-name="Section Header"]{
  direction:rtl!important;
  align-items:flex-end!important;
}
html:is([data-language="fa"],[data-language="ar"]) [data-framer-name="Headline"]{
  direction:rtl!important;
  align-items:flex-end!important;
  text-align:right!important;
}
html:is([data-language="fa"],[data-language="ar"]) [data-framer-name="Title Row"]{
  direction:rtl!important;
  text-align:right!important;
}
html:is([data-language="fa"],[data-language="ar"]) [data-framer-name="Service Card"] [data-framer-name="Top"]{
  align-items:flex-end!important;
}
/* In an RTL flex-column, flex-start is the physical right edge;
   flex-end points left. Explicitly correct both Framer column layouts. */
html:is([data-language="fa"],[data-language="ar"]) [data-framer-name="Headline"]{
  align-items:flex-start!important;
}
@media(max-width:809.98px){
  html:is([data-language="fa"],[data-language="ar"]) [data-framer-name="Section Header"]{
    align-items:flex-start!important;
  }
}
/* Text blocks outside <section> (independent Work/Contact/project pages)
   also need RTL; earlier rules only covered section/footer rich text. */
html:is([data-language="fa"],[data-language="ar"]) :is(main,header) .framer-text{
  direction:rtl!important;
  text-align:right!important;
}

/* Keep the matching dock and popup fully within very narrow mobile screens. */
@media (max-width:359px){
  [data-sunroom-dock]{gap:4px!important}
  [data-sunroom-dock]>a,[data-sunroom-dock]>button{
    width:34px!important;height:34px!important;
  }
}
