@font-face {
  font-family: "IRANYekan";
  src: url("../fonts/IRANYekan-Light.woff2") format("woff2"),
       url("../fonts/IRANYekan-Light.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekan";
  src: url("../fonts/IRANYekan-Medium.woff2") format("woff2"),
       url("../fonts/IRANYekan-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IRANYekan";
  src: url("../fonts/IRANYekan-Bold.woff2") format("woff2"),
       url("../fonts/IRANYekan-Bold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #000;
  color: #fff;
  font-family: "IRANYekan", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.banner {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
  isolation: isolate;
}

.banner__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(93, 187, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 187, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 28% 50%, black 20%, transparent 70%);
  pointer-events: none;
}

.banner__visual,
.banner__right {
  position: relative;
  z-index: 1;
}

.banner__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner__watch-frame {
  position: relative;
  width: min(94vw, 580px);
  max-width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner__watch-frame picture {
  display: contents;
}

.banner__watch {
  width: 100%;
  height: auto;
  max-height: min(82vh, 700px);
  object-fit: contain;
}


.banner__tech-lines::after {
  inset: 26%;
  border-style: dashed;
  opacity: 0.7;
}

.banner__watch-frame::before,
.banner__watch-frame::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 1px;
  box-shadow: 0 0 12px 2px rgba(93, 187, 255, 0.9);
  opacity: 0.85;
  pointer-events: none;
}

.banner__watch-frame::before {
  top: 18%;
  right: 8%;
  transform: rotate(45deg);
}

.banner__watch-frame::after {
  bottom: 22%;
  left: 4%;
  width: 4px;
  height: 4px;
  opacity: 0.6;
}

.banner__right {
  text-align: center;
  padding-inline: clamp(0.5rem, 3vw, 2rem);
  max-width: 50rem;
  width: 100%;
  justify-self: center;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.banner__main {
  min-height: 0;
}

.banner__title {
  margin: 0 auto 1.85rem;
  line-height: 0;
  text-align: center;
}

.banner__title-img {
  display: block;
  width: min(100%, clamp(150px, 30vw, 300px));
  height: auto;
  margin-inline: auto;
  /* لوگو مشکی روی PNG — برای پس‌زمینهٔ تیره */
  filter: brightness(0) invert(1);
}

.banner__title-img.banner__title-img--sm {
  width: min(100%, clamp(110px, 22vw, 210px));
}

.banner__status {
  margin: 0 0 1.75rem;
  font-size: clamp(1.45rem, 3.4vw, 1.9rem);
  font-weight: 500;
  color: #5dbbff;
  line-height: 1.65;
}

.banner__lead {
  margin: 0 0 1rem;
  font-size: clamp(1.28rem, 2.6vw, 1.48rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.75;
}

.banner__url-wrap {
  margin: 0 0 1.5rem;
}

.banner__url {
  display: inline-block;
  padding: 0.75rem 1.85rem;
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: clamp(1.22rem, 2.45vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #5dbbff;
  border: 1px solid #eee;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.banner__url:hover {
  background: rgba(93, 187, 255, 0.12);
  color: #7ecaff;
}

.banner__phones {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  justify-content: center;
  align-items: center;
  color: #5dbbff;
  font-size: clamp(1.22rem, 2.45vw, 1.45rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.banner__phones li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.banner__phones a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.banner__phone-icon {
  display: flex;
  color: #5dbbff;
  opacity: 0.95;
}

.banner__phone-icon svg {
  width: 1.2em;
  height: 1.2em;
}

.banner__closing {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 2.25vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.banner__address {
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(93, 187, 255, 0.22);
  max-width: 38em;
  margin-inline: auto;
}

.banner__address-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 0.65rem;
}

.banner__address-icon {
  display: flex;
  flex-shrink: 0;
  color: #5dbbff;
}

.banner__address-icon svg {
  width: 1.25em;
  height: 1.25em;
}

.banner__address-label {
  margin: 0;
  font-size: clamp(1.12rem, 2.2vw, 1.32rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.banner__address-text {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
}

.banner__sparkle {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  z-index: 2;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.9;
  text-shadow: 0 0 12px rgba(93, 187, 255, 0.6);
  pointer-events: none;
}

@media (min-width: 993px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: unset;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    padding: clamp(0.35rem, 1vh, 1.1rem) clamp(1rem, 3vw, 2.5rem);
    gap: clamp(0.35rem, 1.5vw, 1.5rem);
  }

  .banner__visual,
  .banner__right {
    min-height: 0;
    min-width: 0;
  }

  .banner__visual {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    align-self: center;
  }

  .banner__right {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    overflow-y: auto;
    overscroll-behavior: contain;
    max-height: min(78dvh, calc(100dvh - 3rem));
    padding-top: clamp(0.25rem, 1vh, 0.75rem);
    padding-bottom: clamp(0.25rem, 1vh, 0.75rem);
  }

  /* بدون aspect-ratio اضافی تا ارتفاع ردیف = خود تصویر بماند و صفحه اسکرول نخورد */
  .banner__watch-frame {
    width: min(100%, 52vw, 640px);
    height: fit-content;
    aspect-ratio: auto;
  }

  .banner__watch {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(68dvh, 660px);
    object-fit: contain;
  }

  .banner__title {
    margin-bottom: clamp(0.55rem, 20vh, 1.1rem);
  }

  .banner__title-img {
    width: min(100%, clamp(140px, 22vw, 260px));
  }

  .banner__title-img.banner__title-img--sm {
    width: min(100%, clamp(100px, 16vw, 185px));
  }

  .banner__status {
    margin-bottom: clamp(0.35rem, 1vh, 0.95rem);
    font-size: clamp(1.32rem, 2.25vw, 1.78rem);
    line-height: 1.45;
  }

  .banner__lead {
    margin-bottom: clamp(0.3rem, 0.75vh, 0.65rem);
    font-size: clamp(1.15rem, 1.7vw, 1.4rem);
    line-height: 1.5;
  }

  .banner__url-wrap {
    margin-bottom: clamp(0.35rem, 0.9vh, 0.9rem);
  }

  .banner__url {
    padding: 0.6rem 1.55rem;
    font-size: clamp(1.15rem, 1.65vw, 1.4rem);
  }

  .banner__phones {
    margin-bottom: clamp(0.3rem, 0.8vh, 0.75rem);
    gap: 0.55rem 1.25rem;
    font-size: clamp(1.15rem, 1.65vw, 1.4rem);
  }

  .banner__closing {
    margin-bottom: clamp(0.25rem, 0.6vh, 0.5rem);
    font-size: clamp(1.08rem, 1.45vw, 1.24rem);
    line-height: 1.45;
  }

  .banner__address {
    margin-top: 0;
    padding-top: clamp(0.45rem, 1vh, 0.75rem);
    max-width: min(38em, 100%);
  }

  .banner__address-head {
    margin-bottom: clamp(0.3rem, 0.7vh, 0.5rem);
    gap: 0.4rem;
  }

  .banner__address-label {
    font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  }

  .banner__address-text {
    font-size: clamp(0.92rem, 1.35vw, 1.08rem);
    line-height: 1.55;
  }
}

@media (max-width: 992px) {
  html,
  body {
    min-height: 100dvh;
    overflow-x: hidden;
  }

  .banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    padding: clamp(0.75rem, 3vh, 1.25rem) clamp(0.6rem, 4vw, 1.25rem);
    gap: clamp(0.35rem, 1.5vh, 0.65rem);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .banner__right {
    display: contents;
  }

  .banner__title {
    order: 1;
    flex-shrink: 0;
    width: min(100%, 50rem);
    padding-inline: clamp(0.5rem, 3vw, 1.25rem);
    margin: 0 auto 0.85rem;
  }

  .banner__title-img {
    width: min(100%, clamp(125px, 42vw, 210px));
  }

  .banner__title-img.banner__title-img--sm {
    width: min(100%, clamp(75px, 24vw, 128px));
  }

  .banner__visual {
    order: 2;
    flex-shrink: 0;
    min-height: 0;
  }

  .banner__main {
    order: 3;
    flex-shrink: 0;
    width: min(100%, 50rem);
    padding-inline: clamp(0.5rem, 3vw, 1.25rem);
    padding-bottom: 0.5rem;
  }

  .banner__watch-frame {
    width: min(88vw, 340px);
    height: fit-content;
    aspect-ratio: auto;
  }

  .banner__watch {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(26dvh, 42vmin, 280px);
    object-fit: contain;
    transform: none;
  }

  .banner__status {
    margin: 0 0 0.55rem;
    font-size: clamp(0.95rem, 3.6vw, 1.12rem);
    line-height: 1.45;
  }

  .banner__lead {
    margin: 0 0 0.45rem;
    font-size: clamp(0.88rem, 3.2vw, 1.02rem);
    line-height: 1.5;
  }

  .banner__url-wrap {
    margin: 0 0 0.5rem;
  }

  .banner__url {
    padding: 0.45rem 1.1rem;
    font-size: clamp(0.88rem, 3.1vw, 1.02rem);
  }

  .banner__phones {
    margin: 0 0 0.45rem;
    gap: 0.45rem 1rem;
    font-size: clamp(0.88rem, 3.1vw, 1.02rem);
  }

  .banner__closing {
    margin: 0 0 0.6rem;
    font-size: clamp(0.85rem, 3vw, 0.98rem);
    line-height: 1.45;
  }

  .banner__address {
    margin-top: 0.35rem;
    padding: 0.65rem 0 0;
    max-width: 100%;
  }

  .banner__address-head {
    margin: 0 0 0.4rem;
    gap: 0.45rem;
  }

  .banner__address-label {
    font-size: clamp(0.88rem, 3.1vw, 1.02rem);
  }

  .banner__address-text {
    font-size: clamp(0.82rem, 2.9vw, 0.95rem);
    line-height: 1.5;
  }

  .banner__phone-icon svg {
    width: 1.1em;
    height: 1.1em;
  }

  .banner__address-icon svg {
    width: 1.1em;
    height: 1.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner__url {
    transition: none;
  }
}
