/* ==========================================================================
   Nest Plus – offer landing page (single-mn_np_offer.php)
   Same palette and type as the homepage Nest Plus block (nest-plus.css).
   Everything is scoped to .npo so theme/Bootstrap styles are unaffected.
   ========================================================================== */
.npo {
    --wine: #4e131e; --wine-deep: #260a10; --brand: #651223; --ink: #1d0a0f;
    --gold: #b3a58f; --gold-dk: #8f7d5f; --gold-lt: #ddd5c8; --ivory: #f7f3ec;
    --serif: "Playfair Display", Georgia, serif; --sans: Inter, system-ui, sans-serif;
    --leaf: clamp(70px, 9vw, 150px);
    --nav-top: 0px;
    font-family: var(--sans); color: var(--ink); background: #fff; overflow-x: clip;
}
.npo *, .npo *::before, .npo *::after { box-sizing: border-box; }
.npo h1, .npo h2, .npo h3, .npo p, .npo ul { margin: 0; padding: 0; }
.npo h1, .npo h2, .npo h3 { text-transform: none; letter-spacing: normal; }
/* landing pages don't need the theme's property search bar */
.single-mn_np_offer .advanced-search-nav { display: none !important; }
.npo img { max-width: 100%; height: auto; display: block; }
.npo i { font-family: var(--serif); font-style: italic; }
.npo-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.npo section[id] { scroll-margin-top: calc(var(--nav-top) + 70px); }

/* shared bits */
.npo-kicker { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.3; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-lt); }
.npo-kicker::before { content: ""; width: 26px; height: 1px; background: var(--gold); flex: none; }
.npo-kicker i { text-transform: none; letter-spacing: .02em; font-size: 1.25em; }
.npo-kicker.dark { color: var(--gold-dk); }
.npo-rule { display: block; width: 64px; height: 1px; margin-bottom: 18px; background: linear-gradient(90deg, var(--gold), transparent); }
.npo-h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3vw, 44px); line-height: 1.12; color: var(--wine); }
.npo-prose { font-size: 16.5px; line-height: 1.7; color: #4a3a3e; }
.npo-prose p + p { margin-top: 1em; }
.npo-prose a { color: var(--brand); text-decoration: underline; }
.npo-prose ul, .npo-prose ol { padding-left: 1.3em; margin: .6em 0; }
.npo-h2 + .npo-prose { margin-top: 16px; }

.npo .npo-btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 28px; border: 1px solid var(--gold); border-radius: 0;
    color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
    background: rgba(38,10,16,.25); transition: background .3s, border-color .3s, color .3s; }
.npo .npo-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--wine-deep); }
.npo .npo-btn.dark { color: var(--wine); background: transparent; border-color: var(--wine); }
.npo .npo-btn.dark:hover { background: var(--wine); color: #fff; }
.npo-btn svg, .npo-link svg { width: 16px; height: 10px; transition: transform .35s; }
.npo-btn:hover svg, .npo-link:hover svg { transform: translateX(5px); }
.npo .npo-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 0; border-bottom: 1px solid var(--gold);
    color: var(--wine); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.npo .npo-link:hover { color: var(--brand); text-decoration: none; }

/* leaf-shaped image with gold double outline (matches the homepage cards) */
.npo-leaf { position: relative; isolation: isolate; border-radius: var(--leaf) 0; }
.npo-leaf img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--leaf) 0; box-shadow: 0 18px 40px -18px rgba(45,6,14,.45); }
.npo-leaf::before, .npo-leaf::after { content: ""; position: absolute; border-radius: var(--leaf) 0; pointer-events: none; }
.npo-leaf::before { inset: 0; border: 1.5px solid #bfa67a; transform: translate(14px, 14px); z-index: -1; }
.npo-leaf::after { inset: 12px; border: 1px solid rgba(221,213,200,.75); }

/* ---------- hero ---------- */
.npo-hero { position: relative; min-height: clamp(480px, 46vw, 760px); display: flex; align-items: center; overflow: hidden; background: var(--wine-deep); color: #fff; }
.npo-hero-img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; transform: scale(1.06); animation: npoZoom 9s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes npoZoom { to { transform: scale(1); } }
.npo-hero-shade { position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 32%, rgba(0,0,0,.22) 65%, rgba(0,0,0,.1) 100%),
                linear-gradient(0deg, rgba(0,0,0,.45), transparent 40%); }
.npo-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(221,213,200,.7) 30%, rgba(221,213,200,.7) 70%, transparent); }
.npo-hero-inner { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.npo-hero-inner > * { max-width: 640px; opacity: 0; transform: translateY(18px); animation: npoUp .9s cubic-bezier(.2,.7,.2,1) forwards; }
.npo-hero-inner > :nth-child(2) { animation-delay: .1s; } .npo-hero-inner > :nth-child(3) { animation-delay: .2s; }
.npo-hero-inner > :nth-child(4) { animation-delay: .3s; } .npo-hero-inner > :nth-child(5) { animation-delay: .4s; } .npo-hero-inner > :nth-child(6) { animation-delay: .5s; }
@keyframes npoUp { to { opacity: 1; transform: none; } }
.npo-upto { margin-top: 22px; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.npo-kicker + .npo-big { margin-top: 18px; }
.npo-big { font-family: var(--serif); font-weight: 700; line-height: .98; font-size: clamp(56px, 7.4vw, 112px); letter-spacing: -.01em;
    background: linear-gradient(180deg, #f8f4ee 0%, #e2d9ca 55%, #bfae92 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
    padding-bottom: .06em; }
.npo-big.sm { font-size: clamp(42px, 5vw, 76px); line-height: 1.04; }
.npo-upto + .npo-big { margin-top: 6px; }
.npo-big i { font-weight: 500; }
.npo-sub { margin-top: 10px; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.2; }
.npo-hero-text { margin-top: 18px; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.82); }
.npo-hero-text p + p { margin-top: .8em; }
.npo-hero .npo-btn { margin-top: 32px; background: #651223; border-color: #651223; }

/* ---------- ended notice ---------- */
.npo-ended { background: var(--ivory); border-bottom: 1px solid var(--gold-lt); padding: 22px 0; text-align: center; font-size: 16px; }
.npo-ended a { color: var(--brand); text-decoration: underline; margin-left: 6px; }
.npo-ended-note { margin-top: 6px !important; font-size: 13px; color: #7a6a6e; }

/* ---------- sticky section bar ---------- */
.npo-nav { position: sticky; top: var(--nav-top); z-index: 50; background: rgba(38,10,16,.96); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(179,165,143,.35); }
.npo-nav ul { list-style: none; display: flex; justify-content: center; gap: clamp(8px, 3vw, 44px); overflow-x: auto; scrollbar-width: none; }
.npo-nav ul::-webkit-scrollbar { display: none; }
.npo-nav a { position: relative; display: block; padding: 18px 4px; white-space: nowrap; color: rgba(255,255,255,.72); font-size: 12.5px; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase; text-decoration: none; transition: color .3s; }
.npo-nav a::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 10px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .35s; }
.npo-nav a:hover, .npo-nav a.on { color: #fff; text-decoration: none; }
.npo-nav a.on::after, .npo-nav a:hover::after { transform: none; }

/* ---------- intro + feature blocks ---------- */
.npo-offer { padding: clamp(64px, 8vw, 110px) 0; background: var(--ivory); }
.npo-intro { max-width: 820px; text-align: center; }
.npo-intro .npo-rule, .npo-head .npo-rule { margin-left: auto; margin-right: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.npo-intro .npo-prose { font-size: 18px; }
.npo-intro + .npo-promo { margin-top: clamp(56px, 7vw, 96px); }
.npo-promo { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.npo-promo + .npo-promo { margin-top: clamp(64px, 8vw, 110px); }
.npo-promo.is-flip .npo-leaf { order: 2; }
.npo-promo.is-flip .npo-leaf::before { transform: translate(-14px, 14px); }
.npo-promo.no-img { grid-template-columns: 1fr; max-width: 820px; }
.npo-promo-body .npo-kicker { margin-bottom: 16px; }

/* ---------- gallery ---------- */
.npo-gallery { padding: clamp(64px, 8vw, 110px) 0; }
.npo-head { max-width: 760px; margin: 0 auto clamp(36px, 4vw, 56px); text-align: center; }
.npo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.npo-gcard { position: relative; background: #fff; border: 1px solid #eee6da; border-radius: 48px 0 48px 0; overflow: hidden;
    box-shadow: 0 14px 30px -20px rgba(45,6,14,.4); transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
.npo-gcard:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(45,6,14,.5); }
.npo-gimg { overflow: hidden; background: var(--ivory); }
.npo-gimg img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.npo-gcard:hover .npo-gimg img { transform: scale(1.05); }
.npo-gbody { padding: 22px 24px 26px; }
.npo-gbody h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--wine); }
.npo-price { margin-top: 10px !important; font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1.1;
    background: linear-gradient(180deg, #b39a6c, #8f7d5f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.npo-save { display: inline-block; margin-top: 12px; padding: 5px 12px; background: var(--wine); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.npo-note { margin-top: 12px !important; font-size: 13px; color: #7a6a6e; }

/* ---------- inclusions ---------- */
.npo-inc { padding: clamp(64px, 8vw, 110px) 0; background: var(--ivory); }
.npo-inc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.npo-inc-grid.no-img { grid-template-columns: 1fr; max-width: 900px; }
.npo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 30px; }
.npo-col { padding: 24px; background: #fff; border-top: 2px solid var(--gold); }
.npo-col h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--wine); margin-bottom: 12px !important; }
.npo-col ul { list-style: none; }
.npo-col li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.55; color: #4a3a3e; }
.npo-col li + li { margin-top: 8px; }
.npo-col li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 8px 0; background: var(--gold); }

/* ---------- enquiry ---------- */
.npo-enquire { padding: clamp(64px, 8vw, 110px) 0; color: #fff;
    background: radial-gradient(110% 120% at 15% 20%, #5d1824 0%, var(--wine) 45%, var(--wine-deep) 100%); }
.npo-enq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.npo-enquire .npo-h2 { color: #fff; margin-top: 18px; }
.npo-enquire .npo-prose { color: rgba(255,255,255,.8); }
.npo-enq-call { margin-top: 26px !important; font-size: 15px; color: rgba(255,255,255,.75); }
.npo-enq-call a { color: #fff; font-weight: 600; border-bottom: 1px solid var(--gold); text-decoration: none; }
.npo-enq-form { position: relative; background: #fff; color: var(--ink); padding: clamp(24px, 3vw, 44px); border-radius: 56px 0 56px 0; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.npo-enq-form::before { content: ""; position: absolute; inset: -12px 12px 12px -12px; border: 1px solid rgba(191,166,122,.7); border-radius: 56px 0 56px 0; pointer-events: none; }
.npo-enq-form .elementor-section, .npo-enq-form .e-con { padding: 0 !important; }

/* ---------- terms ---------- */
.npo-terms { padding: 48px 0; border-top: 1px solid #eee6da; }
.npo .npo-terms h2 { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--wine); margin-bottom: 12px; }
.npo-terms-text { font-size: 13px; line-height: 1.65; color: #6d5f62; max-width: 900px; }
.npo-terms-text p + p { margin-top: .8em; }

/* ---------- more offers ---------- */
.npo-more { padding: clamp(56px, 6vw, 90px) 0 0; background: linear-gradient(180deg, var(--ivory), #fff 60%); }

/* scroll reveal (class added by nest-plus-offer.js) */
.npo.js .npo-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 110ms); }
.npo.js .npo-reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
    .npo-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .npo-enq-grid, .npo-inc-grid { grid-template-columns: 1fr; }
    .npo-inc-grid .npo-leaf { max-width: 560px; }
}
@media (max-width: 900px) {
    .npo-promo { grid-template-columns: 1fr; gap: 34px; }
    .npo-promo.is-flip .npo-leaf { order: 0; }
    .npo-promo .npo-leaf, .npo-inc-grid .npo-leaf { margin-right: 14px; }
    .npo-promo.is-flip .npo-leaf { margin-right: 0; margin-left: 14px; }
}
@media (max-width: 767px) {
    .npo-wrap { padding: 0 16px; }
    .npo-hero { min-height: 0; align-items: flex-end; }
    .npo-hero-inner { padding-top: 220px; padding-bottom: 48px; }
    .npo-hero-shade { background: linear-gradient(0deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.65) 45%, rgba(0,0,0,.15) 80%, rgba(0,0,0,.05) 100%); }
    .npo-hero-text { font-size: 16px; }
    .npo-kicker { font-size: 11.5px; }
    .npo-upto { font-size: 13px; margin-top: 18px; }
    .npo-nav ul { justify-content: flex-start; gap: 18px; padding: 0 4px; }
    .npo-nav a { padding: 15px 2px; font-size: 11px; letter-spacing: .12em; }
    .npo-grid, .npo-cols { grid-template-columns: 1fr; }
    .npo-prose, .npo-intro .npo-prose { font-size: 16px; }
    .npo-enq-form { border-radius: 36px 0 36px 0; }
    .npo-enq-form::before { border-radius: 36px 0 36px 0; inset: -8px 8px 8px -8px; }
    .npo-leaf::before { transform: translate(10px, 10px); }
    .npo-promo.is-flip .npo-leaf::before { transform: translate(-10px, 10px); }
}
@media (prefers-reduced-motion: reduce) {
    .npo-hero-img, .npo-hero-inner > * { animation: none; opacity: 1; transform: none; }
    .npo.js .npo-reveal { opacity: 1; transform: none; transition: none; }
}
