/* =========================================================
   Vedic Astrology & Karmakand — Premium Frontend Styles
   ========================================================= */
:root {
  --saffron: #e8871e;
  --saffron-2: #f4a63a;
  --gold: #c8952b;
  --gold-light: #e7c873;
  --maroon: #6b1a1a;
  --maroon-2: #8a2222;
  --cream: #fff9f0;
  --ink: #2b2118;
  --muted: #7a6f63;
  --line: #efe6d6;
  --white: #ffffff;
  --shadow-sm: 0 4px 14px rgba(107, 26, 26, .08);
  --shadow-md: 0 12px 34px rgba(107, 26, 26, .14);
  --radius: 16px;
  --radius-lg: 24px;
  --ff-head: "Playfair Display", Georgia, serif;
  --ff-body: "Poppins", "Segoe UI", system-ui, sans-serif;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); text-decoration: none; transition: .25s; }
a:hover { color: var(--saffron); }
h1,h2,h3,h4 { font-family: var(--ff-head); font-weight: 700; line-height: 1.2; color: var(--maroon); margin: 0 0 .5em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 50px; font-weight: 600;
  font-size: .95rem; border: none; cursor: pointer; transition: .3s;
  min-height: 46px; line-height: 1; text-align: center;
}
.btn-primary { background: linear-gradient(135deg, var(--saffron), var(--gold)); color: #fff; box-shadow: 0 8px 20px rgba(232,135,30,.35); }
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 26px rgba(232,135,30,.45); }
.btn-outline { background: transparent; color: var(--maroon); border: 2px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: #fff; }
.btn-maroon { background: linear-gradient(135deg, var(--maroon), var(--maroon-2)); color: #fff; }
.btn-maroon:hover { color: #fff; transform: translateY(-2px); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { color: #fff; background: #1eb958; }
.btn-call { background: var(--maroon); color: #fff; }
.btn-call:hover { color:#fff; }
.btn-sm { padding: 9px 18px; font-size: .85rem; min-height: 40px; }

/* Section heading */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head .eyebrow {
  display: inline-block; font-family: var(--ff-body); font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; font-size: .75rem;
  color: var(--saffron); margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.sec-head p { color: var(--muted); margin: 0; }
.divider-om { color: var(--gold); font-size: 1.4rem; margin: 6px 0; }

/* ---------------- Top bar ---------------- */
.topbar { background: linear-gradient(90deg, var(--maroon), var(--maroon-2)); color: #ffe9c9; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 12px; }
.topbar a { color: #ffe9c9; }
.topbar a:hover { color: #fff; }
.topbar .social a { margin-left: 12px; font-size: 1rem; }
@media (max-width: 767px){ .topbar .tb-contact span:nth-child(2){ display:none; } }

/* ---------------- Header ---------------- */
.header {
  position: sticky; top: 0; z-index: 900; background: rgba(255,249,240,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  transition: .3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,249,240,.98); }
.header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand .brand-fallback {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--saffron), var(--gold)); color: #fff; font-family: var(--ff-head); font-size: 1.5rem; font-weight: 700;
}
.brand .brand-name { font-family: var(--ff-head); font-weight: 700; color: var(--maroon); font-size: 1.25rem; line-height: 1.1; }
.brand .brand-tag { font-size: .68rem; color: var(--saffron); letter-spacing: 1px; text-transform: uppercase; }
@media (max-width: 991px){ .brand .brand-name{ font-size: 1.05rem; } .brand img{ height: 42px; } }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 10px 14px; border-radius: 10px; font-weight: 500; color: var(--ink); font-size: .95rem;
}
.nav a:hover, .nav a.active { color: var(--maroon); background: rgba(200,149,43,.12); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(200,149,43,.12); color: var(--maroon); border: none; cursor: pointer; font-size: 1.1rem; }
.icon-btn:hover { background: var(--gold); color: #fff; }
.hamburger { display: none; }
@media (max-width: 991px){
  .nav.desktop { display: none; }
  .hamburger { display: grid; }
  .header-actions .btn span.txt { display: none; }
  .header-actions .btn { padding: 0; width: 44px; height: 44px; justify-content: center; border-radius: 50%; }
}

/* ---------------- Mobile drawer ---------------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(43,33,24,.5); opacity: 0; visibility: hidden; transition: .3s; z-index: 1000; }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; left: 0; height: 100%; width: 300px; max-width: 84vw;
  background: var(--cream); z-index: 1001; transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1); box-shadow: 6px 0 30px rgba(0,0,0,.2);
  display: flex; flex-direction: column; padding: 20px;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.drawer-nav { display: flex; flex-direction: column; margin-top: 12px; overflow-y: auto; }
.drawer-nav a { padding: 14px 12px; border-radius: 10px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer-nav a:hover, .drawer-nav a.active { background: rgba(200,149,43,.12); color: var(--maroon); }
.drawer-cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }

/* Search modal */
.search-modal { position: fixed; inset: 0; background: rgba(43,33,24,.6); backdrop-filter: blur(4px); z-index: 1100; display: none; align-items: flex-start; justify-content: center; padding-top: 14vh; }
.search-modal.open { display: flex; }
.search-box { width: min(600px, 92vw); }
.search-box form { display: flex; gap: 10px; }
.search-box input { flex: 1; padding: 16px 22px; border-radius: 50px; border: none; font-size: 1.05rem; box-shadow: var(--shadow-md); }

/* ---------------- Hero slider ---------------- */
.hero { position: relative; overflow: hidden; }
.hero-slide {
  position: relative; min-height: 84vh; display: none;
  background-size: cover; background-position: center;
  align-items: center;
}
.hero-slide.active { display: flex; animation: heroFade 1s ease; }
@keyframes heroFade { from { opacity: .3; } to { opacity: 1; } }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,15,10,.78) 0%, rgba(43,15,10,.5) 55%, rgba(43,15,10,.25) 100%); }
.hero-default-bg { background: radial-gradient(circle at 30% 30%, #7a2020, #3a0f0a); }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 680px; padding: 40px 0; }
.hero-content .eyebrow { color: var(--gold-light); letter-spacing: 3px; text-transform: uppercase; font-weight: 600; font-size: .8rem; }
.hero-content h1 { color: #fff; font-size: clamp(2rem, 5.5vw, 4rem); text-shadow: 0 4px 20px rgba(0,0,0,.4); margin: 14px 0; }
.hero-content p { font-size: clamp(1rem, 2vw, 1.25rem); color: #ffe9c9; margin-bottom: 28px; }
.hero-nav { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; cursor: pointer; transition: .3s; }
.hero-dot.active { background: var(--gold-light); width: 34px; border-radius: 20px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; border: none; cursor: pointer; font-size: 1.4rem; backdrop-filter: blur(4px); display: grid; place-items: center; }
.hero-arrow:hover { background: var(--gold); }
.hero-arrow.prev { left: 20px; } .hero-arrow.next { right: 20px; }
@media (max-width: 767px){ .hero-slide { min-height: 68vh; } .hero-arrow { display: none; } }

/* ---------------- Category cards ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
@media (max-width: 900px){ .cat-grid { grid-template-columns: 1fr; } }
.cat-card {
  position: relative; border-radius: var(--radius-lg); padding: 40px 30px; background: #fff;
  box-shadow: var(--shadow-sm); overflow: hidden; transition: .35s; border: 1px solid var(--line);
}
.cat-card::before { content: ""; position: absolute; inset: 0; padding: 2px; border-radius: inherit; background: linear-gradient(135deg, var(--gold-light), var(--saffron), var(--maroon)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: .35s; }
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.cat-card:hover::before { opacity: 1; }
.cat-icon { width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; font-size: 2rem; color: #fff; margin-bottom: 20px; background: linear-gradient(135deg, var(--saffron), var(--gold)); }
.cat-card.puja .cat-icon { background: linear-gradient(135deg, var(--maroon), var(--maroon-2)); }
.cat-card.katha .cat-icon { background: linear-gradient(135deg, #b8860b, var(--gold)); }
.cat-card h3 { font-size: 1.5rem; }
.cat-card ul { list-style: none; padding: 0; margin: 16px 0; }
.cat-card ul li { padding: 5px 0 5px 24px; position: relative; color: var(--muted); font-size: .93rem; }
.cat-card ul li::before { content: "\2726"; position: absolute; left: 0; color: var(--gold); }

/* ---------------- About ---------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 900px){ .about-grid { grid-template-columns: 1fr; } }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.about-img-fallback { border-radius: var(--radius-lg); min-height: 380px; background: radial-gradient(circle at 40% 30%, #8a2222, #3a0f0a); display: grid; place-items: center; color: var(--gold-light); font-size: 5rem; box-shadow: var(--shadow-md); }
.counters { display: flex; gap: 24px; margin: 28px 0; flex-wrap: wrap; }
.counter-item { text-align: center; }
.counter-item .num { font-family: var(--ff-head); font-size: 2.4rem; font-weight: 700; color: var(--saffron); }
.counter-item .lbl { font-size: .85rem; color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 20px 0; }
.feature-list li { padding: 6px 0 6px 30px; position: relative; }
.feature-list li::before { content: "\2714"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ---------------- Why choose us ---------------- */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 900px){ .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .why-grid { grid-template-columns: 1fr; } }
.why-card { background: #fff; border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: .3s; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-card .ico { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; color: var(--maroon); background: rgba(200,149,43,.14); margin-bottom: 16px; }
.why-card h4 { font-size: 1.15rem; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------------- Service cards ---------------- */
.svc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 1024px){ .svc-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 767px){ .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .svc-grid { grid-template-columns: 1fr; } }
.svc-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: .3s; display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.svc-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(135deg, var(--saffron), var(--maroon)); display: grid; place-items: center; }
.svc-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.svc-card:hover .thumb img { transform: scale(1.08); }
.svc-card .thumb .ph { color: #fff; font-size: 2.6rem; }
.svc-card .body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.svc-card .cat-tag { font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--saffron); font-weight: 600; }
.svc-card h4 { font-size: 1.1rem; margin: 6px 0; }
.svc-card p { color: var(--muted); font-size: .88rem; flex: 1; }
.svc-card .price { color: var(--maroon); font-weight: 700; }

/* ---------------- Gallery ---------------- */
.gallery-filter { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.gallery-filter button { padding: 8px 18px; border-radius: 50px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 500; color: var(--ink); transition: .25s; }
.gallery-filter button.active, .gallery-filter button:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.masonry { columns: 4 220px; column-gap: 16px; }
.masonry .g-item { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative; box-shadow: var(--shadow-sm); }
.masonry .g-item img { width: 100%; transition: .5s; }
.masonry .g-item:hover img { transform: scale(1.06); }
.masonry .g-item .g-cap { position: absolute; inset: auto 0 0 0; padding: 14px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); opacity: 0; transition: .3s; font-size: .85rem; }
.masonry .g-item:hover .g-cap { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 1200; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.lightbox .close { position: absolute; top: 20px; right: 26px; color: #fff; font-size: 2.4rem; cursor: pointer; background: none; border: none; }

/* ---------------- Testimonials ---------------- */
.testi-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: none; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-card { scroll-snap-align: start; flex: 0 0 clamp(280px, 32%, 380px); background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.testi-card .stars { color: var(--gold); margin-bottom: 12px; }
.testi-card .quote { font-style: italic; color: var(--ink); }
.testi-card .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi-card .who .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--saffron), var(--maroon)); display: grid; place-items: center; color: #fff; font-weight: 700; }
.testi-card .who .nm { font-weight: 600; color: var(--maroon); }
.testi-card .who .ct { font-size: .82rem; color: var(--muted); }

/* ---------------- Blog ---------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
@media (max-width: 900px){ .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: .3s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, var(--gold), var(--maroon)); display: grid; place-items: center; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.blog-card:hover .thumb img { transform: scale(1.06); }
.blog-card .thumb .ph { color: #fff; font-size: 2.4rem; }
.blog-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; gap: 12px; font-size: .78rem; color: var(--saffron); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.blog-card h4 { font-size: 1.2rem; margin: 0 0 8px; }
.blog-card p { color: var(--muted); font-size: .9rem; flex: 1; }

/* ---------------- CTA ---------------- */
.cta { background: radial-gradient(circle at 20% 20%, var(--maroon-2), var(--maroon)); color: #fff; border-radius: var(--radius-lg); padding: 60px 40px; text-align: center; position: relative; overflow: hidden; }
.cta::after { content: "\0950"; position: absolute; right: -10px; bottom: -30px; font-size: 12rem; color: rgba(255,255,255,.06); font-family: var(--ff-head); }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta p { color: #ffe9c9; max-width: 560px; margin: 0 auto 26px; }
.cta .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------- Footer ---------------- */
.footer { background: #241009; color: #d8c9b6; padding-top: 60px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; }
@media (max-width: 900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid { grid-template-columns: 1fr; } }
.footer h5 { color: var(--gold-light); font-family: var(--ff-head); font-size: 1.15rem; margin-bottom: 16px; }
.footer a { color: #d8c9b6; }
.footer a:hover { color: var(--gold-light); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 5px 0; }
.footer .fbrand img { height: 54px; margin-bottom: 14px; }
.footer .fbrand p { font-size: .9rem; }
.footer .social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); margin-right: 8px; font-size: 1rem; }
.footer .social a:hover { background: var(--gold); color: #241009; }
.footer .contact-li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: .9rem; }
.footer .contact-li i { color: var(--gold); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding: 20px 0; text-align: center; font-size: .85rem; }

/* ---------------- Page banner ---------------- */
.page-banner { position: relative; background: radial-gradient(circle at 30% 30%, var(--maroon-2), #3a0f0a); color: #fff; padding: 90px 0 70px; text-align: center; overflow: hidden; }
.page-banner.has-img::before { content: ""; position: absolute; inset: 0; background: rgba(43,15,10,.72); }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); position: relative; }
.page-banner .breadcrumb { position: relative; color: #ffe9c9; font-size: .9rem; }
.page-banner .breadcrumb a { color: var(--gold-light); }

/* ---------------- Forms ---------------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; font-size: .9rem; }
.form-control { width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; font-family: inherit; font-size: .95rem; background: var(--cream); transition: .25s; }
.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,149,43,.15); background: #fff; }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px){ .form-row { grid-template-columns: 1fr; } }

/* Alerts */
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: .92rem; }
.alert-success { background: #e6f6ec; color: #1a7a3f; border: 1px solid #b7e4c7; }
.alert-error { background: #fdeaea; color: #b02a2a; border: 1px solid #f5c2c2; }

/* FAQ */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 18px 22px; cursor: pointer; font-weight: 600; color: var(--maroon); display: flex; justify-content: space-between; align-items: center; }
.faq-q .ico { transition: .3s; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 22px; color: var(--muted); }
.faq-item.open .faq-a { max-height: 400px; padding: 0 22px 18px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
@media (max-width: 900px){ .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 26px 18px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; }
.step .n { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--saffron), var(--gold)); color: #fff; font-family: var(--ff-head); font-size: 1.3rem; font-weight: 700; display: grid; place-items: center; margin: 0 auto 14px; }
.step h4 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .88rem; margin: 0; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Loader */
.page-loader { position: fixed; inset: 0; background: var(--cream); z-index: 3000; display: grid; place-items: center; transition: opacity .5s; }
.page-loader.hide { opacity: 0; pointer-events: none; }
.loader-om { font-family: var(--ff-head); font-size: 4rem; color: var(--gold); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100%{ transform: scale(1); opacity: .7; } 50%{ transform: scale(1.15); opacity: 1; } }

/* Floating buttons */
.float-btns { position: fixed; right: 18px; bottom: 18px; z-index: 800; display: flex; flex-direction: column; gap: 12px; }
.float-btns a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.5rem; box-shadow: var(--shadow-md); transition: .3s; }
.float-btns a:hover { transform: scale(1.1); color: #fff; }
.float-btns .fb-wa { background: #25d366; }
.float-btns .fb-call { background: var(--maroon); }
.fb-top { background: var(--gold); cursor: pointer; border: none; }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 500; }
.pagination .current { background: var(--gold); color: #fff; border-color: var(--gold); }

/* Prose (blog/detail content) */
.prose { line-height: 1.8; color: var(--ink); }
.prose h2,.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: 12px; margin: 1em 0; }
.prose ul,.prose ol { padding-left: 1.4em; }
.prose blockquote { border-left: 4px solid var(--gold); padding: 8px 18px; background: #fff; margin: 1em 0; color: var(--muted); border-radius: 0 12px 12px 0; }
.prose iframe { width: 100%; aspect-ratio: 16/9; border-radius: 12px; border: 0; margin: 1em 0; }

.sidebar-widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.sidebar-widget h4 { font-size: 1.1rem; border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: 6px; }
