/* ===========================================================================
   ANANDITA 1 & 2 — page extras (builds on jkg-page.css)
   Twin-building chooser · price sheet · cost estimator · payment plan ·
   specifications · site cards
   =========================================================================== */

.page-anandita { --an-plum: #8C3B5E; --an-plum-soft: rgba(176, 90, 122, .18); }

/* Hero tint: a hint of the brochure's plum under the gold */
.an-hero .jk-hero-shade { background:
    linear-gradient(90deg, rgba(5, 7, 5, .94) 0%, rgba(5, 7, 5, .78) 38%, rgba(18, 8, 14, .25) 75%, rgba(5, 7, 5, .1) 100%),
    linear-gradient(0deg, rgba(5, 7, 5, .92) 0%, transparent 40%); }

/* Plan table: label / value rows */
.an-area tbody th { text-align: left; font-weight: 400; font-size: 13.5px; letter-spacing: 0; text-transform: none; color: var(--text-dim); padding: 9px 12px 9px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.an-area tbody td { text-align: right; }
.an-area tr.is-key th { color: var(--gold-soft); }
.an-area tr.is-total th { color: var(--gold-bright); font-weight: 600; border-top-color: rgba(212, 175, 55, .35); }

/* ---------- Twin buildings ---------- */
.an-twins { background: linear-gradient(180deg, #0A0D0B, #0D0F0D 50%, #0A0D0B); overflow: hidden; }
.an-twin-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.an-twin {
    position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 26px; overflow: hidden;
    background: linear-gradient(180deg, rgba(22, 28, 23, .9), rgba(12, 15, 13, .95));
    border: 1px solid rgba(255, 255, 255, .08);
    transition: transform .6s var(--ease-lux), border-color .4s, box-shadow .6s var(--ease-lux);
    transform-style: preserve-3d;
}
.an-twin:hover { border-color: rgba(212, 175, 55, .45); box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 0 1px rgba(212, 175, 55, .12); }
.an-twin-media { position: relative; height: 360px; overflow: hidden; background: #0C100D; }
.an-twin-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.04); transition: transform 1.6s var(--ease-lux), object-position 3s ease; }
.an-twin:hover .an-twin-media img { transform: scale(1.1); object-position: 50% 55%; }
.an-twin-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 13, 11, 0) 45%, rgba(12, 15, 13, .96)); }
.an-twin-no {
    position: absolute; left: 22px; top: 18px; z-index: 2; font: 300 64px/1 'Fraunces', Georgia, serif; letter-spacing: -.04em;
    color: rgba(10, 13, 11, .35); -webkit-text-stroke: 1.2px #F1C64A; text-shadow: 0 6px 24px rgba(0, 0, 0, .55);
}
.an-twin-tag {
    position: absolute; right: 18px; top: 20px; z-index: 2; padding: 7px 12px; border-radius: 999px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    background: rgba(10, 13, 11, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(212, 175, 55, .4); color: var(--gold-bright);
}
.an-twin-body { position: relative; z-index: 2; padding: 0 28px 28px; margin-top: -54px; display: flex; flex-direction: column; }
.an-twin-body h3 { font-size: clamp(30px, 3vw, 40px); font-weight: 400; line-height: 1.05; }
.an-twin-body h3 em { color: var(--gold-bright); }
.an-twin-loc { font-size: 13px; color: var(--text-dim); margin: 6px 0 18px; }
.an-twin-price { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(120deg, rgba(212, 175, 55, .14), rgba(140, 59, 94, .12)); border: 1px solid rgba(212, 175, 55, .32); margin-bottom: 18px; }
.an-twin-price span { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim); }
.an-twin-price strong { font: 400 clamp(28px, 2.6vw, 36px)/1.1 'Fraunces', Georgia, serif; color: #fff; }
.an-twin-price strong sup { font-size: .45em; color: var(--gold-bright); }
.an-twin-price small { font-size: 12.5px; color: var(--gold-soft); }
.an-twin-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin: 0 0 22px; }
.an-twin-facts div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.an-twin-facts dt { font-size: 12.5px; color: var(--text-dim); }
.an-twin-facts dd { margin: 0; font-size: 13.5px; color: #F0F2EF; text-align: right; }
.an-twin-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.an-vs { display: grid; place-items: center; }
.an-vs span {
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font: italic 400 20px 'Fraunces', Georgia, serif; color: var(--gold-bright);
    background: radial-gradient(circle, rgba(212, 175, 55, .16), rgba(10, 13, 11, .9) 70%); border: 1px solid rgba(212, 175, 55, .45);
    box-shadow: 0 0 0 10px rgba(212, 175, 55, .04), 0 0 40px rgba(212, 175, 55, .2);
    animation: anPulse 3.2s ease-in-out infinite;
}
@keyframes anPulse { 50% { box-shadow: 0 0 0 16px rgba(212, 175, 55, .02), 0 0 60px rgba(212, 175, 55, .3); } }

/* ---------- Price sheet + estimator ---------- */
.an-price { background: linear-gradient(180deg, #0A0D0B, #0E0B0D 60%, #0A0D0B); }
.an-price-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
.an-sheet, .an-est, .an-clp {
    border-radius: 24px; background: linear-gradient(180deg, rgba(22, 28, 23, .88), rgba(13, 16, 14, .92));
    border: 1px solid rgba(255, 255, 255, .08);
}
.an-sheet { overflow: hidden; }
.an-sheet-head { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 24px; background: linear-gradient(100deg, rgba(140, 59, 94, .35), rgba(212, 175, 55, .12)); border-bottom: 1px solid rgba(212, 175, 55, .25); }
.an-sheet-head span { font: 400 22px 'Fraunces', Georgia, serif; color: #fff; }
.an-sheet-head small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }
.an-sheet-scroll { overflow-x: auto; }
.an-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 420px; }
.an-table th, .an-table td { padding: 12px 24px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .055); font-size: 14px; }
.an-table thead th { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright); font-weight: 500; }
.an-table tbody th { font-weight: 400; color: var(--text-dim); }
.an-table td { color: #EEF0ED; }
.an-table tr.is-total th, .an-table tr.is-total td { color: var(--gold-bright); font: 400 20px 'Fraunces', Georgia, serif; background: rgba(212, 175, 55, .06); }
.an-table tr.an-sub th { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); padding-top: 18px; background: rgba(255, 255, 255, .015); }
.an-table tbody tr:not(.an-sub):hover td, .an-table tbody tr:not(.an-sub):hover th { background: rgba(212, 175, 55, .05); }

.an-est { padding: 26px 26px 24px; position: relative; overflow: hidden; }
.an-est::before { content: ''; position: absolute; width: 320px; height: 320px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 55, .16), transparent 70%); pointer-events: none; }
.an-est-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.an-est-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-gold); }
.an-est-ic svg { width: 22px; height: 22px; fill: none; stroke: #0A0D0B; stroke-width: 1.7; stroke-linecap: round; }
.an-est-head h3 { font-size: 22px; font-weight: 400; }
.an-est-head p { font-size: 13.5px; color: var(--text-dim); margin-top: 2px; }
.an-seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .07); margin-bottom: 10px; }
.an-seg button { padding: 11px 8px; border-radius: 10px; font-size: 13.5px; color: #CDD3CC; background: transparent; border: 0; cursor: pointer; transition: background .35s var(--ease-lux), color .3s, box-shadow .35s; line-height: 1.2; }
.an-seg button small { display: block; font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.an-seg button:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.an-seg button.is-on { background: var(--grad-gold); color: #0A0D0B; font-weight: 600; box-shadow: 0 8px 24px rgba(212, 175, 55, .25); }
.an-seg button.is-on small { color: rgba(10, 13, 11, .7); }
.an-seg button:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.an-check { display: flex; align-items: center; gap: 10px; margin: 14px 2px 18px; font-size: 13.5px; color: #D6DBD5; cursor: pointer; }
.an-check input { width: 18px; height: 18px; accent-color: #D4AF37; }
.an-total { padding: 18px 20px; border-radius: 18px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(212, 175, 55, .3); display: grid; gap: 4px; }
.an-total span { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim); }
.an-total strong { font: 400 clamp(34px, 3.4vw, 46px)/1.05 'Fraunces', Georgia, serif; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.an-total small { font-size: 12.5px; color: var(--text-dim); line-height: 1.5; }
.an-est-foot { font-size: 12px; color: var(--text-dim); margin: 12px 2px 16px; line-height: 1.6; }
.an-est-cta { width: 100%; justify-content: center; }

/* ---------- Construction-linked payment plan ---------- */
.an-clp { margin-top: 20px; padding: 26px 28px; }
.an-clp-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; }
.an-clp-head h3 { font-size: 22px; font-weight: 400; }
.an-clp-head h3 em { color: var(--gold-soft); font-size: .7em; }
.an-clp-amt { font-size: 12.5px; color: var(--text-dim); }
.an-clp-amt b { color: var(--gold-bright); font-weight: 500; }
.an-clp-list { list-style: none; counter-reset: clp; display: grid; gap: 4px; }
.an-clp-list li { counter-increment: clp; display: grid; grid-template-columns: 30px minmax(150px, 1.3fr) 2fr 52px 120px; align-items: center; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.an-clp-list li::before { content: counter(clp, decimal-leading-zero); font: 500 11px 'IBM Plex Mono', monospace; color: var(--gold-bright); }
.an-clp-k { font-size: 14px; color: #E3E7E2; }
.an-clp-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.an-clp-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #B8860B, #F1C64A); box-shadow: 0 0 12px rgba(241, 198, 74, .45); transition: width 1.3s var(--ease-lux); }
.an-clp.in .an-clp-bar i, .an-clp.is-in .an-clp-bar i { width: calc(var(--w) * 5%); }
.an-clp-list li:nth-child(2) i { transition-delay: .08s; } .an-clp-list li:nth-child(3) i { transition-delay: .16s; } .an-clp-list li:nth-child(4) i { transition-delay: .24s; }
.an-clp-list li:nth-child(5) i { transition-delay: .32s; } .an-clp-list li:nth-child(6) i { transition-delay: .4s; } .an-clp-list li:nth-child(7) i { transition-delay: .48s; } .an-clp-list li:nth-child(8) i { transition-delay: .56s; }
.an-clp-list b { font: 400 18px 'Fraunces', Georgia, serif; color: #fff; text-align: right; }
.an-clp-list em { font-style: normal; font-size: 13.5px; color: var(--gold-soft); text-align: right; font-variant-numeric: tabular-nums; }
.an-clp-note { margin-top: 14px; font-size: 12px; color: var(--text-dim); line-height: 1.6; }

/* ---------- Specifications ---------- */
.an-spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.an-spec-card {
    position: relative; overflow: hidden; padding: 24px 22px; border-radius: 18px;
    background: linear-gradient(180deg, rgba(22, 28, 23, .85), rgba(14, 18, 15, .85)); border: 1px solid rgba(255, 255, 255, .07);
    transition: transform .5s var(--ease-lux), border-color .4s;
}
.an-spec-card:hover { transform: translateY(-6px); border-color: rgba(212, 175, 55, .4); }
.an-spec-card:hover .jk-ic { background: var(--grad-gold); transform: rotate(-6deg) scale(1.05); }
.an-spec-card:hover .jk-ic svg { stroke: #0A0D0B; }
.an-spec-card h3 { font-size: 18px; font-weight: 400; margin-bottom: 10px; }
.an-spec-card ul { list-style: none; display: grid; gap: 7px; }
.an-spec-card li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.5; color: var(--text-dim); }
.an-spec-card li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(212, 175, 55, .6); }
.an-x2::after, .an-x2-key {
    display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
    color: #F6D8E5; background: var(--an-plum-soft); border: 1px solid rgba(176, 90, 122, .55); vertical-align: 1px;
}
.an-x2::after { content: 'Anandita 2'; }
.an-x2-key { margin: 0 4px 0 0; }

/* ---------- Essentials ---------- */
.an-ess-grid .jk-amen-card h3 { font-size: 18px; font-weight: 400; margin-bottom: 6px; }

/* ---------- Location: site cards ---------- */
.an-sites { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.an-site { position: relative; padding: 22px 22px 20px; border-radius: 20px; background: linear-gradient(180deg, rgba(22, 28, 23, .85), rgba(14, 18, 15, .85)); border: 1px solid rgba(255, 255, 255, .07); overflow: hidden; }
.an-site-no { position: absolute; right: 16px; top: 8px; font: 300 54px/1 'Fraunces', Georgia, serif; color: transparent; -webkit-text-stroke: 1px rgba(212, 175, 55, .35); }
.an-site h3 { font-size: 20px; font-weight: 400; margin-bottom: 6px; }
.an-site p { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; margin-bottom: 12px; max-width: 85%; }
.an-site a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); }
.an-site a:hover { text-decoration: underline; text-underline-offset: 4px; }
.an-mapcard { grid-column: 1 / -1; }
.an-mapcard .jk-site-img { height: 230px; }
.an-mapcard .jk-site-img img { object-position: center; }

/* ---------- Brochure band background ---------- */
.an-cta { background:
    linear-gradient(100deg, rgba(8, 11, 9, .95) 0%, rgba(8, 11, 9, .8) 55%, rgba(30, 10, 20, .4) 100%),
    url('anandita/elevation-a2.jpg') right 30% / cover !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .an-spec-grid { grid-template-columns: repeat(2, 1fr); }
    .an-price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
    .an-twin-grid { grid-template-columns: 1fr; }
    .an-vs { margin: -6px 0; }
    .an-vs span { width: 48px; height: 48px; font-size: 17px; }
    .an-sites { grid-template-columns: 1fr; }
    .an-clp-list li { grid-template-columns: 26px 1fr 52px; row-gap: 6px; }
    .an-clp-bar { grid-column: 2 / 3; grid-row: 2; }
    .an-clp-list em { grid-column: 3; grid-row: 2; font-size: 12px; }
}
@media (max-width: 640px) {
    .an-twin-media { height: 280px; }
    .an-twin-body { padding: 0 20px 22px; }
    .an-twin-facts { grid-template-columns: 1fr; }
    .an-spec-grid { grid-template-columns: 1fr; }
    .an-est, .an-clp { padding: 22px 18px; }
    .an-table { min-width: 0; }
    .an-table th, .an-table td { padding: 11px 12px; font-size: 13px; }
    .an-seg-floor { grid-template-columns: 1fr 1fr; grid-auto-flow: row; }
    .an-site p { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .an-vs span { animation: none; }
    .an-clp-bar i { transition: none; }
    .an-twin, .an-twin-media img { transition: none; }
}
