/*
 * Brand Ratna — Premium Layer v2
 * Additive stylesheet. Preserves all existing tokens (--blue, --orange, --ink, etc.)
 * and layers premium interactions, micro-animations, glass surfaces and
 * conversion helpers on top. Loaded alongside style.css.
 */

/* ---------- Motion base ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Richer scroll-reveal (works with existing .reveal but adds a stagger + fade-up) */
.pv-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); will-change: opacity, transform; }
.pv-reveal.is-in { opacity: 1; transform: none; }
.pv-reveal[data-delay="1"] { transition-delay: .08s; }
.pv-reveal[data-delay="2"] { transition-delay: .16s; }
.pv-reveal[data-delay="3"] { transition-delay: .24s; }
.pv-reveal[data-delay="4"] { transition-delay: .32s; }
.pv-reveal[data-delay="5"] { transition-delay: .40s; }

/* ---------- Gradient text & accents ---------- */
.pv-grad-text {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue) 35%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.pv-underline {
  background-image: linear-gradient(120deg, rgba(255,92,0,.25), rgba(255,92,0,.25));
  background-repeat: no-repeat;
  background-size: 100% .35em;
  background-position: 0 88%;
  padding: 0 .05em;
}

/* ---------- Trust bar (announcement rail) ---------- */
.pv-trustbar {
  background: linear-gradient(90deg, var(--ink), #241e1e);
  color: #f6f4ef;
  font-size: .82rem;
  padding: 9px 14px;
  text-align: center;
  letter-spacing: .02em;
}
.pv-trustbar b { color: #fff; font-weight: 600; }
.pv-trustbar .dot { color: var(--orange); margin: 0 10px; }
.pv-trustbar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .pv-trustbar { font-size: .74rem; padding: 8px 10px; } .pv-trustbar .hide-sm { display: none; } }

/* ---------- Sticky mobile CTA ---------- */
.pv-sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  z-index: 90; display: none;
  background: var(--ink); color: #fff;
  border-radius: 999px; padding: 12px 12px 12px 20px;
  box-shadow: 0 30px 60px -20px rgba(21,72,144,.55), 0 8px 24px -12px rgba(0,0,0,.4);
  align-items: center; justify-content: space-between; gap: 12px;
  animation: pv-slide-up .5s cubic-bezier(.16,1,.3,1) both;
}
.pv-sticky-cta strong { font-family: var(--serif); font-weight: 700; font-size: 1rem; }
.pv-sticky-cta small { display: block; opacity: .7; font-size: .74rem; margin-top: 2px; }
.pv-sticky-cta a.btn { background: var(--orange); color: #fff; padding: 10px 16px; font-size: .85rem; }
@keyframes pv-slide-up { from { transform: translateY(140%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 820px) { .pv-sticky-cta.is-on { display: flex; } body.has-sticky-cta { padding-bottom: 88px; } }

/* ---------- Magnetic / lift buttons ---------- */
.btn { transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s cubic-bezier(.16,1,.3,1), background .2s ease; }
.btn:active { transform: translateY(0) scale(.98); }
.btn.pv-glow { position: relative; overflow: hidden; isolation: isolate; }
.btn.pv-glow::after {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: conic-gradient(from 90deg, rgba(255,92,0,.0), rgba(255,92,0,.55), rgba(21,72,144,.55), rgba(255,92,0,.0));
  filter: blur(14px); opacity: 0; transition: opacity .3s ease;
}
.btn.pv-glow:hover::after { opacity: .9; }

/* ---------- Glass / premium cards ---------- */
.pv-glass {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(24,20,20,.08);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -28px rgba(21,72,144,.35);
}
.pv-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.pv-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, transparent 40%, rgba(255,92,0,.0), rgba(21,72,144,.0));
  transition: background .4s ease; z-index: 0;
}
.pv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(21,72,144,.25); }
.pv-card:hover::before { background: linear-gradient(135deg, transparent 30%, rgba(255,92,0,.06), rgba(21,72,144,.08)); }
.pv-card > * { position: relative; z-index: 1; }

/* ---------- Section: premium hero (used on new city pages) ---------- */
.pv-hero {
  position: relative; overflow: hidden;
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 96px);
  background:
    radial-gradient(80% 60% at 88% 6%, rgba(255,92,0,.13), transparent 60%),
    radial-gradient(70% 55% at 8% 88%, rgba(21,72,144,.16), transparent 60%),
    var(--bg);
}
.pv-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(24,20,20,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,20,20,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.55), transparent 75%);
  opacity: .6;
}
.pv-hero .wrap { position: relative; z-index: 1; }
.pv-hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: end; }
@media (max-width: 900px) { .pv-hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.pv-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.02; }
.pv-hero h1 em { font-style: italic; color: var(--orange); font-weight: 800; }
.pv-hero .pv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.pv-hero .pv-kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.pv-hero .pv-kpi b { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 800; color: var(--blue); line-height: 1; }
.pv-hero .pv-kpi span { display: block; margin-top: 6px; font-size: .78rem; color: var(--gray); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Local proof strip ---------- */
.pv-proof {
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  padding: 14px 18px; border: 1px dashed rgba(21,72,144,.25);
  border-radius: 14px; background: rgba(21,72,144,.04);
  font-size: .88rem; color: var(--ink); margin-top: 24px;
}
.pv-proof b { color: var(--blue); }
.pv-proof .stars { color: #eab308; letter-spacing: 1px; }

/* ---------- Value stack ---------- */
.pv-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .pv-values { grid-template-columns: 1fr; } }
.pv-value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.pv-value .pv-ico { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--orange), #ff8a3d); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 800; }
.pv-value h4 { margin: 14px 0 6px; font-family: var(--serif); font-size: 1.25rem; }
.pv-value p { color: var(--gray); font-size: .95rem; margin: 0; }

/* ---------- Process timeline ---------- */
.pv-timeline { display: grid; gap: 14px; }
.pv-tl {
  display: grid; grid-template-columns: 68px 1fr; gap: 20px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 26px; align-items: start;
}
.pv-tl .pv-tl-n {
  font-family: var(--serif); font-size: 2.2rem; font-weight: 800; color: var(--blue);
  line-height: 1;
}
.pv-tl h4 { font-family: var(--serif); font-size: 1.15rem; margin: 0 0 4px; }
.pv-tl p { margin: 0; color: var(--gray); font-size: .95rem; }

/* ---------- Testimonial ---------- */
.pv-quote {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  position: relative; overflow: hidden;
}
.pv-quote::before {
  content: "\201C"; position: absolute; top: -30px; left: 18px;
  font-family: var(--serif); font-size: 12rem; color: rgba(255,92,0,.2); line-height: 1;
}
.pv-quote blockquote { font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.9rem); line-height: 1.35; margin: 0 0 22px; position: relative; }
.pv-quote cite { font-style: normal; display: flex; align-items: center; gap: 12px; font-size: .95rem; }
.pv-quote cite b { display: block; font-weight: 600; }
.pv-quote cite span { display: block; opacity: .7; font-size: .82rem; }

/* ---------- FAQ (progressive disclosure) ---------- */
.pv-faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; margin-bottom: 10px; transition: box-shadow .25s ease, border-color .25s ease;
}
.pv-faq details[open] { border-color: rgba(21,72,144,.35); box-shadow: 0 12px 30px -20px rgba(21,72,144,.35); }
.pv-faq summary { cursor: pointer; list-style: none; font-family: var(--serif); font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pv-faq summary::-webkit-details-marker { display: none; }
.pv-faq summary::after { content: "+"; font-size: 1.4rem; color: var(--orange); transition: transform .3s ease; }
.pv-faq details[open] summary::after { content: "−"; }
.pv-faq p { margin: 12px 0 0; color: var(--gray); font-size: .96rem; }

/* ---------- Final CTA band ---------- */
.pv-cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, #241d1c 55%, #3a2519 100%);
  color: #fff; border-radius: 24px;
  padding: clamp(36px, 6vw, 64px);
  display: grid; grid-template-columns: 1.4fr .9fr; gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.pv-cta-band::before {
  content: ""; position: absolute; inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(255,92,0,.35), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(21,72,144,.35), transparent 55%);
  filter: blur(20px); z-index: 0;
}
.pv-cta-band > * { position: relative; z-index: 1; }
.pv-cta-band h2 { color: #fff; margin: 0 0 14px; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.pv-cta-band p { color: rgba(255,255,255,.78); margin: 0 0 22px; }
@media (max-width: 820px) { .pv-cta-band { grid-template-columns: 1fr; } }
.pv-cta-band .pv-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pv-cta-band .pv-guarantees { display: grid; gap: 10px; font-size: .9rem; }
.pv-cta-band .pv-guarantees div { display: flex; gap: 10px; align-items: flex-start; }
.pv-cta-band .pv-guarantees b { color: var(--orange); font-family: var(--serif); font-size: 1.2rem; line-height: 1; }
.pv-cta-band .pv-guarantees span { color: rgba(255,255,255,.85); }

/* ---------- Chip row ---------- */
.pv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-chip { padding: 6px 12px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-size: .82rem; color: var(--ink); }
.pv-chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Utilities ---------- */
.pv-mt-8 { margin-top: 8px; } .pv-mt-16 { margin-top: 16px; } .pv-mt-24 { margin-top: 24px; }
.pv-mt-40 { margin-top: 40px; } .pv-mt-64 { margin-top: 64px; }
.pv-flex { display: flex; gap: 14px; flex-wrap: wrap; }
.pv-center { text-align: center; }
.pv-max { max-width: 68ch; }
.pv-hidden { display: none !important; }

/* ---------- Focus ring for a11y ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 6px;
}

/* ---------- Image performance hints ---------- */
img[loading="lazy"] { content-visibility: auto; }
