/* =================================================================
   CovaiCare — PROJECT DETAIL PAGE (Covai Chinmayam Phase 2)
   Builds on style.css, about.css (reveals, center-head) and
   projects.css (buttons, popup form)
   ================================================================= */

.d-sec { padding-block: clamp(3.25rem, 6.5vw, 5.75rem); scroll-margin-top: calc(var(--hdr, 92px) + 60px); }
.d-note { margin-top: 1.1rem; text-align: center; font-size: .95rem; font-weight: 500; color: var(--ink); opacity: .85; }
.btn i { font-size: 1em; }

/* ---------- Hero ---------- */
.d-hero {
    position: relative;
    display: flex; align-items: flex-end;
    min-height: clamp(520px, calc(100svh - var(--hdr, 92px)), 860px);
    padding-block: clamp(2.5rem, 7vh, 5rem);
    overflow: hidden;
    color: #fff;
    background: var(--ink);
}
.d-hero-bg { position: absolute; inset: 0; }
.d-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.12); transition: transform 2.6s cubic-bezier(.22, 1, .36, 1); }
.is-loaded .d-hero-bg img { transform: scale(1.02); }
.d-hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(38, 42, 37, .92) 0%, rgba(38, 42, 37, .72) 42%, rgba(38, 42, 37, .12) 75%),
                linear-gradient(0deg, rgba(38, 42, 37, .6) 0%, rgba(38, 42, 37, 0) 40%);
}
.d-hero-inner { position: relative; z-index: 1; }
.d-hero .crumbs a { color: var(--yellow); }
.d-badge {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .5rem 1.05rem; margin-bottom: 1rem;
    background: var(--yellow); color: var(--ink);
    border-radius: var(--radius-pill);
    font-weight: 700; font-size: .98rem;
}
.d-badge .dot, .poss-tag .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); animation: pulse 1.8s ease-out infinite; }
.d-title { font-family: var(--font-heading); font-weight: 700; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.02em; }
.d-sub { font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.9rem); color: var(--yellow); margin: .35rem 0 .8rem; }
.d-loc { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: clamp(1rem, .4vw + .92rem, 1.15rem); margin-bottom: 1.4rem; }
.d-loc i { color: var(--yellow); }
.d-keys { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.6rem; }
.d-keys li {
    padding: .8rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(6px);
}
.d-keys span { display: block; font-size: .85rem; font-weight: 600; opacity: .9; }
.d-keys strong { font-family: var(--font-heading); font-size: clamp(1.15rem, 1.6vw, 1.45rem); }
.d-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-ghost { border: 2px solid currentColor; }
.d-hero .btn-ghost, .d-visit .btn-ghost { --btn-bg: transparent; --btn-fg: #fff; border: 2px solid rgba(255, 255, 255, .85); }
.d-hero .btn-ghost:hover, .d-visit .btn-ghost:hover,
.d-hero .btn-ghost:focus-visible, .d-visit .btn-ghost:focus-visible { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Sticky section menu ---------- */
.d-subnav {
    position: sticky; top: var(--hdr, 92px); z-index: 90;
    background: #fff;
    border-bottom: 1px solid rgba(48, 53, 47, .12);
    transition: box-shadow .3s ease;
}
.d-subnav.is-stuck { box-shadow: 0 10px 24px rgba(48, 53, 47, .1); }
.d-subnav-inner { display: flex; align-items: center; gap: 1rem; }
.d-subnav-links {
    display: flex; gap: .3rem;
    flex: 1; min-width: 0;
    overflow-x: auto; scrollbar-width: none;
    padding-block: .55rem;
}
.d-subnav-links::-webkit-scrollbar { display: none; }
.d-subnav-links a {
    display: block; white-space: nowrap;
    padding: .6rem 1rem;
    border-radius: var(--radius-pill);
    font-weight: 700; font-size: clamp(.9rem, .2vw + .86rem, 1rem);
    color: var(--ink);
    transition: background-color .25s ease, color .25s ease;
}
.d-subnav-links a:hover { background: var(--sage-cream); }
.d-subnav-links a.is-active { background: var(--sage); color: #fff; }
.d-subnav-cta { flex: none; padding: .65em 1.3em; }

/* ---------- Overview ---------- */
.d-overview { background: var(--ivory); }
.d-ov-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.d-inline-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .6rem; }
.d-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.d-facts li {
    display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center;
    padding: 1.1rem 1.15rem;
    background: #fff;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--yellow);
    box-shadow: 0 10px 26px rgba(48, 53, 47, .07);
}
.d-facts i {
    grid-row: span 2;
    display: grid; place-items: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--sage-cream); color: var(--sage); font-size: 1.15rem;
}
.d-facts span { font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--sage); }
.d-facts strong { font-family: var(--font-heading); font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: var(--ink); line-height: 1.25; }

/* ---------- Shared pill tabs ---------- */
.d-tabs {
    display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem;
    width: fit-content; max-width: 100%;
    margin: 0 auto clamp(1.75rem, 3.5vw, 2.5rem);
    padding: .4rem;
    background: #fff;
    border: 1px solid rgba(82, 108, 87, .18);
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(48, 53, 47, .07);
}
.d-tab {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .85em 1.6em;
    border: 0; border-radius: 999px;
    background: transparent; color: var(--ink);
    font: 700 clamp(.98rem, .3vw + .9rem, 1.1rem)/1 var(--font-body);
    cursor: pointer;
    transition: background-color .3s ease, color .3s ease;
}
.d-tab i { color: var(--sage); }
.d-tab .count { display: grid; place-items: center; min-width: 1.7em; height: 1.7em; border-radius: 999px; background: var(--sage-cream); font-size: .78em; }
.d-tab:hover { background: var(--sage-cream); }
.d-tab.is-active { background: var(--sage); color: #fff; }
.d-tab.is-active i { color: var(--yellow); }
.d-tab.is-active .count { background: var(--yellow); color: var(--ink); }
.villa-panel:not([hidden]), .g-panel:not([hidden]), .am-panel:not([hidden]) { animation: panelIn .55s cubic-bezier(.22, 1, .36, 1); }

/* ---------- Floor plans ---------- */
.d-plans { background: var(--sage-cream); }
.villa-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.villa-render { margin: 0 0 1.1rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 16px 38px rgba(48, 53, 47, .14); }
.villa-render img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; }
.area-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 10px 26px rgba(48, 53, 47, .07); }
.area-table th, .area-table td { padding: .85rem 1.1rem; text-align: left; font-size: 1.02rem; border-bottom: 1px solid rgba(82, 108, 87, .14); }
.area-table thead th { background: var(--sage); color: #fff; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.area-table tbody th { font-weight: 600; }
.area-table td { font-weight: 700; font-family: var(--font-heading); }
.area-table tr.is-total th, .area-table tr.is-total td { background: #FBF3DD; border-bottom: 0; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.plan {
    position: relative; display: block;
    padding: 1rem 1rem 3.4rem;
    border: 0; border-radius: var(--radius-lg);
    background: #fff; cursor: zoom-in;
    box-shadow: 0 12px 30px rgba(48, 53, 47, .09);
    transition: transform .4s var(--ease), box-shadow .4s ease;
}
.plan img { width: 100%; aspect-ratio: 3 / 4.2; object-fit: contain; }
.plan-cap {
    position: absolute; left: 1rem; right: 1rem; bottom: .9rem;
    display: flex; align-items: center; justify-content: space-between;
    font-weight: 700; font-size: 1.02rem; color: var(--ink);
}
.plan-cap i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sage); color: #fff; font-size: .9rem; transition: background-color .3s ease, color .3s ease; }
.plan:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(48, 53, 47, .15); }
.plan:hover .plan-cap i { background: var(--yellow); color: var(--ink); }

/* ---------- Senior-friendly features ---------- */
.d-home-feat { background: var(--ivory); }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem; }
.feat-grid li {
    display: flex; align-items: center; gap: .85rem;
    padding: .9rem 1rem;
    background: #fff;
    border: 1px solid rgba(82, 108, 87, .14);
    border-radius: 14px;
    font-weight: 600; font-size: clamp(.95rem, .25vw + .9rem, 1.04rem); line-height: 1.35;
    transition: border-color .3s ease, transform .3s var(--ease);
}
.feat-grid li i { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sage); color: #fff; }
.feat-grid li:hover { border-color: var(--yellow); transform: translateY(-3px); }

/* ---------- Site layout ---------- */
.d-layout { background: var(--sage-cream); }
.d-layout-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.layout-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 46px rgba(48, 53, 47, .15); }
.layout-visual img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; filter: blur(6px) saturate(.8); transform: scale(1.08); }
.layout-lock {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem;
    background: rgba(48, 53, 47, .45);
    color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.7rem);
}
.layout-lock i { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 1.9rem; }

/* ---------- Amenities ---------- */
.d-amen { background: var(--ivory); }
.am-wrap {
    display: grid; grid-template-columns: 290px 1fr; gap: 1.25rem;
    background: #fff; border-radius: var(--radius-lg);
    padding: clamp(.9rem, 1.6vw, 1.25rem);
    box-shadow: 0 16px 40px rgba(48, 53, 47, .08);
}
.am-tabs { display: flex; flex-direction: column; gap: .35rem; }
.am-tab {
    display: flex; align-items: center; gap: .8rem;
    padding: .8rem .95rem;
    border: 0; border-radius: 14px;
    background: transparent; color: var(--ink);
    font: 700 1rem/1.25 var(--font-body); text-align: left;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease;
}
.am-tab i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sage-cream); color: var(--sage); transition: background-color .25s ease, color .25s ease; }
.am-tab:hover { background: var(--sage-cream); }
.am-tab.is-active { background: var(--sage); color: #fff; }
.am-tab.is-active i { background: var(--yellow); color: var(--ink); }
.am-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); align-items: center; }
.am-panel[hidden] { display: none; }
.am-img { margin: 0; border-radius: var(--radius-md); overflow: hidden; }
.am-img img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; }
.am-body h3 { display: flex; align-items: center; gap: .6rem; font-family: var(--font-heading); font-size: clamp(1.4rem, 2vw, 1.8rem); color: var(--ink); margin-bottom: 1rem; }
.am-body h3 i { color: var(--sage); }
.am-list { display: grid; gap: .6rem; }
.am-list li { display: flex; align-items: flex-start; gap: .7rem; font-weight: 600; font-size: clamp(1rem, .3vw + .92rem, 1.08rem); line-height: 1.45; color: var(--ink); }
.am-list li i { flex: none; margin-top: .2rem; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: .7rem; }

/* ---------- Specifications ---------- */
.d-specs { background: var(--sage-cream); }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; align-items: start; }
.spec { background: #fff; border-radius: var(--radius-md); box-shadow: 0 8px 22px rgba(48, 53, 47, .06); overflow: hidden; }
.spec summary {
    display: flex; align-items: center; gap: .85rem;
    padding: 1rem 1.15rem;
    list-style: none; cursor: pointer;
    font-weight: 700; font-size: 1.06rem; color: var(--ink);
}
.spec summary::-webkit-details-marker { display: none; }
.spec summary > i:first-child { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sage-cream); color: var(--sage); }
.spec summary span { flex: 1; }
.spec-plus { color: var(--sage); transition: transform .3s ease; }
.spec[open] .spec-plus { transform: rotate(45deg); }
.spec[open] summary { border-bottom: 1px solid rgba(82, 108, 87, .15); }
.spec[open] summary > i:first-child { background: var(--sage); color: #fff; }
.spec ul { padding: .9rem 1.2rem 1.1rem 3.3rem; display: grid; gap: .45rem; }
.spec li { list-style: disc; font-weight: 500; font-size: 1rem; line-height: 1.55; color: var(--ink); }
.spec li::marker { color: var(--yellow); }

/* ---------- Gallery ---------- */
.d-gallery { background: var(--ivory); }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: .8rem; }
.g-grid.g-exterior, .g-grid.g-interior { grid-template-columns: 1fr 1fr; grid-auto-rows: 360px; }
.g-lifestyle li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.g-item { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in; background: var(--sage-cream); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.22, 1, .36, 1); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30, 33, 29, .7) 0%, rgba(30, 33, 29, 0) 45%); opacity: .85; transition: opacity .3s ease; }
.g-cap { position: absolute; left: 1rem; bottom: .85rem; z-index: 1; color: #fff; font-weight: 700; font-size: 1rem; text-align: left; }
.g-zoom { position: absolute; top: .8rem; right: .8rem; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); opacity: 0; transform: scale(.8); transition: opacity .3s ease, transform .3s ease; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.07); }
.g-item:hover .g-zoom, .g-item:focus-visible .g-zoom { opacity: 1; transform: none; }

/* ---------- Video ---------- */
.d-video { background: var(--sage); }
.d-video .eyebrow.reveal::before { background: var(--yellow); }
.video-frame { position: relative; max-width: 1000px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); background: #000; }
.video-frame > img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    display: grid; place-items: center;
    width: clamp(78px, 9vw, 104px); height: clamp(78px, 9vw, 104px);
    border: 0; border-radius: 50%;
    background: var(--yellow); color: var(--ink); font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    cursor: pointer; padding-left: .3rem;
    box-shadow: 0 0 0 0 rgba(226, 182, 74, .6);
    animation: ring 2.2s ease-out infinite;
    transition: transform .3s ease;
}
.video-play:hover { transform: translate(-50%, -50%) scale(1.08); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(226, 182, 74, .6); } 100% { box-shadow: 0 0 0 28px rgba(226, 182, 74, 0); } }
.video-soon {
    position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
    width: min(92%, 560px); padding: .9rem 1.2rem;
    background: #fff; color: var(--ink); border-radius: 14px;
    font-weight: 600; text-align: center; font-size: 1rem;
}
.video-soon button { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--sage); text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; cursor: pointer; }

/* ---------- Possession ---------- */
.d-possession { background: var(--ivory); }
.poss-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(1rem, 2.5vw, 1.75rem); }
.poss-card { position: relative; background: #fff; border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 16px 40px rgba(48, 53, 47, .08); border-top: 6px solid var(--yellow); }
.poss-card.is-done { border-top-color: var(--sage); }
.poss-tag { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .95rem; border-radius: 999px; background: var(--sage-cream); font-weight: 700; font-size: .92rem; color: var(--ink); margin-bottom: .9rem; }
.poss-tag i { color: var(--sage); }
.poss-tag.is-live { background: var(--yellow); }
.poss-card h3 { font-family: var(--font-heading); font-size: clamp(1.4rem, 2vw, 1.8rem); color: var(--ink); margin-bottom: .6rem; }
.poss-card > p { font-size: 1.05rem; font-weight: 500; line-height: 1.6; color: var(--ink); }
.poss-bar { height: 12px; border-radius: 999px; background: var(--sage-cream); margin: 1.4rem 0 .5rem; overflow: hidden; }
.poss-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--sage), #6f8a73); transition: width 1.6s cubic-bezier(.22, 1, .36, 1) .3s; }
.poss-card.is-visible .poss-bar span { width: var(--p); }
.poss-pct { font-weight: 600; color: var(--ink); }
.poss-pct strong { font-family: var(--font-heading); font-size: 1.4rem; color: var(--sage); }
.poss-steps { display: grid; grid-template-columns: repeat(5, 1fr); margin: 1.4rem 0 1.4rem; counter-reset: s; }
.poss-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .55rem; text-align: center; font-weight: 700; font-size: .95rem; line-height: 1.3; color: var(--ink); }
.poss-steps li::before { content: ""; position: absolute; top: 21px; left: -50%; width: 100%; height: 4px; background: var(--sage-cream); z-index: 0; }
.poss-steps li:first-child::before { display: none; }
.poss-steps li.is-done::before, .poss-steps li.is-now::before { background: var(--sage); }
.poss-steps span { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 3px solid var(--sage-cream); color: var(--ink); font-family: var(--font-heading); font-size: 1.1rem; }
.poss-steps li.is-done span { background: var(--sage); border-color: var(--sage); color: #fff; }
.poss-steps li.is-now span { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 0 6px rgba(226, 182, 74, .3); }
.poss-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.poss-meta div { padding: .85rem 1rem; border-radius: 14px; background: var(--sage-cream); }
.poss-meta dt { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sage); }
.poss-meta dd { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--ink); }

/* ---------- Location ---------- */
.d-location { background: var(--sage-cream); }
.d-loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }
.why-list { display: grid; gap: 1rem; margin-top: .5rem; }
.why-list li { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; background: #fff; border-radius: var(--radius-md); box-shadow: 0 8px 22px rgba(48, 53, 47, .06); }
.why-list li > i { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sage); color: #fff; font-size: 1.1rem; }
.why-list h3 { font-family: var(--font-heading); font-size: 1.2rem; color: var(--ink); margin-bottom: .2rem; }
.why-list p { font-size: 1rem; font-weight: 500; line-height: 1.6; color: var(--ink); }
.map-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1rem, 2vw, 1.5rem); box-shadow: 0 16px 40px rgba(48, 53, 47, .09); }
.map-img { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-md); overflow: hidden; }
.map-img img { width: 100%; }
.dist { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin: 1rem 0; }
.dist li { display: flex; align-items: center; gap: .55rem; padding: .65rem .8rem; border-radius: 12px; background: var(--ivory); font-weight: 600; font-size: .95rem; color: var(--ink); }
.dist li i { color: var(--sage); width: 1.2em; text-align: center; }
.dist strong { margin-left: auto; font-family: var(--font-heading); color: var(--sage); white-space: nowrap; }
.map-btn { width: 100%; justify-content: center; }

/* ---------- Site visit band ---------- */
.d-visit { background: var(--ink); color: #fff; padding-block: clamp(2.5rem, 5vw, 3.75rem); border-top: 6px solid var(--yellow); }
.d-visit-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.d-visit h2 { font-family: var(--font-heading); font-size: clamp(1.7rem, 3vw, 2.5rem); color: var(--yellow); margin-bottom: .4rem; }
.d-visit p { font-size: clamp(1rem, .4vw + .92rem, 1.15rem); font-weight: 500; max-width: 54ch; }
.d-visit-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.d-disclaimer { padding-block: 1.4rem; font-size: .85rem; line-height: 1.6; color: var(--ink); opacity: .8; }

/* ---------- Image viewer ---------- */
.lb { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 4.5rem 4.5rem 3rem; background: rgba(20, 22, 19, .92); opacity: 0; transition: opacity .25s ease; }
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb-fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.lb-fig img { max-width: min(1200px, 100%); max-height: calc(100dvh - 9rem); object-fit: contain; border-radius: 12px; background: #fff; }
.lb-fig figcaption { color: #fff; font-weight: 600; font-size: 1.05rem; text-align: center; }
.lb-close, .lb-nav { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.3rem; cursor: pointer; transition: background-color .25s ease; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-nav:hover { background: var(--yellow); }
.lb.is-single .lb-nav { display: none; }

/* ---------- Phone action bar ---------- */
.m-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .d-ov-grid, .d-layout-grid, .d-loc-grid, .villa-grid, .poss-grid { grid-template-columns: 1fr; }
    .am-wrap { grid-template-columns: 1fr; }
    .am-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: .2rem; }
    .am-tabs::-webkit-scrollbar { display: none; }
    .am-tab { flex: none; }
    .g-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
    .spec-list { grid-template-columns: 1fr; }
    .d-subnav-cta { display: none; }
}
@media (max-width: 767px) {
    body.page-detail { padding-bottom: 68px; }
    .m-bar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
        display: grid; grid-template-columns: 1fr 1fr 1.3fr;
        background: #fff; box-shadow: 0 -8px 24px rgba(0, 0, 0, .12);
    }
    .m-bar a, .m-bar button {
        display: flex; align-items: center; justify-content: center; gap: .45rem;
        height: 64px; border: 0; background: #fff; color: var(--ink);
        font: 700 1rem/1 var(--font-body); cursor: pointer;
    }
    .m-bar a { border-right: 1px solid rgba(48, 53, 47, .12); }
    .m-bar i { color: var(--sage); }
    .m-bar .is-main { background: var(--sage); color: #fff; }
    .m-bar .is-main i { color: var(--yellow); }
    .d-hero-bg::after { background: linear-gradient(0deg, rgba(38, 42, 37, .95) 0%, rgba(38, 42, 37, .75) 55%, rgba(38, 42, 37, .25) 100%); }
    .d-keys li { flex: 1 1 45%; }
    .d-ctas .btn { flex: 1 1 100%; justify-content: center; }
    .d-facts { grid-template-columns: 1fr; }
    .plans { gap: .6rem; }
    .plan { padding: .6rem .6rem 3rem; }
    .am-panel { grid-template-columns: 1fr; }
    .g-grid, .g-grid.g-exterior, .g-grid.g-interior { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
    .g-lifestyle li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .poss-steps { grid-template-columns: 1fr; gap: .9rem; }
    .poss-steps li { flex-direction: row; text-align: left; }
    .poss-steps li::before { top: -50%; left: 21px; width: 4px; height: 100%; }
    .poss-meta, .dist { grid-template-columns: 1fr; }
    .d-visit-ctas .btn { flex: 1 1 100%; justify-content: center; }
    .lb { padding: 4rem .5rem 4.5rem; }
    .lb-nav { top: auto; bottom: 1rem; transform: none; }
    .lb-prev { left: calc(50% - 64px); }
    .lb-next { right: calc(50% - 64px); }
}

/* fixes */
.d-video .eyebrow { color: var(--yellow); }
.d-hero .btn-ghost, .d-visit .btn-ghost { color: #fff; background: transparent; }
.d-hero .btn-ghost:hover, .d-visit .btn-ghost:hover { color: var(--ink); background: #fff; }
@media (max-width: 599px) {
    .d-tabs { width: 100%; flex-wrap: nowrap; border-radius: 18px; }
    .d-tab { flex: 1 1 0; justify-content: center; padding: .85em .5em; font-size: .92rem; text-align: center; }
    .d-tab i { display: none; }
}
.area-table td { white-space: nowrap; }
@media (max-width: 599px) { .area-table th, .area-table td { padding: .75rem .6rem; font-size: .92rem; } }


/* =================================================================
   Completed project page (Phase 1)
   ================================================================= */
.d-badge.is-done { background: #fff; }
.d-badge.is-done i { color: var(--sage); }

.d-homes { background: var(--sage-cream); }
.rr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.75rem); }
.rr-card {
    display: flex; flex-direction: column;
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 16px 40px rgba(48, 53, 47, .1);
    transition: transform .45s var(--ease), box-shadow .45s ease;
}
.rr-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(48, 53, 47, .16); }
.rr-card figure { margin: 0; overflow: hidden; }
.rr-card figure img { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; transition: transform 1.1s cubic-bezier(.22, 1, .36, 1); }
.rr-card:hover figure img { transform: scale(1.06); }
.rr-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 2.4rem clamp(1.3rem, 2.5vw, 2rem) clamp(1.3rem, 2.5vw, 1.9rem); }
.rr-icon {
    position: absolute; top: -32px; left: clamp(1.3rem, 2.5vw, 2rem);
    display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
    background: var(--yellow); color: var(--ink); font-size: 1.5rem;
    border: 5px solid #fff; box-shadow: 0 8px 20px rgba(48, 53, 47, .16);
}
.rr-body h3 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.45rem, 2.1vw, 1.9rem); color: var(--ink); margin-bottom: .9rem; }
.rr-body ul { display: grid; gap: .55rem; margin-bottom: 1.4rem; }
.rr-body li { display: flex; align-items: flex-start; gap: .65rem; font-weight: 600; font-size: clamp(1rem, .3vw + .92rem, 1.08rem); color: var(--ink); line-height: 1.45; }
.rr-body li i { flex: none; margin-top: .15rem; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sage); color: #fff; font-size: .7rem; }
.rr-body .btn { margin-top: auto; align-self: flex-start; }

.g-grid.g-mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; }
.g-mosaic li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.poss-meta dd a { color: var(--sage); text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; }

@media (max-width: 1024px) { .g-grid.g-mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; } }
@media (max-width: 767px) {
    .rr-grid { grid-template-columns: 1fr; }
    .rr-body .btn { align-self: stretch; justify-content: center; }
    .g-grid.g-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
}
.enq-form [hidden], .enq-form fieldset[hidden] { display: none !important; }

/* Phase 1: separate Resale / Rental CTAs */
.d-subnav-ctas { display: flex; gap: .5rem; flex: none; }
.d-subnav-ctas .btn-outline { padding: calc(.65em - 2px) calc(1.3em - 2px); }
@media (max-width: 1024px) { .d-subnav-ctas { display: none; } }
@media (max-width: 767px) {
    .m-bar-rr { grid-template-columns: .8fr 1fr 1fr; }
    .m-bar .is-main.is-alt { background: var(--yellow); color: var(--ink); }
    .m-bar .is-main.is-alt i { color: var(--ink); }
}
.btn-yellow.btn-rental { --btn-bg: var(--yellow); --btn-fg: var(--ink); }
.btn-yellow.btn-rental:hover, .btn-yellow.btn-rental:focus-visible { background: var(--yellow-hover, #EAC468); color: var(--ink); }
.d-subnav-cta { padding: .6em 1.05em; font-size: .9rem; }


/* =================================================================
   Resale & Rental page
   ================================================================= */
.rr-hero .d-ctas { margin-top: 1.5rem; }
.rr-list { background: var(--ivory); }
.rrc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.rrc {
    display: flex; flex-direction: column;
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 12px 30px rgba(48, 53, 47, .09);
    transition: transform .45s var(--ease), box-shadow .45s ease;
}
.rrc:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(48, 53, 47, .15); }
.rrc-media { position: relative; margin: 0; overflow: hidden; }
.rrc-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s cubic-bezier(.22, 1, .36, 1); }
.rrc:hover .rrc-media img { transform: scale(1.06); }
.rrc-tag {
    position: absolute; top: .9rem; left: .9rem;
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .42rem .85rem; border-radius: 999px;
    background: var(--sage); color: #fff; font-weight: 700; font-size: .88rem;
}
.rrc-tag.is-rent { background: var(--yellow); color: var(--ink); }
.rrc-body { flex: 1; display: flex; flex-direction: column; padding: 1.2rem 1.25rem 1.35rem; }
.rrc-body h3 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.2rem, 1.5vw, 1.4rem); line-height: 1.2; color: var(--ink); margin-bottom: .35rem; }
.rrc-body .proj-loc { margin-bottom: .6rem; font-size: .95rem; }
.rrc-desc { font-size: 1rem; font-weight: 500; line-height: 1.6; color: var(--ink); margin-bottom: .8rem; }
.rrc-res { display: flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--ink); margin-bottom: 1.1rem; }
.rrc-res i { color: var(--sage); }
.rrc-res strong { font-family: var(--font-heading); font-size: 1.2rem; color: var(--sage); }
.rrc-actions { margin-top: auto; display: flex; flex-direction: column; gap: .7rem; align-items: stretch; }
.rrc-actions .btn { justify-content: center; }
.rrc-link { text-align: center; font-weight: 700; color: var(--sage); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px; }

.rr-compare { background: var(--sage-cream); }
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.75rem); max-width: 1100px; margin: 0 auto; }
.cmp-card { position: relative; background: #fff; border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: 0 16px 40px rgba(48, 53, 47, .09); border-top: 6px solid var(--sage); display: flex; flex-direction: column; }
.cmp-card.is-rent { border-top-color: var(--yellow); }
.cmp-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sage); color: #fff; font-size: 1.5rem; margin-bottom: 1rem; }
.cmp-card.is-rent .cmp-icon { background: var(--yellow); color: var(--ink); }
.cmp-card h3 { font-family: var(--font-heading); font-size: clamp(1.45rem, 2.1vw, 1.9rem); color: var(--ink); margin-bottom: .3rem; }
.cmp-for { font-weight: 600; color: var(--sage); margin-bottom: 1.1rem; }
.cmp-card ul { display: grid; gap: .65rem; margin-bottom: 1.5rem; }
.cmp-card li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 600; font-size: clamp(1rem, .3vw + .92rem, 1.08rem); line-height: 1.45; color: var(--ink); }
.cmp-card li i { flex: none; margin-top: .15rem; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sage-cream); color: var(--sage); font-size: .7rem; }
.cmp-card .btn { margin-top: auto; align-self: flex-start; }

.rr-steps { background: var(--ivory); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); counter-reset: none; }
.steps li { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 2rem 1.35rem 1.5rem; box-shadow: 0 10px 26px rgba(48, 53, 47, .07); text-align: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -1.1rem; width: 1.1rem; height: 3px; background: var(--yellow); }
.step-n { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; border: 4px solid var(--ivory); }
.steps li > i { display: grid; place-items: center; width: 60px; height: 60px; margin: .4rem auto 1rem; border-radius: 50%; background: var(--sage-cream); color: var(--sage); font-size: 1.45rem; }
.steps h3 { font-family: var(--font-heading); font-size: 1.25rem; color: var(--ink); margin-bottom: .4rem; }
.steps p { font-size: 1rem; font-weight: 500; line-height: 1.6; color: var(--ink); }

.rr-owner { background: var(--sage-cream); }
.owner-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.owner-media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 46px rgba(48, 53, 47, .15); }
.owner-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

@media (max-width: 1100px) { .rrc-grid { grid-template-columns: repeat(2, 1fr); } .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; } .steps li::after { display: none; } }
@media (max-width: 767px) {
    .cmp-grid, .owner-grid { grid-template-columns: 1fr; }
    .cmp-card .btn { align-self: stretch; justify-content: center; }
    .rr-hero .d-ctas .btn { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 599px) { .rrc-grid, .steps { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; } .steps li { list-style: none; }


/* =================================================================
   Resale & Rental — listing only (v46)
   ================================================================= */
.rl-section { background: var(--ivory); }
.rl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.rl-card {
    display: flex; flex-direction: column;
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 12px 30px rgba(48, 53, 47, .09);
    border-bottom: 5px solid transparent;
    transition: transform .45s var(--ease), box-shadow .45s ease, border-color .45s ease;
}
.rl-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(48, 53, 47, .15); border-bottom-color: var(--yellow); }
.rl-media { position: relative; display: block; overflow: hidden; }
.rl-media img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; transition: transform 1s cubic-bezier(.22, 1, .36, 1); }
.rl-card:hover .rl-media img { transform: scale(1.06); }
.rl-badge {
    position: absolute; top: .9rem; left: .9rem;
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .42rem .85rem; border-radius: 999px;
    background: #fff; color: var(--ink); font-weight: 700; font-size: .86rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .14);
}
.rl-badge i { color: var(--sage); }
.rl-body { flex: 1; display: flex; flex-direction: column; padding: 1.3rem 1.25rem 1.4rem; text-align: center; }
.rl-name { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.25rem, 1.6vw, 1.45rem); line-height: 1.2; color: var(--ink); margin-bottom: .35rem; }
.rl-loc { display: flex; align-items: center; justify-content: center; gap: .45rem; font-weight: 600; font-size: 1rem; color: var(--ink); margin-bottom: 1.2rem; }
.rl-loc i { color: var(--sage); }
.rl-actions { margin-top: auto; display: grid; gap: .6rem; }
.rl-actions .btn { justify-content: center; width: 100%; }


/* =================================================================
   Family Assurance page
   ================================================================= */
.fa-intro { background: var(--ivory); }
.fa-intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.fa-media { position: relative; margin: 0; }
.fa-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 22px 50px rgba(48, 53, 47, .16); }
.fa-float {
    position: absolute; left: clamp(-1.5rem, -2vw, -.5rem); bottom: 1.6rem;
    display: flex; align-items: center; gap: .8rem;
    padding: .95rem 1.2rem;
    background: #fff; border-radius: var(--radius-md);
    border-left: 5px solid var(--yellow);
    box-shadow: 0 16px 36px rgba(48, 53, 47, .18);
    animation: floaty 4s ease-in-out infinite;
}
.fa-float i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sage); color: #fff; font-size: 1.2rem; }
.fa-float span { font-weight: 500; font-size: .92rem; color: var(--ink); line-height: 1.35; }
.fa-float strong { display: block; font-family: var(--font-heading); font-size: 1.1rem; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.fa-services { background: var(--sage-cream); }
.fa-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 2vw, 1.5rem); }
.fa-card {
    flex: 0 1 calc((100% - 2 * clamp(1rem, 2vw, 1.5rem)) / 3);
    min-width: 260px;
    position: relative;
    background: #fff; border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 2.6vw, 2.1rem);
    box-shadow: 0 12px 30px rgba(48, 53, 47, .08);
    overflow: hidden;
    transition: transform .45s var(--ease), box-shadow .45s ease;
}
.fa-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.fa-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(48, 53, 47, .14); }
.fa-card:hover::after { transform: scaleX(1); }
.fa-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sage); color: #fff; font-size: 1.5rem; margin-bottom: 1.1rem; transition: background-color .3s ease, color .3s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.fa-card:hover .fa-icon { background: var(--yellow); color: var(--ink); transform: rotate(-8deg) scale(1.06); }
.fa-card h3 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.25rem, 1.6vw, 1.45rem); color: var(--ink); margin-bottom: .5rem; }
.fa-card p { font-size: clamp(1rem, .3vw + .92rem, 1.08rem); font-weight: 500; line-height: 1.65; color: var(--ink); }

.fa-flow { background: var(--sage); }
.fa-flow .eyebrow { color: var(--yellow); }
.fa-flow .eyebrow.reveal::before { background: var(--yellow); }
.flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.flow li { position: relative; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius-lg); padding: 2.1rem 1.3rem 1.5rem; text-align: center; color: #fff; }
.flow li:not(:last-child)::after { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: -1.05rem; top: 50%; transform: translateY(-50%); z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: .8rem; }
.flow-n { position: absolute; top: -17px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-family: var(--font-heading); font-weight: 700; border: 4px solid var(--sage); }
.flow li > i { display: grid; place-items: center; width: 60px; height: 60px; margin: .3rem auto 1rem; border-radius: 50%; background: #fff; color: var(--sage); font-size: 1.45rem; }
.flow h3 { font-family: var(--font-heading); font-size: 1.25rem; color: var(--yellow); margin-bottom: .4rem; }
.flow p { font-size: 1rem; font-weight: 500; line-height: 1.6; }
.fa-stats { background: var(--ink); }

@media (max-width: 1024px) {
    .fa-card { flex-basis: calc((100% - clamp(1rem, 2vw, 1.5rem)) / 2); }
    .flow { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
    .flow li::after { display: none; }
}
@media (max-width: 767px) {
    .fa-intro-grid { grid-template-columns: 1fr; }
    .fa-float { left: .8rem; bottom: .8rem; }
    .fa-card { flex-basis: 100%; min-width: 0; }
    .flow { grid-template-columns: 1fr; }
    .page-fa .d-ctas .btn { flex: 1 1 100%; justify-content: center; }
}
.page-hero .btn-ghost { --btn-bg: transparent; --btn-fg: #fff; color: #fff; background: transparent; border: 2px solid rgba(255, 255, 255, .85); }
.page-hero .btn-ghost:hover, .page-hero .btn-ghost:focus-visible { background: #fff; color: var(--ink); }
.page-fa .page-hero .d-ctas { margin-top: 1.4rem; }
.fa-stats { background: var(--ivory); }
.fa-stats .proj-stats strong { color: var(--sage); }
.fa-stats .proj-stats span:not([data-count]) { color: var(--ink); }
.fa-stats .proj-stats li + li { border-left-color: rgba(48, 53, 47, .15); }
@media (max-width: 1024px) { .flow li:not(:last-child)::after { display: none; } }


/* =================================================================
   Contact Us page
   ================================================================= */
.ct-hero { min-height: clamp(360px, 52svh, 560px); }
.ct-quick { background: var(--ivory); padding-top: clamp(2rem, 4vw, 3rem); }
.ct-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.9rem, 1.8vw, 1.4rem); margin-top: clamp(-5.5rem, -7vw, -3.5rem); position: relative; z-index: 2; }
.ct-card {
    background: #fff; border-radius: var(--radius-lg);
    padding: clamp(1.4rem, 2.4vw, 1.9rem);
    box-shadow: 0 18px 44px rgba(48, 53, 47, .12);
    border-top: 5px solid var(--yellow);
    transition: transform .45s var(--ease), box-shadow .45s ease;
}
.ct-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(48, 53, 47, .17); }
.ct-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--sage); color: #fff; font-size: 1.4rem; margin-bottom: .9rem; transition: background-color .3s ease, color .3s ease; }
.ct-card:hover .ct-icon { background: var(--yellow); color: var(--ink); }
.ct-card h2 { font-size: .9rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: .35rem; }
.ct-big { display: block; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.2rem, 1.6vw, 1.45rem); color: var(--ink); margin-bottom: .35rem; overflow-wrap: anywhere; }
.ct-big:hover { color: var(--sage); }
.ct-card p { font-size: 1rem; font-weight: 500; color: var(--ink); line-height: 1.55; }
.ct-card p a { font-weight: 700; color: var(--sage); }
.ct-addr { font-weight: 600 !important; }

.ct-main { background: var(--ivory); padding-top: clamp(2rem, 4vw, 3rem); }
.ct-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: stretch; }
.ct-form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: 0 16px 40px rgba(48, 53, 47, .09); }
.ct-form-card .section-title { margin-bottom: 1.3rem; }
.ct-form .field textarea { min-height: 110px; }
.ct-done { padding: 2rem 0; }
.ct-side { display: flex; flex-direction: column; gap: 1rem; }
.ct-map { flex: 1; min-height: 320px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 16px 40px rgba(48, 53, 47, .09); background: var(--sage-cream); }
.ct-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.ct-office { background: var(--sage); color: #fff; border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; }
.ct-office h3 { display: flex; align-items: center; gap: .6rem; font-family: var(--font-heading); font-size: 1.3rem; color: var(--yellow); margin-bottom: .45rem; }
.ct-office p { font-weight: 500; line-height: 1.6; margin-bottom: 1rem; }
.ct-office .btn-outline { --btn-fg: #fff; color: #fff; border-color: rgba(255, 255, 255, .85); }
.ct-office .btn-outline:hover { background: #fff; color: var(--ink); }

.ct-comms { background: var(--sage-cream); }
.cm-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(.8rem, 1.5vw, 1.1rem); }
.cm { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-md); padding: 1.3rem 1.15rem; box-shadow: 0 10px 26px rgba(48, 53, 47, .07); }
.cm-tag { align-self: flex-start; padding: .32rem .75rem; border-radius: 999px; background: var(--sage-cream); font-weight: 700; font-size: .8rem; color: var(--ink); margin-bottom: .75rem; }
.cm-tag.is-live { background: var(--yellow); }
.cm h3 { font-family: var(--font-heading); font-size: 1.15rem; line-height: 1.25; margin-bottom: .35rem; }
.cm h3 a { color: var(--ink); }
.cm h3 a:hover { color: var(--sage); }
.cm p { display: flex; gap: .4rem; align-items: center; font-weight: 600; font-size: .95rem; color: var(--ink); margin-bottom: 1rem; }
.cm p i { color: var(--sage); }
.cm-dir { margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--sage); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px; }

@media (max-width: 1100px) { .ct-cards { grid-template-columns: 1fr 1fr; } .cm-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .ct-grid { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .ct-cards, .cm-grid { grid-template-columns: 1fr; } .ct-cards { margin-top: -2.5rem; } }
.ct-hero { padding-bottom: clamp(5rem, 9vw, 7.5rem); }
.ct-num, .ct-big { white-space: nowrap; }


/* =================================================================
   Blog listing + article
   ================================================================= */
.bl-hero { min-height: clamp(340px, 50svh, 520px); }
.bl-list { background: var(--ivory); }
.bl-cat { position: absolute; top: .9rem; left: .9rem; display: inline-block; padding: .38rem .8rem; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: .82rem; }
.bl-cat.is-static { position: static; margin-bottom: .9rem; }
.bl-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .92rem; font-weight: 600; color: var(--sage); margin-bottom: .55rem; }
.bl-meta i { margin-right: .35rem; }

.bl-feat { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 18px 44px rgba(48, 53, 47, .1); margin-bottom: clamp(2rem, 4vw, 3rem); }
.bl-feat-media { position: relative; display: block; min-height: 340px; overflow: hidden; }
.bl-feat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.22, 1, .36, 1); }
.bl-feat:hover .bl-feat-media img { transform: scale(1.05); }
.bl-feat-body { padding: clamp(1.6rem, 3.5vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.bl-feat-body h2 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.2; margin-bottom: .8rem; }
.bl-feat-body h2 a, .bl-body h3 a { color: var(--ink); transition: color .25s ease; }
.bl-feat-body h2 a:hover, .bl-body h3 a:hover { color: var(--sage); }
.bl-feat-body .btn { align-self: flex-start; }
.bl-ex { font-size: clamp(1rem, .3vw + .92rem, 1.08rem); font-weight: 500; line-height: 1.65; color: var(--ink); margin-bottom: 1.2rem; }

.bl-filter { justify-content: center; }
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.bl-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 12px 30px rgba(48, 53, 47, .08); transition: transform .45s var(--ease), box-shadow .45s ease; }
.bl-card[hidden] { display: none; }
.bl-card.is-in { animation: panelIn .55s cubic-bezier(.22, 1, .36, 1); }
.bl-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(48, 53, 47, .14); }
.bl-media { position: relative; display: block; overflow: hidden; }
.bl-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s cubic-bezier(.22, 1, .36, 1); }
.bl-card:hover .bl-media img { transform: scale(1.06); }
.bl-body { flex: 1; display: flex; flex-direction: column; padding: 1.25rem 1.3rem 1.4rem; }
.bl-body h3 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.2rem, 1.5vw, 1.38rem); line-height: 1.25; margin-bottom: .55rem; }
.bl-body .bl-ex { margin-bottom: 1rem; }
.bl-more { margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--sage); }
.bl-more .arw { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.bl-card:hover .bl-more .arw { transform: translateX(4px); }
.bl-empty { text-align: center; font-weight: 600; padding: 2rem 0; }

.bl-news { background: var(--sage); color: #fff; padding-block: clamp(2.2rem, 4.5vw, 3.3rem); }
.bl-news-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.bl-news h2 { font-family: var(--font-heading); font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--yellow); margin-bottom: .3rem; }
.bl-news p { font-weight: 500; }
.bl-news-form { position: relative; display: flex; gap: .6rem; flex: 1 1 380px; max-width: 520px; }
.bl-news-form input { flex: 1; min-width: 0; padding: .85rem 1.1rem; border: 0; border-radius: 999px; font: 500 1.02rem var(--font-body); color: var(--ink); }
.bl-news-form .btn { --btn-bg: var(--yellow); --btn-fg: var(--ink); }
.bl-news-msg { position: absolute; left: 1rem; top: calc(100% + .45rem); font-weight: 600; font-size: .92rem; }

/* article */
.bd-hero { background: var(--sage-cream); padding-block: clamp(2.2rem, 5vw, 3.8rem) clamp(5rem, 11vw, 9rem); }
.bd-hero-inner { max-width: 900px; }
.bd-hero .crumbs { color: var(--ink); }
.bd-hero .crumbs a { color: var(--sage); }
.bd-title { font-family: var(--font-heading); font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.12; color: var(--ink); margin-bottom: 1rem; }
.bd-meta { font-size: 1rem; }
.bd-body { background: var(--ivory); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.bd-cover { margin: clamp(-4.5rem, -9vw, -7.5rem) 0 clamp(1.8rem, 4vw, 3rem); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 56px rgba(48, 53, 47, .18); }
.bd-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.bd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.bd-article { max-width: 760px; }
.bd-article p { font-size: clamp(1.05rem, .35vw + .98rem, 1.2rem); font-weight: 500; line-height: 1.8; color: var(--ink); margin-bottom: 1.1rem; }
.bd-article .bd-lead { font-size: clamp(1.15rem, .5vw + 1.05rem, 1.35rem); font-weight: 600; line-height: 1.7; padding-left: 1.1rem; border-left: 5px solid var(--yellow); margin-bottom: 1.6rem; }
.bd-article h2 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.4rem, 2.1vw, 1.8rem); color: var(--ink); margin: 2rem 0 .6rem; line-height: 1.25; }
.bd-inline { margin: 1.8rem 0; }
.bd-inline img { width: 100%; border-radius: var(--radius-md); aspect-ratio: 16 / 9; object-fit: cover; }
.bd-inline figcaption { margin-top: .5rem; font-size: .95rem; font-weight: 600; color: var(--sage); }
.bd-quote { margin: 2rem 0; padding: 1.5rem 1.7rem; background: var(--sage); color: #fff; border-radius: var(--radius-md); font-family: var(--font-heading); font-style: italic; font-weight: 600; font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.5; }
.bd-tip { display: flex; gap: 1rem; align-items: flex-start; margin: 2rem 0; padding: 1.2rem 1.3rem; background: #FBF3DD; border-radius: var(--radius-md); }
.bd-tip i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 1.1rem; }
.bd-tip p { margin: 0; }
.bd-share { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; padding-top: 1.4rem; border-top: 1px solid rgba(48, 53, 47, .15); font-weight: 700; color: var(--ink); }
.bd-share a, .bd-share button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sage-cream); color: var(--sage); font-size: 1.1rem; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.bd-share a:hover, .bd-share button:hover, .bd-share .is-done { background: var(--sage); color: #fff; }

.bd-side { position: sticky; top: calc(var(--hdr, 92px) + 1.2rem); display: grid; gap: 1.2rem; }
.bd-cta { background: var(--sage); color: #fff; border-radius: var(--radius-lg); padding: 1.6rem; border-top: 6px solid var(--yellow); }
.bd-cta h2 { font-family: var(--font-heading); font-size: 1.45rem; color: var(--yellow); margin-bottom: .45rem; }
.bd-cta p { font-weight: 500; line-height: 1.6; margin-bottom: 1.1rem; }
.bd-cta .btn { --btn-bg: var(--yellow); --btn-fg: var(--ink); width: 100%; justify-content: center; }
.bd-call { display: flex; justify-content: center; gap: .5rem; align-items: center; margin-top: .9rem; font-weight: 700; color: #fff; }
.bd-rel { background: #fff; border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: 0 12px 30px rgba(48, 53, 47, .08); }
.bd-rel h2 { font-family: var(--font-heading); font-size: 1.3rem; color: var(--ink); margin-bottom: .9rem; }
.bd-rel ul { display: grid; gap: .9rem; }
.rel { display: grid; grid-template-columns: 84px 1fr; gap: .8rem; align-items: center; }
.rel img { width: 84px; height: 68px; object-fit: cover; border-radius: 10px; }
.rel span { font-weight: 700; font-size: .98rem; line-height: 1.35; color: var(--ink); }
.rel em { display: block; font-style: normal; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--sage); }
.rel:hover span { color: var(--sage); }
.bd-more { background: var(--sage-cream); }
.bd-all { text-align: center; margin-top: 2rem; }

@media (max-width: 1024px) {
    .bl-feat { grid-template-columns: 1fr; }
    .bl-feat-media { min-height: 0; aspect-ratio: 16 / 9; }
    .bl-grid { grid-template-columns: repeat(2, 1fr); }
    .bd-grid { grid-template-columns: 1fr; }
    .bd-side { position: static; }
}
@media (max-width: 599px) {
    .bl-grid { grid-template-columns: 1fr; }
    .bl-news-form { flex-direction: column; }
    .bl-news-msg { position: static; }
    .bd-cover img { aspect-ratio: 16 / 10; }
}


/* =================================================================
   Footer v2: brand | quick links | other links | contact
   ================================================================= */
.footer-grid.footer-grid-v2 { grid-template-columns: 1.25fr .85fr .85fr 1.35fr; gap: clamp(1.5rem, 3vw, 3rem); }
.footer-grid-v2 .footer-desc { max-width: 30ch; }
.footer-grid-v2 .footer-contact li { align-items: flex-start; }
.footer-grid-v2 .footer-contact a { white-space: nowrap; }
@media (max-width: 1024px) { .footer-grid.footer-grid-v2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) {
    .footer-grid.footer-grid-v2 { grid-template-columns: 1fr 1fr; }
    .footer-grid-v2 .footer-brand, .footer-grid-v2 > .footer-col:last-child { grid-column: 1 / -1; }
}

/* =================================================================
   FAQ page
   ================================================================= */
.lg-hero { min-height: clamp(320px, 46svh, 480px); }
.faq-sec { background: var(--ivory); }
.faq-wrap { max-width: 980px; }
.faq-filter { justify-content: center; margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }
.faq-filter .city-chip i { color: var(--sage); }
.faq-filter .city-chip.is-on i { color: var(--yellow); }
.faq-group { margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); }
.faq-group[hidden] { display: none; }
.faq-group.is-in { animation: panelIn .55s cubic-bezier(.22, 1, .36, 1); }
.faq-h { display: flex; align-items: center; gap: .7rem; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.4rem, 2.1vw, 1.8rem); color: var(--ink); margin-bottom: 1rem; }
.faq-h i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sage); color: #fff; font-size: 1.1rem; }
.faq { background: #fff; border-radius: var(--radius-md); margin-bottom: .7rem; box-shadow: 0 8px 22px rgba(48, 53, 47, .06); border-left: 5px solid transparent; transition: border-color .3s ease; }
.faq[open] { border-left-color: var(--yellow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; list-style: none; cursor: pointer; font-weight: 700; font-size: clamp(1.04rem, .3vw + .98rem, 1.15rem); line-height: 1.4; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sage-cream); color: var(--sage); transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.faq[open] summary i { transform: rotate(45deg); background: var(--sage); color: #fff; }
.faq summary:hover span { color: var(--sage); }
.faq-a { padding: 0 1.3rem 1.2rem; }
.faq-a p { font-size: clamp(1.02rem, .3vw + .95rem, 1.12rem); font-weight: 500; line-height: 1.75; color: var(--ink); }
.faq-a a, .lg-doc a { color: var(--sage); font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; }

/* =================================================================
   Privacy Policy / Terms
   ================================================================= */
.lg-sec { background: var(--ivory); }
.lg-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.lg-toc { position: sticky; top: calc(var(--hdr, 92px) + 1.2rem); background: #fff; border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: 0 12px 30px rgba(48, 53, 47, .08); }
.lg-upd { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .92rem; color: var(--sage); padding-bottom: .9rem; margin-bottom: .9rem; border-bottom: 1px solid rgba(48, 53, 47, .12); }
.lg-toc h2 { font-family: var(--font-heading); font-size: 1.2rem; color: var(--ink); margin-bottom: .6rem; }
.lg-toc ol { list-style: none; padding: 0; display: grid; gap: .15rem; }
.lg-toc a { display: block; padding: .45rem .7rem; border-radius: 10px; font-weight: 600; font-size: .98rem; color: var(--ink); transition: background-color .2s ease; }
.lg-toc a:hover { background: var(--sage-cream); color: var(--sage); }
.lg-doc { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 3.5vw, 3rem); box-shadow: 0 12px 30px rgba(48, 53, 47, .08); }
.lg-part { scroll-margin-top: calc(var(--hdr, 92px) + 1rem); padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid rgba(48, 53, 47, .1); }
.lg-part:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.lg-part h2 { display: flex; align-items: center; gap: .8rem; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.3rem, 1.9vw, 1.65rem); color: var(--ink); margin-bottom: .7rem; }
.lg-part h2 span { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 1rem; }
.lg-part p, .lg-part li { font-size: clamp(1.02rem, .3vw + .95rem, 1.12rem); font-weight: 500; line-height: 1.75; color: var(--ink); }
.lg-part p + p { margin-top: .6rem; }
.lg-part ul { margin: .5rem 0 0; padding-left: 1.3rem; display: grid; gap: .35rem; }
.lg-part li { list-style: disc; }
.lg-part li::marker { color: var(--sage); }
@media (max-width: 1024px) { .lg-grid { grid-template-columns: 1fr; } .lg-toc { position: static; } }
@media (max-width: 767px) {
    .footer-grid-v2 .footer-links { display: grid; grid-template-columns: 1fr; columns: auto; gap: .55rem; }
    .footer-grid-v2 .footer-contact a { white-space: normal; }
}


/* Phones: compact project hero so the main buttons show without scrolling */
@media (max-width: 767px) {
    .d-hero { min-height: 0; padding-block: 1.4rem 1.5rem; align-items: flex-start; }
    .d-hero .crumbs { font-size: .85rem; margin-bottom: .6rem; }
    .d-badge { font-size: .88rem; padding: .4rem .85rem; margin-bottom: .6rem; }
    .d-title { font-size: clamp(2rem, 9vw, 2.5rem); }
    .d-sub { font-size: 1.08rem; margin: .2rem 0 .45rem; }
    .d-loc { font-size: .92rem; margin-bottom: .85rem; }
    .d-keys { flex-wrap: nowrap; gap: .45rem; margin-bottom: 1rem; }
    .d-keys li { flex: 1 1 0; min-width: 0; padding: .55rem .6rem; }
    .d-keys span { font-size: .72rem; }
    .d-keys strong { font-size: .98rem; line-height: 1.2; display: block; }
    .d-ctas { gap: .55rem; }
    .d-ctas .btn { flex: 1 1 calc(50% - .3rem); justify-content: center; padding: .8em .7em; font-size: .92rem; }
    .d-ctas .btn-ghost:last-child:nth-child(3) { flex-basis: 100%; }
    .page-hero .d-ctas .btn { flex: 1 1 calc(50% - .3rem); }
}
@media (max-width: 767px) and (max-height: 700px) {
    .d-hero { padding-block: 1rem 1.2rem; }
    .d-title { font-size: 1.9rem; }
    .d-sub { font-size: 1rem; }
    .d-keys { margin-bottom: .8rem; }
}


/* =================================================================
   404 page
   ================================================================= */
.nf { background: var(--sage-cream); min-height: calc(100svh - var(--hdr, 92px)); display: flex; align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.nf-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.nf-code { display: flex; align-items: center; gap: .1em; font-family: var(--font-heading); font-weight: 700; font-size: clamp(5.5rem, 15vw, 10rem); line-height: 1; color: var(--sage); margin-bottom: .6rem; }
.nf-code span { display: grid; place-items: center; width: .95em; height: .95em; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: .62em; animation: floaty 4s ease-in-out infinite; }
.nf-code span i { font-size: .55em; }
.nf-title { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.15; color: var(--ink); margin-bottom: .8rem; }
.nf-title .title-mark { display: inline; color: var(--sage); }
.nf-text { font-size: clamp(1.05rem, .4vw + .98rem, 1.2rem); font-weight: 500; line-height: 1.7; color: var(--ink); max-width: 46ch; margin-bottom: 1.5rem; }
.nf-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.nf-links { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.4rem, 2.6vw, 2rem); box-shadow: 0 16px 40px rgba(48, 53, 47, .1); border-top: 6px solid var(--yellow); }
.nf-links h2 { font-family: var(--font-heading); font-size: 1.35rem; color: var(--ink); margin-bottom: .8rem; }
.nf-links ul { display: grid; gap: .35rem; }
.nf-links a { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 12px; font-weight: 700; font-size: 1.03rem; color: var(--ink); transition: background-color .25s ease, color .25s ease; }
.nf-links a i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sage-cream); color: var(--sage); transition: background-color .25s ease, color .25s ease; }
.nf-links a:hover { background: var(--sage-cream); color: var(--sage); }
.nf-links a:hover i { background: var(--sage); color: #fff; }
@media (max-width: 900px) { .nf-inner { grid-template-columns: 1fr; } .nf { min-height: 0; } }
@media (max-width: 599px) { .nf-ctas .btn { flex: 1 1 100%; justify-content: center; } }
