/* =========================================================
   ARMIRAN WEB — PACKAGES PAGE
   ========================================================= */


/* =========================================================
   PAGE
   ========================================================= */

.packages-page {
  width: 100%;
  min-height: 100vh;

  background: #000;
  color: #fff;
}


/* =========================================================
   HERO
   ========================================================= */

.packages-hero {
  position: relative;

  width: 100%;

  padding: 190px 0 110px;

  overflow: hidden;
}

.packages-hero__inner {
  position: relative;
  z-index: 2;

  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.packages-hero__heading {
  width: min(680px, 100%);

  margin-right: 0;

  text-align: right;
}


/* Eyebrow */

.packages-hero__eyebrow {
  display: block;

  margin-bottom: 18px;

  font-family: "BelfastGrotesk", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.12em;

  color: rgba(255, 255, 255, 0.42);

  direction: ltr;
  text-align: right;
}


/* Hero title */

.packages-hero__title {
  margin: 0;

  font-size: clamp(52px, 5.2vw, 82px);
  font-weight: 900;
  line-height: 1.05;

  color: #fff;
}


/* Hero description */

.packages-hero__description {
  max-width: 560px;

  margin: 26px 0 0;

  font-size: 17px;
  font-weight: 500;
  line-height: 2;

  color: rgba(255, 255, 255, 0.55);
}


/* =========================================================
   HERO ABSTRACT
   ========================================================= */

.packages-hero__abstract {
  position: absolute;
  inset: 0;
  z-index: 1;

  overflow: hidden;

  pointer-events: none;
}

.packages-hero__line {
  position: absolute;

  display: block;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.04) 15%,
      rgba(255, 255, 255, 0.15) 50%,
      rgba(255, 255, 255, 0.04) 85%,
      transparent 100%
    );

  transform-origin: center;
}

.packages-hero__line--1 {
  top: 180px;
  left: -150px;

  width: 760px;

  transform: rotate(-25deg);
}

.packages-hero__line--2 {
  top: 340px;
  left: -80px;

  width: 700px;

  opacity: 0.72;

  transform: rotate(18deg);
}

.packages-hero__line--3 {
  top: 270px;
  left: 35px;

  width: 610px;

  opacity: 0.4;

  transform: rotate(-38deg);
}


/* Main circle */

.packages-hero__orb {
  position: absolute;

  top: 115px;
  left: -95px;

  width: 330px;
  height: 330px;

  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 50%;
}


/* Secondary circle */

.packages-hero__orb::before {
  content: "";

  position: absolute;

  right: -46px;
  bottom: -10px;

  width: 110px;
  height: 110px;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}


/* Abstract node */

.packages-hero__orb::after {
  content: "";

  position: absolute;

  right: -103px;
  bottom: 84px;

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.38);
}


/* =========================================================
   PACKAGE SELECTOR
   ========================================================= */

.packages-selector {
  position: relative;

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));

  width: 100%;

  margin-top: 92px;

  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);

  background: transparent;
}

.packages-selector__item {
  position: relative;

  min-width: 0;
  min-height: 78px;

  padding: 0 20px;

  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0;

  outline: 0;

  background: transparent;

  color: rgba(255, 255, 255, 0.50);

  font-family: inherit;
  font-size: 14px;
  font-weight: 500;

  cursor: pointer;

  transition:
    color 220ms ease,
    background-color 220ms ease;
}

.packages-selector__item:last-child {
  border-left: 0;
}

.packages-selector__item:hover {
  color: rgba(255, 255, 255, 0.84);
}

.packages-selector__item:focus-visible {
  color: #fff;

  outline: 1px solid rgba(255, 255, 255, 0.35);
  outline-offset: -4px;
}

.packages-selector__item.is-active,
.packages-selector__item[aria-selected="true"] {
  color: #fff;
}


/* Active indicator */

.packages-selector__item.is-active::after,
.packages-selector__item[aria-selected="true"]::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: -1px;
  left: 0;

  height: 2px;

  background: #fff;
}


/* =========================================================
   PACKAGE SECTION
   ========================================================= */

.package-section {
  position: relative;

  width: 100%;

  padding: 110px 0 140px;

  background: #000;
}

.package-section__inner {
  width: min(1240px, calc(100% - 48px));

  margin-inline: auto;
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.package-section__header {
  max-width: 720px;

  margin-right: 0;
  margin-bottom: 70px;

  text-align: right;
}

.package-section__index {
  margin-bottom: 14px;

  font-family: "BelfastGrotesk", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.12em;

  color: rgba(255, 255, 255, 0.38);

  direction: ltr;
  text-align: right;
}

.package-section__title {
  margin: 0;

  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.15;

  color: #fff;
}

.package-section__intro {
  max-width: 620px;

  margin: 20px 0 0;

  font-size: 16px;
  font-weight: 500;
  line-height: 2;

  color: rgba(255, 255, 255, 0.50);
}


/* =========================================================
   PLANS GRID
   ========================================================= */

.package-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}


/* =========================================================
   PLAN
   ========================================================= */

.package-plan {
  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;

  padding: 42px 34px 38px;

  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.package-plan:last-child {
  border-left: 0;
}


/* Professional plan indicator */

.package-plan--featured::before {
  content: "";

  position: absolute;

  top: -1px;
  right: 0;
  left: 0;

  height: 2px;

  background: rgba(255, 255, 255, 0.92);
}


/* =========================================================
   PLAN HEADER
   ========================================================= */

.package-plan__head {
  min-height: 180px;
}

.package-plan__number {
  display: block;

  margin-bottom: 20px;

  font-family: "BelfastGrotesk", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.12em;

  color: rgba(255, 255, 255, 0.33);
}

.package-plan__name {
  margin: 0;

  font-size: clamp(27px, 2.2vw, 34px);
  font-weight: 900;
  line-height: 1.3;

  color: #fff;
}

.package-plan__summary {
  margin: 18px 0 0;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.95;

  color: rgba(255, 255, 255, 0.46);
}


/* =========================================================
   FEATURES
   ========================================================= */

.package-plan__features {
  flex: 1;

  list-style: none;

  margin: 18px 0 0;
  padding: 0;
}

.package-plan__features li {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  min-height: 52px;

  padding: 11px 24px 11px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.075);

  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
}


/* Small row marker */

.package-plan__features li::before {
  content: "";

  position: absolute;

  top: 50%;
  right: 2px;

  width: 5px;
  height: 5px;

  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;

  transform: translateY(-50%);
}


/* Feature name */

.package-plan__feature-name {
  min-width: 0;

  color: rgba(255, 255, 255, 0.72);

  overflow-wrap: anywhere;
}


/* Feature value */

.package-plan__feature-value {
  flex: 0 0 auto;

  max-width: 46%;

  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;

  color: rgba(255, 255, 255, 0.46);

  text-align: left;
}


/* Unsupported feature */

.package-plan__feature-value--disabled {
  color: rgba(255, 255, 255, 0.20);
}


/* =========================================================
   PRICE
   ========================================================= */

.package-plan__footer {
  margin-top: 38px;

  padding-top: 28px;

  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.package-plan__price-label {
  display: block;

  margin-bottom: 9px;

  font-size: 12px;
  font-weight: 500;

  color: rgba(255, 255, 255, 0.35);
}

.package-plan__price {
  display: flex;
  align-items: baseline;

  gap: 9px;
}

.package-plan__price strong {
  font-family: inherit;

  font-size: clamp(34px, 3vw, 46px);
  font-weight: 900;
  line-height: 1;

  color: #fff;
}

.package-plan__price span {
  font-size: 12px;
  font-weight: 500;

  color: rgba(255, 255, 255, 0.48);
}


/* =========================================================
   PLAN CTA
   ========================================================= */

.package-plan__cta {
  position: relative;

  display: inline-flex;
  align-items: center;

  width: fit-content;

  margin-top: 26px;

  padding-bottom: 7px;

  text-decoration: none;

  font-size: 13px;
  font-weight: 500;

  color: rgba(255, 255, 255, 0.72);

  transition: color 220ms ease;
}

.package-plan__cta::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: 0;

  width: 34px;
  height: 1px;

  background: rgba(255, 255, 255, 0.35);

  transition:
    width 220ms ease,
    background-color 220ms ease;
}

.package-plan__cta:hover {
  color: #fff;
}

.package-plan__cta:hover::after {
  width: 100%;

  background: rgba(255, 255, 255, 0.75);
}

.package-plan__cta:focus-visible {
  color: #fff;

  outline: 1px solid rgba(255, 255, 255, 0.35);
  outline-offset: 5px;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1000px) {

  /* Hero */

  .packages-hero {
    padding-top: 155px;
    padding-bottom: 85px;
  }

  .packages-hero__inner,
  .package-section__inner {
    width: min(1240px, calc(100% - 36px));
  }

  .packages-hero__description {
    font-size: 15px;
  }


  /* Selector */

  .packages-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    margin-top: 70px;
  }

  .packages-selector__item {
    min-height: 66px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }

  .packages-selector__item:nth-child(2n) {
    border-left: 0;
  }

  .packages-selector__item:last-child {
    grid-column: 1 / -1;

    border-bottom: 0;
    border-left: 0;
  }


  /* Package section */

  .package-section {
    padding: 90px 0 110px;
  }

  .package-plans {
    grid-template-columns: 1fr;
  }

  .package-plan {
    padding: 38px 24px 44px;

    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .package-plan:last-child {
    border-bottom: 0;
  }

  .package-plan__head {
    min-height: 0;

    padding-bottom: 15px;
  }

  .package-plan--featured::before {
    right: 0;
    left: 0;
  }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 600px) {

  /* Hero */

  .packages-hero {
    padding-top: 125px;
    padding-bottom: 70px;
  }

  .packages-hero__inner,
  .package-section__inner {
    width: calc(100% - 24px);
  }

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

  .packages-hero__title {
    font-size: clamp(44px, 14vw, 58px);
  }

  .packages-hero__description {
    max-width: 100%;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.9;
  }


  /* Abstract */

  .packages-hero__abstract {
    opacity: 0.68;
  }

  .packages-hero__line--1 {
    top: 125px;
    left: -220px;
    width: 430px;
  }

  .packages-hero__line--2 {
    top: 255px;
    left: -170px;
    width: 400px;
  }

  .packages-hero__line--3 {
    display: none;
  }

  .packages-hero__orb {
    top: 100px;
    left: -150px;
    width: 240px;
    height: 240px;
  }

  .packages-hero__orb::before {
    right: -30px;
    bottom: -5px;
    width: 80px;
    height: 80px;
  }

  .packages-hero__orb::after {
    right: -67px;
    bottom: 58px;
  }


  /* Selector */

  .packages-selector {
    grid-template-columns: 1fr;
    margin-top: 55px;
  }

  .packages-selector__item {
    min-height: 58px;
    padding: 0 16px;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 13px;
  }

  .packages-selector__item:last-child {
    grid-column: auto;
    border-bottom: 0;
  }

  .packages-selector__item.is-active::after,
  .packages-selector__item[aria-selected="true"]::after {
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 3px;
    height: auto;
  }


  /* Package section */

  .package-section {
    padding: 72px 0 90px;
    overflow: hidden;
  }

  .package-section__header {
    margin-bottom: 42px;
  }

  .package-section__index {
    font-size: 11px;
  }

  .package-section__title {
    font-size: 38px;
  }

  .package-section__intro {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.9;
  }


  /* Three plans visible together */

  .package-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    width: 100%;
    overflow: visible;

    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .package-plan {
    min-width: 0;
    width: auto;

    padding: 24px 8px 28px;

    border-left: 1px solid rgba(255, 255, 255, 0.11);
    border-bottom: 0;
  }

  .package-plan:last-child {
    border-left: 0;
    border-bottom: 0;
  }

  .package-plan--featured::before {
    right: 0;
    left: 0;
  }


  /* Plan header */

  .package-plan__head {
    min-height: 104px;
    padding-bottom: 0;
  }

  .package-plan__number {
    margin-bottom: 10px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .package-plan__name {
    font-size: clamp(17px, 4.8vw, 21px);
    line-height: 1.35;
  }

  /* Long marketing copy is removed on mobile comparison view */
  .package-plan__summary {
    display: none;
  }


  /* Features */

  .package-plan__features {
    margin-top: 10px;
  }

  .package-plan__features li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    gap: 4px;

    min-height: 66px;

    padding: 8px 11px 8px 0;

    font-size: 10px;
    line-height: 1.45;
  }

  .package-plan__features li::before {
    right: 0;
    width: 4px;
    height: 4px;
  }

  .package-plan__feature-name,
  .package-plan__feature-value {
    width: 100%;
    max-width: 100%;
  }

  .package-plan__feature-name {
    font-size: 10px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
  }

  .package-plan__feature-value {
    font-size: 9.5px;
    line-height: 1.4;
    text-align: right;
    color: rgba(255, 255, 255, 0.42);
  }

  .package-plan__feature-value--disabled {
    color: rgba(255, 255, 255, 0.20);
  }


  /* Price */

  .package-plan__footer {
    margin-top: 22px;
    padding-top: 18px;
  }

  .package-plan__price-label {
    margin-bottom: 7px;
    font-size: 9px;
  }

  .package-plan__price {
    display: block;
  }

  .package-plan__price strong {
    display: block;
    font-size: clamp(23px, 7vw, 30px);
    line-height: 1;
  }

  .package-plan__price span {
    display: block;
    margin-top: 6px;
    font-size: 8.5px;
    line-height: 1.45;
  }


  /* CTA */

  .package-plan__cta {
    margin-top: 16px;
    padding-bottom: 5px;
    font-size: 9px;
    line-height: 1.5;
  }

  .package-plan__cta::after {
    width: 22px;
  }

}


/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 380px) {

  .packages-hero__inner,
  .package-section__inner {
    width: calc(100% - 18px);
  }

  .packages-hero__title {
    font-size: 42px;
  }

  .package-section__title {
    font-size: 34px;
  }

  .package-plan {
    padding-right: 6px;
    padding-left: 6px;
  }

  .package-plan__name {
    font-size: 17px;
  }

  .package-plan__features li {
    min-height: 68px;
    padding-right: 9px;
  }

  .package-plan__feature-name {
    font-size: 9.5px;
  }

  .package-plan__feature-value {
    font-size: 9px;
  }

  .package-plan__price strong {
    font-size: 24px;
  }

  .package-plan__price span,
  .package-plan__cta {
    font-size: 8px;
  }

}




/* =========================================================
   LANDSCAPE — MOBILE
   ========================================================= */

@media (max-height: 520px) and (orientation: landscape) {

  .packages-hero {
    padding-top: 110px;
    padding-bottom: 56px;
  }

  .packages-hero__inner,
  .package-section__inner {
    width: min(1180px, calc(100% - 32px));
  }

  .packages-hero__heading {
    width: min(560px, 58%);
  }

  .packages-hero__eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .packages-hero__title {
    font-size: clamp(38px, 7vw, 56px);
  }

  .packages-hero__description {
    margin-top: 14px;
    max-width: 500px;
    font-size: 13px;
    line-height: 1.75;
  }

  .packages-selector {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 42px;
  }

  .packages-selector__item {
    min-height: 52px;
    padding-inline: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.11);
    border-bottom: 0;
    font-size: 11px;
  }

  .packages-selector__item:nth-child(2n) {
    border-left: 1px solid rgba(255, 255, 255, 0.11);
  }

  .packages-selector__item:last-child {
    grid-column: auto;
    border-left: 0;
  }

  .packages-selector__item.is-active::after,
  .packages-selector__item[aria-selected="true"]::after {
    top: auto;
    right: 0;
    bottom: -1px;
    left: 0;
    width: auto;
    height: 2px;
  }

  .package-section {
    padding: 58px 0 72px;
  }

  .package-section__header {
    max-width: 620px;
    margin-bottom: 36px;
  }

  .package-section__index {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .package-section__title {
    font-size: 34px;
  }

  .package-section__intro {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.8;
  }

  .package-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .package-plan {
    padding: 26px 18px 30px;
  }

  .package-plan__head {
    min-height: 124px;
  }

  .package-plan__number {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .package-plan__name {
    font-size: 23px;
  }

  .package-plan__summary {
    display: block;
    margin-top: 12px;
    font-size: 11.5px;
    line-height: 1.75;
  }

  .package-plan__features {
    margin-top: 14px;
  }

  .package-plan__features li {
    min-height: 50px;
    gap: 10px;
    padding: 9px 18px 9px 0;
    font-size: 11px;
  }

  .package-plan__feature-name {
    max-width: 60%;
    font-size: 11px;
  }

  .package-plan__feature-value {
    max-width: 40%;
    font-size: 10px;
  }

  .package-plan__footer {
    margin-top: 24px;
    padding-top: 20px;
  }

  .package-plan__price strong {
    font-size: 30px;
  }

  .package-plan__price span {
    font-size: 10px;
  }

  .package-plan__cta {
    margin-top: 18px;
    font-size: 10px;
  }
}


/* =========================================================
   LANDSCAPE — TABLET
   ========================================================= */

@media (min-width: 601px) and (max-width: 1180px) and (orientation: landscape) {

  .packages-hero {
    padding-top: 145px;
    padding-bottom: 82px;
  }

  .packages-hero__inner,
  .package-section__inner {
    width: min(1120px, calc(100% - 48px));
  }

  .packages-hero__heading {
    width: min(650px, 62%);
  }

  .packages-hero__title {
    font-size: clamp(54px, 7vw, 74px);
  }

  .packages-hero__description {
    max-width: 560px;
    font-size: 15px;
    line-height: 1.9;
  }

  .packages-selector {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 62px;
  }

  .packages-selector__item {
    min-height: 64px;
    padding-inline: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.11);
    border-bottom: 0;
    font-size: 12.5px;
  }

  .packages-selector__item:nth-child(2n) {
    border-left: 1px solid rgba(255, 255, 255, 0.11);
  }

  .packages-selector__item:last-child {
    grid-column: auto;
    border-left: 0;
  }

  .package-section {
    padding: 88px 0 108px;
  }

  .package-section__header {
    margin-bottom: 56px;
  }

  .package-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .package-plan {
    padding: 34px 22px 36px;
    border-left: 1px solid rgba(255, 255, 255, 0.11);
    border-bottom: 0;
  }

  .package-plan:last-child {
    border-left: 0;
  }

  .package-plan__head {
    min-height: 162px;
    padding-bottom: 0;
  }

  .package-plan__name {
    font-size: clamp(25px, 2.7vw, 31px);
  }

  .package-plan__summary {
    display: block;
    font-size: 13px;
    line-height: 1.85;
  }

  .package-plan__features li {
    min-height: 51px;
    gap: 14px;
    padding: 10px 22px 10px 0;
    font-size: 12px;
  }

  .package-plan__feature-name {
    max-width: 62%;
  }

  .package-plan__feature-value {
    max-width: 38%;
    font-size: 11px;
  }

  .package-plan__price strong {
    font-size: 38px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .packages-selector__item,
  .package-plan__cta,
  .package-plan__cta::after {
    transition: none;
  }

}

/* Package tab visibility */
[data-package-panel][hidden] {
  display: none !important;
}


/* Package-specific commercial notes */
.package-section__note {
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 2;
}

@media (max-width: 600px) {
  .package-section__note {
    margin-top: 22px;
    padding-top: 14px;
    font-size: 10px;
    line-height: 1.9;
  }
}


/* ==================================================
   PACKAGES MOTION
================================================== */

.packages-hero__abstract,
.packages-hero__line,
.packages-hero__orb,
.packages-selector__item,
.package-section,
.package-plan,
.package-plan__features li,
.package-plan__footer {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .packages-hero__abstract,
  .packages-hero__line,
  .packages-hero__orb,
  .packages-selector__item,
  .package-section,
  .package-plan,
  .package-plan__features li,
  .package-plan__footer {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}


/* ==================================================
   SELECTOR → PACKAGE HEADER SPACING FIX
   Removes the large dead space between the category
   selector and the active package heading.
================================================== */

.packages-hero {
  padding-bottom: 0;
}

.package-section {
  padding-top: 46px;
}

@media (max-width: 1000px) {
  .packages-hero {
    padding-bottom: 0;
  }

  .package-section {
    padding-top: 40px;
  }
}

@media (max-width: 600px) {
  .packages-hero {
    padding-bottom: 0;
  }

  .package-section {
    padding-top: 32px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .packages-hero {
    padding-bottom: 0;
  }

  .package-section {
    padding-top: 32px;
  }
}

@media (min-width: 601px) and (max-width: 1180px) and (orientation: landscape) {
  .packages-hero {
    padding-bottom: 0;
  }

  .package-section {
    padding-top: 40px;
  }
}


/* ==================================================
   MOBILE PORTRAIT — HORIZONTAL PACKAGE SELECTOR
   Keeps all five categories in one horizontal rail.
================================================== */

@media (max-width: 600px) and (orientation: portrait) {
  .packages-selector {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    direction: rtl;
  }

  .packages-selector::-webkit-scrollbar {
    display: none;
  }

  .packages-selector__item {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
    padding: 16px 18px;
    white-space: nowrap;
    scroll-snap-align: start;
  }
}


/* ==================================================
   TIER GUIDE
================================================== */

.tier-guide {
  position: relative;
  padding: 130px 0 150px;
  background: #050505;
  overflow: hidden;
}

.tier-guide::before {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  width: min(1180px, calc(100% - 48px));
  height: 1px;
  transform: translateX(50%);
  background: rgba(255, 255, 255, 0.12);
}

.tier-guide__inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.tier-guide__header {
  max-width: 820px;
  margin-right: auto;
  margin-bottom: 78px;
}

.tier-guide__eyebrow {
  display: block;
  margin-bottom: 22px;
  font-family: "BelfastGrotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.42);
  direction: ltr;
  text-align: right;
}

.tier-guide__title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(34px, 4.4vw, 68px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: #fff;
}

.tier-guide__intro {
  max-width: 670px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  line-height: 2;
}

.tier-guide__levels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.tier-guide__level {
  position: relative;
  min-width: 0;
  padding: 38px 34px 42px;
}

.tier-guide__level + .tier-guide__level {
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.tier-guide__level--featured::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 2px;
  background: #fff;
}

.tier-guide__level-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 64px;
}

.tier-guide__number,
.tier-guide__latin {
  font-family: "BelfastGrotesk", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.38);
}

.tier-guide__name {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(27px, 2.4vw, 38px);
  font-weight: 900;
  line-height: 1.25;
}

.tier-guide__description {
  min-height: 144px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  line-height: 2;
}

.tier-guide__fit {
  display: block;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .tier-guide {
    padding: 100px 0 120px;
  }

  .tier-guide__header {
    margin-bottom: 58px;
  }

  .tier-guide__level {
    padding: 30px 22px 34px;
  }

  .tier-guide__level-top {
    margin-bottom: 46px;
  }

  .tier-guide__description {
    min-height: 168px;
  }
}

@media (max-width: 600px) {
  .tier-guide {
    padding: 78px 0 92px;
  }

  .tier-guide::before,
  .tier-guide__inner {
    width: calc(100% - 28px);
  }

  .tier-guide__header {
    margin-bottom: 44px;
  }

  .tier-guide__eyebrow {
    margin-bottom: 16px;
    font-size: 9px;
  }

  .tier-guide__title {
    font-size: clamp(29px, 9vw, 42px);
  }

  .tier-guide__intro {
    margin-top: 20px;
    font-size: 12px;
  }

  .tier-guide__levels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tier-guide__level {
    padding: 22px 10px 26px;
  }

  .tier-guide__level-top {
    display: block;
    margin-bottom: 32px;
  }

  .tier-guide__number,
  .tier-guide__latin {
    display: block;
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .tier-guide__latin {
    margin-top: 7px;
  }

  .tier-guide__name {
    margin-bottom: 16px;
    font-size: clamp(16px, 5vw, 22px);
  }

  .tier-guide__description {
    min-height: 210px;
    font-size: 9px;
    line-height: 1.9;
  }

  .tier-guide__fit {
    margin-top: 22px;
    padding-top: 12px;
    font-size: 8px;
  }
}


/* Tier guide RTL alignment fix */
.tier-guide__header {
  margin-right: 0;
  margin-left: auto;
  text-align: right;
}

.tier-guide__title,
.tier-guide__intro {
  text-align: right;
  margin-right: 0;
}

.tier-guide__eyebrow {
  text-align: right;
}


/* ==================================================
   CUSTOM SOLUTION
================================================== */

.custom-solution {
  position: relative;
  padding: 0 0 150px;
  background: #050505;
}

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

.custom-solution__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px 0 72px;
}

.custom-solution__index {
  font-family: "BelfastGrotesk", sans-serif;
  direction: ltr;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.38);
}

.custom-solution__line {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  transform-origin: right center;
}

.custom-solution__content {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(60px, 9vw, 140px);
  align-items: start;
}

.custom-solution__heading,
.custom-solution__body {
  min-width: 0;
}

.custom-solution__eyebrow {
  display: block;
  margin-bottom: 22px;
  font-family: "BelfastGrotesk", sans-serif;
  direction: ltr;
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.42);
}

.custom-solution__title {
  max-width: 720px;
  margin: 0;
  color: #fff;
  text-align: right;
  font-size: clamp(38px, 5vw, 76px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.custom-solution__description {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.58);
  text-align: right;
  font-size: 14px;
  line-height: 2.05;
}

.custom-solution__points {
  display: grid;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.custom-solution__points span {
  position: relative;
  display: block;
  padding: 16px 22px 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.custom-solution__points span::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  transform: translateY(-50%) rotate(45deg);
}

.custom-solution__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: border-color 220ms ease, color 220ms ease;
}

.custom-solution__arrow {
  display: inline-block;
  font-family: sans-serif;
  font-size: 19px;
  transition: transform 260ms cubic-bezier(.2,.7,.2,1);
}

.custom-solution__cta:hover {
  border-color: rgba(255, 255, 255, 0.32);
  color: rgba(255, 255, 255, 0.72);
}

.custom-solution__cta:hover .custom-solution__arrow {
  transform: translate(-5px, 5px);
}

@media (max-width: 900px) {
  .custom-solution {
    padding-bottom: 120px;
  }

  .custom-solution__meta {
    padding-bottom: 56px;
  }

  .custom-solution__content {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
    gap: 50px;
  }
}

@media (max-width: 600px) {
  .custom-solution {
    padding-bottom: 92px;
  }

  .custom-solution__inner {
    width: calc(100% - 28px);
  }

  .custom-solution__meta {
    gap: 14px;
    padding: 22px 0 42px;
  }

  .custom-solution__index {
    font-size: 8px;
  }

  .custom-solution__content {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .custom-solution__eyebrow {
    margin-bottom: 15px;
    font-size: 9px;
  }

  .custom-solution__title {
    font-size: clamp(31px, 10vw, 46px);
  }

  .custom-solution__description {
    font-size: 12px;
  }

  .custom-solution__points {
    margin-top: 28px;
  }

  .custom-solution__points span {
    padding-top: 13px;
    padding-bottom: 13px;
    font-size: 10px;
  }

  .custom-solution__cta {
    margin-top: 30px;
    font-size: 11px;
  }
}


/* ==================================================
   CUSTOM SOLUTION CTA — APPLE-INSPIRED BUTTON
================================================== */

.custom-solution__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  min-height: 46px;
  margin-top: 38px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(245, 245, 247, 0.96);
  color: #111;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28) inset;
  transition:
    background-color 220ms ease,
    color 220ms ease,
    transform 220ms cubic-bezier(.2,.7,.2,1),
    box-shadow 220ms ease;
}

.custom-solution__arrow {
  display: inline-block;
  font-family: sans-serif;
  font-size: 16px;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1);
}

.custom-solution__cta:hover {
  background: #fff;
  color: #000;
  transform: translateY(-1px);
  box-shadow:
    0 8px 24px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.52) inset;
}

.custom-solution__cta:hover .custom-solution__arrow {
  transform: translate(-3px, 3px);
}

.custom-solution__cta:active {
  transform: scale(0.985);
  background: rgba(238, 238, 240, 0.98);
}

.custom-solution__cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .custom-solution__cta {
    min-height: 42px;
    margin-top: 28px;
    padding: 0 18px;
    font-size: 11px;
  }
}


/* ==================================================
   CUSTOM SOLUTION CTA — SIMPLE HOVER
================================================== */

.custom-solution__cta {
  gap: 0;
  background: rgba(245, 245, 247, 0.96);
  color: #111;
  box-shadow: none;
  transition: background-color 180ms ease;
}

.custom-solution__cta:hover {
  background: #fff;
  color: #111;
  transform: none;
  box-shadow: none;
}

.custom-solution__cta:active {
  transform: none;
  background: #fff;
}

.custom-solution__arrow {
  display: none !important;
}


/* ==================================================
   PACKAGES FAQ
================================================== */

.packages-faq {
  position: relative;
  padding: 0 0 150px;
  background: #050505;
}

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

.packages-faq__header {
  max-width: 820px;
  margin: 0 0 76px auto;
  text-align: right;
}

.packages-faq__eyebrow {
  display: block;
  margin-bottom: 18px;
  font-family: "BelfastGrotesk", sans-serif;
  direction: ltr;
  text-align: right;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.4);
}

.packages-faq__title {
  margin: 0;
  color: #fff;
  text-align: right;
  font-size: clamp(36px, 4.5vw, 66px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.packages-faq__intro {
  max-width: 650px;
  margin: 24px 0 0 auto;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
  font-size: 13px;
  line-height: 2;
}

.packages-faq__list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.packages-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.packages-faq__question {
  width: 100%;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: right;
  font: inherit;
}

.packages-faq__number {
  font-family: "BelfastGrotesk", sans-serif;
  direction: ltr;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.28);
}

.packages-faq__question-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  transition: color 180ms ease;
}

.packages-faq__icon {
  position: relative;
  width: 18px;
  height: 18px;
  justify-self: end;
}

.packages-faq__icon::before,
.packages-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.72);
  transform: translate(-50%, -50%);
  transition: transform 220ms ease, opacity 220ms ease;
}

.packages-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.packages-faq__question[aria-expanded="true"] .packages-faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.packages-faq__question:hover .packages-faq__question-text {
  color: rgba(255, 255, 255, 0.68);
}

.packages-faq__answer {
  overflow: hidden;
}

.packages-faq__answer-inner {
  max-width: 760px;
  padding: 0 64px 30px 0;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
  font-size: 13px;
  line-height: 2.05;
}

@media (max-width: 900px) {
  .packages-faq {
    padding-bottom: 120px;
  }

  .packages-faq__inner {
    padding-top: 110px;
  }

  .packages-faq__header {
    margin-bottom: 58px;
  }
}

@media (max-width: 600px) {
  .packages-faq {
    padding-bottom: 92px;
  }

  .packages-faq__inner {
    width: calc(100% - 28px);
    padding-top: 82px;
  }

  .packages-faq__header {
    margin-bottom: 42px;
  }

  .packages-faq__eyebrow {
    font-size: 9px;
  }

  .packages-faq__title {
    font-size: clamp(30px, 10vw, 44px);
  }

  .packages-faq__intro {
    margin-top: 18px;
    font-size: 11px;
  }

  .packages-faq__question {
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    gap: 12px;
    padding: 21px 0;
  }

  .packages-faq__number {
    font-size: 8px;
  }

  .packages-faq__question-text {
    font-size: 12px;
    line-height: 1.75;
  }

  .packages-faq__icon {
    width: 16px;
    height: 16px;
  }

  .packages-faq__icon::before,
  .packages-faq__icon::after {
    width: 12px;
  }

  .packages-faq__answer-inner {
    padding: 0 42px 23px 0;
    font-size: 11px;
  }
}


/* ==================================================
   PACKAGES FINAL CTA
================================================== */

.packages-final-cta {
  position: relative;
  overflow: hidden;
  padding: 0 0 170px;
  background: #050505;
}

.packages-final-cta::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  left: -190px;
  bottom: -260px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  pointer-events: none;
}

.packages-final-cta::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: -80px;
  bottom: -160px;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  pointer-events: none;
}

.packages-final-cta__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 130px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.packages-final-cta__topline {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 68px;
}

.packages-final-cta__eyebrow {
  font-family: "BelfastGrotesk", sans-serif;
  direction: ltr;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.38);
}

.packages-final-cta__rule {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  transform-origin: right center;
}

.packages-final-cta__content {
  max-width: 980px;
  margin-right: 0;
  margin-left: auto;
  text-align: right;
}

.packages-final-cta__title {
  max-width: 900px;
  margin: 0;
  color: #fff;
  text-align: right;
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.packages-final-cta__description {
  max-width: 720px;
  margin: 34px 0 0 auto;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
  font-size: 14px;
  line-height: 2.05;
}

.packages-final-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 42px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: rgba(245, 245, 247, 0.96);
  color: #111;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 180ms ease;
}

.packages-final-cta__button:hover,
.packages-final-cta__button:active {
  background: #fff;
  color: #111;
}

.packages-final-cta__button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .packages-final-cta {
    padding-bottom: 135px;
  }

  .packages-final-cta__inner {
    padding-top: 110px;
  }

  .packages-final-cta__topline {
    margin-bottom: 54px;
  }
}

@media (max-width: 600px) {
  .packages-final-cta {
    padding-bottom: 100px;
  }

  .packages-final-cta::before {
    width: 360px;
    height: 360px;
    left: -190px;
    bottom: -180px;
  }

  .packages-final-cta::after {
    width: 220px;
    height: 220px;
    left: -110px;
    bottom: -110px;
  }

  .packages-final-cta__inner {
    width: calc(100% - 28px);
    padding-top: 82px;
  }

  .packages-final-cta__topline {
    gap: 14px;
    margin-bottom: 42px;
  }

  .packages-final-cta__eyebrow {
    font-size: 8px;
  }

  .packages-final-cta__title {
    font-size: clamp(40px, 13vw, 62px);
    line-height: 1.08;
  }

  .packages-final-cta__description {
    margin-top: 24px;
    font-size: 11px;
  }

  .packages-final-cta__button {
    min-height: 44px;
    margin-top: 30px;
    padding: 0 20px;
    font-size: 11px;
  }
}


/* ==================================================
   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;
  }
}


/* ==================================================
   FINAL QA — SAFE RESPONSIVE / ACCESSIBILITY POLISH
================================================== */

/* Prevent long Persian/English mixed labels from forcing overflow. */
.package-plan,
.package-plan__feature-name,
.package-plan__feature-value,
.tier-guide__level,
.custom-solution__body,
.packages-faq__question-text,
.packages-footer__column {
  overflow-wrap: anywhere;
}

/* Keep keyboard focus visible without changing visual language. */
.package-plan__cta:focus-visible,
.custom-solution__cta:focus-visible,
.packages-final-cta__button:focus-visible,
.packages-footer a:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}

/* Avoid accidental horizontal page overflow from decorative elements. */
.packages-page,
.packages-footer {
  overflow-x: clip;
}

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

/* Compact phone landscape QA pass. */
@media (orientation: landscape) and (max-height: 600px) and (max-width: 950px) {
  .packages-hero__inner,
  .package-section__inner,
  .tier-guide__inner,
  .custom-solution__inner,
  .packages-faq__inner,
  .packages-final-cta__inner,
  .packages-footer__inner {
    max-width: calc(100% - 36px);
  }

  .package-plan {
    min-width: 0;
  }
}


/* === GLOBAL CHROME — SERVICES HUB V21 REFERENCE === */
/* ==================================================
   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;
  }
}
