/* ==================== Fonts ==================== */
@font-face {
  font-family: "Iransansa";
  src: url("./fonts/Iransans/IRANSansWeb(FaNum).woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Iransansa";
  src: url("./fonts/Iransans/IRANSansWeb(FaNum)_Black.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Iransansa";
  src: url("./fonts/Iransans/IRANSansWeb(FaNum)_Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Iransansa";
  src: url("./fonts/Iransans/IRANSansWeb(FaNum)_Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Iransansa";
  src: url("./fonts/Iransans/IRANSansWeb(FaNum)_Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Iransansa";
  src: url("./fonts/Iransans/IRANSansWeb(FaNum)_UltraLight.woff2")
    format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* ==================== Reset & Base ==================== */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
* {
  font-family: "Iransansa";
}

/* ===== Base ===== */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: #0f172a; /* slate-900 */
  background: #f8fafc; /* slate-50 */
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
strong {
  font-weight: 700;
}
.container {
  width: min(1152px, 92%);
  margin-inline: auto;
}
.muted {
  color: #64748b;
}

/* ===== Sections & Layout ===== */
.section {
  padding: 4rem 0;
}
.section--bordered {
  padding: 4rem 0;
  border-block: 1px solid #e2e8f0;
}
.section__title {
  font-size: 1.375rem;
  font-weight: 800;
  margin: 0 0 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}
.gap {
  gap: 1rem;
}
.space-y > * + * {
  margin-top: 1rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e2e8f0;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand__logo {
  border-radius: 0.75rem;
}
.brand__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}
.brand__subtitle {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

.nav {
  display: none;
  gap: 1.25rem;
}
.nav__link {
  color: #475569;
  font-size: 0.95rem;
}
.nav__link:hover {
  color: #0f172a;
}
.header-cta {
  display: none;
}
@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .header-cta {
    display: block;
  }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(to bottom, #ecfeff, #fff);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0;
}
@media (min-width: 992px) {
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 4rem 0 5rem;
  }
}
.hero__title {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 800;
}
.hero__text {
  margin-top: 1rem;
  color: #475569;
}
.hero__actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero__media {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(2, 6, 23, 0.06);
}
.hero__image {
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ===== Cards ===== */
.cards {
  display: grid;
  gap: 1rem;
}
.cards--3 {
  grid-template-columns: 1fr;
}
.cards--2 {
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(2, 6, 23, 0.02);
}
.card--muted {
  background: #f8fafc;
}
.card__title {
  margin: 0 0 0.5rem;
  font-weight: 800;
  font-size: 1.05rem;
}
.card__text {
  margin: 0;
  color: #475569;
}
.list {
  margin: 0.5rem 0 0;
  padding: 0 1rem;
  color: #334155;
}

/* ===== Panel / Forms ===== */
.panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
}
.panel__title {
  margin: 0 0 0.5rem;
  font-weight: 800;
  font-size: 1.25rem;
}
.panel__text {
  margin: 0 0 1rem;
  color: #475569;
}

.input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.6rem;
  background: #fff;
  color: #0f172a;
  outline: none;
}
.input:focus {
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 800px) {
  .form-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.15s ease-in-out;
}
.btn--primary {
  background: #06b6d4;
  color: #fff;
}
.btn--primary:hover {
  background: #0891b2;
}
.btn--dark {
  background: #0f172a;
  color: #fff;
}
.btn--dark:hover {
  background: #111827;
}
.btn--ghost {
  background: transparent;
  color: #334155;
  border-color: #cbd5e1;
  border-style: solid;
}
.btn--ghost:hover {
  background: #f1f5f9;
}
.btn--sm {
  padding: 0.45rem 0.8rem;
  font-size: 0.9rem;
}

/* ===== Contact ===== */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.6rem;
  background: #fff;
}
.socials {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid #e2e8f0;
  background: #fff;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 0;
}
@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
