/* ==========================================================================
   НОРДИК ХАУС — бүтээгдэхүүний хуудас
   Загвар 4 «Архитектур»-ийн хэлийг (v5.css) үргэлжлүүлнэ.
   ========================================================================== */

/* --- Бүтээгдэхүүний хийл ------------------------------------------------- */
.n-hero { position: relative; background: var(--evergreen); color: var(--white); overflow: hidden; }
.n-hero .roofpattern-layer { position: absolute; inset: 0; opacity: .12; pointer-events: none; }
.n-hero .shell { position: relative; padding: 74px 24px 0; }

.n-crumb {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display);
    font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin-bottom: 26px;
}
.n-crumb a { color: var(--faded); }
.n-crumb a:hover { color: var(--white); }

.n-title { font-size: clamp(42px, 7vw, 104px); font-weight: 700; letter-spacing: -.03em; line-height: .96; }
.n-title em { font-style: normal; color: var(--faded); display: block; }
.n-lead { max-width: 52ch; margin-top: 22px; color: rgba(255,255,255,.78); font-size: 16.5px; }

.n-spec {
    display: grid; grid-template-columns: repeat(4, 1fr);
    margin-top: 48px;
    border-top: 1px solid var(--line-light);
}
@media (max-width: 780px) { .n-spec { grid-template-columns: repeat(2, 1fr); } }
.n-spec li { padding: 22px 20px 30px 0; }
.n-spec li + li { border-left: 1px solid var(--line-light); padding-left: 24px; }
@media (max-width: 780px) { .n-spec li:nth-child(3) { border-left: 0; padding-left: 0; } }
.n-spec b {
    display: block; font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 38px); font-weight: 700; line-height: 1; color: var(--faded);
}
.n-spec span { display: block; margin-top: 10px; font-size: 12.5px; color: rgba(255,255,255,.66); }

/* Хийл дэх өргөн зураг — доод талд байшингийн хэлбэрээр таслагдана */
.n-hero-art { position: relative; margin-top: 10px; aspect-ratio: 21 / 9; background: var(--forest); overflow: hidden; }
.n-hero-art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 780px) { .n-hero-art { aspect-ratio: 4 / 3; } }

/* --- Онцлог сүлжээ ------------------------------------------------------- */
.n-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px) { .n-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .n-feats { grid-template-columns: 1fr; } }
.n-feat { background: var(--white); padding: 32px 26px 36px; }
.n-feat .ico { width: 40px; height: 33px; background: var(--olive); clip-path: polygon(50% 0%, 100% 44%, 100% 100%, 0% 100%, 0% 44%); margin-bottom: 18px; }
.n-feat h3 { font-size: 16.5px; margin-bottom: 9px; }
.n-feat p { font-size: 14px; color: var(--evergreen-70); }

/* --- План + үзүүлэлт ----------------------------------------------------- */
.n-plan-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .n-plan-wrap { grid-template-columns: 1fr; gap: 34px; } }
.n-plan { background: var(--silver); border: 1px solid var(--line); padding: 30px; }
.n-plan svg { width: 100%; height: auto; display: block; }

.n-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.n-table th, .n-table td { text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.n-table th { width: 46%; font-family: var(--font-display); font-weight: 500; color: var(--evergreen-70); }
.n-table td { font-family: var(--font-display); font-weight: 700; color: var(--evergreen); }

/* --- Зургийн эгнээ ------------------------------------------------------- */
.n-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
@media (max-width: 780px) { .n-gallery { grid-template-columns: 1fr 1fr; } }
.n-gallery figure { margin: 0; aspect-ratio: 1 / 1; background: var(--forest); overflow: hidden; }
.n-gallery figure:first-child { aspect-ratio: auto; grid-row: span 2; }
@media (max-width: 780px) { .n-gallery figure:first-child { grid-row: auto; aspect-ratio: 1/1; } }
.n-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.n-gallery figure:hover img { transform: scale(1.05); }

/* <picture> нь inline элемент тул блок болгож, өндрийг дамжуулна —
   эс бөгөөс доор нь мөрийн зай гарч, object-fit ажиллахгүй. */
.n-hero-art picture { display: block; width: 100%; height: 100%; }
