/* ================================================================
   AHNAF.KZ — НЕКЕ ҚИЮ (/neke)
   Мягкая палитра: пудровый, крем, бирюза бренда. Зависит от layout.css
================================================================ */

@font-face {
    font-family: 'KFGQPC Hafs';
    src: url('../../fonts/KFGQPC/UthmanicHafs1Ver18.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'Adwa Assalaf';
    src: url('../../fonts/AdwaAssalaf/AdwaAssalaf.woff2') format('woff2');
    font-display: swap;
}

.nk {
    --blush:   #F6ECE6;
    --blush-2: #EFDCD2;
    --petal:   #F3E1DA;
    --rose:    #B7826E;
    --rose-d:  #9A6753;
    --paper:   #FFFDFB;
    background: linear-gradient(180deg, #FBF5F1 0%, var(--bg) 520px);
    overflow: hidden;
}

/* ── общие ──────────────────────────────────────────────── */
.nk-section { padding: 34px 0; position: relative; }
@media (min-width: 768px) { .nk-section { padding: 52px 0; } }
.nk-section--soft {
    background:
        radial-gradient(60% 80% at 0% 0%, rgba(246,236,230,.9) 0%, transparent 70%),
        radial-gradient(50% 70% at 100% 100%, rgba(225,245,244,.8) 0%, transparent 70%),
        var(--paper);
}

.nk-eyebrow {
    display: inline-block;
    font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--rose);
}
.nk-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.nk-head--center { align-items: center; text-align: center; }
.nk-h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.6vw, 38px);
    font-weight: 400; line-height: 1.15;
    color: var(--ink);
}
.nk-h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }

.nk-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.nk-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 48px; padding: 0 26px;
    border-radius: 26px;
    font-size: 14.5px; font-weight: 500;
    transition: background var(--tr), color var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.nk-btn img { width: 20px; height: 20px; }
.nk-btn--main { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(11,110,107,.22); }
.nk-btn--main:hover { background: var(--teal-dark); }
.nk-btn--ghost { background: rgba(255,255,255,.7); color: var(--ink); border: 1px solid var(--blush-2); }
.nk-btn--ghost:hover { border-color: var(--rose); color: var(--rose-d); }
@media (max-width: 480px) { .nk-btns .nk-btn { flex: 1 1 auto; } }

/* Арка (форма михраба) */
.nk-arch {
    position: relative;
    border-radius: 999px 999px 24px 24px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(154,103,83,.18);
    background: var(--blush);
}
.nk-arch::after {
    content: ''; position: absolute; inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 7px rgba(255,255,255,.6);
    pointer-events: none;
}
.nk-arch img { width: 100%; height: 100%; object-fit: cover; }

/* Лепестки (мягкие размытые пятна) */
.nk-petal {
    position: absolute; border-radius: 50%;
    filter: blur(2px); opacity: .55; pointer-events: none;
}
.nk-petal--1 { width: 320px; height: 320px; top: -120px; right: 8%; background: radial-gradient(circle, #F4D9CF 0%, transparent 70%); }
.nk-petal--2 { width: 260px; height: 260px; bottom: -80px; left: -60px; background: radial-gradient(circle, #DCEFEC 0%, transparent 70%); }
.nk-petal--3 { width: 140px; height: 140px; top: 40%; left: 46%; background: radial-gradient(circle, #F7E6DF 0%, transparent 70%); }

/* ── HERO ───────────────────────────────────────────────── */
.nk-hero { position: relative; padding: 18px 0 30px; }
@media (min-width: 900px) { .nk-hero { padding: 28px 0 56px; } }
.nk-hero__grid { position: relative; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .nk-hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }

.nk-breadcrumb { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.nk-breadcrumb a:hover { color: var(--teal); }
.nk-breadcrumb__cur { color: var(--ink-2); }

.nk-hero__title {
    font-family: var(--font-display);
    font-size: clamp(34px, 6vw, 64px);
    font-weight: 400; line-height: 1.04;
    color: var(--ink);
    margin: 10px 0 16px;
}
.nk-hero__title em { font-style: normal; color: var(--rose); }
.nk-hero__lead { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); max-width: 540px; margin-bottom: 24px; }

.nk-hero__media { position: relative; order: -1; }
@media (min-width: 900px) { .nk-hero__media { order: 0; } }
.nk-arch--hero { height: 300px; max-width: 460px; margin: 0 auto; }
@media (min-width: 900px) { .nk-arch--hero { height: 560px; } }
/* ── АЯТ ────────────────────────────────────────────────── */
.nk-ayah {
    position: relative;
    max-width: 920px; margin: 0 auto;
    padding: 46px 22px 36px;
    text-align: center;
    background: var(--paper);
    border-radius: var(--r-xl);
    border: 1px solid rgba(183,130,110,.18);
    box-shadow: 0 20px 50px rgba(154,103,83,.08);
}
@media (min-width: 768px) { .nk-ayah { padding: 60px 64px 46px; } }
.nk-ayah::before {
    content: ''; position: absolute; inset: 10px;
    border: 1px dashed rgba(183,130,110,.25);
    border-radius: 22px; pointer-events: none;
}
.nk-ayah__orn {
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
    width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--paper);
    border: 1px solid rgba(183,130,110,.25);
    color: var(--rose); font-size: 22px; line-height: 1;
    font-family: 'KFGQPC Hafs', serif;
}
.nk-ayah__ar {
    font-family: 'KFGQPC Hafs', 'Amiri', serif;
    font-size: clamp(24px, 3.4vw, 38px);
    line-height: 2.05;
    color: var(--teal-deep);
}
.nk-ayah__tr {
    margin: 18px auto 0; max-width: 680px;
    font-size: clamp(14.5px, 1.6vw, 17px); line-height: 1.7;
    font-style: italic; color: var(--ink-2);
}
.nk-ayah__ref { margin-top: 14px; font-size: 12px; letter-spacing: .04em; color: var(--rose); }

/* ── ИСЛАМДАҒЫ НЕКЕ ─────────────────────────────────────── */
.nk-about { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .nk-about { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.nk-about__media { position: relative; padding-right: 22%; }
.nk-about__media > .nk-arch:first-child { height: 340px; }
@media (min-width: 900px) { .nk-about__media > .nk-arch:first-child { height: 500px; } }
.nk-arch--small {
    position: absolute; right: 0; bottom: -18px;
    width: 40%; height: 46%;
    border: 6px solid var(--paper);
}
.nk-about__text { display: flex; flex-direction: column; gap: 14px; }
.nk-about__text p { font-size: 15px; line-height: 1.75; color: var(--ink-2); }

.nk-checks { display: grid; gap: 10px; margin-top: 6px; }
.nk-checks li {
    position: relative;
    padding: 12px 14px 12px 44px;
    background: #fff;
    border-radius: var(--r-md);
    box-shadow: var(--sh-sm);
    font-size: 14px; line-height: 1.55; color: var(--ink-2);
}
.nk-checks li::before {
    content: ''; position: absolute; left: 14px; top: 15px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6E6B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.nk-checks b { color: var(--ink); font-weight: 600; }

/* ── ХАДИС (в стиле аята) ──────────────────────────────── */
.nk-ayah--hadith { max-width: 820px; background: linear-gradient(160deg, var(--paper) 0%, var(--blush) 160%); }
.nk-hadith-ar {
    font-family: 'Adwa Assalaf', 'Amiri', serif;
    font-size: clamp(24px, 3.2vw, 36px);
    line-height: 1.9;
    color: var(--teal-deep);
}
.nk-salawat { font-family: 'Amiri', serif; font-size: 1.25em; color: var(--teal); line-height: 1; }

/* ── ШАРТТАР / ҚҰЖАТТАР ─────────────────────────────────── */
.nk-prep { display: grid; gap: 16px; }
@media (min-width: 900px) { .nk-prep { grid-template-columns: 1fr 1fr; gap: 20px; } }
.nk-panel {
    display: flex; flex-direction: column; gap: 20px;
    padding: 26px 22px;
    background: #fff;
    border-radius: var(--r-xl);
    border: 1px solid rgba(183,130,110,.14);
    box-shadow: 0 16px 40px rgba(154,103,83,.07);
}
@media (min-width: 768px) { .nk-panel { padding: 32px 34px; } }
.nk-panel__head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px dashed rgba(183,130,110,.28); }
.nk-panel__head .nk-h3 { margin: 0; }
.nk-panel__ic {
    width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center; flex-shrink: 0;
    background: var(--blush); color: var(--rose-d);
}
.nk-panel__ic svg { width: 22px; height: 22px; }

.nk-rows { display: grid; gap: 18px; }
.nk-rows li { display: flex; gap: 16px; align-items: flex-start; }
.nk-rows__n {
    flex-shrink: 0;
    width: 38px; height: 38px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--mint); color: var(--teal);
    font-family: var(--font-display); font-size: 15px;
}
.nk-rows__n--ic svg { width: 20px; height: 20px; }
.nk-rows div b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.nk-rows div span { display: block; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

.nk-note {
    display: flex; align-items: center; gap: 12px;
    max-width: 820px; margin: 18px auto 0;
    padding: 14px 20px;
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(183,130,110,.22);
    border-radius: 999px;
    font-size: 13.5px; line-height: 1.5; color: var(--ink-2);
}
.nk-note svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--rose); }
.nk-note b { color: var(--ink); }
@media (max-width: 600px) { .nk-note { border-radius: var(--r-md); align-items: flex-start; } }

/* ── БАҒАЛАР ────────────────────────────────────────────── */
.nk-prices {
    display: grid; gap: 16px;
    max-width: 880px; margin: 0 auto;
}
@media (min-width: 768px) { .nk-prices { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.nk-price {
    position: relative;
    display: flex; flex-direction: column; gap: 14px;
    padding: 28px 24px;
    background: #fff;
    border-radius: var(--r-xl);
    border: 1px solid rgba(183,130,110,.18);
}
.nk-price--best {
    background: linear-gradient(165deg, #fff 0%, var(--blush) 100%);
    border-color: rgba(183,130,110,.4);
    box-shadow: 0 24px 50px rgba(154,103,83,.14);
}
.nk-price__tag {
    position: absolute; top: -12px; right: 22px;
    padding: 4px 14px; border-radius: 14px;
    background: var(--rose); color: #fff;
    font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
}
.nk-price__top { display: flex; flex-direction: column; gap: 6px; }
.nk-price__name { font-size: 17px; font-weight: 600; color: var(--ink); }
.nk-price__dur { font-size: 12.5px; color: var(--muted); }
.nk-price__sum {
    font-family: var(--font-display);
    font-size: 40px; line-height: 1; color: var(--teal-deep);
}
.nk-price__sum small { font-size: 22px; color: var(--rose); }
.nk-price__list { display: grid; gap: 9px; margin-bottom: 6px; }
.nk-price__list li {
    position: relative; padding-left: 22px;
    font-size: 14px; line-height: 1.5; color: var(--ink-2);
}
.nk-price__list li::before {
    content: ''; position: absolute; left: 2px; top: 7px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--rose); opacity: .7;
}
.nk-price__btn { margin-top: auto; width: 100%; }

/* ── ҚАДАМДАР ───────────────────────────────────────────── */
.nk-steps { display: grid; gap: 12px; counter-reset: s; }
@media (min-width: 640px)  { .nk-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .nk-steps { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.nk-step {
    position: relative;
    padding: 22px 20px 22px;
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    overflow: hidden;
}
.nk-step__n {
    display: grid; place-items: center;
    width: 38px; height: 38px; border-radius: 50%;
    margin-bottom: 14px;
    background: var(--blush); color: var(--rose-d);
    font-family: var(--font-display); font-size: 16px;
}
.nk-step h3 { font-size: 15.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.nk-step p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.nk-step a { color: var(--teal); font-weight: 600; }

/* ── FAQ ────────────────────────────────────────────────── */
.nk-faq-wrap { max-width: 880px; }
.nk-faq { display: grid; gap: 10px; }
.nk-faq details {
    background: #fff;
    border-radius: var(--r-md);
    box-shadow: var(--sh-sm);
    overflow: hidden;
}
.nk-faq summary {
    position: relative;
    list-style: none; cursor: pointer;
    padding: 18px 52px 18px 20px;
    font-size: 15px; font-weight: 500; color: var(--ink);
}
.nk-faq summary::-webkit-details-marker { display: none; }
.nk-faq summary::after {
    content: '+';
    position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    width: 26px; height: 26px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--blush); color: var(--rose-d);
    font-size: 18px; line-height: 1;
    transition: transform var(--tr);
}
.nk-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.nk-faq details p { padding: 0 20px 18px; font-size: 14px; line-height: 1.65; color: var(--ink-2); }

/* ── CTA ────────────────────────────────────────────────── */
.nk-cta {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    min-height: 340px;
    display: grid; place-items: center;
    text-align: center;
}
.nk-cta__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
}
.nk-cta__bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,250,247,.78) 0%, rgba(246,236,230,.92) 100%);
}
.nk-cta__body {
    position: relative;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    padding: 44px 22px;
    max-width: 700px;
}
.nk-cta__hadith { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 14px; padding-bottom: 18px; border-bottom: 1px dashed rgba(183,130,110,.35); }
.nk-cta__ar { font-family: 'Adwa Assalaf', 'Amiri', serif; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.8; color: var(--teal-deep); }
.nk-cta__hadith blockquote { font-size: 14.5px; line-height: 1.65; font-style: italic; color: var(--ink-2); }
.nk-cta__hadith figcaption { font-size: 12px; color: var(--rose); }
.nk-cta__title {
    font-family: var(--font-display);
    font-size: clamp(22px, 3.2vw, 34px);
    font-weight: 400; line-height: 1.2; color: var(--ink);
}
.nk-cta__sub { font-size: 14.5px; color: var(--ink-2); margin-bottom: 8px; }

@media (prefers-reduced-motion: no-preference) {
    .nk-arch img { transition: transform 1.2s ease; }
    .nk-arch:hover img { transform: scale(1.04); }
}
