@font-face {
  font-family: IRANSans;
  src: url(../fonts/IRANSans.woff2);
}
@font-face {
  font-family: IRANSans;
  src: url(../fonts/IRANSans-Bold.woff2);
  font-weight: 700;
}
@font-face {
  font-family: Lato;
  src: url(../fonts/Lato.woff2);
}
:root {
  --ink: #173d43;
  --teal: #075f68;
  --aqua: #70b7b4;
  --line: #dfe8e7;
  --soft: #f6f9f8;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: IRANSans, Tahoma;
  color: #294348;
  background: #fff;
  line-height: 1.9;
}
a {
  text-decoration: none;
  color: inherit;
}
.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.site-header {
  height: 78px;
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #edf1f0;
  backdrop-filter: blur(12px);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
}
.logo {
  font: 24px Lato;
  letter-spacing: 8px;
  color: #0b5863;
}
.nav nav {
  display: flex;
  gap: 34px;
  direction: rtl;
  font-size: 15px;
}
.nav nav a {
  padding: 26px 0;
  border-bottom: 2px solid transparent;
}
.nav nav a:hover {
  color: var(--teal);
  border-color: var(--teal);
}
.menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
}
.hero {
  height: 530px;
  position: relative;
  overflow: hidden;
  background: #eefafa;
}
.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}
.hero-copy > * {
  width: 45%;
}
.hero-logo {
  font: 48px Lato;
  letter-spacing: 14px;
  color: #075762;
}
.hero h1 {
  font-size: 24px;
  color: #075762;
  margin: 4px 0 22px;
}
.hero p {
  font-size: 16px;
  line-height: 2.2;
}
.btn {
  display: inline-flex !important;
  width: auto !important;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: white;
  padding: 10px 25px;
  border-radius: 5px;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.hero .btn {
  align-self: flex-end;
  margin-left: calc(55% - 135px);
  margin-top: 12px;
}
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 34px 0;
}
.trust article {
  display: flex;
  flex-direction: column;
  text-align: center;
  border-left: 1px solid var(--line);
  padding: 0 18px;
}
.trust article:last-child {
  border: 0;
}
.trust i,
.why-grid i {
  font-style: normal;
  color: var(--teal);
  font-size: 30px;
}
.trust b {
  font-size: 17px;
}
.trust span {
  font-size: 13px;
  color: #708185;
}
.section {
  padding-top: 60px;
  padding-bottom: 60px;
  border-top: 1px solid #edf1f0;
}
.title {
  text-align: center;
  margin-bottom: 35px;
}
.title h2 {
  margin: 0;
  color: #0a5b65;
  font-size: 26px;
}
.title p {
  margin: 4px;
  color: #718185;
  font-size: 15px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  direction: ltr;
}
.brand-card {
  direction: rtl;
  border-radius: 12px;
  border: 1px solid #dce7e6;
  padding: 28px 22px 22px;
  text-align: center;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(#eaf5f4, #f7fbfa);
}
.brand-card.blue {
  background: linear-gradient(#eef2fb, #f8f9fd);
}
.brand-card.sand {
  background: linear-gradient(#faf6ef, #fff);
}
.brand-card.green {
  background: linear-gradient(#f0f4e9, #fafbf7);
}
.brand-name {
  font: 18px Lato;
  letter-spacing: 3px;
  color: #12646d;
  min-height: 55px;
  direction: ltr;
}
.brand-card h3 {
  font-size: 16px;
  margin: 0;
}
.brand-card p {
  font-size: 14px;
  min-height: 48px;
}
.mini-products {
  height: 170px;
  display: flex;
  justify-content: center;
  align-items: end;
}
.mini-products img {
  width: 46%;
  height: 150px;
  object-fit: contain;
  margin: -10px;
}
.small {
  font-size: 14px;
  margin-top: auto;
}
.ecosystem {
  background: #fcfdfd;
}
.orbit {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  text-align: center;
  direction: ltr;
  border-top: 1px solid #cbd9d8;
  padding-top: 28px;
}
.orbit > div:not(.orbit-logo) {
  display: flex;
  flex-direction: column;
}
.orbit b {
  font: 12px Lato;
  color: var(--teal);
}
.orbit span {
  font-size: 14px;
}
.orbit-logo {
  order: 2;
  border: 5px solid white;
  box-shadow: 0 0 0 2px #dfe5e4;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font: 19px Lato;
  letter-spacing: 4px;
  margin: auto;
  background: #fff;
}
.orbit-logo small {
  font: 10px IRANSans;
  letter-spacing: 0;
}
.compact {
  margin-top: 45px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.home-products a {
  text-align: center;
}
.home-products img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #f5f8f7;
  border-radius: 10px;
}
.home-products h3 {
  font-size: 17px;
  margin: 10px 0 0;
}
.home-products p {
  font-size: 14px;
  margin: 0;
  color: #6d7e81;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  direction: ltr;
}
.catalog {
  height: 220px;
  border-radius: 10px;
  box-shadow: 0 8px 25px #2344;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  background: #1b6e72;
  transform: perspective(500px) rotateY(-5deg);
}
.catalog.blue {
  background: #345b9a;
}
.catalog.sand {
  background: #77a39d;
}
.catalog.green {
  background: #687c4c;
}
.catalog span {
  font: 22px Lato;
  letter-spacing: 5px;
}
.catalog b {
  font-size: 13px;
}
.catalog i {
  font-style: normal;
  border: 1px solid #fff;
  border-radius: 50%;
  padding: 1px 12px;
  font-size: 26px;
  margin-top: 35px;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 15px;
}
.about-image img {
  display: block;
  width: 100%;
  height: auto;
}
.about h2 {
  color: var(--ink);
}
.about p {
  font-size: 16px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 35px;
}
.stats b {
  text-align: center;
  color: #08717a;
  font-size: 20px;
}
.stats small {
  display: block;
  color: #617477;
  font-weight: 400;
  font-size: 12px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.why-grid article {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 12px;
}
.why-grid h3 {
  font-size: 16px;
}
.why-grid p {
  font-size: 13px;
}
.contact-band {
  background: #fbfcfc;
}
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.contact-box form {
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 10px;
  display: grid;
  gap: 8px;
}
.contact-box input,
.contact-box textarea {
  font: 12px IRANSans;
  padding: 10px;
  border: 1px solid #d8e2e1;
  border-radius: 5px;
}
.contact-box textarea {
  height: 90px;
  resize: vertical;
}
.contact-card {
  border-radius: 10px;
  padding: 30px 40px;
  background: linear-gradient(90deg, #f7faf9, #edf7f6);
  border: 1px solid #edf3f2;
}
.contact-card h3 {
  color: var(--teal);
  font-size: 16px;
  margin: 8px 0 0;
}
.contact-card p {
  font-size: 14px;
  margin: 0;
}
footer {
  background: linear-gradient(120deg, #0e262b, #193e45);
  color: #d9e4e4;
  padding-top: 45px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 50px;
}
.light {
  color: white;
}
.footer-grid h4 {
  margin-top: 0;
  color: white;
}
.footer-grid a,
.footer-grid p {
  display: block;
  font-size: 13px;
  color: #bed0d2;
  margin: 6px 0;
}
.copyright {
  text-align: center;
  border-top: 1px solid #ffffff1a;
  padding: 18px;
  margin-top: 30px;
  font-size: 12px;
}
.page-hero {
  background: linear-gradient(100deg, #eaf7f6, #fff);
  text-align: center;
  padding: 70px 0;
}
.page-hero span {
  font: 13px Lato;
  letter-spacing: 5px;
  color: #6a9c9f;
}
.page-hero h1 {
  font-size: 36px;
  margin: 4px;
  color: var(--teal);
}
.page-hero p {
  margin: 0;
}
.filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}
.filters a {
  border: 1px solid var(--line);
  padding: 7px 18px;
  border-radius: 25px;
  font-size: 14px;
}
.filters .active,
.filters a:hover {
  background: var(--teal);
  color: #fff;
}
.listing a {
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 12px;
}
.listing .image {
  height: 260px;
  background: var(--soft);
  border-radius: 8px;
}
.listing img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.listing small {
  font: 10px Lato;
  letter-spacing: 1px;
  color: #6d9295;
}
.listing h3 {
  font-size: 17px;
  margin: 4px 0;
}
.listing p {
  font-size: 13px;
  color: #718084;
  min-height: 28px;
}
.listing span {
  font-size: 13px;
  color: var(--teal);
}
.empty {
  text-align: center;
  padding: 50px;
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.detail-image {
  height: 580px;
  background: var(--soft);
  border-radius: 16px;
}
.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-detail small {
  display: block;
  font: 13px Lato;
  letter-spacing: 2px;
  color: #7b9a9c;
  margin-top: 30px;
}
.product-detail h1 {
  font-size: 34px;
  color: var(--ink);
  margin: 5px 0;
}
.product-detail h2 {
  font-size: 18px;
  color: #6a8184;
}
.content {
  font-size: 16px;
}
.detail-features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.detail-features span {
  background: #edf7f6;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 13px;
}
@media (max-width: 800px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }
  .site-header {
    height: 64px;
  }
  .menu-btn {
    display: block;
  }
  .nav nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 25px;
    box-shadow: 0 10px 20px #1232;
    flex-direction: column;
    gap: 0;
  }
  .nav nav.open {
    display: flex;
  }
  .nav nav a {
    padding: 10px;
  }
  .hero {
    height: 620px;
  }
  .hero > img {
    object-position: 62%;
    opacity: 0.45;
  }
  .hero-copy {
    align-items: center;
    text-align: center;
  }
  .hero-copy > * {
    width: 90%;
  }
  .hero-logo {
    font-size: 39px;
    letter-spacing: 10px;
  }
  .hero .btn {
    align-self: center;
    margin: 10px 0;
  }
  .trust {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .trust article {
    border: 0;
  }
  .brand-grid,
  .product-grid,
  .catalog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .orbit {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .orbit-logo {
    grid-column: 1/-1;
    order: -1;
  }
  .about,
  .contact-box,
  .product-detail {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-grid article:last-child {
    grid-column: 1/-1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .detail-image {
    height: 400px;
  }
}
@media (max-width: 480px) {
  .brand-grid,
  .product-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .hero-logo {
    font-size: 32px;
  }
  .trust {
    grid-template-columns: 1fr 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .brand-card {
    min-height: 390px;
  }
}

/* Hosting responsive fix: show the whole homepage banner on tablets and phones. */
@media (max-width: 1024px) {
  .hero {
    background: #eefafa;
  }
  .hero > img {
    object-fit: contain;
    object-position: center top;
  }
}
@media (max-width: 640px) {
  .hero {
    height: clamp(540px, 82svh, 620px);
  }
  .hero > img {
    object-position: center top;
  }
}
