/* ==========================================================================
   LIC Sandeep – Astra child theme
   Base typography · Astra resets · header · drawer · footer · plan pages
   Component styles for widgets live in the LIC Sandeep Core plugin (lsc.css).
   ========================================================================== */

/* ---------- Tokens (mirrors the plugin, so the theme works on its own) ---------- */
body {
	--lsc-ink: var(--e-global-color-primary, #0e2348);
	--lsc-blue: var(--e-global-color-secondary, #1b4f9f);
	--lsc-text: var(--e-global-color-text, #3a4660);
	--lsc-gold: var(--e-global-color-accent, #fbc80e);
	--lsc-mist: #eef3fa;
	--lsc-line: #dce4f0;
	--lsc-muted: #66728a;
	--lsc-display: "Rozha One", Georgia, serif;
	--lsc-sans: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
	--lsc-gutter: clamp(16px, 4vw, 32px);
	--lsc-max: 1200px;
	--lst-header-h: 84px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--lst-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: clip; }
/* :where() keeps these base rules at element-level specificity, so component classes always win. */
body.lst,
:where(body.lst) button, :where(body.lst) input, :where(body.lst) select, :where(body.lst) textarea {
	font-family: var(--lsc-sans);
}
body.lst {
	font-size: 17px;
	line-height: 1.65;
	color: var(--lsc-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
:where(body.lst) h1, :where(body.lst) h2 { font-family: var(--lsc-display); font-weight: 400; color: var(--lsc-ink); line-height: 1.15; }
:where(body.lst) h3, :where(body.lst) h4, :where(body.lst) h5, :where(body.lst) h6 { font-family: var(--lsc-sans); font-weight: 700; color: var(--lsc-ink); line-height: 1.3; }
:where(body.lst) a { color: var(--lsc-blue); }
:where(body.lst) a:hover { color: var(--lsc-ink); }
body.lst ::selection { background: var(--lsc-gold); color: var(--lsc-ink); }
body.lst :focus-visible { outline: 3px solid var(--lsc-gold); outline-offset: 2px; }
.lst-wrap {
	width: 100%;
	max-width: calc(var(--lsc-max) + var(--lsc-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--lsc-gutter);
	box-sizing: border-box;
}
.lst *, .lst *::before, .lst *::after { box-sizing: border-box; }

/* ---------- Astra resets for full-width templates ---------- */
.lst-full .site-content > .ast-container,
.lst-full #content > .ast-container {
	max-width: 100%;
	padding: 0;
	display: block;
}
.lst-full .site-content { padding: 0 !important; }
.lst-full #primary, .lst-full .lst-main { margin: 0; padding: 0; width: 100%; }
.lst-full .entry-header { display: none; }
.lst-main { display: block; width: 100%; }

/* Elementor defaults: no gaps between our full-width bands */
.lsc-site .elementor-section.elementor-section-full_width > .elementor-container { max-width: none; }
.lsc-site .elementor-widget-container > .lsc-band:only-child,
.lsc-site .elementor-widget-container > .lsc-hero:only-child { margin: 0; }
.lsc-site .elementor-widget:has(> .elementor-widget-container > .lsc-band),
.lsc-site .elementor-widget:has(> .lsc-band) { margin-bottom: 0; }

/* ---------- Top bar ---------- */
.lst-topbar {
	background: var(--lsc-ink);
	color: rgba(255, 255, 255, .78);
	font-size: .92rem;
	line-height: 1;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.lst-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.lst-topbar ul { list-style: none; margin: 0; padding: 0; }
.lst-topbar__contact { display: flex; gap: 22px; align-items: center; }
.lst-topbar__contact li { display: flex; align-items: center; gap: 6px; margin: 0; }
.lst-topbar a { color: rgba(255, 255, 255, .85) !important; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.lst-topbar a:hover { color: var(--lsc-gold) !important; }
.lst-topbar .lsc-ico { width: 15px; height: 15px; color: var(--lsc-gold); }
.lst-sep { opacity: .4; }
.lst-topbar__right { display: flex; align-items: center; gap: 18px; }
.lst-topbar__note { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .6); }
.lst-topbar__social a { width: 28px; height: 28px; background: transparent; }
.lst-topbar__social a:hover { background: rgba(255, 255, 255, .1); color: var(--lsc-gold) !important; transform: none; }
.lst-topbar__social .lsc-ico { width: 14px; height: 14px; color: currentColor; }

/* ---------- Main header ---------- */
.lst-header {
	position: sticky; top: 0; z-index: 900;
	background: rgba(255, 255, 255, .97);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .3s, border-color .3s;
}
.admin-bar .lst-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .lst-header { top: 0; } }
.lst-header.is-stuck { border-color: var(--lsc-line); box-shadow: 0 10px 30px -18px rgba(14, 35, 72, .35); }
.lst-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--lst-header-h); transition: min-height .3s; }
.lst-header.is-stuck .lst-header__inner { min-height: 68px; }

.lst-logo { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.lst-logo__img { width: auto; height: 62px; max-width: 190px; object-fit: contain; transition: height .3s; }
.lst-header.is-stuck .lst-logo__img { height: 50px; }
.lst-logo--sm .lst-logo__img { height: 48px; }

/* Desktop menu */
.lst-nav { margin-left: auto; min-width: 0; }
.lst-menu a { white-space: nowrap; }
.lst-menu { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.lst-menu > li { position: relative; margin: 0; }
.lst-menu > li > a {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 10px 13px; border-radius: 10px;
	font-weight: 600; font-size: 1.02rem; line-height: 1;
	color: var(--lsc-ink) !important; text-decoration: none;
	transition: background-color .2s, color .2s;
}
.lst-menu > li > a:hover,
.lst-menu > li:focus-within > a { background: var(--lsc-mist); }
.lst-menu > li.current-menu-item > a,
.lst-menu > li.current-menu-ancestor > a,
.lst-menu > li.current_page_item > a { color: var(--lsc-blue) !important; box-shadow: inset 0 -2px 0 var(--lsc-gold); border-radius: 10px 10px 4px 4px; }
.lst-caret { width: 15px; height: 15px; opacity: .55; transition: transform .25s; }
.lst-menu > li:hover .lst-caret, .lst-menu > li:focus-within .lst-caret { transform: rotate(180deg); }

.lst-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px;
	position: absolute; top: calc(100% + 8px); left: -8px; min-width: 250px;
	background: #fff; border-radius: 14px; border: 1px solid var(--lsc-line);
	box-shadow: 0 24px 50px -20px rgba(14, 35, 72, .35);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .2s, transform .25s cubic-bezier(.2, .7, .2, 1), visibility 0s .25s;
	z-index: 20;
}
.lst-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.lst-menu > li:hover > .sub-menu,
.lst-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lst-menu .sub-menu li { margin: 0; }
.lst-menu .sub-menu a {
	display: block; padding: 10px 12px; border-radius: 9px;
	color: var(--lsc-ink) !important; font-weight: 500; font-size: .98rem; line-height: 1.3; text-decoration: none;
	transition: background-color .15s, padding .2s;
}
.lst-menu .sub-menu a:hover, .lst-menu .sub-menu a:focus-visible { background: var(--lsc-mist); padding-left: 16px; }
.lst-menu .sub-menu .current-menu-item > a { color: var(--lsc-blue) !important; font-weight: 700; }

/* Header actions */
.lst-header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.lst-call { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lsc-ink) !important; }
.lst-call__ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--lsc-mist); color: var(--lsc-blue); transition: background-color .2s, color .2s; }
.lst-call:hover .lst-call__ico { background: var(--lsc-gold); color: var(--lsc-ink); }
.lst-call__ico .lsc-ico { width: 19px; height: 19px; }
.lst-call__txt { display: flex; flex-direction: column; font-weight: 800; font-size: 1.02rem; line-height: 1.15; }
.lst-call__txt small { font-weight: 500; font-size: .8rem; color: var(--lsc-muted); }
.lst-header__cta { min-height: 46px; }

.lst-burger { display: none; width: 46px; height: 46px; border: 1px solid var(--lsc-line); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; position: relative; }
.lst-burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--lsc-ink); transition: transform .3s, opacity .2s; }
.lst-burger span:nth-child(1) { top: 15px; }
.lst-burger span:nth-child(2) { top: 22px; right: 18px; }
.lst-burger span:nth-child(3) { top: 29px; }
.lst-burger:hover { border-color: var(--lsc-ink); }

/* ---------- Mobile drawer ---------- */
.lst-drawer { position: fixed; inset: 0; z-index: 9999; }
.lst-drawer[hidden] { display: none; }
.lst-drawer__backdrop { position: absolute; inset: 0; background: rgba(8, 20, 44, .55); opacity: 0; transition: opacity .3s; }
.lst-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw);
	background: #fff; display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
	box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .4);
}
.lst-drawer.is-open .lst-drawer__backdrop { opacity: 1; }
.lst-drawer.is-open .lst-drawer__panel { transform: none; }
.lst-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--lsc-line); }
.lst-drawer__close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--lsc-line); background: #fff; color: var(--lsc-ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.lst-drawer__close .lsc-ico { width: 20px; height: 20px; }
.lst-drawer__nav { flex: 1; overflow-y: auto; padding: 10px 10px 20px; }
.lst-mmenu, .lst-mmenu .sub-menu { list-style: none; margin: 0; padding: 0; }
.lst-mmenu li { margin: 0; position: relative; }
.lst-mmenu > li { border-bottom: 1px solid var(--lsc-mist); }
.lst-mmenu a { display: flex; align-items: center; justify-content: space-between; padding: 14px 10px; color: var(--lsc-ink) !important; font-weight: 600; font-size: 1.08rem; text-decoration: none; }
.lst-mmenu .lst-caret { display: none; }
.lst-mmenu .current-menu-item > a { color: var(--lsc-blue) !important; }
.lst-mmenu .sub-menu { display: none; padding: 0 0 10px 10px; }
.lst-mmenu .sub-menu a { font-weight: 500; font-size: 1rem; padding: 10px; color: var(--lsc-text) !important; }
.lst-mmenu li.is-open > .sub-menu { display: block; }
.lst-subtoggle { position: absolute; right: 0; top: 4px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--lsc-ink); display: grid; place-items: center; cursor: pointer; padding: 0; border-radius: 10px; }
.lst-subtoggle:hover { background: var(--lsc-mist); }
.lst-subtoggle .lsc-ico { width: 20px; height: 20px; transition: transform .25s; }
li.is-open > .lst-subtoggle .lsc-ico { transform: rotate(180deg); }
.lst-mmenu .menu-item-has-children > a { padding-right: 52px; }
.lst-drawer__foot { padding: 16px 18px 22px; display: grid; gap: 10px; border-top: 1px solid var(--lsc-line); }

/* ---------- Footer ---------- */
.lst-footer { background: #0a1b39; color: rgba(255, 255, 255, .7); font-size: .98rem; position: relative; }
.lst-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--lsc-gold), #e8a200 40%, var(--lsc-blue)); }
.lst-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(56px, 7vw, 84px) 44px; }
.lst-footer__logo { display: inline-block; background: #fff; border-radius: 14px; padding: 8px 14px; margin-bottom: 18px; }
.lst-footer__logo .lst-logo__img { height: 54px; }
.lst-footer__brand p { margin: 0 0 20px; line-height: 1.65; max-width: 40ch; }
.lst-footer__title { font-family: var(--lsc-sans) !important; font-size: 1.05rem !important; font-weight: 700 !important; color: #fff !important; margin: 0 0 18px; letter-spacing: .01em; }
.lst-flinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lst-flinks--2col { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.lst-flinks li { margin: 0; }
.lst-flinks a, .lst-fcontact a { color: rgba(255, 255, 255, .72) !important; text-decoration: none; transition: color .2s; }
.lst-flinks a:hover, .lst-fcontact a:hover { color: var(--lsc-gold) !important; }
.lst-fcontact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lst-fcontact li { display: flex; gap: 12px; margin: 0; line-height: 1.55; }
.lst-fcontact .lsc-ico { flex: none; width: 19px; height: 19px; margin-top: 3px; color: var(--lsc-gold); }
.lst-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.lst-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 10px 30px; flex-wrap: wrap; padding-block: 20px; font-size: .88rem; }
.lst-footer__bottom p { margin: 0; }
.lst-footer__disclaimer { color: rgba(255, 255, 255, .5); max-width: 70ch; }

.lst-totop {
	position: fixed; left: 18px; bottom: 18px; z-index: 980;
	width: 46px; height: 46px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
	display: grid; place-items: center; background: var(--lsc-ink); color: #fff;
	box-shadow: 0 10px 24px -10px rgba(14, 35, 72, .6);
	opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s, background-color .2s;
}
.lst-totop.is-visible { opacity: 1; transform: none; }
.lst-totop:hover { background: var(--lsc-gold); color: var(--lsc-ink); }
.lst-totop .lsc-ico { width: 20px; height: 20px; }

/* ---------- Plan single ---------- */
.lst-plan__type { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 600; color: var(--lsc-gold); }
.lst-plan__type .lsc-ico { width: 22px; height: 22px; }
.lst-plan__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.lst-chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-size: .9rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, .2); }
.lst-plan__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 64px); padding-block: clamp(40px, 6vw, 72px); align-items: start; }
.lst-plan__body { min-width: 0; }
.lst-entry > p:first-child { font-size: 1.2rem; line-height: 1.65; color: var(--lsc-ink); }
.lst-entry > *:first-child { margin-top: 0; }
.lst-plan__help { display: flex; gap: 16px; align-items: flex-start; margin-top: 32px; padding: 20px; border-radius: 16px; background: var(--lsc-mist); }
.lst-plan__help p { margin: 0; }
.lst-plan__side { position: sticky; top: calc(var(--lst-header-h) + 20px); display: grid; gap: 20px; }
.lst-side-card { background: #fff; border-radius: 22px; padding: 26px 24px; box-shadow: 0 2px 4px rgba(14, 35, 72, .06), 0 24px 48px -18px rgba(14, 35, 72, .28); border-top: 4px solid var(--lsc-gold); }
.lst-side-card .lsc-form__title { font-size: 1.3rem; }
.lst-side-card .lsc-field--half { grid-column: span 6; }
.lst-side-card .lsc-field--third { grid-column: span 6; }
.lst-side-poster { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--lsc-line); }
.lst-side-poster img { display: block; width: 100%; height: auto; }

/* Plan type page (stacked plans) */
.lst-ptype__body { min-width: 0; }
.lst-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; padding: 14px 16px; border-radius: 14px; background: var(--lsc-mist); }
.lst-jump span { font-weight: 700; color: var(--lsc-ink); margin-right: 4px; }
.lst-jump a { display: inline-flex; padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--lsc-ink) !important; font-weight: 600; font-size: .94rem; text-decoration: none; box-shadow: 0 0 0 1px var(--lsc-line); transition: background-color .2s, box-shadow .2s; }
.lst-jump a:hover { background: var(--lsc-gold); box-shadow: none; }
.lst-ptype__plan { scroll-margin-top: calc(var(--lst-header-h) + 20px); }
.lst-ptype__plan + .lst-ptype__plan { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--lsc-line); }
.lst-ptype__head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 16px; }
.lst-ptype__head h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin: 0; }
.lst-chip--light { background: var(--lsc-mist); color: var(--lsc-ink); border-color: var(--lsc-line); }
.lst-ptype__more { margin: 8px 0 0; }
.lst-side-list { background: #fff; border-radius: 18px; padding: 20px; box-shadow: 0 0 0 1px var(--lsc-line); }
.lst-side-list h2 { font-family: var(--lsc-sans); font-size: 1.05rem; font-weight: 700; margin: 0 0 10px; }
.lst-side-list ul { list-style: none; margin: 0; padding: 0; }
.lst-side-list li { margin: 0; }
.lst-side-list a { display: flex; align-items: center; gap: 10px; padding: 10px 6px; border-radius: 10px; color: var(--lsc-ink) !important; text-decoration: none; font-weight: 600; transition: background-color .2s; }
.lst-side-list a:hover { background: var(--lsc-mist); }
.lst-side-list .lsc-ico { width: 20px; height: 20px; color: var(--lsc-blue); }

/* Archive tabs as links */
.lst-tabs-links .lsc-tab { text-decoration: none; }

/* Plain (non-Elementor) pages & blog posts: comfortable reading */
.lst:not(.lst-full) .entry-content { font-size: 1.06rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
	.lst-call__txt { display: none; }
	.lst-menu > li > a { padding: 10px 10px; font-size: .98rem; }
}
@media (max-width: 1024px) {
	:root body { --lst-header-h: 72px; }
	.lst-nav, .lst-header__cta { display: none; }
	.lst-burger { display: inline-block; }
	.lst-header__actions { margin-left: auto; }
	.lst-logo__img { height: 52px; }
	.lst-header.is-stuck .lst-logo__img { height: 46px; }
	.lst-footer__grid { grid-template-columns: 1fr 1fr; }
	.lst-plan__layout { grid-template-columns: 1fr; }
	.lst-plan__side { position: static; }
}
@media (max-width: 600px) {
	.lst-hide-sm { display: none !important; }
	.lst-topbar__inner { justify-content: center; }
	.lst-topbar__right { display: none; }
	.lst-footer__grid { grid-template-columns: 1fr; }
	.lst-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
	.lst-totop { left: auto; right: 18px; bottom: 84px; }
}
