/* ===============================
   HOME NAVIGATION (UPGRADED)
================================ */

.home-nav {
  padding: 90px 24px;
}

.home-nav-inner {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.home-nav-card {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 180px;

  background: linear-gradient(180deg, #faf9f6 0%, var(--bg-light) 100%);
  border-radius: var(--radius-lg);

  text-decoration: none;

  /* 🖼 рамка + глубина */
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.6),
    0 12px 32px rgba(0,0,0,0.08);

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

/* 🎯 акцентная линия */
.home-nav-card::before {
  content: "";
  position: absolute;
  bottom: 18px;
  width: 46px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.8;
}

.home-nav-card span {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--text-dark);
  text-align: center;
  z-index: 1;
}

/* ✨ hover */
@media (hover: hover) {
  .home-nav-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,0,0,0.08);
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,0.75),
      0 22px 48px rgba(0,0,0,0.14);
  }
}

/* ===============================
   TABLET
================================ */
@media (max-width: 1024px) {
  .home-nav {
    padding: 70px 24px;
  }

  .home-nav-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-nav-card {
    min-height: 150px;
  }

  .home-nav-card span {
    font-size: 26px;
  }

  .home-nav-card::before {
    bottom: 14px;
    width: 36px;
  }
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 600px) {
  .home-nav {
    padding: 56px 20px;
  }

  .home-nav-card {
    min-height: 130px;
  }

  .home-nav-card span {
    font-size: 22px;
  }

  .home-nav-card::before {
    bottom: 12px;
    width: 32px;
  }
}
