/* ==============================================================================
   CONIVA — PREMIUM LAYER
   Loaded after estateflow.css. Typography, motion and finish only; no layout changes.
   Display: Cormorant Garamond · Labels: Cinzel · Body: Manrope · Bangla: Hind Siliguri
   ============================================================================== */

:root {
    --pv-display: 'Cormorant Garamond', 'Hind Siliguri', Georgia, serif;
    --pv-label: 'Cinzel', 'Hind Siliguri', Georgia, serif;
    --pv-body: 'Manrope', 'Hind Siliguri', -apple-system, 'Segoe UI', Roboto, sans-serif;
    --pv-gold: #BB9A52;
    --pv-gold-light: #F1D894;
    --pv-gold-deep: #9E782B;
    --pv-gold-grad: linear-gradient(115deg, #9E782B 0%, #E9C878 22%, #FFF1C9 38%, #D6B062 52%, #9E782B 70%, #E9C878 88%, #BB9A52 100%);
    --pv-ease: cubic-bezier(.22, 1, .36, 1);
    --font-body: var(--pv-body);
    --body-font: var(--pv-body) !important;
}

/* ---------- typography ---------- */
body {
    font-family: var(--pv-body) !important;
    letter-spacing: .005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* large display headings → editorial serif */
h1, h2,
.coniva-hero__title,
.coniva-section-title,
.coniva-section-title-light,
.coniva-section-title-dark,
.coniva-philosophy-heading,
.coniva-stat-num,
.brand-heading {
    font-family: var(--pv-display) !important;
    font-weight: 600 !important;
    letter-spacing: .015em !important;
}
.coniva-hero__title {
    font-size: clamp(40px, 6.4vw, 92px) !important;
    line-height: .98 !important;
    font-weight: 600 !important;
    letter-spacing: .01em !important;
}
.coniva-section-title,
.coniva-section-title-light,
.coniva-section-title-dark,
.coniva-philosophy-heading {
    font-size: clamp(30px, 4.4vw, 54px) !important;
    line-height: 1.08 !important;
    text-transform: uppercase;
}
.coniva-stat-num {
    font-size: clamp(54px, 6vw, 78px) !important;
    line-height: 1 !important;
    font-weight: 500 !important;
}

/* small headings / card titles keep the brand's Cinzel small-caps feel */
h3, h4, h5, h6,
.coniva-identity-title,
.coniva-business-title,
.coniva-stat-title,
.coniva-project-title,
.coniva-pillar-name,
.coniva-val-title,
.footer__title {
    font-family: var(--pv-label) !important;
    letter-spacing: .06em;
}

/* eyebrows, nav, buttons → tracked sans */
.coniva-section-sub,
.coniva-philosophy-sub,
.coniva-nav-item > a,
.coniva-nav-item .nav-link,
.coniva-slide-badge {
    font-family: var(--pv-body) !important;
    font-weight: 600;
    letter-spacing: .14em;
}
.btn {
    font-family: var(--pv-body) !important;
    font-weight: 600;
}
.btn--base, .btn-shanta-circle .btn-text {
    letter-spacing: .14em;
}
.coniva-section-sub,
.coniva-philosophy-sub {
    font-size: 12px !important;
    letter-spacing: .32em !important;
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
}
.coniva-section-sub::before,
.coniva-philosophy-sub::before {
    content: '';
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pv-gold));
}

p, .coniva-hero__desc, .coniva-desc-text, .coniva-showcase-desc {
    font-family: var(--pv-body);
}
.coniva-hero__desc {
    font-size: clamp(15px, 1.15vw, 18px) !important;
    line-height: 1.75 !important;
    font-weight: 400;
    color: rgba(255, 255, 255, .82) !important;
    max-width: 560px;
}

/* light sections: headings readable and rich */
.coniva-section-title-dark,
.coniva-who-we-are h2,
.coniva-philosophy-showcase h2,
.coniva-projects h2 {
    color: #0B0B10 !important;
    -webkit-text-fill-color: currentColor;
    text-shadow: none !important;
}
.coniva-identity-title { color: #121218 !important; text-shadow: none !important; font-size: 15px !important; }
.coniva-identity-col:hover .coniva-identity-title { color: var(--pv-gold-deep) !important; }
.coniva-section-title-light,
.coniva-hero__title { color: #fff !important; }

/* ---------- liquid gold text ---------- */
.gold-word,
.text-gold-gradient,
.coniva-stat-num .stat-suffix,
.pv-gold-text {
    background: var(--pv-gold-grad);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: pvGoldFlow 7s linear infinite;
    filter: drop-shadow(0 2px 14px rgba(187, 154, 82, .28));
}
@keyframes pvGoldFlow { to { background-position: 220% center; } }

/* ---------- hero ---------- */
.coniva-slider-slide.active .coniva-slices-wrapper {
    animation: pvKenBurns 14s var(--pv-ease) both;
}
@keyframes pvKenBurns {
    from { scale: 1.1; }
    to   { scale: 1; }
}
.coniva-slider-slide.active .coniva-slide-badge,
.coniva-slider-slide.active .coniva-hero__title,
.coniva-slider-slide.active .coniva-shanta-rule,
.coniva-slider-slide.active .coniva-hero__desc,
.coniva-slider-slide.active .coniva-slide-content-container .d-flex {
    animation: pvRise 1.1s var(--pv-ease) both;
}
.coniva-slider-slide.active .coniva-hero__title { animation-delay: .12s; }
.coniva-slider-slide.active .coniva-shanta-rule { animation-delay: .28s; }
.coniva-slider-slide.active .coniva-hero__desc { animation-delay: .36s; }
.coniva-slider-slide.active .coniva-slide-content-container .d-flex { animation-delay: .5s; }
@keyframes pvRise {
    from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
    to   { opacity: 1; transform: none; filter: blur(0); }
}
.coniva-slide-badge {
    background: rgba(255, 255, 255, .06) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(233, 200, 120, .45) !important;
    font-size: 11px !important;
}

/* ---------- header ---------- */
.header, .coniva-header-sticky-wrapper {
    transition: background .5s var(--pv-ease), box-shadow .5s var(--pv-ease), backdrop-filter .5s;
}
.header.scrolled, .coniva-header-sticky-wrapper.scrolled {
    background: rgba(8, 8, 12, .72) !important;
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    box-shadow: 0 1px 0 rgba(233, 200, 120, .18), 0 18px 40px -20px rgba(0, 0, 0, .8) !important;
}
.coniva-nav-item > a { position: relative; }
.coniva-nav-item > a::after {
    content: '';
    position: absolute;
    left: 50%; right: 50%; bottom: -6px;
    height: 1px;
    background: var(--pv-gold-grad);
    transition: left .45s var(--pv-ease), right .45s var(--pv-ease);
}
.coniva-nav-item > a:hover::after { left: 0; right: 0; }

/* scroll progress */
.pv-progress {
    position: fixed; top: 0; left: 0; z-index: 10000;
    height: 2px; width: 100%;
    transform-origin: 0 50%; transform: scaleX(0);
    background: var(--pv-gold-grad);
    box-shadow: 0 0 12px rgba(233, 200, 120, .7);
    pointer-events: none;
}

/* ---------- buttons ---------- */
.btn--base, .coniva-cta-btn, .btn-gold {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform .4s var(--pv-ease), box-shadow .4s var(--pv-ease) !important;
}
.btn--base::before, .coniva-cta-btn::before, .btn-gold::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform .9s var(--pv-ease);
    z-index: 1;
    pointer-events: none;
}
.btn--base:hover::before, .coniva-cta-btn:hover::before, .btn-gold:hover::before { transform: translateX(120%); }
.btn--base:hover, .coniva-cta-btn:hover, .btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(187, 154, 82, .65) !important;
}
.btn i, .btn-shanta-circle i { transition: transform .45s var(--pv-ease); }
.btn:hover i.la-arrow-right, .btn-shanta-circle:hover i { transform: translateX(4px); }
.btn-shanta-circle .circle { transition: transform .5s var(--pv-ease), background .4s, box-shadow .4s; }
.btn-shanta-circle:hover .circle {
    transform: rotate(-45deg) scale(1.08);
    box-shadow: 0 0 0 6px rgba(187, 154, 82, .12), 0 0 24px rgba(233, 200, 120, .45);
}

/* ---------- icons: float, halo ring, shine ---------- */
.coniva-icon-wrapper,
.coniva-identity-icon-wrap,
.coniva-stat-icon-wrap,
.coniva-trust-icon-box,
.coniva-business-icon,
.coniva-floating-icon-wrap,
.topbar-icon-badge {
    position: relative;
    transition: transform .6s var(--pv-ease), box-shadow .6s var(--pv-ease), filter .6s;
}
.pv-float { animation: pvFloat 5.5s ease-in-out infinite; animation-delay: var(--pv-d, 0s); }
@keyframes pvFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -7px; }
}
.coniva-identity-icon-wrap::after,
.coniva-stat-icon-wrap::after,
.coniva-business-icon::after,
.coniva-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    padding: 1px;
    background: conic-gradient(from 0deg, transparent 0 55%, rgba(233, 200, 120, .9) 75%, transparent 92%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .5s var(--pv-ease);
    animation: pvSpin 3.2s linear infinite;
    pointer-events: none;
}
.coniva-identity-col:hover .coniva-identity-icon-wrap::after,
.coniva-stat-item:hover .coniva-stat-icon-wrap::after,
.coniva-business-card:hover .coniva-business-icon::after,
.coniva-icon-wrapper:hover::after,
.pv-hover-zone:hover .coniva-stat-icon-wrap::after { opacity: 1; }
@keyframes pvSpin { to { transform: rotate(360deg); } }

.coniva-identity-col:hover .coniva-identity-icon-wrap,
.coniva-business-card:hover .coniva-business-icon,
.coniva-trust-item:hover .coniva-trust-icon-box,
.coniva-impact-item:hover .coniva-icon-wrapper {
    transform: translateY(-6px) scale(1.06);
    filter: drop-shadow(0 12px 22px rgba(187, 154, 82, .35));
}
.coniva-identity-svg, .coniva-anim-icon svg { transition: transform .8s var(--pv-ease); }
.coniva-identity-col:hover .coniva-identity-svg,
.coniva-business-card:hover .coniva-anim-icon svg { transform: rotateY(360deg); }

/* line-awesome icons inside small badges get a soft glint on hover */
.coniva-topbar__item:hover .topbar-icon-badge,
.coniva-trust-item:hover .coniva-trust-icon-box { box-shadow: 0 0 0 4px rgba(187, 154, 82, .12), 0 0 22px rgba(233, 200, 120, .45); }

/* ---------- cards ---------- */
.coniva-project-card,
.coniva-news-card,
.coniva-business-card,
.coniva-identity-col,
.coniva-impact-item {
    transition: transform .6s var(--pv-ease), box-shadow .6s var(--pv-ease), border-color .6s;
    will-change: transform;
}
.coniva-project-card,
.coniva-news-card { border-radius: 18px !important; overflow: hidden; }
.coniva-project-card:hover,
.coniva-news-card:hover {
    box-shadow: 0 30px 60px -24px rgba(8, 8, 12, .45), 0 0 0 1px rgba(187, 154, 82, .45) !important;
}
.coniva-business-card:hover {
    border-color: rgba(233, 200, 120, .55) !important;
    box-shadow: 0 28px 60px -28px rgba(0, 0, 0, .9), inset 0 0 60px -30px rgba(233, 200, 120, .35) !important;
}
.coniva-project-img img,
.coniva-news-card img {
    transition: transform 1.4s var(--pv-ease), filter 1s;
}
.coniva-project-card:hover .coniva-project-img img,
.coniva-news-card:hover img { transform: scale(1.08); filter: saturate(1.08) contrast(1.03); }
.coniva-project-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
    transform: translateX(-130%);
    transition: transform 1.2s var(--pv-ease);
    pointer-events: none;
}
.coniva-project-card:hover .coniva-project-img::after { transform: translateX(130%); }

/* project status tags: readable glass pills */
.coniva-project-type-tag {
    background: rgba(8, 8, 12, .62) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .22) !important;
    font-weight: 600 !important;
    letter-spacing: .12em;
}
.coniva-project-type-tag:empty,
.coniva-project-type-tag:not(:has(*)):empty { display: none !important; }

/* 3D tilt (set by premium.js) */
.pv-tilt { transform: perspective(1000px) rotateX(var(--pv-rx, 0deg)) rotateY(var(--pv-ry, 0deg)) translateY(var(--pv-ty, 0)); }

/* ---------- reveal (for elements estateflow.js doesn't animate) ---------- */
.pv-reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--pv-ease), transform 1.1s var(--pv-ease); transition-delay: var(--pv-d, 0s); }
.pv-reveal.pv-in { opacity: 1; transform: none; }
.coniva-shanta-rule { transform-origin: left center; }
.pv-rule-draw { transform: scaleX(0); transition: transform 1.4s var(--pv-ease) .2s; }
.pv-rule-draw.pv-in { transform: scaleX(1); }
.text-center .pv-rule-draw, .coniva-shanta-rule.mx-auto { transform-origin: center; }

/* ---------- atmosphere ---------- */
.coniva-businesses, .coniva-milestones-section, .coniva-impact, .coniva-news-insights-section,
.coniva-video-showcase-section, .coniva-interactive-map-section, .footer {
    position: relative;
}
.coniva-businesses::after, .coniva-milestones-section::after, .coniva-impact::after,
.coniva-news-insights-section::after, .footer::after {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}
.coniva-businesses > .container, .coniva-milestones-section > .container, .coniva-impact > .container,
.coniva-news-insights-section > .container, .footer > .container { position: relative; z-index: 1; }

/* cursor-following gold light on dark sections (desktop) */
.pv-glow {
    position: fixed; left: 0; top: 0; z-index: 0;
    width: 520px; height: 520px; margin: -260px 0 0 -260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 200, 120, .10) 0%, rgba(187, 154, 82, .05) 35%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .6s;
    mix-blend-mode: screen;
}
.pv-glow.on { opacity: 1; }

/* elegant scrollbar & selection */
::selection { background: rgba(187, 154, 82, .85); color: #08080C; }
html { scrollbar-color: #9E782B #08080C; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #08080C; }
::-webkit-scrollbar-thumb { background: linear-gradient(#E9C878, #9E782B); border-radius: 10px; border: 2px solid #08080C; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .pv-reveal, .pv-rule-draw { opacity: 1 !important; transform: none !important; }
    .pv-glow, .pv-progress { display: none !important; }
}
@media (hover: none), (max-width: 991px) {
    .pv-glow { display: none !important; }
    .pv-tilt { transform: none !important; }
}
