body.menu-open { overflow: hidden; }

/* RealDeal shared site footer */
.site-footer {
	padding: 72px 0 28px;
	background: #091119;
	color: rgba(255, 255, 255, 0.66);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
	gap: 40px;
	padding-bottom: 42px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-brand .brand { color: #fff; }
.footer-brand p { max-width: 320px; margin-top: 20px; font-size: 14px; }

.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-family: var(--font-heading, "Poppins", sans-serif); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 11px 0; }
.footer-col a { color: rgba(255, 255, 255, 0.62); font-size: 14px; text-decoration: none; transition: color 160ms ease; }
.footer-col a:hover { color: var(--rd-orange-2, #ff7a35); }

.socials { display: flex; gap: 10px; margin-top: 22px; }

.socials a {
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: background 180ms ease, transform 180ms ease;
}

.socials a:hover { background: var(--rd-orange, #ff4a1c); transform: translateY(-3px); }

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 18px;
	padding-top: 24px;
	font-size: 13px;
}

.footer-bottom a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.footer-bottom a:hover { color: var(--rd-orange-2, #ff7a35); }

@media (max-width: 820px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
	.footer-grid { grid-template-columns: 1fr; }
	.brand-logo-img { height: 38px; }
	.header-inner { gap: 10px; }
	.header-actions .btn-primary { padding: 0; width: 44px; min-height: 44px; font-size: 0; gap: 0; }
	.header-actions .btn-primary i { font-size: 16px; }
}

/* RealDeal shared site navigation */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	background: var(--rd-ink, #0e1a24);
	box-shadow: 0 12px 30px rgba(14, 26, 36, 0.24);
}

.site-header.header-solid,
.site-header.scrolled {
	background: var(--rd-ink, #0e1a24);
	border-color: rgba(255, 255, 255, 0.12);
	box-shadow: 0 12px 30px rgba(14, 26, 36, 0.24);
}

.header-inner {
	width: min(100% - 48px, var(--container, 1180px));
	min-height: 78px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-logo-img { height: 62px; width: auto; display: block; }
.brand-mark { position: relative; width: 58px; height: 44px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.16)); }
.brand-mark::after { content: ""; position: absolute; right: -10px; bottom: -8px; width: 38px; height: 22px; border-bottom: 5px solid var(--rd-orange, #ff4a1c); border-right: 5px solid var(--rd-orange, #ff4a1c); transform: skewX(-24deg) rotate(-8deg); }
.brand-letter { height: 44px; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading, "Poppins", sans-serif); font-size: 28px; font-weight: 800; line-height: 1; transform: skewX(-10deg); color: #fff; }
.brand-letter:first-child { background: var(--rd-orange, #ff4a1c); clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%); }
.brand-letter:last-child { background: var(--rd-ink, #0e1a24); clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%); margin-left: -5px; }
.brand-text { display: grid; gap: 1px; color: #fff; }
.brand-text strong { font-family: var(--font-heading, "Poppins", sans-serif); font-size: 16px; line-height: 1; }
.brand-text span { font-size: 10px; font-weight: 800; letter-spacing: 2.3px; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }

.site-header.header-solid .brand-text,
.site-header.scrolled .brand-text { color: #fff; }
.site-header.header-solid .brand-text span,
.site-header.scrolled .brand-text span { color: rgba(255, 255, 255, 0.72); }

.main-nav ul { display: flex; align-items: center; justify-content: center; gap: 8px; }
.main-nav > ul > li > a {
	display: inline-flex; align-items: center; height: 42px; padding: 0 12px; border-radius: 6px;
	color: rgba(255, 255, 255, 0.86); font-size: 14px; font-weight: 700;
	transition: background 160ms ease, color 160ms ease;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a:focus-visible { background: rgba(255, 255, 255, 0.1); color: #fff; }
.main-nav > ul > li > a.is-active { background: rgba(255, 255, 255, 0.14); color: #fff; }

.site-header.header-solid .main-nav > ul > li > a,
.site-header.scrolled .main-nav > ul > li > a { color: rgba(255, 255, 255, 0.86); }
.site-header.header-solid .main-nav > ul > li > a:hover,
.site-header.header-solid .main-nav > ul > li > a:focus-visible,
.site-header.header-solid .main-nav > ul > li > a.is-active,
.site-header.scrolled .main-nav > ul > li > a:hover,
.site-header.scrolled .main-nav > ul > li > a:focus-visible,
.site-header.scrolled .main-nav > ul > li > a.is-active {
	background: rgba(255, 255, 255, 0.14); color: #fff;
}

.nav-dropdown { position: static; }
.nav-dropdown-toggle { gap: 6px; }
.nav-dropdown-toggle .nav-chevron { font-size: 10px; transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1); }
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron,
.nav-dropdown.is-open .nav-chevron { transform: rotate(180deg); }
.nav-dropdown:hover > .nav-dropdown-toggle,
.nav-dropdown:focus-within > .nav-dropdown-toggle,
.nav-dropdown.is-open > .nav-dropdown-toggle { background: rgba(255, 255, 255, 0.1); color: #fff; }
.site-header.header-solid .nav-dropdown:hover > .nav-dropdown-toggle,
.site-header.header-solid .nav-dropdown:focus-within > .nav-dropdown-toggle,
.site-header.header-solid .nav-dropdown.is-open > .nav-dropdown-toggle,
.site-header.scrolled .nav-dropdown:hover > .nav-dropdown-toggle,
.site-header.scrolled .nav-dropdown:focus-within > .nav-dropdown-toggle,
.site-header.scrolled .nav-dropdown.is-open > .nav-dropdown-toggle {
	background: rgba(255, 74, 28, 0.1); color: var(--rd-orange, #ff4a1c);
}

.nav-mega-menu {
	--mega-width: min(calc(100vw - 48px), var(--container, 1180px));
	position: fixed; top: 78px; left: 50%; width: var(--mega-width); max-height: min(72vh, 640px);
	padding: 0; border: 1px solid var(--rd-line, rgba(14, 26, 36, 0.12)); border-radius: 12px; background: #fff;
	box-shadow: 0 20px 50px rgba(14, 26, 36, 0.14); overflow: hidden; z-index: 60;
	opacity: 0; visibility: hidden; pointer-events: none;
	transform: translateX(-50%) translateY(-6px);
	transition: opacity 260ms cubic-bezier(0.22, 1, 0.36, 1), transform 260ms cubic-bezier(0.22, 1, 0.36, 1), visibility 260ms;
}
.nav-mega-menu::before {
	content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; z-index: 3;
	background: linear-gradient(90deg, var(--rd-orange, #ff4a1c), var(--rd-teal, #0f8f88), var(--rd-blue, #2764e6), var(--rd-green, #13a76f));
}
.nav-dropdown:hover .nav-mega-menu,
.nav-dropdown:focus-within .nav-mega-menu,
.nav-dropdown.is-open .nav-mega-menu {
	opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}

.mega-menu-top {
	position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 16px 20px; border-bottom: 1px solid var(--rd-line, rgba(14, 26, 36, 0.12));
	background: linear-gradient(180deg, #fff 0%, var(--rd-soft, #f6f8fb) 100%);
}
.mega-menu-top .section-kicker {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 0; color: var(--rd-orange, #ff4a1c);
	font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
}
.mega-menu-top .section-kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.mega-menu-top h3 { font-size: 15px; font-weight: 800; color: var(--rd-ink, #0e1a24); margin-top: 4px; font-family: var(--font-heading, "Poppins", sans-serif); }

.mega-menu-body {
	position: relative; z-index: 2; max-height: min(52vh, 480px); padding: 16px 20px 18px;
	overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
	scrollbar-width: thin; scrollbar-color: rgba(255, 74, 28, 0.35) transparent;
}
.mega-menu-body::-webkit-scrollbar { width: 6px; }
.mega-menu-body::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(255, 74, 28, 0.35); }
.mega-menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mega-col { --col-accent: var(--rd-orange, #ff4a1c); padding: 14px; border: 1px solid var(--rd-line, rgba(14, 26, 36, 0.12)); border-radius: 8px; background: #fff; transition: border-color 200ms ease, box-shadow 200ms ease; }
.mega-col:hover { border-color: color-mix(in srgb, var(--col-accent) 30%, white); box-shadow: 0 8px 24px color-mix(in srgb, var(--col-accent) 8%, transparent); }
.mega-col-head { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--rd-line, rgba(14, 26, 36, 0.12)); }
.mega-col-head a { display: flex; align-items: center; gap: 10px; height: auto; padding: 0; color: var(--rd-ink, #0e1a24) !important; background: transparent !important; }
.mega-col-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--col-accent) 12%, white); color: var(--col-accent); font-size: 15px; }
.mega-col-title { display: block; font-family: var(--font-heading, "Poppins", sans-serif); font-size: 13px; font-weight: 800; line-height: 1.3; color: var(--rd-ink, #0e1a24); }
.mega-service-list { display: grid; gap: 3px; }
.mega-service-link {
	display: block; padding: 7px 10px; border-left: 2px solid transparent; border-radius: 5px;
	font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--rd-muted, #63717d);
	transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.mega-service-link:hover,
.mega-service-link:focus-visible { color: var(--rd-ink, #0e1a24); background: color-mix(in srgb, var(--col-accent, var(--rd-orange)) 8%, white); border-left-color: var(--col-accent, var(--rd-orange)); outline: none; }

.mega-menu-foot {
	position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 14px;
	padding: 12px 20px; border-top: 1px solid var(--rd-line, rgba(14, 26, 36, 0.12)); background: var(--rd-soft, #f6f8fb);
}
.mega-menu-foot p { font-size: 12.5px; font-weight: 700; color: var(--rd-muted, #63717d); }
.mega-menu-foot p span { color: var(--rd-orange, #ff4a1c); font-weight: 800; }
.mega-view-all {
	display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 6px;
	background: linear-gradient(135deg, var(--rd-orange, #ff4a1c), var(--rd-orange-2, #ff7a35)); color: #fff !important;
	font-size: 12.5px; font-weight: 800; box-shadow: 0 8px 20px rgba(255, 74, 28, 0.2); transition: transform 200ms ease, box-shadow 200ms ease; white-space: nowrap;
}
.mega-view-all:hover,
.mega-view-all:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 74, 28, 0.28); }

.nav-mega-menu.is-single { --mega-width: min(calc(100vw - 48px), 320px); }
.nav-mega-menu.is-single .mega-menu-grid { grid-template-columns: 1fr; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle,
.icon-btn.menu-toggle {
	display: none; width: 44px; height: 44px; border: 1px solid var(--rd-line, rgba(14, 26, 36, 0.12));
	border-radius: 6px; background: #fff; color: var(--rd-ink, #0e1a24); align-items: center; justify-content: center; cursor: pointer;
}

@media (max-width: 1200px) { .mega-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nav-mega-menu { --mega-width: min(calc(100vw - 32px), var(--container, 1180px)); } }
@media (max-width: 960px) { .nav-mega-menu { top: 72px; max-height: min(68vh, 580px); } }

@media (max-width: 840px) {
	.header-inner { width: min(100% - 32px, var(--container, 1180px)); }
	.menu-toggle, .icon-btn.menu-toggle { display: inline-flex; }
	.main-nav {
		position: fixed; inset: 78px 16px auto; padding: 14px; border: 1px solid var(--rd-line, rgba(14, 26, 36, 0.12));
		border-radius: var(--radius, 8px); background: rgba(255, 255, 255, 0.98); box-shadow: var(--shadow, 0 22px 60px rgba(14, 26, 36, 0.12));
		opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity 180ms ease, transform 180ms ease;
	}
	.main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
	.main-nav ul { display: grid; gap: 4px; }
	.main-nav > ul > li > a,
	.site-header.scrolled .main-nav > ul > li > a { width: 100%; color: var(--rd-ink, #0e1a24); }
	.nav-dropdown { width: 100%; }
	.nav-mega-menu {
		position: static; width: 100%; max-height: 0; opacity: 1; visibility: visible; transform: none;
		border: none; border-radius: 8px; box-shadow: none; background: var(--rd-soft, #f6f8fb);
		overflow: hidden; pointer-events: none; transition: max-height 380ms cubic-bezier(0.22, 1, 0.36, 1), margin 280ms ease;
	}
	.nav-dropdown.is-open .nav-mega-menu { max-height: min(72vh, 620px); pointer-events: auto; margin: 6px 0; border: 1px solid var(--rd-line, rgba(14, 26, 36, 0.12)); }
	.nav-dropdown:hover .nav-mega-menu,
	.nav-dropdown:focus-within .nav-mega-menu,
	.nav-dropdown.is-open .nav-mega-menu { transform: none; }
	.mega-menu-top { display: none; }
	.mega-menu-body { max-height: min(58vh, 480px); padding: 10px 12px 12px; }
	.mega-menu-grid { grid-template-columns: 1fr; gap: 10px; }
	.mega-menu-foot { flex-direction: column; align-items: stretch; gap: 10px; padding: 10px 12px; }
	.mega-view-all { width: 100%; justify-content: center; min-height: 40px; }
}

/* ---------- Floating WhatsApp button ---------- */
.rd-whatsapp-btn {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 45;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #25d366;
	color: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
	opacity: 0;
	transform: translateY(16px) scale(0.85);
	transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 260ms ease, box-shadow 200ms ease, background 200ms ease;
	pointer-events: none;
}
.rd-whatsapp-btn.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}
.rd-whatsapp-btn:hover,
.rd-whatsapp-btn:focus-visible {
	background: #1ebe5b;
	transform: translateY(-3px) scale(1.06);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
	outline: none;
}
.rd-whatsapp-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #25d366;
	opacity: 0.55;
	animation: rdWhatsAppPulse 2.4s ease-out infinite;
	z-index: -1;
}
@media (max-width: 640px) {
	.rd-whatsapp-btn { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
@keyframes rdWhatsAppPulse {
	0% { transform: scale(1); opacity: 0.5; }
	100% { transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.rd-whatsapp-btn { transition: opacity 200ms ease; }
	.rd-whatsapp-btn::before { animation: none; }
}
