/* ===============================
   Otoemdad — Home / first page only
   =============================== */

.hero-header {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #fafafa;
}

.hero-header__map {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
  width: min(1900px, 100%);
  height: min(1212px, 100%);
  transform: translateX(-50%);
  background-image: url("../images/map-after.svg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  pointer-events: none;
}

/* فاصلهٔ بالا: ارتفاع تقریبی ناوبار مطلق + همان فاصلهٔ قبلی زیر منو */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 11rem 0 2.5rem;
  pointer-events: none;
}

.hero-content .hero-container {
  pointer-events: auto;
}

/* Figma node 228:272 (fate) — 649×649, top 181px, centered in header 228:273 */
.hero-header__orbit {
  position: absolute;
  top: 181px;
  left: 50%;
  z-index: 1;
  width: 649px;
  max-width: min(649px, 92vw);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-header__orbit-art {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.hero-kicker {
  color: var(--oto-primary);
  font-size: 1.6rem;
  font-weight: 500;
}

.hero-title {
  margin: 0.35rem 0 0.8rem;
  color: var(--oto-secondary);
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1.3;
}

.hero-description {
  margin: 0 auto;
  max-width: 496px;
  color: var(--oto-secondary);
  font-size: 0.95rem;
  line-height: 1.95;
}

.hero-search-wrap {
  position: relative;
  z-index: 5;
  max-width: 496px;
  margin-inline: auto;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 60px;
  padding: 5px 15px 5px 5px;
  border-radius: 1000px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
}

.hero-search-suggest {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  left: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.hero-search-suggest[hidden] {
  display: none;
}

.hero-search-suggest__list {
  margin: 0;
  padding: 0.35rem 0;
  max-height: 14rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  scrollbar-gutter: stable;
}

.hero-search-suggest__list::-webkit-scrollbar {
  width: 6px;
}

.hero-search-suggest__list::-webkit-scrollbar-thumb {
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.18);
}

.hero-search-suggest__list::-webkit-scrollbar-track {
  background: transparent;
}

.hero-search-suggest__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.55rem 1rem;
  background: transparent;
  color: var(--oto-secondary);
  font-size: 0.92rem;
  text-align: right;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.hero-search-suggest__option:hover,
.hero-search-suggest__option:focus-visible {
  background: rgba(255, 106, 0, 0.08);
  color: var(--oto-primary);
  outline: 0;
}

.hero-search-suggest__option:hover .hero-search-suggest__text,
.hero-search-suggest__option:focus-visible .hero-search-suggest__text {
  color: var(--oto-primary);
}

.hero-search-suggest__icon.service-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
}

.hero-search-suggest__text {
  flex: 1;
  min-width: 0;
  color: var(--oto-secondary);
  transition: color 0.15s ease;
}

.hero-search-suggest__item.is-hidden {
  display: none;
}

.hero-search-suggest__empty {
  margin: 0;
  padding: 0.85rem 1rem;
  color: #8a8a8a;
  font-size: 0.92rem;
  text-align: right;
}

.hero-search-suggest__empty[hidden] {
  display: none;
}

.hero-search-suggest__all-link {
  color: var(--oto-primary);
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.hero-search-suggest__all-link:hover,
.hero-search-suggest__all-link:focus-visible {
  color: var(--oto-primary);
  opacity: 0.85;
  outline: 0;
}

.hero-search:focus-within {
  box-shadow:
    0 0 0 3px var(--oto-focus-ring),
    0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-search__button {
  height: 50px;
  padding: 0 1.9rem;
  border: 0;
  border-radius: 100px;
  background: var(--oto-primary);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.hero-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #8a8a8a;
  font-size: 0.95rem;
  text-align: right;
}

.hero-search__input::placeholder {
  color: #d7d7d7;
}

.hero-search__icon {
  opacity: 0.55;
}

.hero-search__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8a8a8a;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.hero-search__clear:hover,
.hero-search__clear:focus-visible {
  color: var(--oto-secondary);
  background: rgba(0, 0, 0, 0.06);
  outline: 0;
}

.hero-services {
  position: relative;
  margin-top: 1rem;
  z-index: 2;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 100%;
  min-height: 102px;
  padding: 1rem 0.7rem;
  border: 1px solid var(--oto-border);
  border-radius: 20px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 20px;
}

.service-card__icon--blue {
  background: rgba(11, 60, 93, 0.1);
}

.service-card__icon--red {
  background: rgba(247, 63, 30, 0.1);
}

.service-card__icon--purple {
  background: rgba(117, 30, 247, 0.1);
}

.service-card__icon--green {
  background: rgba(30, 247, 131, 0.1);
}

.service-card__icon--orange {
  background: rgba(247, 147, 30, 0.1);
}

.service-card__text {
  color: var(--oto-secondary);
  font-size: 0.92rem;
  text-align: center;
  transition: color 0.2s ease;
}


/* ===============================
   Get Service Section
   =============================== */

.get-service-section {
  padding: 4rem 0 5rem;
}

.numbers-section {
  padding: 2rem 0 2.5rem;
}

.numbers-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #0b3c5d;
  min-height: 305px;
}

.numbers-card__map {
  position: absolute;
  inset: 0;
  background-image: url("../images/numbers.png");
  background-size: cover;
  background-position: center;
  opacity: 1;
}

.numbers-card__content {
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 54%;
  z-index: 1;
  color: #fff;
  padding: 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  direction: rtl;
  text-align: right;
}

.numbers-card__title {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.25;
}

.numbers-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: flex-start;
}

.numbers-stats__item strong {
  display: block;
  color: #f7931e;
  font-size: 2.5rem;
  line-height: 1;
}

.numbers-stats__item span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.92rem;
}

.numbers-stats__divider {
  width: 1px;
  height: 86px;
  background: rgba(255, 255, 255, 0.35);
}

.technicians-section {
  padding: 2.5rem 0 3rem;
}

.technicians-swiper {
  width: 100%;
  height: 245px;
}

.technicians-swiper .swiper-slide {
  height: auto;
}

.technician-card {
  border: 1px solid #ededed;
  border-radius: 40px;
  background: #fff;
  padding: 1.4rem;
}

.technician-card__tag {
  margin: 0 0 1rem;
  color: #999;
  font-size: 0.9rem;
}

.technician-card__profile {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.technician-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid #f7931e;
  object-fit: cover;
}

.technician-card__name {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  text-align: right;
}

.technician-card__sub {
  margin: 0;
  color: #888;
  text-align: right;
}

.technician-card__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.technicians-copy {
  text-align: right;
  direction: rtl;
}

.technicians-copy__tag {
  margin: 0 0 0.35rem;
  color: #aeaeae;
  font-size: 1.05rem;
  font-weight: 700;
}

.technicians-copy h2 {
  margin: 0 0 0.75rem;
  color: #0b3c5d;
  font-size: 1.95rem;
  font-weight: 600;
}

.technicians-copy p {
  margin: 0 0 0.7rem;
  color: #555;
}

.technicians-copy a {
  color: #f7931e;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.technicians-illustration img {
  width: 100%;
  max-width: 279px;
}

.technicians-indicators {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  width: 16px !important;
  position: absolute !important;
  right: -10px !important;
  top: 0 !important;
  left: auto !important;
  bottom: 0 !important;
  transform: none !important;
  margin: auto !important;
}

.technicians-indicators .swiper-pagination-bullet {
  margin: 0 !important;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e2e2e2;
  opacity: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.technicians-indicators .swiper-pagination-bullet-active {
  border-radius: 70px;
  background: #f7931e;
}

@media (min-width: 992px) {
  .technicians-indicators .swiper-pagination-bullet-active {
    height: 17px;
  }
}


.profs-marquee {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
  padding-bottom: 0.4rem;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.profs-swiper {
  width: 100%;
  overflow: hidden;
}

.profs-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

.profs-swiper .swiper-slide {
  width: auto;
  flex-shrink: 0;
}

.tech-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: #fff;
  padding: 0.3rem 0.5rem 0.3rem 0.9rem;
  font-size: 0.8rem;
  color: #0b3c5d;
}

.tech-chip img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.get-service-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.get-service-heading__kicker {
  margin: 0;
  color: var(--oto-primary);
  font-size: 1.05rem;
}

.get-service-heading__title {
  margin: 0.35rem 0 0;
  color: var(--oto-secondary);
  font-size: 1.45rem;
  font-weight: 600;
}

.get-service-grid {
  display: grid;
  grid-template-columns: 350px minmax(280px, 400px) 350px;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.get-service-col {
  display: flex;
  flex-direction: column;
  gap: 10rem;
}

.service-step-card__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.service-step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #0b3c5d;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.service-step-card__title {
  margin: 0;
  color: var(--oto-primary);
  font-size: 1.2rem;
  font-weight: 600;
}

.service-step-card__text {
  margin: 0;
  color: rgba(11, 60, 93, 0.75);
  font-size: 0.92rem;
  line-height: 1.75;
}

.service-step-card--rtl-end .service-step-card__head {
  justify-content: flex-end;
}

.service-step-card--rtl-end .service-step-card__text {
  text-align: left;
}

.get-service-visual {
  text-align: center;
}

.get-service-visual img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

@media (max-width: 1399.98px) {
  .get-service-grid {
    grid-template-columns: 1fr minmax(260px, 360px) 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 1199.98px) {
  .get-service-col {
    gap: 3.5rem;
  }

  .service-step-card__title {
    font-size: 1.12rem;
  }
}


/* ===============================
   حالت hover / focus-visible (first page)
   =============================== */

@media (hover: hover) and (pointer: fine) {
  .hero-search__button:hover {
    background: #e6861a;
  }

  .hero-search__button:active {
    transform: scale(0.98);
  }

  .service-card:hover {
    border-color: rgba(247, 147, 30, 0.4);
    box-shadow: 0 10px 28px rgba(11, 60, 93, 0.1);
    transform: translateY(-3px);
  }

  .technicians-copy a:hover {
    text-decoration: underline;
    text-underline-offset: 0.25em;
  }

  .technicians-indicators .swiper-pagination-bullet:not(.swiper-pagination-bullet-active):hover {
    background: #c8c8c8;
    transform: scale(1.08);
  }
}

.hero-search__button:focus-visible,
.service-card:focus-visible,
.technicians-copy a:focus-visible {
  outline: 2px solid var(--oto-secondary);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {

  .hero-search__button,
  .service-card,
  .service-card__text,
  .technicians-copy a,
  .technicians-indicators .swiper-pagination-bullet {
    transition-duration: 0.01ms !important;
  }

  .service-card:hover {
    transform: none;
  }

  .hero-search__button:active {
    transform: none;
  }

  .technicians-indicators .swiper-pagination-bullet:hover {
    transform: none;
  }
}
