:root {
  --teal: #18b7b1;
  --teal-dark: #0d8f8c;
  --teal-soft: #e8f7f6;

  --dark: #111719;
  --text: #1c2426;
  --muted: #687276;

  --gray-50: #f7f9f9;
  --gray-100: #eef2f3;
  --gray-200: #dce3e4;

  --white: #ffffff;

  --container: 1180px;

  --radius: 18px;

  --shadow:
    0 20px 60px rgba(15, 30, 32, 0.08);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  font-family: "Vazirmatn", sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.9;
  overflow-x: hidden;
}


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


button,
a {
  -webkit-tap-highlight-color: transparent;
}


.container {
  width: min(
    calc(100% - 40px),
    var(--container)
  );

  margin-inline: auto;
}


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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

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

  backdrop-filter: blur(16px);

  border-bottom: 1px solid
    rgba(20,40,42,0.07);
}


.nav-wrap {
  height: 78px;

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


.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}


.brand-mark {
  width: 40px;
  height: 40px;

  position: relative;

  border: 3px solid var(--teal);

  border-radius: 8px 18px 18px 8px;

  display: flex;
  align-items: center;
  justify-content: center;
}


.brand-mark::before {
  content: "";

  position: absolute;

  width: 15px;
  height: 20px;

  border: 2px solid var(--teal);

  border-radius: 8px 10px 10px 8px;

  right: 7px;
}


.brand-mark span {
  width: 5px;
  height: 10px;

  background: var(--teal);

  border-radius: 5px;

  position: absolute;

  right: 11px;
  bottom: 6px;
}


.brand-name {
  display: flex;
  flex-direction: column;

  line-height: 1;
}


.brand-name strong {
  font-size: 18px;
  font-weight: 800;
}


.brand-name small {
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--muted);

  margin-top: 5px;

  direction: ltr;
}


.nav {
  display: flex;
  align-items: center;
  gap: 30px;

  font-size: 14px;
  font-weight: 500;
}


.nav a {
  color: #566164;

  transition: 0.25s ease;
}


.nav a:hover,
.nav a.active {
  color: var(--teal-dark);
}


.nav-cta {
  padding: 10px 19px;

  color: white !important;

  background: var(--dark);

  border-radius: 10px;

  transition: 0.25s ease;
}


.nav-cta:hover {
  background: var(--teal-dark);
}


.menu-toggle {
  display: none;

  border: 0;

  background: transparent;

  font-size: 24px;

  cursor: pointer;
}


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

.hero {
  position: relative;

  min-height: 720px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f7fafa 100%
    );
}


.hero::before {
  content: "";

  position: absolute;

  width: 600px;
  height: 600px;

  border-radius: 50%;

  background: rgba(24,183,177,0.055);

  top: -300px;
  left: -250px;

  pointer-events: none;
}


.hero-grid {
  display: grid;

  grid-template-columns:
    1fr 0.9fr;

  gap: 70px;

  align-items: center;
}


.hero-copy {
  position: relative;
  z-index: 2;
}


.eyebrow {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  color: var(--teal-dark);

  font-size: 13px;

  font-weight: 700;

  margin-bottom: 20px;
}


.eyebrow span {
  width: 8px;
  height: 8px;

  background: var(--teal);

  border-radius: 50%;
}


.hero h1 {
  font-size: clamp(
    42px,
    5vw,
    70px
  );

  line-height: 1.35;

  font-weight: 800;

  letter-spacing: -2px;

  color: var(--dark);
}


.hero h1 em {
  color: var(--teal-dark);

  font-style: normal;
}


.hero-text {
  max-width: 590px;

  margin-top: 24px;

  color: var(--muted);

  font-size: 16px;

  line-height: 2.2;
}


.hero-actions {
  display: flex;

  gap: 12px;

  margin-top: 32px;
}


.btn {
  min-height: 52px;

  padding: 0 23px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 12px;

  border-radius: 11px;

  font-size: 14px;

  font-weight: 700;

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}


.btn:hover {
  transform: translateY(-2px);
}


.btn-primary {
  color: white;

  background: var(--teal);

  box-shadow:
    0 12px 30px
    rgba(24,183,177,0.20);
}


.btn-primary:hover {
  background: var(--teal-dark);
}


.btn-ghost {
  border: 1px solid var(--gray-200);

  color: var(--text);

  background: white;
}


.btn-dark {
  color: white;

  background: var(--dark);
}


.trust-line {
  margin-top: 28px;

  display: flex;

  align-items: center;

  gap: 8px;

  color: #7b8587;

  font-size: 12px;
}


.dot {
  width: 6px;
  height: 6px;

  background: var(--teal);

  border-radius: 50%;
}


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

.hero-visual {
  min-height: 520px;

  display: flex;

  align-items: center;
  justify-content: center;
}


.visual-frame {
  position: relative;

  width: min(480px, 100%);

  aspect-ratio: 1 / 1;

  border-radius: 28px;

  background:
    #101719;

  overflow: hidden;

  box-shadow:
    0 35px 80px
    rgba(8,25,28,0.18);
}


.visual-grid {
  position: absolute;

  inset: 0;

  opacity: 0.12;

  background-image:
    linear-gradient(
      rgba(255,255,255,0.08) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,0.08) 1px,
      transparent 1px
    );

  background-size: 42px 42px;
}


/*
   هندسه‌ی D
   این قسمت فعلاً یک Visual موقت است.
   بعداً تصویر لوگوی واقعی دهلیز را
   به assets اضافه می‌کنیم.
*/

.d-geometry {
  position: absolute;

  width: 55%;
  height: 68%;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%);

  border: 17px solid #f1f3f3;

  border-left-width: 17px;

  border-radius:
    7px 90px 90px 7px;

  box-shadow:
    0 0 30px
    rgba(255,255,255,0.06);
}


.d-inner {
  position: absolute;

  width: 43%;
  height: 65%;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -42%);

  border:
    9px solid #e8eeee;

  border-bottom: 0;

  border-radius:
    50px 50px 0 0;
}


.light-line {
  position: absolute;

  width: 100px;
  height: 150px;

  left: 50%;
  bottom: -70px;

  transform:
    translateX(-50%);

  background:
    radial-gradient(
      ellipse at bottom,
      rgba(24,183,177,0.85),
      transparent 70%
    );

  filter: blur(7px);
}


.visual-note {
  position: absolute;

  display: flex;

  align-items: center;

  gap: 10px;

  padding: 8px 12px;

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

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

  border-radius: 8px;

  backdrop-filter: blur(8px);

  color: white;

  font-size: 11px;
}


.visual-note b {
  color: var(--teal);

  font-size: 10px;
}


.note-one {
  top: 24px;
  right: 24px;
}


.note-two {
  bottom: 30px;
  left: 25px;
}


.note-three {
  top: 50%;
  left: 18px;
}


/* ================= SECTIONS ================= */

.section {
  padding: 110px 0;
}


.why {
  background: white;
}


.section-head {
  display: grid;

  grid-template-columns:
    1.1fr 0.9fr;

  gap: 70px;

  align-items: end;

  margin-bottom: 55px;
}


.section-head.compact {
  margin-bottom: 40px;
}


.section-kicker {
  display: block;

  color: var(--teal-dark);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 2px;

  direction: ltr;

  margin-bottom: 10px;
}


.section-head h2 {
  font-size: clamp(
    30px,
    4vw,
    45px
  );

  line-height: 1.5;

  color: var(--dark);

  font-weight: 800;

  letter-spacing: -1px;
}


.section-head > p {
  color: var(--muted);

  font-size: 14px;

  line-height: 2.2;
}


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

.feature-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  border-top:
    1px solid var(--gray-200);

  border-bottom:
    1px solid var(--gray-200);
}


.feature {
  padding: 32px 25px;

  min-height: 230px;

  border-left:
    1px solid var(--gray-200);

  transition:
    background 0.3s ease;
}


.feature:first-child {
  border-left: 0;
}


.feature:hover {
  background: var(--gray-50);
}


.feature-number {
  color: var(--teal);

  font-size: 12px;

  font-weight: 800;

  direction: ltr;

  display: block;

  margin-bottom: 38px;
}


.feature h3 {
  font-size: 18px;

  margin-bottom: 10px;

  font-weight: 800;
}


.feature p {
  color: var(--muted);

  font-size: 13px;

  line-height: 2;
}


/* ================= CONSULTING ================= */

.consulting {
  background: var(--gray-50);
}


.plans {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 20px;
}


.plan {
  position: relative;

  padding: 38px;

  background: white;

  border:
    1px solid var(--gray-200);

  border-radius: var(--radius);

  box-shadow:
    0 15px 40px
    rgba(20,35,37,0.04);
}


.plan-featured {
  border-color:
    rgba(24,183,177,0.45);

  box-shadow:
    0 20px 60px
    rgba(24,183,177,0.09);
}


.plan-top {
  display: flex;

  justify-content: space-between;

  align-items: center;

  color: var(--muted);

  font-size: 11px;
}


.plan-label {
  padding: 5px 10px;

  border-radius: 6px;

  background: var(--teal-soft);

  color: var(--teal-dark);

  font-weight: 700;
}


.plan h3 {
  font-size: 28px;

  margin-top: 45px;

  font-weight: 800;
}


.plan > p {
  margin-top: 12px;

  color: var(--muted);

  font-size: 13px;

  line-height: 2;
}


.plan ul {
  list-style: none;

  margin:
    25px 0;
}


.plan li {
  position: relative;

  padding-right: 20px;

  margin-bottom: 8px;

  color: #495456;

  font-size: 13px;
}


.plan li::before {
  content: "";

  position: absolute;

  right: 0;

  top: 12px;

  width: 6px;
  height: 6px;

  background: var(--teal);

  border-radius: 50%;
}


.plan > a {
  color: var(--teal-dark);

  font-size: 13px;

  font-weight: 800;
}


/* ================= ARTICLES ================= */

.articles {
  background: white;
}


.article-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 18px;
}


.article {
  min-height: 280px;

  padding: 30px;

  border:
    1px solid var(--gray-200);

  border-radius: var(--radius);

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.article:hover {
  transform: translateY(-5px);

  box-shadow: var(--shadow);
}


.article > span {
  color: var(--teal-dark);

  font-size: 11px;

  font-weight: 800;
}


.article h3 {
  font-size: 20px;

  line-height: 1.8;

  font-weight: 800;
}


.article a {
  color: var(--muted);

  font-size: 12px;

  font-weight: 700;
}


.text-link {
  color: var(--teal-dark);

  font-size: 13px;

  font-weight: 700;
}


/* ================= INSTAGRAM ================= */

.instagram {
  padding-top: 0;
}


.instagram-box {
  min-height: 250px;

  padding:
    45px 55px;

  border-radius: var(--radius);

  background:
    var(--dark);

  color: white;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 40px;
}


.instagram-box h2 {
  font-size: 30px;

  line-height: 1.5;

  margin-bottom: 8px;
}


.instagram-box p {
  color: #aab4b6;

  font-size: 13px;
}


.instagram-box .section-kicker {
  color: var(--teal);
}


.instagram-box .btn {
  flex-shrink: 0;
}


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

.final-cta {
  padding: 130px 0;

  background:
    linear-gradient(
      135deg,
      #edf8f7,
      #ffffff
    );

  text-align: center;
}


.final-inner {
  display: flex;

  flex-direction: column;

  align-items: center;
}


.final-inner h2 {
  font-size: clamp(
    36px,
    5vw,
    60px
  );

  line-height: 1.45;

  color: var(--dark);

  font-weight: 800;
}


.final-inner h2 em {
  color: var(--teal-dark);

  font-style: normal;
}


.final-inner p {
  color: var(--muted);

  margin:
    18px 0 28px;

  font-size: 14px;
}


/* ================= FOOTER ================= */

.footer {
  padding:
    65px 0 25px;

  background: #111719;

  color: white;
}


.footer-grid {
  display: grid;

  grid-template-columns:
    1.5fr 1fr 1fr;

  gap: 50px;

  padding-bottom: 50px;

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


.footer .brand-name strong {
  color: white;
}


.footer .brand-name small {
  color: #7c898b;
}


.footer .brand-mark {
  border-color: var(--teal);
}


.footer p {
  color: #7e8b8d;

  font-size: 12px;

  margin-top: 15px;
}


.footer-links {
  display: flex;

  flex-direction: column;

  gap: 12px;
}


.footer-links a {
  color: #9ba7a9;

  font-size: 12px;

  transition: 0.2s;
}


.footer-links a:hover {
  color: var(--teal);
}


.copyright {
  padding-top: 20px;

  color: #626e70;

  font-size: 10px;
}


/* ================= MOBILE ================= */

@media (max-width: 900px) {

  .nav {
    position: absolute;

    top: 78px;

    right: 20px;
    left: 20px;

    padding: 20px;

    background: white;

    border:
      1px solid var(--gray-200);

    border-radius: 14px;

    box-shadow: var(--shadow);

    flex-direction: column;

    align-items: stretch;

    gap: 15px;

    display: none;
  }


  .nav.open {
    display: flex;
  }


  .nav-cta {
    text-align: center;
  }


  .menu-toggle {
    display: block;
  }


  .hero {
    padding:
      70px 0 90px;
  }


  .hero-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }


  .hero-copy {
    text-align: center;
  }


  .hero-text {
    margin-inline: auto;
  }


  .hero-actions {
    justify-content: center;
  }


  .trust-line {
    justify-content: center;
  }


  .hero-visual {
    min-height: auto;
  }


  .feature-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .feature:nth-child(3) {
    border-left: 0;
  }


  .section-head {
    grid-template-columns: 1fr;

    gap: 20px;
  }


  .article-grid {
    grid-template-columns: 1fr;
  }


  .instagram-box {
    flex-direction: column;

    align-items: flex-start;
  }


  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

}


@media (max-width: 600px) {

  .container {
    width: min(
      calc(100% - 28px),
      var(--container)
    );
  }


  .nav-wrap {
    height: 70px;
  }


  .nav {
    top: 70px;

    right: 14px;
    left: 14px;
  }


  .hero {
    min-height: auto;

    padding:
      65px 0 75px;
  }


  .hero h1 {
    font-size: 38px;

    letter-spacing: -1px;
  }


  .hero-text {
    font-size: 14px;
  }


  .hero-actions {
    flex-direction: column;
  }


  .hero-actions .btn {
    width: 100%;
  }


  .visual-frame {
    border-radius: 20px;
  }


  .section {
    padding: 75px 0;
  }


  .section-head h2 {
    font-size: 30px;
  }


  .feature-grid {
    grid-template-columns: 1fr;
  }


  .feature {
    border-left: 0;

    border-bottom:
      1px solid var(--gray-200);
  }


  .feature:last-child {
    border-bottom: 0;
  }


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


  .plan {
    padding: 28px;
  }


  .plan h3 {
    font-size: 25px;

    margin-top: 35px;
  }


  .instagram-box {
    padding: 35px 25px;
  }


  .instagram-box h2 {
    font-size: 25px;
  }


  .instagram-box .btn {
    width: 100%;
  }


  .final-cta {
    padding: 90px 0;
  }


  .final-inner h2 {
    font-size: 37px;
  }


  .footer-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }

}
