@font-face{font-family:Modam;src:url("/assets/fonts/ModamFaNumWeb-Medium.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:Modam;src:url("/assets/fonts/ModamFaNumWeb-Black.woff2") format("woff2");font-weight:900;font-display:swap}
@font-face{font-family:BelfastGrotesk;src:url("/assets/fonts/BelfastGrotesk-Light.woff") format("woff");font-weight:300;font-display:swap}
:root{--bg:#050505;--line:rgba(255,255,255,.12);--muted:rgba(255,255,255,.48)}
*{box-sizing:border-box}html{background:#000;scroll-behavior:smooth}body{margin:0;background:#000;color:#fff;font-family:Modam,system-ui,sans-serif;overflow-x:hidden}
.services-page{background:var(--bg);overflow:hidden}.services-shell{width:min(1180px,calc(100% - 48px));margin:auto}.services-kicker{font:300 10px BelfastGrotesk,sans-serif;letter-spacing:.17em;color:rgba(255,255,255,.34);direction:ltr;text-align:right}

/* hero */
.services-hero{position:relative;min-height:90svh;display:flex;align-items:center;padding:145px 0 90px;border-bottom:1px solid var(--line);isolation:isolate}
.services-hero__inner{position:relative;z-index:2;display:grid;grid-template-columns:minmax(170px,.48fr) minmax(0,1.52fr);gap:60px;align-items:start}
.services-hero h1{margin:0 0 25px;font-size:clamp(38px,4.8vw,66px);line-height:1.36;font-weight:900;max-width:800px}
.services-hero p{margin:0;max-width:650px;font-size:14px;line-height:2.1;color:rgba(255,255,255,.52)}
.services-hero__visual{position:absolute;inset:0;overflow:hidden;z-index:-1;pointer-events:none}
.sv-light{position:absolute;display:block;will-change:transform}.sv-light--one{width:76vw;height:10vw;left:-24vw;top:48%;transform:rotate(-13deg);background:linear-gradient(90deg,transparent,rgba(43,86,255,.18),rgba(120,55,255,.11),transparent);filter:blur(30px)}
.sv-light--two{width:58vw;height:9vw;left:-8vw;top:61%;transform:rotate(14deg);background:linear-gradient(90deg,transparent,rgba(255,87,24,.25),rgba(255,165,61,.06),transparent);filter:blur(27px)}
.sv-light--three{width:25vw;height:25vw;left:12vw;top:30%;border-radius:50%;background:radial-gradient(circle,rgba(43,91,255,.12),transparent 68%);filter:blur(25px)}
.sv-scan{position:absolute;inset:-20%;background:repeating-linear-gradient(0deg,transparent 0,transparent 5px,rgba(255,255,255,.012) 6px);opacity:.45}
.sv-grain{position:absolute;inset:0;opacity:.045;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E")}

/* list */
.services-index{padding:115px 0 130px}.services-index__head{display:grid;grid-template-columns:minmax(170px,.48fr) minmax(0,1.52fr);gap:60px;margin-bottom:55px}.services-index__head p{margin:0;font-size:12px;color:rgba(255,255,255,.45)}
.services-list{position:relative;border-top:1px solid var(--line);isolation:isolate}.service-row{position:relative;z-index:2;display:grid;grid-template-columns:80px minmax(280px,.9fr) minmax(250px,1.1fr) 22px;gap:34px;align-items:center;min-height:112px;padding:20px 8px;border-bottom:1px solid var(--line);color:#fff;text-decoration:none;overflow:hidden;transition:min-height .45s cubic-bezier(.2,.8,.2,1),background-color .45s ease}
.service-row::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.025),transparent);opacity:0;transition:opacity .45s ease;z-index:-1}
.service-row:hover{min-height:142px}.service-row:hover::after{opacity:1}.service-row__number{font:300 10px BelfastGrotesk,sans-serif;letter-spacing:.14em;color:rgba(255,255,255,.26)}
.service-row__title h3{margin:0;font-size:clamp(17px,1.7vw,23px);line-height:1.65;transition:transform .45s cubic-bezier(.2,.8,.2,1)}.service-row:hover .service-row__title h3{transform:translateX(-8px)}
.service-row__title small{display:block;margin-top:5px;font:300 8px BelfastGrotesk,sans-serif;letter-spacing:.14em;color:rgba(255,255,255,.25);direction:ltr;text-align:right}
.service-row p{margin:0;max-width:460px;font-size:11px;line-height:2;color:rgba(255,255,255,.38);transition:color .4s}.service-row:hover p{color:rgba(255,255,255,.62)}
.service-row__mark{position:relative;width:18px;height:18px;border:1px solid rgba(255,255,255,.18);border-radius:50%;transition:border-color .35s,background .35s}.service-row__mark::before,.service-row__mark::after{content:"";position:absolute;left:50%;top:50%;width:6px;height:1px;background:rgba(255,255,255,.5);transform:translate(-50%,-50%)}.service-row__mark::after{transform:translate(-50%,-50%) rotate(90deg)}.service-row:hover .service-row__mark{background:#fff;border-color:#fff}.service-row:hover .service-row__mark::before,.service-row:hover .service-row__mark::after{background:#080808}
.services-backdrop{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;opacity:0;transition:opacity .45s}.services-list:has(.service-row:hover) .services-backdrop{opacity:1}.services-backdrop i{position:absolute;width:50vw;height:9vw;left:-12vw;top:40%;border-radius:50%;filter:blur(38px);will-change:transform}.services-backdrop__a{background:linear-gradient(90deg,transparent,rgba(42,90,255,.12),transparent);transform:rotate(-10deg)}.services-backdrop__b{background:linear-gradient(90deg,transparent,rgba(255,92,24,.1),transparent);transform:rotate(15deg)}

/* system */
.services-system{position:relative;padding:120px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);overflow:hidden}.services-system__head{display:grid;grid-template-columns:minmax(170px,.48fr) minmax(0,1.52fr);gap:60px}.services-system h2{margin:0 0 22px;font-size:clamp(29px,3.5vw,48px);line-height:1.45}.services-system p{margin:0;max-width:610px;font-size:12px;line-height:2;color:var(--muted)}
.services-flow{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:85px;padding:27px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font:300 clamp(9px,1vw,12px) BelfastGrotesk,sans-serif;letter-spacing:.14em;color:rgba(255,255,255,.64);white-space:nowrap}.services-flow i{font-style:normal;color:rgba(255,255,255,.18)}
.services-system__light{position:absolute;width:60vw;height:30vw;right:-25vw;bottom:-15vw;border-radius:50%;background:radial-gradient(circle,rgba(255,85,20,.09),rgba(50,73,255,.05) 45%,transparent 70%);filter:blur(45px)}

/* CTA */
.services-cta{padding:115px 0 125px}.services-cta__grid{display:grid;grid-template-columns:minmax(170px,.48fr) minmax(0,1.1fr) auto;gap:55px;align-items:center}.services-cta h2{margin:0 0 15px;font-size:clamp(25px,3vw,39px);line-height:1.5}.services-cta p{margin:0;max-width:560px;font-size:12px;line-height:2;color:var(--muted)}
.services-cta a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 22px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:#fff;color:#050505;text-decoration:none;font-size:11px;font-weight:900;white-space:nowrap;box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 0 0 1px rgba(0,0,0,.05),0 8px 24px rgba(0,0,0,.28);transition:background-color .65s cubic-bezier(.22,.61,.36,1)}.services-cta a:hover{background:#f7f7f7}

@media(max-width:900px){
.services-shell{width:min(1180px,calc(100% - 36px))}.services-hero__inner,.services-index__head,.services-system__head{grid-template-columns:1fr;gap:20px}.services-hero{min-height:78svh}.service-row{grid-template-columns:54px minmax(0,1fr) 22px;gap:20px}.service-row p{grid-column:2;margin-top:-8px}.services-cta__grid{grid-template-columns:1fr;gap:28px}.services-cta a{width:max-content}.services-flow{overflow-x:auto;justify-content:flex-start;padding-inline:4px;scrollbar-width:none}.services-flow::-webkit-scrollbar{display:none}
}
@media(max-width:600px){
.services-shell{width:calc(100% - 24px)}.services-hero{min-height:auto;padding:125px 0 76px}.services-hero h1{font-size:34px}.services-hero p{font-size:12px}.services-index{padding:80px 0 90px}.services-index__head{margin-bottom:36px}.service-row{grid-template-columns:36px minmax(0,1fr) 18px;gap:12px;min-height:105px;padding:18px 2px}.service-row:hover{min-height:105px}.service-row__title h3{font-size:15px}.service-row:hover .service-row__title h3{transform:none}.service-row p{display:none}.service-row__mark{width:16px;height:16px}.services-system{padding:85px 0}.services-system h2{font-size:28px}.services-flow{margin-top:55px;gap:18px}.services-cta{padding:85px 0}.services-cta a{width:100%}.sv-light--one{width:130vw;height:22vw;left:-70vw}.sv-light--two{width:115vw;height:18vw;left:-45vw}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.sv-grain{display:none}.service-row,.service-row__title h3,.services-backdrop{transition:none}}


/* ==================================================
   PACKAGES FOOTER
================================================== */

.packages-footer {
  position: relative;
  background: #030303;
  color: #fff;
  padding: 0 0 26px;
}

.packages-footer__inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.packages-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  direction: rtl;
  padding: 52px 0 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.packages-footer__column {
  min-width: 0;
  padding: 0 48px;
  text-align: right;
}

.packages-footer__column:first-child {
  padding-right: 8px;
}

.packages-footer__column:last-child {
  padding-left: 8px;
}

.packages-footer__column + .packages-footer__column {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.packages-footer__title {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.5;
}

.packages-footer__column a,
.packages-footer__column span {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 13px;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
}

.packages-footer__column a {
  transition: color 180ms ease;
}

.packages-footer__column a:hover {
  color: #fff;
}

.packages-footer__contact-label {
  position: relative;
  padding-bottom: 11px;
  margin-bottom: 17px !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.packages-footer__contact-label::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 116px;
  max-width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.packages-footer__phone {
  direction: ltr;
  text-align: right;
  font-family: "BelfastGrotesk", sans-serif;
  font-size: 12px !important;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.76) !important;
}

.packages-footer__phone:last-child {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 0 !important;
}

.packages-footer__phone:last-child::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 116px;
  max-width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.packages-footer__bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.packages-footer__brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 94px;
  text-decoration: none;
}

.packages-footer__brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.92;
}

.packages-footer__copyright {
  font-family: "BelfastGrotesk", sans-serif;
  font-size: 9px;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

/* Tablet */
@media (max-width: 900px) {
  .packages-footer__grid {
    padding: 44px 0 46px;
  }

  .packages-footer__column {
    padding: 0 30px;
  }

  .packages-footer__column:first-child {
    padding-right: 4px;
  }

  .packages-footer__column:last-child {
    padding-left: 4px;
  }

  .packages-footer__title {
    margin-bottom: 20px;
    font-size: 13px;
  }

  .packages-footer__column a,
  .packages-footer__column span {
    font-size: 11px;
  }
}

/* Mobile portrait */
@media (max-width: 600px) {
  .packages-footer {
    padding-bottom: 18px;
  }

  .packages-footer__inner {
    width: calc(100% - 28px);
  }

  .packages-footer__grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .packages-footer__column,
  .packages-footer__column:first-child,
  .packages-footer__column:last-child {
    padding: 28px 0;
    border-right: 0;
  }

  .packages-footer__column + .packages-footer__column {
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .packages-footer__title {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .packages-footer__column a,
  .packages-footer__column span {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .packages-footer__phone {
    font-size: 10px !important;
  }

  .packages-footer__bottom {
    min-height: 62px;
    gap: 16px;
  }

  .packages-footer__brand {
    width: 74px;
  }

  .packages-footer__copyright {
    font-size: 7px;
    letter-spacing: 0.18em;
  }
}

/* Phone landscape / compact viewport */
@media (orientation: landscape) and (max-height: 600px) and (max-width: 950px) {
  .packages-footer__inner {
    width: calc(100% - 36px);
  }

  .packages-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 28px 0 30px;
  }

  .packages-footer__column,
  .packages-footer__column:first-child,
  .packages-footer__column:last-child {
    padding: 0 22px;
    border-top: 0;
  }

  .packages-footer__column:first-child {
    padding-right: 2px;
  }

  .packages-footer__column:last-child {
    padding-left: 2px;
  }

  .packages-footer__column + .packages-footer__column {
    border-top: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .packages-footer__title {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .packages-footer__column a,
  .packages-footer__column span {
    margin-bottom: 7px;
    font-size: 9px;
  }

  .packages-footer__phone {
    font-size: 9px !important;
  }

  .packages-footer__bottom {
    min-height: 56px;
  }

  .packages-footer__brand {
    width: 68px;
  }

  .packages-footer__copyright {
    font-size: 7px;
  }
}


/* ==================================================
   PACKAGES FOOTER — FINAL CONTENT + SERVICE BULLET HOVER
================================================== */

.packages-footer__column--services .packages-footer__service {
  position: relative;
  width: 100%;
  padding-right: 15px;
  cursor: default;
  transition: color 180ms ease;
}

.packages-footer__column--services .packages-footer__service::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.9em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  transform: translateY(-50%);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.packages-footer__column--services .packages-footer__service:hover {
  color: rgba(255, 255, 255, 0.94);
}

.packages-footer__column--services .packages-footer__service:hover::before {
  background: #fff;
  transform: translateY(-50%) scale(1.18);
  box-shadow:
    0 0 5px rgba(255, 255, 255, 0.7),
    0 0 11px rgba(255, 255, 255, 0.28);
}

.packages-footer__column--contact .packages-footer__email {
  direction: ltr;
  text-align: right;
  font-family: "BelfastGrotesk", sans-serif;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.68);
}

.packages-footer__brand {
  width: 70px;
}

.packages-footer__brand img {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.packages-footer__bottom {
  flex-direction: row-reverse;
}

@media (max-width: 600px) {
  .packages-footer__brand {
    width: 56px;
  }

  .packages-footer__column--services .packages-footer__service {
    padding-right: 13px;
  }

  .packages-footer__column--services .packages-footer__service::before {
    width: 3px;
    height: 3px;
  }
}

@media (orientation: landscape) and (max-height: 600px) and (max-width: 950px) {
  .packages-footer__brand {
    width: 52px;
  }
}




/* Footer QA matching Packages */
.packages-footer__column {
  overflow-wrap: anywhere;
}

.packages-footer a:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}

.packages-footer {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .packages-footer {
    overflow-x: hidden;
  }
}

html.about-menu-open,
html.about-menu-open body {
  overflow: hidden;
}




/* =========================================================
   SERVICES V2 — SCROLL MOTION PASS
========================================================= */

.services-hero__inner,
.services-index__head,
.service-row,
.services-system__head,
.services-flow,
.services-cta__grid{
  will-change:transform,opacity;
}

.services-hero__visual,
.sv-light,
.services-backdrop i,
.services-system__light{
  will-change:transform,opacity;
}

.service-row{
  --row-progress:0;
}

.service-row::before{
  content:"";
  position:absolute;
  right:0;
  bottom:-1px;
  width:100%;
  height:1px;
  background:rgba(255,255,255,.42);
  transform:scaleX(var(--row-progress));
  transform-origin:right center;
  opacity:.42;
  pointer-events:none;
}

.service-row__number,
.service-row__title,
.service-row p,
.service-row__mark{
  will-change:transform,opacity;
}

.services-system{
  isolation:isolate;
}

.services-system::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(115deg,
      transparent 22%,
      rgba(255,255,255,.018) 48%,
      transparent 72%);
  transform:translateX(38%);
  opacity:.75;
  will-change:transform;
}

.services-flow span,
.services-flow i{
  display:inline-block;
  will-change:transform,opacity;
}

.services-cta{
  position:relative;
  overflow:hidden;
}

.services-cta::before{
  content:"";
  position:absolute;
  width:55vw;
  height:18vw;
  left:-18vw;
  top:20%;
  border-radius:50%;
  background:linear-gradient(90deg,transparent,rgba(49,84,255,.08),rgba(255,95,24,.08),transparent);
  filter:blur(38px);
  pointer-events:none;
  transform:rotate(-10deg);
  will-change:transform;
}

@media(max-width:600px){
  .service-row::before{opacity:.22}
  .services-cta::before{width:110vw;height:35vw;left:-55vw}
}

@media(prefers-reduced-motion:reduce){
  .service-row::before{display:none}
  .services-system::before,
  .services-cta::before{transform:none!important}
}

/* =========================================================
   V5 — APPLE-LIKE GLOBAL NAVIGATION
   - Original header DOM preserved
   - Portrait mobile = Apple-like full-screen drill-down
   - Landscape phone/tablet = desktop navigation, no hamburger
========================================================= */

.packages-footer__service{
  text-decoration:none;
  color:rgba(255,255,255,.58);
  transition:color .18s ease;
}
.packages-footer__service:hover,
.packages-footer__service:focus-visible{
  color:#fff;
  outline:none;
}

/* Desktop navigation mode also applies to phone/tablet landscape. */
@media (min-width:901px), (orientation:landscape) and (min-width:568px){
  .armiran-nav{
    z-index:1002 !important;
  }

  .armiran-nav-toggle{
    display:none !important;
  }

  .armiran-nav-links{
    display:flex !important;
  }

  .apple-mobile-menu{
    display:none !important;
  }

  .apple-services-backdrop{
    display:block;
    position:fixed;
    inset:0;
    z-index:1000;
    background:rgba(0,0,0,.34);
    -webkit-backdrop-filter:blur(7px);
    backdrop-filter:blur(7px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:
      opacity .32s cubic-bezier(.4,0,.6,1),
      visibility .32s step-end;
  }

  .apple-services-menu{
    --apple-nav-bottom:74px;
    display:block;
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:1001;
    padding-top:var(--apple-nav-bottom);
    background:#161617;
    color:#f5f5f7;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-10px);
    clip-path:inset(0 0 100% 0);
    transition:
      clip-path .42s cubic-bezier(.4,0,.2,1),
      transform .42s cubic-bezier(.4,0,.2,1),
      opacity .24s ease,
      visibility .42s step-end;
    box-shadow:0 24px 50px rgba(0,0,0,.18);
  }

  .apple-services-menu.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0);
    clip-path:inset(0 0 0 0);
    transition:
      clip-path .42s cubic-bezier(.4,0,.2,1),
      transform .42s cubic-bezier(.4,0,.2,1),
      opacity .2s ease,
      visibility 0s step-start;
  }

  .apple-services-backdrop.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transition:
      opacity .32s cubic-bezier(.4,0,.6,1),
      visibility 0s step-start;
  }

  .apple-services-menu__inner{
    width:min(980px,calc(100vw - 64px));
    margin:0 auto;
    padding:36px 0 48px;
    direction:rtl;
  }

  .apple-services-menu__eyebrow{
    margin:0 0 18px;
    color:#86868b;
    font:500 11px/1.4 Modam,system-ui,sans-serif;
  }

  .apple-services-menu__grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    column-gap:48px;
    row-gap:0;
  }

  .apple-services-menu__grid a{
    display:flex;
    align-items:center;
    min-height:48px;
    padding:4px 0;
    color:#f5f5f7;
    text-decoration:none;
    font:700 17px/1.55 Modam,system-ui,sans-serif;
    letter-spacing:-.015em;
    transition:color .18s ease;
  }

  .apple-services-menu__grid a:hover,
  .apple-services-menu__grid a:focus-visible{
    color:#fff;
    outline:none;
  }

  .apple-services-menu__grid:has(a:hover) a:not(:hover){
    color:#8d8d92;
  }

  .apple-services-menu__all{
    display:inline-flex;
    gap:8px;
    align-items:center;
    margin-top:24px;
    color:#a1a1a6;
    text-decoration:none;
    font:500 11px/1.5 Modam,system-ui,sans-serif;
    transition:color .18s ease;
  }

  .apple-services-menu__all:hover,
  .apple-services-menu__all:focus-visible{
    color:#fff;
    outline:none;
  }

  .apple-services-menu__all span{
    display:inline-block;
    transition:transform .2s ease;
  }

  .apple-services-menu__all:hover span{
    transform:translateX(-3px);
  }
}

/* Tighter desktop treatment for phone landscape: same nav, no hamburger. */
@media (orientation:landscape) and (min-width:568px) and (max-width:900px){
  .armiran-nav{
    width:calc(100% - 26px) !important;
    max-width:860px !important;
  }

  .armiran-nav-logo img{
    max-height:20px !important;
  }

  .armiran-nav-links{
    gap:clamp(14px,2.6vw,30px) !important;
  }

  .armiran-nav-link{
    font-size:11px !important;
    white-space:nowrap;
  }

  .apple-services-menu__inner{
    width:min(760px,calc(100vw - 40px));
    padding:22px 0 30px;
  }

  .apple-services-menu__grid{
    column-gap:28px;
  }

  .apple-services-menu__grid a{
    min-height:38px;
    font-size:13px;
  }
}

/* Portrait mobile only. */
@media (max-width:900px) and (orientation:portrait){
  html.services-menu-open,
  html.services-menu-open body{
    overflow:hidden !important;
  }

  .apple-services-menu,
  .apple-services-backdrop{
    display:none !important;
  }

  .armiran-nav{
    z-index:1202 !important;
    transition:
      background-color .3s cubic-bezier(.4,0,.2,1),
      border-color .3s ease,
      box-shadow .3s ease,
      backdrop-filter .3s ease !important;
  }

  html.services-menu-open .armiran-nav{
    background:transparent !important;
    border-color:transparent !important;
    box-shadow:none !important;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
  }

  /* Logo disappears while menu is open, exactly as requested. */
  .armiran-nav-logo{
    transition:opacity .22s ease, visibility .22s ease;
  }

  html.services-menu-open .armiran-nav-logo{
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }

  /* Apple-like compact two-line menu glyph.
     Keep original three spans, hide the middle one. */
  .armiran-nav-toggle{
    display:flex !important;
    position:relative;
    z-index:3;
    width:30px !important;
    height:30px !important;
    align-items:center;
    justify-content:center;
    padding:0 !important;
  }

  .armiran-nav-toggle span{
    position:absolute !important;
    top:50% !important;
    left:50% !important;
    right:auto !important;
    width:14px !important;
    height:1px !important;
    margin:0 !important;
    border-radius:1px;
    background:#f5f5f7 !important;
    transform-origin:50% 50%;
    will-change:transform;
    transition:
      transform .34s cubic-bezier(.4,0,.2,1),
      opacity .18s ease,
      background-color .24s ease !important;
  }

  .armiran-nav-toggle span:nth-child(1){
    transform:translate(-50%,-4px) rotate(0deg);
  }

  .armiran-nav-toggle span:nth-child(2){
    opacity:0 !important;
    transform:translate(-50%,0) scaleX(.4);
  }

  .armiran-nav-toggle span:nth-child(3){
    transform:translate(-50%,4px) rotate(0deg);
  }

  html.services-menu-open .armiran-nav-toggle span{
    background:#f5f5f7 !important;
  }

  .armiran-nav-toggle.active span:nth-child(1){
    transform:translate(-50%,0) rotate(45deg) !important;
  }

  .armiran-nav-toggle.active span:nth-child(3){
    transform:translate(-50%,0) rotate(-45deg) !important;
  }

  .apple-mobile-menu.menu-overlay{
    position:fixed !important;
    inset:0 !important;
    z-index:1201 !important;
    display:block !important;
    width:100% !important;
    height:100dvh !important;
    background:#161617 !important;
    color:#f5f5f7 !important;
    opacity:1;
    visibility:hidden;
    pointer-events:none;
    overflow:hidden !important;
    transform:none !important;
    clip-path:inset(0 0 100% 0);
    will-change:clip-path;
  }

  .apple-mobile-menu__viewport{
    position:absolute;
    inset:0;
    overflow:hidden;
    background:#161617;
  }

  .apple-mobile-panel{
    position:absolute;
    inset:0;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    padding:
      max(105px,calc(env(safe-area-inset-top) + 78px))
      38px
      44px;
    background:#161617;
  }

  .apple-mobile-panel--main{
    transform:translateX(0);
    opacity:1;
  }

  .apple-mobile-panel--services{
    transform:translateX(-100%);
    opacity:1;
    padding-top:max(116px,calc(env(safe-area-inset-top) + 88px));
    transition:transform .46s cubic-bezier(.32,.72,0,1);
  }

  .apple-mobile-menu.is-services .apple-mobile-panel--main{
    transform:translateX(26%);
    opacity:0;
    pointer-events:none;
    transition:
      transform .46s cubic-bezier(.32,.72,0,1),
      opacity .28s ease;
  }

  .apple-mobile-menu.is-services .apple-mobile-panel--services{
    transform:translateX(0);
  }

  .apple-mobile-main-links{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:0 !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
  }

  .apple-mobile-main-links > a,
  .apple-mobile-services-trigger{
    position:relative;
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    width:100%;
    min-height:44px;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    background:transparent;
    color:#f5f5f7 !important;
    text-decoration:none;
    text-align:right;
    font:700 clamp(20px,6vw,24px)/1.22 Modam,system-ui,sans-serif !important;
    letter-spacing:-.025em;
    opacity:1 !important;
    transform:none !important;
    cursor:pointer;
  }

  .apple-mobile-services-trigger i{
    position:relative;
    flex:0 0 11px;
    width:11px;
    height:16px;
    margin-right:12px;
    opacity:.84;
  }

  .apple-mobile-services-trigger i::before,
  .apple-mobile-services-trigger i::after{
    content:"";
    position:absolute;
    left:4px;
    width:7px;
    height:1px;
    border-radius:2px;
    background:#f5f5f7;
    transform-origin:left center;
  }

  .apple-mobile-services-trigger i::before{
    top:5px;
    transform:rotate(45deg);
  }

  .apple-mobile-services-trigger i::after{
    top:10px;
    transform:rotate(-45deg);
  }

  /* Separate back button, like Apple's submenu top bar. */
  .apple-mobile-back{
    position:fixed;
    top:max(58px,calc(env(safe-area-inset-top) + 18px));
    left:28px;
    z-index:1204;
    width:32px;
    height:32px;
    border:0;
    padding:0;
    background:transparent;
    cursor:pointer;
    opacity:0;
    pointer-events:none;
    transform:translateX(-8px);
    transition:
      opacity .22s ease,
      transform .32s cubic-bezier(.32,.72,0,1);
  }

  .apple-mobile-menu.is-services .apple-mobile-back{
    opacity:1;
    pointer-events:auto;
    transform:translateX(0);
  }

  .apple-mobile-back i::before,
  .apple-mobile-back i::after{
    content:"";
    position:absolute;
    left:8px;
    width:12px;
    height:1px;
    border-radius:2px;
    background:#f5f5f7;
    transform-origin:left center;
  }

  .apple-mobile-back i::before{
    top:12px;
    transform:rotate(-45deg);
  }

  .apple-mobile-back i::after{
    top:20px;
    transform:rotate(45deg);
  }

  /* Apple submenu structure: no mini heading / no "all services" label.
     The first row is "همه خدمات", followed by the full large list. */
  .apple-mobile-service-links{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    width:100%;
    gap:0;
  }

  .apple-mobile-service-links a{
    display:block;
    padding:8px 0;
    color:#f5f5f7;
    text-decoration:none;
    font:700 clamp(20px,5.8vw,25px)/1.3 Modam,system-ui,sans-serif;
    letter-spacing:-.027em;
  }

  .apple-mobile-service-links a:first-child{
    margin-bottom:2px;
  }

  @media (max-width:390px){
    .apple-mobile-panel{
      padding-left:28px;
      padding-right:28px;
    }

    .apple-mobile-main-links > a,
    .apple-mobile-services-trigger{
      font-size:20px !important;
    }

    .apple-mobile-service-links a{
      font-size:19px;
      padding:7px 0;
    }

    .apple-mobile-back{
      left:20px;
    }
  }
}

@media (prefers-reduced-motion:reduce){
  .apple-services-menu,
  .apple-services-backdrop,
  .apple-mobile-menu,
  .apple-mobile-panel,
  .armiran-nav,
  .armiran-nav-logo,
  .armiran-nav-toggle span{
    transition:none !important;
  }
}


/* =========================================================
   V18 — APPLE MOBILE FLYOUT MOTION
   Whole menu level only:
   forward: old 0 -> -8px / new +8px -> 0
   back:    old 0 -> +8px / new -8px -> 0
========================================================= */

@keyframes armiran-flyout-forward-next{
  0%{
    opacity:0;
    transform:translate3d(8px,0,0);
  }
  100%{
    opacity:1;
    transform:translate3d(0,0,0);
  }
}

@keyframes armiran-flyout-forward-previous{
  0%{
    opacity:1;
    transform:translate3d(0,0,0);
  }
  100%{
    opacity:0;
    transform:translate3d(-8px,0,0);
  }
}

@keyframes armiran-flyout-back-previous{
  0%{
    opacity:1;
    transform:translate3d(0,0,0);
  }
  100%{
    opacity:0;
    transform:translate3d(8px,0,0);
  }
}

@keyframes armiran-flyout-back-next{
  0%{
    opacity:0;
    transform:translate3d(-8px,0,0);
  }
  100%{
    opacity:1;
    transform:translate3d(0,0,0);
  }
}

@media (max-width:900px) and (orientation:portrait){

  /* Never animate individual typography in the submenu transition. */
  .apple-mobile-main-links > *,
  .apple-mobile-service-links a{
    filter:none !important;
    -webkit-filter:none !important;
    text-shadow:none !important;
    -webkit-mask:none !important;
    mask:none !important;
  }

  /* Normal hamburger level is always the default. */
  .apple-mobile-panel--main,
  .apple-mobile-menu.is-services .apple-mobile-panel--main{
    transform:translate3d(0,0,0);
    opacity:1;
  }

  .apple-mobile-panel--services,
  .apple-mobile-menu.is-services .apple-mobile-panel--services{
    transform:translate3d(0,0,0);
    opacity:1;
  }

  .apple-mobile-panel--services{
    visibility:hidden;
    pointer-events:none;
  }

  /* Authoritative whole-level animations. */
  .apple-mobile-panel.anim-forward-out{
    animation:armiran-flyout-forward-previous .36s cubic-bezier(.4,0,.6,1) both !important;
  }

  .apple-mobile-panel.anim-forward-in{
    animation:armiran-flyout-forward-next .36s cubic-bezier(.4,0,.6,1) both !important;
  }

  .apple-mobile-panel.anim-back-out{
    animation:armiran-flyout-back-previous .36s cubic-bezier(.4,0,.6,1) both !important;
  }

  .apple-mobile-panel.anim-back-in{
    animation:armiran-flyout-back-next .36s cubic-bezier(.4,0,.6,1) both !important;
  }

  /* No extra transition can fight the keyframes. */
  .apple-mobile-panel--main,
  .apple-mobile-panel--services,
  .apple-mobile-menu.is-services .apple-mobile-panel--main,
  .apple-mobile-menu.is-services .apple-mobile-panel--services{
    transition:none !important;
    filter:none !important;
    -webkit-filter:none !important;
  }

  /* The transparent header must not steal taps from Back.
     X/hamburger remains interactive. */
  html.services-menu-open .armiran-nav{
    pointer-events:none !important;
  }

  html.services-menu-open .armiran-nav-toggle{
    pointer-events:auto !important;
  }

  /* Back control: mirror the real X box through JS. */
  .apple-mobile-back{
    position:fixed !important;
    top:var(--apple-back-top,48px) !important;
    left:var(--apple-back-left,28px) !important;
    width:var(--apple-back-size,30px) !important;
    height:var(--apple-back-size,30px) !important;
    z-index:1210 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:none !important;
    transition:none !important;
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
  }

  .apple-mobile-menu.is-services .apple-mobile-back{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }

  .apple-mobile-back i{
    position:absolute !important;
    inset:0 !important;
    display:block !important;
  }

  /* Compact Apple-like chevron, optically matched to the X. */
  .apple-mobile-back i::before,
  .apple-mobile-back i::after{
    content:"" !important;
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    width:10px !important;
    height:1.15px !important;
    margin:0 !important;
    border:0 !important;
    border-radius:2px !important;
    background:#f5f5f7 !important;
    transform-origin:0 50% !important;
  }

  .apple-mobile-back i::before{
    transform:translate(-4px,-.6px) rotate(-45deg) !important;
  }

  .apple-mobile-back i::after{
    transform:translate(-4px,-.6px) rotate(45deg) !important;
  }
}

@media (prefers-reduced-motion:reduce){
  .apple-mobile-panel.anim-forward-out,
  .apple-mobile-panel.anim-forward-in,
  .apple-mobile-panel.anim-back-out,
  .apple-mobile-panel.anim-back-in{
    animation-duration:.01ms !important;
  }
}


/* =========================================================
   V19 — MOBILE MENU CONTENT ALIGNMENT ONLY
   Matches the user-marked top and right guides.
   No navigation or animation changes.
========================================================= */
@media (max-width:900px) and (orientation:portrait){

  /* Apply the same content origin to BOTH menu levels. */
  .apple-mobile-panel,
  .apple-mobile-panel--main,
  .apple-mobile-panel--services{
    padding-top:70px !important;
    padding-right:44px !important;
    padding-left:38px !important;
  }

  /* Neutralize the older submenu-specific top offset. */
  .apple-mobile-panel--services{
    padding-top:70px !important;
  }
}


/* =========================================================
   V21 — DEBUGGED BACK EXIT
   Only the chevron glyph animates; button geometry stays untouched.
========================================================= */
@keyframes armiran-back-glyph-exit{
  0%{
    opacity:1;
    transform:translate3d(0,0,0) scale(1);
  }
  55%{
    opacity:.42;
    transform:translate3d(-1px,0,0) scale(.985);
  }
  100%{
    opacity:0;
    transform:translate3d(-2px,0,0) scale(.96);
  }
}

@media (max-width:900px) and (orientation:portrait){
  .apple-mobile-back.is-leaving i{
    animation:armiran-back-glyph-exit .20s cubic-bezier(.4,0,.6,1) both !important;
    transform-origin:50% 50% !important;
    will-change:opacity,transform;
  }

  /* Guarantee the glyph starts clean whenever the submenu opens again. */
  .apple-mobile-back:not(.is-leaving) i{
    opacity:1;
    transform:none;
    animation:none;
  }
}

@media (prefers-reduced-motion:reduce){
  .apple-mobile-back.is-leaving i{
    animation-duration:.01ms !important;
  }
}
