/* ==========================================================================
   Suraksha Dental Hospital – design system
   Blue = primary · Lime = secondary · Orange = accent
   ========================================================================== */

:root {
	--sd-blue: #006db6;
	--sd-blue-d: #005592;
	--sd-blue-dd: #0a3a63;
	--sd-lime: #a8cf00;
	--sd-lime-d: #86a600;
	--sd-orange: #f57c00;
	--sd-orange-d: #d96a00;

	--sd-ink: #172b3a;
	--sd-muted: #5b6875;
	--sd-line: #e5eaf0;
	--sd-bg: #ffffff;
	--sd-bg-alt: #f7fafc;
	--sd-bg-soft: #f0f8fc;

	--sd-font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sd-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--sd-r-sm: 10px;
	--sd-r-md: 14px;
	--sd-r-lg: 20px;
	--sd-shadow: 0 1px 2px rgba(23, 43, 58, .04), 0 6px 20px rgba(23, 43, 58, .06);
	--sd-shadow-up: 0 2px 4px rgba(23, 43, 58, .05), 0 14px 32px rgba(0, 109, 182, .13);
	--sd-ease: cubic-bezier(.2, .7, .2, 1);

	--sd-header-h: 84px;
	--sd-gutter: 20px;
}

/* Re-map the parent theme / Elementor palette so inner pages follow the brand. */
body.sd-site {
	--paletteColor1: #5b6875;
	--paletteColor2: #172b3a;
	--paletteColor3: #006db6;
	--paletteColor4: #172b3a;
	--paletteColor5: #ffffff;
	--paletteColor6: #e5eaf0;
	--paletteColor7: #f0f8fc;
	--paletteColor8: #f7fafc;
	--e-global-color-primary: #006db6;
	--e-global-color-secondary: #172b3a;
	--e-global-color-text: #5b6875;
	--e-global-color-accent: #f57c00;
	--e-global-color-rishi3: #006db6;
	--e-global-color-rishi1: #5b6875;
	--e-global-color-rishi4: #172b3a;
	--e-global-color-rishi7: #f0f8fc;
	--e-global-color-rishi8: #f7fafc;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sd-header-h) + 12px); }
body.sd-site {
	margin: 0;
	background: var(--sd-bg);
	color: var(--sd-muted);
	font-family: var(--sd-font-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.sd-site *, body.sd-site *::before, body.sd-site *::after { box-sizing: border-box; }
:where(.sd-site) img { max-width: 100%; height: auto; display: block; }
:where(.sd-site) :is(h1, h2, h3, h4) { font-family: var(--sd-font-head); color: var(--sd-ink); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
html body.sd-site h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
html body.sd-site h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
html body.sd-site h3 { font-size: 1.15rem; font-weight: 700; }
html body.sd-site h4 { font-size: 1.05rem; font-weight: 700; }
:where(.sd-site) p { margin: 0 0 1em; }
:where(.sd-site) a { color: var(--sd-blue); text-decoration: none; }
:where(.sd-site) a:hover { color: var(--sd-blue-d); }
.sd-site :focus-visible { outline: 3px solid var(--sd-orange); outline-offset: 3px; border-radius: 6px; }
.sd-icon { flex: none; }

.sd-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--sd-gutter); }
.sd-skip { position: absolute; left: -999px; top: 8px; background: var(--sd-blue); color: #fff !important; padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.sd-skip:focus { left: 12px; }
.sd-center { text-align: center; margin-top: 32px; }

/* ---------- Buttons ---------- */
.sd-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 24px;
	border: 2px solid transparent; border-radius: var(--sd-r-sm);
	font-family: var(--sd-font-head); font-weight: 700; font-size: 1rem; line-height: 1.2;
	cursor: pointer; text-align: center;
	transition: background-color .25s var(--sd-ease), color .25s var(--sd-ease), border-color .25s var(--sd-ease), transform .25s var(--sd-ease), box-shadow .25s var(--sd-ease);
}
.sd-btn:hover { transform: translateY(-2px); }
.sd-btn--primary { background: var(--sd-blue); color: #fff !important; }
.sd-btn--primary:hover { background: var(--sd-blue-d); box-shadow: 0 8px 20px rgba(0, 109, 182, .28); }
.sd-btn--secondary { background: #fff; color: var(--sd-blue) !important; border-color: var(--sd-blue); }
.sd-btn--secondary:hover { background: var(--sd-bg-soft); }
.sd-btn--accent { background: var(--sd-orange); color: #fff !important; }
.sd-btn--accent:hover { background: var(--sd-orange-d); box-shadow: 0 8px 20px rgba(245, 124, 0, .3); }
.sd-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .7); }
.sd-btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.sd-btn--lg { min-height: 54px; padding: 14px 28px; }
.sd-btn--block { width: 100%; }

.sd-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-family: var(--sd-font-head); font-size: .95rem; color: var(--sd-blue); }
.sd-link-arrow .sd-icon { transition: transform .25s var(--sd-ease); }
.sd-link-arrow:hover .sd-icon, a:hover > .sd-link-arrow .sd-icon { transform: translateX(4px); }
.sd-link-arrow--light { color: #fff !important; }

/* ---------- Header ---------- */
.sd-header {
	position: sticky; top: 0; z-index: 900;
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .3s var(--sd-ease), border-color .3s var(--sd-ease);
}
.sd-header.is-scrolled { box-shadow: 0 6px 24px rgba(23, 43, 58, .08); border-color: var(--sd-line); }
.sd-header__inner { display: flex; align-items: center; gap: 18px; min-height: var(--sd-header-h); transition: min-height .3s var(--sd-ease); }
.sd-header.is-scrolled .sd-header__inner { min-height: 68px; }

.sd-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--sd-ink) !important; flex: none; }
.sd-brand__logo { width: auto; height: 62px; transition: height .3s var(--sd-ease); }
.sd-header.is-scrolled .sd-brand__logo { height: 50px; }
.sd-brand__text { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--sd-font-head); }
.sd-brand__text strong { font-size: 1.3rem; font-weight: 800; color: var(--sd-blue); letter-spacing: -.01em; }
.sd-brand__text span { font-size: .78rem; font-weight: 600; color: var(--sd-muted); letter-spacing: .08em; text-transform: uppercase; }

.sd-nav { margin-left: auto; }
.sd-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.sd-nav__item { position: relative; }
.sd-nav__item > a {
	display: block; padding: 10px 9px; border-radius: 8px;
	font-family: var(--sd-font-head); font-weight: 600; font-size: .95rem; color: var(--sd-ink);
	position: relative; transition: color .2s;
}
.sd-nav__item > a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 5px; height: 2px; background: var(--sd-orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--sd-ease); }
.sd-nav__item > a:hover, .sd-nav__item.is-current > a { color: var(--sd-blue); }
.sd-nav__item > a:hover::after, .sd-nav__item.is-current > a::after { transform: scaleX(1); }
.sd-nav__item.has-sub > a { padding-right: 24px; }
.sd-nav__item.has-sub > a::before { content: ""; position: absolute; right: 10px; top: 50%; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); }
.sd-sub {
	position: absolute; left: 0; top: 100%; min-width: 280px; margin: 0; padding: 8px; list-style: none;
	background: #fff; border: 1px solid var(--sd-line); border-radius: var(--sd-r-md); box-shadow: var(--sd-shadow-up);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--sd-ease), visibility .25s;
	max-height: 70vh; overflow: auto;
}
.sd-nav__item:hover > .sd-sub, .sd-nav__item:focus-within > .sd-sub { opacity: 1; visibility: visible; transform: none; }
.sd-sub a { display: block; padding: 9px 14px; border-radius: 8px; font-size: .92rem; color: var(--sd-ink); }
.sd-sub a:hover { background: var(--sd-bg-soft); color: var(--sd-blue); }

.sd-header__cta { display: flex; align-items: center; gap: 18px; }
.sd-header__call { white-space: nowrap; display: flex; align-items: center; gap: 10px; color: var(--sd-ink) !important; font-family: var(--sd-font-head); font-weight: 700; font-size: .95rem; line-height: 1.2; }
.sd-header__call .sd-icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--sd-bg-soft); color: var(--sd-blue); transition: background .25s, color .25s; }
.sd-header__call:hover .sd-icon { background: var(--sd-blue); color: #fff; }
.sd-header__call span { display: flex; flex-direction: column; }
.sd-header__call small { display: none; font-size: .72rem; font-weight: 500; color: var(--sd-muted); }
.sd-header__book { white-space: nowrap; min-height: 44px; padding: 10px 20px; font-size: .95rem; }

.sd-header__iconbtn { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: var(--sd-bg-soft); color: var(--sd-blue) !important; cursor: pointer; }
.sd-header__iconbtn:hover { background: var(--sd-blue); color: #fff !important; }

/* Mobile drawer */
.sd-drawer { position: fixed; inset: 0; z-index: 1100; background: #fff; display: flex; flex-direction: column; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--sd-ease); }
.sd-drawer[hidden] { display: none; }
.sd-drawer.is-open { transform: none; }
.sd-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--sd-line); }
.sd-drawer__head .sd-header__iconbtn { display: inline-flex; }
.sd-drawer__list { list-style: none; margin: 0; padding: 8px 20px; }
.sd-drawer__list a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--sd-line); font-family: var(--sd-font-head); font-weight: 700; font-size: 1.15rem; color: var(--sd-ink); }
.sd-drawer__list a .sd-icon { color: var(--sd-orange); }
.sd-drawer__foot { margin-top: auto; padding: 20px; display: grid; gap: 12px; }
body.sd-lock { overflow: hidden; }

/* ---------- Sections ---------- */
.sd-main { display: block; }
.sd-section { padding: clamp(56px, 8vw, 104px) 0; }
.sd-section--tight { padding-top: 0; }
.sd-section--tint { background: var(--sd-bg-alt); }
.sd-section--soft { background: var(--sd-bg-soft); }
.sd-head { max-width: 720px; margin-bottom: 40px; }
.sd-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--sd-font-head); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sd-blue); }
.sd-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--sd-lime); }
.sd-eyebrow--light { color: #fff; }
.sd-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

/* ---------- Hero ---------- */
.sd-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sd-bg-soft) 0%, #fff 100%); padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); }
.sd-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
html body.sd-site .sd-main :is(h1, h2, h3, h4) { color: var(--sd-ink); }
html body.sd-site .sd-hero h1 span { color: var(--sd-blue); display: block; }
html body.sd-site .sd-pagehead h1, html body.sd-site .sd-cta h2 { color: #fff; }
.sd-lead { font-size: 1.15rem; max-width: 560px; margin: 20px 0 28px; }
.sd-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.sd-hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 28px 0 0; padding: 0; font-weight: 600; font-size: .95rem; color: var(--sd-ink); }
.sd-hero__points li { display: inline-flex; align-items: center; gap: 6px; }
.sd-hero__points .sd-icon { color: var(--sd-lime-d); }
.sd-hero__visual { position: relative; padding: 24px; }
.sd-hero__img { position: relative; z-index: 2; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 109, 182, .22); aspect-ratio: 5 / 5.4; }
.sd-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.sd-blob { position: absolute; border-radius: 50%; z-index: 1; }
.sd-blob--lime { width: 150px; height: 150px; background: var(--sd-lime); opacity: .9; right: -4px; top: -4px; }
.sd-ring { position: absolute; z-index: 3; left: -6px; bottom: 10%; width: 120px; height: 120px; border-radius: 50%; border: 10px solid var(--sd-orange); border-right-color: transparent; border-bottom-color: transparent; transform: rotate(-20deg); }
.sd-hero__visual::before { content: ""; position: absolute; inset: 8% -4% -2% 12%; border-radius: 40px; background: radial-gradient(60% 60% at 50% 50%, rgba(0, 109, 182, .22), transparent 70%); z-index: 0; filter: blur(20px); }
.sd-hero__badge { position: absolute; z-index: 4; right: 0; bottom: 6%; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; border-radius: var(--sd-r-md); box-shadow: var(--sd-shadow-up); color: var(--sd-blue); }
.sd-hero__badge span { display: flex; flex-direction: column; font-size: .85rem; line-height: 1.3; color: var(--sd-muted); }
.sd-hero__badge strong { color: var(--sd-ink); font-family: var(--sd-font-head); }

/* ---------- Trust strip ---------- */
.sd-trust { background: #fff; border-bottom: 1px solid var(--sd-line); }
.sd-trust__list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.sd-trust__list li { display: flex; flex-direction: column; gap: 2px; padding: 28px 20px; text-align: center; border-left: 1px solid var(--sd-line); }
.sd-trust__list li:first-child { border-left: 0; }
.sd-trust__list strong { font-family: var(--sd-font-head); font-size: 1.9rem; font-weight: 800; color: var(--sd-blue); line-height: 1.1; }
.sd-trust__list span { font-size: .9rem; }

/* ---------- About ---------- */
.sd-about__media { position: relative; padding-bottom: 36px; }
.sd-frame { border-radius: var(--sd-r-lg); overflow: hidden; box-shadow: var(--sd-shadow-up); }
.sd-frame img { width: 100%; height: auto; transition: transform .8s var(--sd-ease); }
.sd-frame:hover img { transform: scale(1.04); }
.sd-about__media::before { content: ""; position: absolute; left: -14px; top: -14px; width: 40%; height: 40%; border-radius: var(--sd-r-lg); background: var(--sd-lime); opacity: .35; z-index: -1; }
.sd-about__card { position: absolute; left: 20px; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 12px 20px 12px 12px; background: #fff; border-radius: var(--sd-r-md); box-shadow: var(--sd-shadow-up); }
.sd-about__doc { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--sd-bg-soft); }
.sd-about__card div { display: flex; flex-direction: column; line-height: 1.3; }
.sd-about__card strong { font-family: var(--sd-font-head); color: var(--sd-ink); }
.sd-about__card span { font-size: .85rem; }
.sd-about__copy h2 { margin-bottom: 18px; }
.sd-checks { list-style: none; margin: 20px 0 28px; padding: 0; display: grid; gap: 10px; }
.sd-checks li { display: flex; align-items: flex-start; gap: 10px; color: var(--sd-ink); font-weight: 500; }
.sd-checks .sd-icon { color: #fff; background: var(--sd-lime-d); border-radius: 50%; padding: 3px; margin-top: 2px; }

/* ---------- Cards / services ---------- */
.sd-grid { display: grid; gap: 22px; }
.sd-grid--3 { grid-template-columns: repeat(3, 1fr); }
.sd-grid--4 { grid-template-columns: repeat(4, 1fr); }
.sd-group + .sd-group { margin-top: 44px; }
.sd-group__title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sd-blue-dd); }
.sd-group__title::after { content: ""; flex: 1; height: 1px; background: var(--sd-line); }
.sd-card { background: #fff; border: 1px solid var(--sd-line); border-radius: var(--sd-r-lg); box-shadow: var(--sd-shadow); }
.sd-service { display: flex; flex-direction: column; gap: 10px; padding: 26px; color: var(--sd-muted) !important; transition: transform .3s var(--sd-ease), box-shadow .3s var(--sd-ease), border-color .3s; }
.sd-service:hover { transform: translateY(-4px); border-color: var(--sd-blue); box-shadow: var(--sd-shadow-up); }
.sd-service h4 { margin-top: 6px; }
.sd-service p { margin: 0; font-size: .96rem; flex: 1; }
.sd-service__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: var(--sd-bg-soft); color: var(--sd-blue); transition: background .3s, color .3s, transform .3s var(--sd-ease); }
.sd-service:hover .sd-service__icon { background: var(--sd-blue); color: #fff; transform: rotate(-6deg); }
.sd-service .sd-link-arrow { margin-top: 6px; }

/* ---------- Featured ---------- */
.sd-feature { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 22px; min-height: 560px; }
.sd-fcard { position: relative; display: block; overflow: hidden; border-radius: var(--sd-r-lg); background: var(--sd-blue-dd); isolation: isolate; min-height: 260px; }
.sd-fcard--big { grid-row: span 2; }
.sd-fcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--sd-ease); }
.sd-fcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 58, 99, 0) 20%, rgba(10, 58, 99, .94) 100%); }
.sd-fcard:hover img { transform: scale(1.05); }
.sd-fcard__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px; color: #fff; }
.sd-fcard__body strong { font-family: var(--sd-font-head); font-size: 1.15rem; line-height: 1.35; font-weight: 700; max-width: 420px; }
.sd-fcard--big .sd-fcard__body strong { font-size: 1.5rem; }
.sd-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--sd-lime); color: #172b3a; font-family: var(--sd-font-head); font-size: .78rem; font-weight: 700; }

/* ---------- Why us ---------- */
.sd-why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.sd-why__intro { position: sticky; top: calc(var(--sd-header-h) + 24px); }
.sd-why__intro h2 { margin-bottom: 16px; }
.sd-why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sd-why__list li { display: flex; gap: 14px; padding: 22px; background: #fff; border: 1px solid var(--sd-line); border-radius: var(--sd-r-md); }
.sd-why__list h3 { font-size: 1rem; margin-bottom: 6px; }
.sd-why__list p { margin: 0; font-size: .93rem; line-height: 1.6; }
.sd-why__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(168, 207, 0, .22); color: #5a6e00; }

/* ---------- Steps ---------- */
.sd-steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.sd-steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 28px; border-top: 2px dashed #b9d7ea; z-index: 0; }
.sd-steps li { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.sd-steps li > span { display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--sd-blue); font-family: var(--sd-font-head); font-weight: 800; color: var(--sd-blue); transition: background .3s, color .3s; }
.sd-steps li:hover > span { background: var(--sd-blue); color: #fff; }
.sd-steps li:last-child > span { border-color: var(--sd-orange); color: var(--sd-orange); }
.sd-steps h3 { margin-bottom: 8px; }
.sd-steps p { font-size: .95rem; margin: 0; }

/* ---------- Testimonials ---------- */
.sd-testi { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.sd-quote { margin: 0; padding: 28px; background: #fff; border: 1px solid var(--sd-line); border-radius: var(--sd-r-lg); box-shadow: var(--sd-shadow); display: flex; flex-direction: column; gap: 14px; }
.sd-quote__mark { color: var(--sd-lime); }
.sd-quote__mark .sd-icon { fill: currentColor; stroke: none; }
.sd-quote blockquote { margin: 0; flex: 1; }
.sd-quote blockquote p { margin: 0; color: var(--sd-ink); font-size: 1.02rem; }
.sd-quote figcaption { display: flex; align-items: center; gap: 12px; font-family: var(--sd-font-head); font-weight: 700; color: var(--sd-ink); }
.sd-avatar { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: var(--sd-blue); color: #fff; font-weight: 800; }

/* ---------- Gallery ---------- */
.sd-gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sd-gal__item { display: block; overflow: hidden; border-radius: var(--sd-r-md); background: var(--sd-bg-soft); aspect-ratio: 4 / 3; position: relative; }
.sd-gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--sd-ease); }
.sd-gal__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 109, 182, .35), transparent 55%); opacity: 0; transition: opacity .3s; }
.sd-gal__item:hover img { transform: scale(1.07); }
.sd-gal__item:hover::after { opacity: 1; }
.sd-gal--masonry { display: block; column-count: 4; column-gap: 14px; }
.sd-gal--masonry .sd-gal__item { display: block; break-inside: avoid; margin-bottom: 14px; aspect-ratio: auto; }
.sd-gal--masonry .sd-gal__item img { height: auto; }

.sd-lb { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(10, 30, 48, .92); }
.sd-lb.is-open { display: flex; }
.sd-lb img { max-width: min(1200px, 100%); max-height: 86vh; width: auto; height: auto; border-radius: 12px; }
.sd-lb button { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.sd-lb button:hover { background: rgba(255, 255, 255, .28); }
.sd-lb__close { top: 18px; right: 18px; }
.sd-lb__prev { left: 18px; top: 50%; }
.sd-lb__next { right: 18px; top: 50%; }

/* ---------- Contact ---------- */
.sd-contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.sd-contact__info h2 { margin-bottom: 14px; }
.sd-info { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.sd-info li { display: flex; gap: 16px; }
.sd-info h3 { font-size: 1rem; margin-bottom: 2px; }
.sd-info p { margin: 0 0 4px; font-size: .98rem; }
.sd-info__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--sd-blue); border: 1px solid var(--sd-line); }
.sd-formcard { padding: clamp(22px, 3vw, 36px); background: #fff; border: 1px solid var(--sd-line); border-radius: var(--sd-r-lg); box-shadow: var(--sd-shadow-up); }
.sd-formcard h3 { font-size: 1.35rem; margin-bottom: 18px; }
.sd-map { position: relative; border-radius: var(--sd-r-lg); overflow: hidden; border: 1px solid var(--sd-line); box-shadow: var(--sd-shadow); }
.sd-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.sd-map__btn { position: absolute; left: 16px; bottom: 16px; }

/* Forms (Contact Form 7 + generic) */
.sd-site .wpcf7 form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; }
.sd-site .wpcf7 form > *, .sd-site .wpcf7 .sd-row2 > * { min-width: 0; }
.sd-site .wpcf7 p { margin: 0; }
.sd-site .wpcf7 label { display: block; font-weight: 600; font-size: .92rem; color: var(--sd-ink); margin-bottom: 6px; }
.sd-site .wpcf7 input[type="text"], .sd-site .wpcf7 input[type="email"], .sd-site .wpcf7 input[type="tel"], .sd-site .wpcf7 input[type="date"],
.sd-site .wpcf7 select, .sd-site .wpcf7 textarea {
	width: 100%; min-height: 50px; padding: 12px 16px; font: inherit; font-size: 1rem; color: var(--sd-ink);
	background: #fff; border: 1.5px solid #cfd8e2; border-radius: var(--sd-r-sm);
	transition: border-color .2s, box-shadow .2s;
}
.sd-site .wpcf7 textarea { min-height: 110px; resize: vertical; }
.sd-site .wpcf7 input:focus, .sd-site .wpcf7 select:focus, .sd-site .wpcf7 textarea:focus { outline: 0; border-color: var(--sd-blue); box-shadow: 0 0 0 4px rgba(0, 109, 182, .15); }
.sd-site .wpcf7 .wpcf7-not-valid { border-color: #d63638; }
.sd-site .wpcf7 .wpcf7-not-valid-tip { color: #b32d2e; font-size: .85rem; margin-top: 4px; }
.sd-site .wpcf7 input[type="submit"] { width: 100%; min-height: 54px; border: 0; border-radius: var(--sd-r-sm); background: var(--sd-orange); color: #fff; font-family: var(--sd-font-head); font-weight: 700; font-size: 1.05rem; cursor: pointer; transition: background .25s, transform .25s var(--sd-ease), box-shadow .25s; }
.sd-site .wpcf7 input[type="submit"]:hover { background: var(--sd-orange-d); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245, 124, 0, .3); }
.sd-site .wpcf7 .wpcf7-response-output { margin: 4px 0 0; padding: 12px 16px; border-radius: var(--sd-r-sm); font-size: .92rem; }
.sd-site .wpcf7 .sd-row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }

/* ---------- Page head (inner templates) ---------- */
.sd-pagehead { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0; background: linear-gradient(135deg, var(--sd-blue-dd), var(--sd-blue)); color: #dcecf7; }
.sd-pagehead::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--sd-lime); opacity: .22; }
.sd-pagehead::after { content: ""; position: absolute; right: 90px; bottom: -70px; width: 140px; height: 140px; border-radius: 50%; border: 12px solid var(--sd-orange); border-color: var(--sd-orange) transparent transparent var(--sd-orange); opacity: .8; transform: rotate(-15deg); }
.sd-pagehead .sd-wrap { position: relative; z-index: 1; }
html body.sd-site .sd-pagehead h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 8px 0 10px; }
.sd-pagehead p { margin: 0; max-width: 560px; }
.sd-crumbs { display: flex; gap: 8px; font-size: .9rem; }
.sd-crumbs a { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA band ---------- */
.sd-cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--sd-blue-dd) 0%, var(--sd-blue) 70%, #1b87cf 100%); color: #e4f1fa; padding: clamp(48px, 6vw, 80px) 0; }
.sd-cta__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sd-cta__copy { max-width: 720px; }
html body.sd-site .sd-cta h2 { color: #fff; margin-bottom: 12px; }
.sd-cta p:last-child { margin: 0; font-size: 1.1rem; }
.sd-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.sd-cta__deco { position: absolute; border-radius: 50%; z-index: 1; }
.sd-cta__deco--a { width: 260px; height: 260px; right: -70px; top: -90px; background: var(--sd-lime); opacity: .25; }
.sd-cta__deco--b { width: 150px; height: 150px; left: 40%; bottom: -80px; border: 14px solid var(--sd-orange); border-bottom-color: transparent; border-right-color: transparent; opacity: .7; transform: rotate(-20deg); }

/* ---------- Footer ---------- */
.sd-footer { background: #0a2a47; color: #b7c8d8; font-size: .95rem; }
.sd-footer a { color: #d9e7f3; }
.sd-footer a:hover { color: #fff; }
.sd-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.4fr; gap: clamp(24px, 4vw, 56px); padding-block: 64px 48px; }
html body.sd-site .sd-footer h2 { font-size: 1rem; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.sd-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sd-footer__about p { margin: 18px 0 22px; max-width: 340px; }
.sd-brand--light .sd-brand__text strong { color: #fff; }
.sd-brand--light .sd-brand__text span { color: #9fb7cc; }
.sd-brand__badge { display: inline-flex; padding: 8px; border-radius: 16px; background: #fff; }
.sd-footer .sd-brand__logo { height: 56px; }
.sd-footer address { font-style: normal; display: grid; gap: 12px; }
.sd-footer address p { display: flex; gap: 12px; margin: 0; }
.sd-footer address .sd-icon { color: var(--sd-lime); margin-top: 3px; }
.sd-footer__contact .sd-link-arrow { margin-top: 16px; }
.sd-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); }
.sd-footer__barinner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 20px; }
.sd-footer__barinner p { margin: 0; }
.sd-footer__barinner ul { display: flex; gap: 20px; }

/* ---------- Mobile action bar ---------- */
.sd-mbar { display: none; }

/* ---------- Reveal ---------- */
.sd-js .sd-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--sd-ease), transform .6s var(--sd-ease); }
.sd-js .sd-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Inner (Elementor) pages: align with the brand ---------- */
.sd-site .elementor-widget-heading .elementor-heading-title { font-family: var(--sd-font-head); color: var(--sd-ink); }
.sd-site .elementor-widget-text-editor, .sd-site .elementor-widget-text-editor p { font-family: var(--sd-font-body); }
.sd-site .elementor-button { border-radius: var(--sd-r-sm); font-family: var(--sd-font-head); font-weight: 700; background: var(--sd-blue); color: #fff; transition: background .25s, transform .25s var(--sd-ease); }
.sd-site .elementor-button:hover { background: var(--sd-blue-d); color: #fff; transform: translateY(-2px); }
.sd-site .elementor-widget-image img { border-radius: var(--sd-r-md); }
.sd-site .elementor-widget-icon-box .elementor-icon { color: var(--sd-blue); }
.sd-site .elementor-icon-box-title { font-family: var(--sd-font-head); color: var(--sd-ink); }
.sd-site .wp-block-heading, .sd-site .entry-title { font-family: var(--sd-font-head); color: var(--sd-ink); }

/* Parent-theme leftovers: hide its header/footer/title chrome and the click-to-chat bubble on mobile (we have our own bar). */
.sd-site #masthead, .sd-site .rishi-header-wrap { display: none !important; }


/* Beat parent-theme element styles inside our templates */
html body.sd-site :is(.sd-header, .sd-main, .sd-footer, .sd-drawer, .sd-cta) :is(h1, h2, h3, h4) { font-family: var(--sd-font-head); line-height: 1.2; letter-spacing: -.01em; font-style: normal; text-transform: none; }
html body.sd-site .sd-main h1 { line-height: 1.12; }
html body.sd-site :is(.sd-header, .sd-main, .sd-footer, .sd-drawer, .sd-cta, .sd-mbar) a { text-decoration: none; }
html body.sd-site .sd-main blockquote { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; font-style: normal; quotes: none; }
html body.sd-site .sd-main blockquote::before, html body.sd-site .sd-main blockquote::after { content: none; display: none; }
html body.sd-site .sd-main blockquote p { padding: 0; font-size: 1.02rem; line-height: 1.7; font-family: var(--sd-font-body); }
html body.sd-site .sd-main ul, html body.sd-site .sd-main ol, html body.sd-site .sd-footer ul { margin-left: 0; }
html body.sd-site .sd-header .sd-wrap { max-width: 1360px; }
/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	.sd-header__call span small { display: none; }
	.sd-header__inner { gap: 14px; }
	.sd-header__cta { gap: 12px; }
}
@media (max-width: 1100px) {
	.sd-header__call span small { display: none; }
	.sd-nav__item > a { padding: 10px 9px; }
	.sd-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	:root { --sd-header-h: 72px; }
	.sd-nav, .sd-header__cta { display: none; }
	.sd-header__iconbtn { display: inline-flex; }
	.sd-header__callm { margin-left: auto; }
	.sd-brand__logo { height: 50px; }
	.sd-hero__grid, .sd-split, .sd-why, .sd-contact { grid-template-columns: 1fr; }
	.sd-hero__visual { max-width: 520px; margin-inline: auto; width: 100%; }
	.sd-why__intro { position: static; }
	.sd-grid--3, .sd-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.sd-feature { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: 0; }
	.sd-fcard--big { grid-column: 1 / -1; grid-row: auto; min-height: 340px; }
	.sd-steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
	.sd-steps::before { display: none; }
	.sd-gal { grid-template-columns: repeat(3, 1fr); }
	.sd-gal--masonry { column-count: 3; }
	.sd-trust__list { grid-template-columns: repeat(2, 1fr); }
	.sd-trust__list li:nth-child(3) { border-left: 0; }
	.sd-trust__list li:nth-child(n+3) { border-top: 1px solid var(--sd-line); }
}
@media (max-width: 720px) {
	body.sd-site { font-size: 16px; padding-bottom: 76px; }
	.sd-brand__text strong { font-size: 1.1rem; }
	.sd-brand__text span { font-size: .66rem; }
	.sd-grid--3, .sd-grid--4, .sd-why__list, .sd-testi, .sd-feature { grid-template-columns: 1fr; }
	.sd-testi { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(-1 * var(--sd-gutter)); padding: 4px var(--sd-gutter) 16px; -webkit-overflow-scrolling: touch; }
	.sd-quote { flex: 0 0 86%; scroll-snap-align: center; }
	.sd-gal { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.sd-gal--masonry { column-count: 2; column-gap: 10px; }
	.sd-steps { grid-template-columns: 1fr; }
	.sd-site .wpcf7 .sd-row2 { grid-template-columns: minmax(0, 1fr); }
	.sd-footer__grid { grid-template-columns: 1fr; padding-block: 48px 32px; }
	.sd-footer__barinner { flex-direction: column; align-items: flex-start; }
	.sd-actions .sd-btn { flex: 1 1 100%; }
	.sd-cta__actions { width: 100%; }
	.sd-cta__actions .sd-btn { flex: 1 1 100%; }
	.sd-hero__badge { right: 4px; }
	.sd-map iframe { height: 320px; }
	.sd-map__btn { position: static; margin: 12px; width: calc(100% - 24px); }

	.sd-mbar { position: fixed; z-index: 950; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--sd-line); box-shadow: 0 -8px 24px rgba(23, 43, 58, .08); }
	.sd-mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 12px; font-family: var(--sd-font-head); font-weight: 700; font-size: .78rem; color: var(--sd-blue); background: var(--sd-bg-soft); }
	.sd-mbar a.is-primary { background: var(--sd-orange); color: #fff; }
	.sd-site .ht-ctc, .sd-site #ht-ctc-chat, .sd-site .ht_ctc_chat_style { display: none !important; }
}
@media (max-width: 360px) {
	:root { --sd-gutter: 16px; }
	.sd-brand__text span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.sd-js .sd-reveal { opacity: 1; transform: none; transition: none; }
	.sd-btn, .sd-service, .sd-fcard img, .sd-gal__item img, .sd-frame img { transition: none; }
}

html body.sd-site .sd-info a:not(.sd-link-arrow), html body.sd-site .sd-formcard a { color: var(--sd-blue); }
html body.sd-site .sd-info a:not(.sd-link-arrow):hover { color: var(--sd-blue-d); text-decoration: underline; }

/* Prevent long emails / words from forcing horizontal scroll */
.sd-contact > *, .sd-split > *, .sd-hero__grid > *, .sd-why > *, .sd-footer__grid > *, .sd-grid > * { min-width: 0; }
.sd-info p, .sd-footer address p span, .sd-footer__contact a { overflow-wrap: anywhere; }

/* reCAPTCHA v2 is a fixed 304px wide: scale it on very narrow screens */
@media (max-width: 400px) {
	.sd-formcard { padding: 18px 16px; }
	.sd-formcard .wpcf7-recaptcha, .sd-formcard .g-recaptcha { transform: scale(.82); transform-origin: left top; max-width: 100%; height: 66px; }
}
@media (max-width: 340px) {
	.sd-formcard .wpcf7-recaptcha, .sd-formcard .g-recaptcha { transform: scale(.7); height: 56px; }
}
.sd-formcard .wpcf7-form-control-wrap.recaptcha, .sd-formcard p:has(.g-recaptcha) { display: block; max-width: 100%; overflow: hidden; }
html body.sd-site .sd-header__iconbtn { background: var(--sd-bg-soft); color: var(--sd-blue); border: 0; }
html body.sd-site .sd-header__iconbtn:hover, html body.sd-site .sd-header__iconbtn:focus-visible { background: var(--sd-blue); color: #fff !important; }

/* ==========================================================================
   Forms – one look everywhere (our templates, Elementor CF7 widget, search, comments)
   ========================================================================== */
html body.sd-site :is(form.wpcf7-form, .meafe-cf7-form, .comment-form, .search-form, .wp-block-search) :is(input:not([type="submit"], [type="button"], [type="checkbox"], [type="radio"], [type="hidden"], [type="file"]), select, textarea) {
	width: 100%; min-height: 50px; padding: 12px 16px; margin: 0;
	font: 400 1rem/1.4 var(--sd-font-body); color: var(--sd-ink);
	background: #fff; background-image: none; box-shadow: none;
	border: 1.5px solid #cfd8e2; border-radius: var(--sd-r-sm);
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none; appearance: none;
}
html body.sd-site :is(form.wpcf7-form, .meafe-cf7-form) select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%23006db6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.500l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center;
}
html body.sd-site :is(form.wpcf7-form, .meafe-cf7-form) input[type="date"] { min-height: 50px; }
html body.sd-site :is(form.wpcf7-form, .meafe-cf7-form, .comment-form, .search-form, .wp-block-search) textarea { min-height: 120px; resize: vertical; }
html body.sd-site :is(form.wpcf7-form, .meafe-cf7-form, .comment-form, .search-form, .wp-block-search) :is(input, select, textarea)::placeholder { color: #8795a3; opacity: 1; }
html body.sd-site :is(form.wpcf7-form, .meafe-cf7-form, .comment-form, .search-form, .wp-block-search) :is(input, select, textarea):focus {
	outline: 0; border-color: var(--sd-blue); box-shadow: 0 0 0 4px rgba(0, 109, 182, .15);
}
html body.sd-site :is(form.wpcf7-form, .meafe-cf7-form) :is(input, select, textarea).wpcf7-not-valid { border-color: #d63638; box-shadow: 0 0 0 3px rgba(214, 54, 56, .12); }
html body.sd-site :is(form.wpcf7-form, .meafe-cf7-form, .comment-form) label { display: block; margin: 0 0 6px; font: 600 .92rem/1.4 var(--sd-font-body); color: var(--sd-ink); text-transform: none; letter-spacing: 0; }
html body.sd-site :is(form.wpcf7-form, .meafe-cf7-form) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; }
html body.sd-site :is(form.wpcf7-form, .meafe-cf7-form) p { margin: 0; padding: 0; }
html body.sd-site :is(form.wpcf7-form, .meafe-cf7-form) .wpcf7-form-control-wrap { display: block; }
html body.sd-site .wpcf7-not-valid-tip { color: #b32d2e; font-size: .85rem; margin-top: 4px; }

/* Primary submit buttons */
html body.sd-site :is(form.wpcf7-form, .meafe-cf7-form) :is(input[type="submit"], button[type="submit"]),
html body.sd-site :is(.comment-form) :is(input[type="submit"], button[type="submit"]) {
	width: 100%; min-height: 54px; padding: 14px 24px; margin: 0; border: 0; border-radius: var(--sd-r-sm);
	background: var(--sd-orange); color: #fff; box-shadow: none;
	font: 700 1.05rem/1.2 var(--sd-font-head); text-transform: none; letter-spacing: 0; cursor: pointer;
	transition: background .25s, transform .25s var(--sd-ease), box-shadow .25s;
}
html body.sd-site :is(form.wpcf7-form, .meafe-cf7-form, .comment-form) :is(input[type="submit"], button[type="submit"]):hover { background: var(--sd-orange-d); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245, 124, 0, .3); }
html body.sd-site :is(form.wpcf7-form, .meafe-cf7-form, .comment-form) :is(input[type="submit"], button[type="submit"]):focus-visible { outline: 3px solid var(--sd-blue); outline-offset: 3px; }
html body.sd-site .wpcf7 .wpcf7-spinner { margin: 8px auto 0; display: block; }

/* Response messages */
html body.sd-site .wpcf7 form .wpcf7-response-output { margin: 4px 0 0; padding: 12px 16px; border: 1.5px solid var(--sd-line); border-radius: var(--sd-r-sm); font-size: .92rem; }
html body.sd-site .wpcf7 form.sent .wpcf7-response-output { border-color: var(--sd-lime-d); background: #f6fbe3; color: #3f4e00; }
html body.sd-site .wpcf7 form.invalid .wpcf7-response-output, html body.sd-site .wpcf7 form.failed .wpcf7-response-output { border-color: #d63638; background: #fdf0f0; color: #8a1f21; }

/* Search form (blog sidebar, 404, search results) */
html body.sd-site .wp-block-search__inside-wrapper, html body.sd-site .search-form { display: flex; gap: 8px; align-items: stretch; }
html body.sd-site .wp-block-search__input, html body.sd-site .search-field { flex: 1 1 auto; min-width: 0; }
html body.sd-site .wp-block-search__button, html body.sd-site .search-submit {
	flex: none; min-height: 50px; padding: 0 20px; margin: 0; border: 0; border-radius: var(--sd-r-sm);
	background: var(--sd-blue); color: #fff; font: 700 .95rem/1 var(--sd-font-head); cursor: pointer; transition: background .25s;
}
html body.sd-site .wp-block-search__button:hover, html body.sd-site .search-submit:hover { background: var(--sd-blue-d); }
html body.sd-site .wp-block-search__button svg { fill: #fff; }

/* Comment form */
html body.sd-site .comment-form { display: grid; gap: 14px; }
html body.sd-site .comment-form p { margin: 0; }
html body.sd-site .comment-form .form-submit { margin-top: 4px; }

/* Forminator (if used) */
html body.sd-site .forminator-ui .forminator-input, html body.sd-site .forminator-ui .forminator-textarea, html body.sd-site .forminator-ui select { border-radius: var(--sd-r-sm) !important; border-color: #cfd8e2 !important; min-height: 50px; }
html body.sd-site .forminator-ui .forminator-button-submit { background: var(--sd-orange) !important; border-radius: var(--sd-r-sm) !important; font-family: var(--sd-font-head) !important; font-weight: 700 !important; }

@media (max-width: 720px) {
	html body.sd-site :is(.wp-block-search__inside-wrapper, .search-form) { flex-wrap: nowrap; }
	html body.sd-site :is(form.wpcf7-form, .meafe-cf7-form) .sd-row2 { grid-template-columns: minmax(0, 1fr); }
}

/* Elementor "CF7 styler" widget generates its own per-widget CSS; force the shared form look there */
html body.sd-site .elementor .meafe-cf7-form :is(input:not([type="submit"], [type="hidden"], [type="checkbox"], [type="radio"]), select, textarea) {
	width: 100% !important; min-height: 50px !important; padding: 12px 16px !important;
	border: 1.5px solid #cfd8e2 !important; border-radius: 10px !important; background-color: #fff !important;
	font-family: var(--sd-font-body) !important; font-size: 1rem !important; color: var(--sd-ink) !important; box-shadow: none !important;
}
html body.sd-site .elementor .meafe-cf7-form select { padding-right: 40px !important; }
html body.sd-site .elementor .meafe-cf7-form textarea { min-height: 120px !important; height: 120px !important; }
html body.sd-site .elementor .meafe-cf7-form :is(input, select, textarea):focus { border-color: var(--sd-blue) !important; box-shadow: 0 0 0 4px rgba(0, 109, 182, .15) !important; }
html body.sd-site .elementor .meafe-cf7-form :is(input[type="submit"], button[type="submit"]) {
	width: 100% !important; min-height: 54px !important; padding: 14px 24px !important; border: 0 !important; border-radius: 10px !important;
	background: var(--sd-orange) !important; color: #fff !important; text-transform: none !important; letter-spacing: 0 !important;
	font-family: var(--sd-font-head) !important; font-weight: 700 !important; font-size: 1.05rem !important;
}
html body.sd-site .elementor .meafe-cf7-form :is(input[type="submit"], button[type="submit"]):hover { background: var(--sd-orange-d) !important; }
html body.sd-site .elementor .meafe-cf7-form label { font-family: var(--sd-font-body) !important; font-size: .92rem !important; font-weight: 600 !important; color: var(--sd-ink) !important; margin-bottom: 6px !important; }

/* ---------- Header fit for laptop widths (1181px+ : full nav; 961-1180px : burger menu) ---------- */
.sd-header__inner > * { min-width: 0; }
.sd-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.sd-brand, .sd-header__cta, .sd-header__iconbtn { flex: none; }
@media (max-width: 1440px) {
	.sd-header__call span { display: none; }
	.sd-header__call .sd-icon { width: 44px; height: 44px; }
	.sd-nav__item > a { padding: 10px 8px; font-size: .92rem; }
	.sd-nav__item > a::after { left: 8px; right: 8px; }
	.sd-nav__item.has-sub > a { padding-right: 20px; }
	.sd-nav__item.has-sub > a::before { right: 7px; }
	.sd-header__inner { gap: 12px; }
	.sd-brand__text strong { font-size: 1.15rem; }
	.sd-header__book { padding: 10px 16px; font-size: .92rem; }
}
@media (max-width: 1280px) {
	.sd-header__inner { gap: 8px; }
	.sd-nav__item > a { padding: 10px 5px; font-size: .88rem; }
	.sd-nav__item > a::after { left: 5px; right: 5px; }
	.sd-nav__item.has-sub > a { padding-right: 17px; }
	.sd-nav__item.has-sub > a::before { right: 5px; }
	.sd-brand { gap: 8px; }
	.sd-brand__logo { height: 54px; }
	.sd-brand__text strong { font-size: 1.05rem; }
	.sd-brand__text span { font-size: .66rem; letter-spacing: .05em; }
	.sd-header__call .sd-icon { width: 40px; height: 40px; padding: 9px; }
	.sd-header__book { padding: 10px 12px; font-size: .88rem; }
}
@media (max-width: 1240px) {
	:root { --sd-header-h: 72px; }
	.sd-nav, .sd-header__cta { display: none; }
	.sd-header__iconbtn { display: inline-flex; }
	.sd-header__callm { margin-left: auto; }
	.sd-brand__logo { height: 50px; }
	.sd-brand__text span { display: block; }
}

/* Directions link in the desktop nav only where there is room; always available in drawer, footer and contact */
.sd-header__map { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sd-bg-soft); color: var(--sd-blue) !important; transition: background .25s, color .25s; }
.sd-header__map:hover { background: var(--sd-blue); color: #fff !important; }
@media (max-width: 1365px) {
	.sd-nav__item--map { display: none; }
	.sd-header__map { display: inline-flex; }
	.sd-header__book .sd-opt { display: none; }
}


/* Old Elementor title banner ("About / Home / About") is replaced by .sd-pagehead */
body.sd-hide-old-banner .elementor > .e-parent:first-child, body.sd-hide-old-banner .elementor > .elementor-section:first-child { display: none !important; }
/* Parent theme's own page-title hero, if present, would duplicate the banner */
body.sd-site .page-header, body.sd-site .rishi-hero-section, body.sd-site .hero-section { display: none; }
.sd-pagehead + * { margin-top: 0; }

/* Blog / single post / archive / search: give the parent theme's content area a proper container */
body.sd-site:is(.blog, .single-post, .archive, .search, .error404) .site-main > .rishi-container-wrap {
	padding: 0;
}
body.sd-site .rishi-container-wrap .page-title.screen-reader-text { display: none; }
/* single post: the banner already shows the title */
body.sd-site.single-post .entry-header .entry-title, body.sd-site.single-post .post-title-wrap .entry-title { display: none; }
.sd-blogwrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.sd-blogwrap:not(:has(#secondary)) { display: block; }
.sd-blogwrap #secondary { width: auto; position: sticky; top: calc(var(--sd-header-h) + 24px); }
@media (max-width: 960px) { .sd-blogwrap { grid-template-columns: minmax(0, 1fr); } .sd-blogwrap #secondary { position: static; } }
.sd-blogwrap > #primary, .sd-blogwrap > .site-main { width: 100% !important; max-width: none !important; float: none !important; margin: 0 !important; padding: 0 !important; flex: none !important; }
.sd-blogwrap > #secondary { width: auto !important; max-width: none !important; float: none !important; margin: 0 !important; padding: 0 !important; }
.sd-blogwrap #secondary .sidebar-wrap-main, .sd-blogwrap #secondary .widget:first-child { margin-top: 0; padding-top: 0; }
.sd-blogwrap #secondary > *, .sd-blogwrap #secondary .sidebar-wrap-main > *, .sd-blogwrap #secondary .widget:first-child, .sd-blogwrap #secondary .wp-block-search { margin-top: 0 !important; }
.sd-blogwrap #secondary .wp-block-search { margin-bottom: 28px; }
