/* ============================================================
   RetaPOS Redesign Overrides
   Loaded LAST (after bootstrap, site.min.css, animation.css) so
   it modernizes legacy shared classes site-wide without editing
   every view. Targets only legacy class names used by Category,
   Compare, About, ContactUs and Blog pages.
   Scoped/explicit redesigns (ftr-*, prx-*, rp-feat-*, hm-*) are
   more specific and continue to win where present.
   ============================================================ */

:root {
	--rp-navy: rgb(20, 28, 77);
	--rp-blue: #2563eb;
	--rp-blue-2: #3b82f6;
	--rp-green: #16a34a;
	--rp-card-radius: 18px;
	--rp-soft-shadow: 0 8px 28px rgba(20, 28, 77, 0.06);
	--rp-soft-shadow-hover: 0 18px 44px rgba(20, 28, 77, 0.12);

	/* Rebrand legacy theme variables from purple (#667eea/#764ba2) to RetaPOS blue.
	   Used by .feature-icon, .contact-icon, .contact-card accent, etc. site-wide. */
	--primary-gradient: linear-gradient(135deg, #2563eb, #3b82f6);
	--secondary-gradient: linear-gradient(135deg, #1d2a6b, #2563eb);
	--accent-color: #2563eb;
}

/* ---------- Navbar mega-menu: brand accent instead of legacy #667eea ---------- */
@media (min-width: 992px) {
	.dropdown-menu.Cus-nav-drp {
		border-top: 3px solid var(--rp-blue) !important;
	}
}

/* Current-page highlight in the top nav */
.Cus-nav-text.active {
	color: var(--rp-blue) !important;
	background: rgba(37, 99, 235, 0.1);
	font-weight: 600;
}

/* ---------- Hero CTAs: stack full-width on small screens ---------- */
@media (max-width: 575.98px) {
	.hero-buttons { display: flex; flex-direction: column; gap: 0.75rem; }
	.hero-buttons .btn { width: 100%; }
	.ftr-hero__cta { flex-direction: column; }
	.ftr-hero__cta .btn { width: 100%; }
}

/* ---------- Hero (Home, Category, Compare, About, ContactUs, Blog) ---------- */
.hero-section {
	background: linear-gradient(135deg, #141c4d 0%, #1d2a6b 55%, #2563eb 100%) !important;
}

.hero-title {
	color: #fff;
	font-weight: 800;
	line-height: 1.15;
}

/* ---------- Section titles: drop serif, modern navy ---------- */
.section-title {
	font-family: inherit !important;
	color: var(--rp-navy);
	font-weight: 800 !important;
}

/* ---------- Generic / category cards ---------- */
.category-card {
	border: 1px solid #eef1f6 !important;
	border-radius: var(--rp-card-radius) !important;
	box-shadow: var(--rp-soft-shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.category-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--rp-soft-shadow-hover);
	border-color: rgba(37, 99, 235, 0.25);
}

/* ---------- Category icon: modern rounded-square tile ---------- */
.category-icon {
	border-radius: 18px;
}

/* Gradient-backed icons get an elevated tile */
.category-icon[class*="gradient-"] {
	box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

/* Flat icons (navy .Icon-col, no gradient) get a soft blue-tinted tile */
.category-icon:has(.Icon-col) {
	width: 64px;
	height: 64px;
	background: rgba(37, 99, 235, 0.1);
}

.category-icon .Icon-col {
	color: var(--rp-blue) !important;
	font-size: 1.6rem;
}

/* ---------- Fix broken "?" check bullets -> real Font Awesome check ---------- */
.category-features li,
.feature-list li {
	padding-left: 1.85rem;
	color: #3a4256;
}

.category-features li::before,
.feature-list li::before {
	content: "\f00c" !important;
	font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
	font-weight: 900 !important;
	color: var(--rp-green) !important;
	position: absolute;
	left: 0;
	top: 0.45rem;
	font-size: 0.7rem;
	width: 1.2rem;
	height: 1.2rem;
	line-height: 1.2rem;
	text-align: center;
	border-radius: 50%;
	background: rgba(22, 163, 74, 0.12);
}

/* ---------- Modern accordion polish (legacy Bootstrap accordions) ---------- */
/* Scoped variants (ftr-faq / prx-faq / hm-faq) are more specific and override this. */
.accordion-item {
	border: 1px solid #eef1f6 !important;
	border-radius: 14px !important;
	margin-bottom: 0.75rem;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(20, 28, 77, 0.04);
}

.accordion-button {
	font-weight: 600;
	color: var(--rp-navy);
}

.accordion-button:not(.collapsed) {
	background: rgba(37, 99, 235, 0.07);
	color: var(--rp-blue);
	box-shadow: none;
}

.accordion-button:focus {
	box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.18);
}

/* ---------- Primary button polish (legacy .btn-primary on these pages) ---------- */
.btn-primary {
	background: linear-gradient(135deg, #2563eb, #3b82f6);
	border: none;
	box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
	background: linear-gradient(135deg, #1d4ed8, #2563eb);
	filter: brightness(1.02);
}

/* ---------- Section heading color consistency ---------- */
.display-4,
.display-5,
.display-6 {
	color: var(--rp-navy);
}

/* Keep display headings white when they sit on the dark hero */
.hero-section .display-4,
.hero-section .display-5,
.hero-section .display-6,
.hero-section .hero-title,
.bg-primary .display-4,
.bg-primary .display-5,
.bg-primary .display-6,
.bg-dark .display-4,
.bg-dark .display-5,
.bg-dark .display-6 {
	color: #fff;
}

/* ---------- Error pages (404 / 403 / 400 / 500 / generic) ---------- */
.err-page {
	display: flex;
	align-items: center;
	min-height: 70vh;
	padding: 4rem 0;
	background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.err-card {
	max-width: 620px;
	margin: 0 auto;
	text-align: center;
	background: #fff;
	border: 1px solid #eef1f6;
	border-radius: 24px;
	padding: 3rem 2.25rem;
	box-shadow: 0 18px 45px rgba(20, 28, 77, 0.1);
}

.err-icon {
	width: 84px;
	height: 84px;
	margin: 0 auto 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 22px;
	font-size: 2.2rem;
	color: #fff;
	background: linear-gradient(135deg, #2563eb, #3b82f6);
	box-shadow: 0 12px 26px rgba(37, 99, 235, 0.3);
}

.err-code {
	font-size: clamp(3.5rem, 9vw, 5.5rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	background: linear-gradient(135deg, #141c4d, #2563eb);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 0.5rem;
}

.err-title { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800; color: var(--rp-navy); margin-bottom: 0.85rem; }
.err-text { color: #6c757d; font-size: 1.02rem; line-height: 1.65; margin-bottom: 1.75rem; }
.err-text a { color: var(--rp-blue); font-weight: 600; }

.err-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; }
.err-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0.75rem 1.5rem; border-radius: 50rem; font-weight: 600; font-size: 0.98rem;
	border: none; cursor: pointer; text-decoration: none;
	transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}
.err-btn--primary { color: #fff; background: linear-gradient(135deg, #2563eb, #3b82f6); box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28); }
.err-btn--primary:hover { transform: translateY(-2px); color: #fff; filter: brightness(1.04); }
.err-btn--ghost { color: var(--rp-navy); background: #eef2fb; }
.err-btn--ghost:hover { transform: translateY(-2px); color: var(--rp-navy); background: #e2e9f8; }

.err-reqid { margin-top: 1.5rem; font-size: 0.82rem; color: #9aa3b2; }

@media (max-width: 575.98px) {
	.err-card { padding: 2.25rem 1.25rem; }
	.err-btn { width: 100%; }
}

/* ============================================================
   SHARED REDESIGN COMPONENTS (consolidated from per-page <style>
   blocks). One definition each — reused across Home, Features,
   Pricing, Category section, etc.
   ============================================================ */

/* Eyebrow pill (light sections) */
.rp-eyebrow {
	display: inline-block;
	margin-bottom: 0.85rem;
	padding: 0.35rem 0.9rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #2563eb;
	background: rgba(37, 99, 235, 0.1);
	border-radius: 50rem;
}

/* Frosted eyebrow pill (on dark hero / CTA bands) */
.ftr-hero__eyebrow,
.prx-hero__eyebrow,
.rp-cta__eyebrow {
	display: inline-block;
	margin-bottom: 1.1rem;
	padding: 0.4rem 1rem;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50rem;
	backdrop-filter: blur(6px);
}

/* Section heading + centered head wrapper */
.rp-h2 { font-weight: 800; color: rgb(20, 28, 77); font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.rp-section-head { max-width: 800px; margin-left: auto; margin-right: auto; }

/* Accent benefit/value card (--accent set inline per card) */
.rp-benefit {
	height: 100%;
	background: #fff;
	border: 1px solid #eef1f6;
	border-radius: 16px;
	padding: 1.75rem;
	box-shadow: 0 6px 22px rgba(20, 28, 77, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.rp-benefit--lg { padding: 2rem; }
.rp-benefit:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 38px rgba(20, 28, 77, 0.12);
	border-color: color-mix(in srgb, var(--accent) 30%, #eef1f6);
}
.rp-benefit__icon {
	width: 60px; height: 60px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 14px;
	font-size: 1.4rem;
	margin-bottom: 1.1rem;
	color: var(--accent);
	background: color-mix(in srgb, var(--accent) 12%, #fff);
}
.rp-benefit--center { text-align: center; }
.rp-benefit--center .rp-benefit__icon { margin-left: auto; margin-right: auto; }
.rp-benefit__title { font-size: 1.15rem; font-weight: 700; color: rgb(20, 28, 77); margin-bottom: 0.6rem; }
.rp-benefit__text { color: #6c757d; font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* FAQ accordion (light) */
.rp-faq .accordion-item {
	border: 1px solid #eef1f6 !important;
	border-radius: 14px !important;
	margin-bottom: 0.85rem;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(20, 28, 77, 0.04);
}
.rp-faq .accordion-button { font-weight: 600; color: rgb(20, 28, 77); padding: 1.1rem 1.25rem; }
.rp-faq .accordion-button:not(.collapsed) { background: rgba(37, 99, 235, 0.07); color: #2563eb; box-shadow: none; }
.rp-faq .accordion-button:focus { box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.18); }
.rp-faq .accordion-body { color: #4a5365; line-height: 1.7; }

/* Gradient primary button (shared) */
.ftr-btn-primary,
.prx-btn--primary {
	background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
	border: none !important;
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}
.ftr-btn-primary:hover { filter: brightness(1.05); color: #fff !important; }

/* ============================================================
   HOME — features grid (_featuressec.cshtml)
   ============================================================ */
.rp-features { background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%); }
.rp-feat-card {
	display: flex; flex-direction: column; height: 100%;
	padding: 2rem 1.75rem; background: #fff;
	border: 1px solid #eef1f6; border-radius: 18px;
	box-shadow: 0 6px 24px rgba(20, 28, 77, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	position: relative; overflow: hidden;
}
.rp-feat-card::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
	background: linear-gradient(135deg, #2563eb, #3b82f6);
	transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.rp-feat-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(20, 28, 77, 0.12); border-color: rgba(37, 99, 235, 0.25); }
.rp-feat-card:hover::before { transform: scaleX(1); }
.rp-feat-card__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.rp-feat-card__icon {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 14px;
	background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff; font-size: 1.4rem;
	box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28); transition: transform 0.3s ease;
}
.rp-feat-card:hover .rp-feat-card__icon { transform: scale(1.06) rotate(-4deg); }
.rp-feat-card__title { margin: 0; font-size: 1.18rem; font-weight: 700; line-height: 1.3; color: rgb(20, 28, 77); }
.rp-feat-card__desc { color: #6c757d; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.25rem; }
.rp-feat-card__list { list-style: none; margin: 0; padding: 1.25rem 0 0; border-top: 1px dashed #e6eaf2; }
.rp-feat-card__list li { position: relative; padding: 0.35rem 0 0.35rem 1.75rem; font-size: 0.92rem; color: #3a4256; }
.rp-feat-card__list li::before {
	content: "\f00c"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900;
	position: absolute; left: 0; top: 0.45rem; font-size: 0.72rem; color: #16a34a;
	width: 1.1rem; height: 1.1rem; line-height: 1.1rem; text-align: center;
	background: rgba(22, 163, 74, 0.12); border-radius: 50%;
}

/* ============================================================
   HOME — Why-Retailers band + business-category section
   ============================================================ */
.hm-why { padding: 3rem 2rem; border-radius: 24px; text-align: center; color: #fff; background: linear-gradient(135deg, #141c4d 0%, #2563eb 100%); box-shadow: 0 22px 50px rgba(20, 28, 77, 0.25); }
.hm-why__title { font-weight: 800; margin-bottom: 2.25rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.hm-why__icon { width: 64px; height: 64px; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; border-radius: 16px; font-size: 1.6rem; color: #fff; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.22); }
.hm-why__name { font-weight: 700; font-size: 1.15rem; margin-bottom: 0.5rem; }
.hm-why__text { font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); margin: 0; }

.bcs { background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%); }
.bcs-group-head { display: flex; align-items: center; gap: 0.85rem; margin: 0 0 1.5rem; }
.bcs-group { --accent: #2563eb; }
.bcs-group-head__chip { flex: 0 0 auto; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 1.1rem; color: #fff; background: var(--accent, #2563eb); box-shadow: 0 8px 18px color-mix(in srgb, var(--accent, #2563eb) 32%, transparent); }
.bcs-group-head__title { margin: 0; font-weight: 800; color: rgb(20, 28, 77); font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
.bcs-group-head__count { margin-left: auto; padding: 0.3rem 0.8rem; font-size: 0.78rem; font-weight: 700; color: var(--accent, #2563eb); background: color-mix(in srgb, var(--accent, #2563eb) 10%, #fff); border-radius: 50rem; white-space: nowrap; }
.bcs .category-card { background: #fff; border: 1px solid #eef1f6 !important; border-radius: 18px !important; padding: 1.5rem 1.25rem; box-shadow: 0 6px 20px rgba(20, 28, 77, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; position: relative; }
.bcs .category-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20, 28, 77, 0.12); border-color: color-mix(in srgb, var(--accent, #2563eb) 35%, #eef1f6); }
.bcs .category-icon { width: 58px; height: 58px; margin: 0 auto 1rem; border-radius: 15px; background: color-mix(in srgb, var(--accent, #2563eb) 12%, #fff) !important; box-shadow: 0 8px 18px color-mix(in srgb, var(--accent, #2563eb) 20%, transparent); }
.bcs .category-icon .Icon-col { color: var(--accent, #2563eb) !important; font-size: 1.5rem; }
.bcs .category-card h4 { font-size: 1.02rem; font-weight: 700; color: rgb(20, 28, 77); margin-bottom: 0.4rem; }
.bcs .category-card p { font-size: 0.86rem; line-height: 1.5; color: #6c757d; margin: 0; }
.bcs .category-card::after { content: "\f061"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; position: absolute; bottom: 0.9rem; right: 1.1rem; font-size: 0.8rem; color: var(--accent, #2563eb); opacity: 0; transform: translateX(-6px); transition: opacity 0.25s ease, transform 0.25s ease; }
.bcs .col-lg-3 > a { position: relative; display: block; height: 100%; }
.bcs .category-card:hover::after { opacity: 1; transform: translateX(0); }

/* ============================================================
   FEATURES page (ftr-*)
   ============================================================ */
.ftr-hero { position: relative; overflow: hidden; padding: 5rem 0; background: linear-gradient(135deg, #141c4d 0%, #1d2a6b 55%, #2563eb 100%); color: #fff; }
.ftr-hero__blob, .prx-hero__blob, .rp-cta__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; z-index: 0; }
.ftr-hero__blob--1 { width: 360px; height: 360px; background: #3b82f6; top: -120px; right: -80px; }
.ftr-hero__blob--2 { width: 300px; height: 300px; background: #7c3aed; bottom: -120px; left: -80px; }
.ftr-hero__title { font-weight: 800; line-height: 1.15; font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 1.25rem; }
.ftr-hero__lead { font-size: 1.1rem; line-height: 1.65; color: rgba(255, 255, 255, 0.88); margin-bottom: 1.75rem; max-width: 38rem; }
.ftr-hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.75rem; }
.ftr-hero__cta .btn { border-radius: 50rem; padding: 0.75rem 1.6rem; font-weight: 600; }
.ftr-hero__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.ftr-hero__chips li { font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); }
.ftr-hero__chips i { color: #4ade80; margin-right: 0.4rem; }
.ftr-hero__image { position: relative; padding: 1rem; border-radius: 24px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.ftr-hero__image img { border-radius: 16px; width: 100%; height: auto; }
.ftr-stats { margin-top: -3.5rem; position: relative; z-index: 3; padding-bottom: 1rem; }
.ftr-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; background: #fff; border-radius: 18px; padding: 1.75rem 1rem; box-shadow: 0 18px 45px rgba(20, 28, 77, 0.12); border: 1px solid #eef1f6; }
.ftr-stat { text-align: center; padding: 0.5rem; }
.ftr-stat__icon { font-size: 1.5rem; color: #2563eb; margin-bottom: 0.5rem; display: block; }
.ftr-stat__num { display: block; font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; color: rgb(20, 28, 77); line-height: 1; }
.ftr-stat__label { display: block; margin-top: 0.4rem; font-size: 0.9rem; color: #6c757d; }
.ftr-module { position: relative; background: #fff; border: 1px solid #eef1f6; border-radius: 20px; padding: 2rem; margin-bottom: 2rem; box-shadow: 0 8px 28px rgba(20, 28, 77, 0.06); border-left: 5px solid var(--accent); transition: box-shadow 0.3s ease, transform 0.3s ease; }
.ftr-module:hover { box-shadow: 0 18px 44px rgba(20, 28, 77, 0.12); transform: translateY(-3px); }
.ftr-module__head { display: flex; align-items: flex-start; gap: 1.1rem; margin-bottom: 1.5rem; }
.ftr-module__icon { flex: 0 0 auto; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 16px; font-size: 1.5rem; color: #fff; background: var(--accent); box-shadow: 0 10px 22px color-mix(in srgb, var(--accent) 35%, transparent); }
.ftr-module__title { font-size: 1.4rem; font-weight: 800; color: rgb(20, 28, 77); margin: 0 0 0.35rem; }
.ftr-module__subtitle { color: #6c757d; font-size: 1rem; margin: 0; line-height: 1.55; }
.ftr-check-list { list-style: none; margin: 0; padding: 0; }
.ftr-check-list li { position: relative; padding: 0.55rem 0 0.55rem 2rem; font-size: 0.95rem; color: #3a4256; line-height: 1.55; border-bottom: 1px solid #f3f5f9; }
.ftr-check-list li:last-child { border-bottom: none; }
.ftr-check-list li strong { color: rgb(20, 28, 77); }
.ftr-check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: 0.6rem; font-size: 0.7rem; color: var(--accent); width: 1.25rem; height: 1.25rem; line-height: 1.25rem; text-align: center; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, #fff); }
.ftr-highlight { margin-top: 1rem; padding: 2.5rem 2rem; border-radius: 22px; color: #fff; text-align: center; background: linear-gradient(135deg, #141c4d 0%, #2563eb 100%); box-shadow: 0 20px 45px rgba(20, 28, 77, 0.25); }
.ftr-highlight__title { font-weight: 800; margin-bottom: 2rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.ftr-highlight__item i { font-size: 2.1rem; margin-bottom: 0.9rem; color: #bcd0ff; }
.ftr-highlight__item h4 { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; }
.ftr-highlight__item p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); margin: 0; }
.ftr-compare { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 36px rgba(20, 28, 77, 0.08); border: 1px solid #eef1f6; }
.ftr-compare__table { margin: 0; }
.ftr-compare__table th { padding: 1.25rem 1rem; vertical-align: middle; background: #f7f9fc; border-bottom: 2px solid #e6eaf2; }
.ftr-compare__table td { padding: 1rem; vertical-align: middle; }
.ftr-compare__win { background: rgba(37, 99, 235, 0.06) !important; }
.ftr-compare__brand { display: block; font-size: 1.15rem; font-weight: 800; color: rgb(20, 28, 77); }
.ftr-compare__table small { color: #6c757d; }
.ftr-yes { background: rgba(22, 163, 74, 0.07); }
.ftr-no { background: rgba(239, 68, 68, 0.06); }
.ftr-yes i { color: #16a34a; font-size: 1.2rem; display: block; margin-bottom: 0.25rem; }
.ftr-no i { color: #ef4444; font-size: 1.2rem; display: block; margin-bottom: 0.25rem; }
.ftr-compare__total td { background: #f7f9fc; font-size: 1.05rem; }

/* ============================================================
   PRICING — cards partial (_pricing) + page (Pricing/Index)
   ============================================================ */
.prx { background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%); }
.prx-toggle__label { display: block; font-size: 0.85rem; font-weight: 600; color: #6c757d; margin-bottom: 0.6rem; }
.prx-toggle { display: inline-flex; gap: 4px; padding: 4px; background: #eef2fb; border-radius: 50rem; }
.prx-toggle__btn { border: none; background: transparent; padding: 0.5rem 1.25rem; border-radius: 50rem; font-weight: 600; font-size: 0.9rem; color: #3a4256; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.prx-toggle__btn:hover { color: #2563eb; }
.prx-toggle__btn.is-active { background: #fff; color: #2563eb; box-shadow: 0 2px 8px rgba(20, 28, 77, 0.12); }
.prx-card { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.prx-card.is-match { box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.55), 0 20px 46px rgba(20, 28, 77, 0.16); border-color: transparent; }
.prx-card { display: flex; flex-direction: column; height: 100%; padding: 2.25rem 1.75rem; background: #fff; border: 1px solid #e9edf4; border-radius: 20px; text-align: center; box-shadow: 0 8px 28px rgba(20, 28, 77, 0.06); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; position: relative; }
.prx-card:hover { transform: translateY(-8px); box-shadow: 0 20px 46px rgba(20, 28, 77, 0.14); border-color: rgba(37, 99, 235, 0.3); }
.prx-card__name { display: block; font-size: 1.25rem; font-weight: 700; color: rgb(20, 28, 77); margin-bottom: 0.75rem; }
.prx-price { line-height: 1; margin-bottom: 0.4rem; }
.prx-price__amount { font-size: clamp(2.2rem, 4vw, 2.8rem); font-weight: 800; color: rgb(20, 28, 77); }
.prx-card__period { color: #6c757d; font-size: 0.92rem; margin-bottom: 1.5rem; }
.prx-features { list-style: none; margin: 0 0 1.75rem; padding: 1.5rem 0 0; text-align: left; border-top: 1px dashed #e6eaf2; flex-grow: 1; }
.prx-features li { position: relative; padding: 0.45rem 0 0.45rem 1.85rem; font-size: 0.94rem; color: #3a4256; line-height: 1.5; }
.prx-features li::before { content: "\f00c"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: 0.55rem; font-size: 0.68rem; color: #16a34a; width: 1.2rem; height: 1.2rem; line-height: 1.2rem; text-align: center; border-radius: 50%; background: rgba(22, 163, 74, 0.12); }
.prx-btn { display: block; width: 100%; padding: 0.8rem 1.25rem; border: none; border-radius: 50rem; font-weight: 600; font-size: 1rem; cursor: pointer; transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.prx-btn--primary:hover { filter: brightness(1.05); transform: translateY(-2px); }
.prx-btn--light { color: #141c4d; background: #fff; box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18); }
.prx-btn--light:hover { transform: translateY(-2px); }
.prx-card--featured { background: linear-gradient(150deg, #141c4d 0%, #1d2a6b 55%, #2563eb 100%); border-color: transparent; box-shadow: 0 22px 50px rgba(20, 28, 77, 0.28); }
.prx-card--featured .prx-card__name, .prx-card--featured .prx-price__amount { color: #fff; }
.prx-card--featured .prx-card__period { color: rgba(255, 255, 255, 0.7); }
.prx-card--featured .prx-features { border-top-color: rgba(255, 255, 255, 0.18); }
.prx-card--featured .prx-features li { color: rgba(255, 255, 255, 0.92); }
.prx-card--featured .prx-features li::before { color: #4ade80; background: rgba(74, 222, 128, 0.18); }
.prx-badge { position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%); padding: 0.35rem 1rem; font-size: 0.78rem; font-weight: 700; color: #141c4d; background: linear-gradient(135deg, #fde047, #facc15); border-radius: 50rem; box-shadow: 0 6px 16px rgba(250, 204, 21, 0.4); white-space: nowrap; }
.prx-hero { position: relative; overflow: hidden; padding: 5rem 0 4rem; background: linear-gradient(135deg, #141c4d 0%, #1d2a6b 55%, #2563eb 100%); color: #fff; }
.prx-hero__blob--1 { width: 340px; height: 340px; background: #3b82f6; top: -110px; right: -70px; }
.prx-hero__blob--2 { width: 280px; height: 280px; background: #7c3aed; bottom: -120px; left: -70px; }
.prx-hero__title { font-weight: 800; line-height: 1.15; font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1.25rem; }
.prx-hero__lead { font-size: 1.12rem; line-height: 1.65; color: rgba(255, 255, 255, 0.9); max-width: 48rem; margin: 0 auto 1rem; }
.prx-hero__sub { font-size: 0.96rem; line-height: 1.6; color: rgba(255, 255, 255, 0.72); max-width: 46rem; margin: 0 auto 1.75rem; }
.prx-hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.5rem; }
.prx-hero__chips span { font-size: 0.92rem; color: rgba(255, 255, 255, 0.92); }
.prx-hero__chips i { color: #4ade80; margin-right: 0.4rem; }
.prx-matrix { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 36px rgba(20, 28, 77, 0.08); border: 1px solid #eef1f6; }
.prx-matrix__table { margin: 0; }
.prx-matrix__table thead th { padding: 1.15rem 1rem; vertical-align: middle; background: #f7f9fc; color: rgb(20, 28, 77); font-weight: 700; border-bottom: 2px solid #e6eaf2; }
.prx-matrix__table tbody td { padding: 0.9rem 1rem; vertical-align: middle; border-bottom: 1px solid #f1f4f9; }
.prx-matrix__table tbody tr.table-light td { background: #f9fbfe; }
.prx-matrix__table thead th.prx-matrix__win, .prx-matrix__table tbody td:nth-child(2) { background: rgba(37, 99, 235, 0.06); }
.prx-matrix__table tbody tr.table-light td:nth-child(2) { background: rgba(37, 99, 235, 0.1); }
.prx-matrix__table .fa-check-circle { color: #16a34a; }
.prx-matrix__table .fa-times-circle { color: #cbd2dd; }
.prx-guarantee { text-align: center; color: #fff; padding: 3rem 2rem; border-radius: 24px; background: linear-gradient(135deg, #141c4d 0%, #2563eb 100%); box-shadow: 0 22px 50px rgba(20, 28, 77, 0.25); }
.prx-guarantee__icon { width: 84px; height: 84px; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 2.2rem; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25); }
.prx-guarantee__title { font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1rem; }
.prx-guarantee__text { font-size: 1.05rem; line-height: 1.65; color: rgba(255, 255, 255, 0.9); max-width: 44rem; margin: 0 auto 1.75rem; }

/* ============================================================
   SITE-WIDE CTA band (_Cta.cshtml)
   ============================================================ */
.rp-cta { position: relative; overflow: hidden; padding: 3.25rem 2rem; border-radius: 24px; text-align: center; color: #fff; background: linear-gradient(135deg, #141c4d 0%, #1d2a6b 55%, #2563eb 100%); box-shadow: 0 22px 50px rgba(20, 28, 77, 0.25); }
.rp-cta__blob { opacity: 0.45; }
.rp-cta__blob--1 { width: 300px; height: 300px; background: #3b82f6; top: -120px; right: -60px; }
.rp-cta__blob--2 { width: 240px; height: 240px; background: #7c3aed; bottom: -120px; left: -60px; }
.rp-cta__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.rp-cta__title { font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 0.85rem; }
.rp-cta__text { font-size: 1.05rem; line-height: 1.65; color: rgba(255, 255, 255, 0.9); margin-bottom: 1.75rem; }
.rp-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.rp-cta__btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.8rem 1.6rem; border-radius: 50rem; font-weight: 600; font-size: 1rem; border: none; cursor: pointer; text-decoration: none; transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease; }
.rp-cta__btn--primary { background: #fff; color: #141c4d; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
.rp-cta__btn--primary:hover { transform: translateY(-2px); color: #141c4d; }
.rp-cta__btn--ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.rp-cta__btn--ghost:hover { background: rgba(255, 255, 255, 0.2); color: #fff; transform: translateY(-2px); }
.rp-cta__note { margin: 1.5rem 0 0; font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); }

/* ============================================================
   LEGACY page-block fixes (generic Bootstrap cards & hardcoded
   purple from site.css that the variable rebrand can't reach)
   ============================================================ */
.card.border-0.shadow-sm,
.card.shadow-sm {
	border-radius: 16px !important;
	box-shadow: 0 6px 22px rgba(20, 28, 77, 0.05) !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card.border-0.shadow-sm:hover,
.card.shadow-sm:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 38px rgba(20, 28, 77, 0.12) !important;
}
/* keep the featured dark pricing card flat (no hover lift conflict) */
.prx-card.shadow-sm:hover { transform: translateY(-8px); }

.team-image,
.map-container { background: linear-gradient(135deg, rgba(20, 28, 77, 0.92), rgba(37, 99, 235, 0.92)) !important; }
.cta-section,
.office-hours,
.vision-mission { background: linear-gradient(135deg, #141c4d 0%, #2563eb 100%) !important; }
.form-control:focus { border-color: #2563eb !important; box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.2) !important; }

/* ============================================================
   Consolidated responsive tweaks (from per-page <style> blocks)
   ============================================================ */
@media (min-width: 992px) {
	.prx-card--featured { transform: scale(1.04); }
	.prx-card--featured:hover { transform: scale(1.04) translateY(-8px); }
}
@media (max-width: 991.98px) {
	.ftr-stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
	.rp-feat-card { padding: 1.5rem 1.25rem; }
	.rp-feat-card__icon { width: 48px; height: 48px; font-size: 1.2rem; }
	.ftr-hero { padding: 3.5rem 0; }
	.ftr-stats { margin-top: -2rem; }
	.ftr-module { padding: 1.5rem; }
	.ftr-module__head { flex-direction: column; gap: 0.85rem; }
	.ftr-highlight { padding: 2rem 1.25rem; }
	.prx-hero { padding: 3.5rem 0 3rem; }
	.prx-guarantee { padding: 2.25rem 1.25rem; }
	.hm-why { padding: 2.25rem 1.25rem; }
	.rp-cta { padding: 2.25rem 1.25rem; }
	.rp-cta__btn { width: 100%; }
	.bcs-group-head__count { display: none; }
}

/* ============================================================
   Floating Action Buttons (moved from _Layout.cshtml)
   ============================================================ */
.fab-btn { position: fixed; bottom: 24px; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .28); z-index: 1039; transition: transform .2s ease, box-shadow .2s ease; }
.fab-btn:hover { transform: scale(1.12); box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.fab-whatsapp { right: 24px; background: #25D366; color: #fff; }
.fab-whatsapp:hover { color: #fff; background: #1ebe5d; }
.fab-demo { right: 88px; background: #e85d04; color: #fff; }
.fab-demo:hover { color: #fff; background: #d14e00; }
.fab-call { left: 24px; background: #0f3460; color: #fff; }
.fab-call:hover { color: #fff; background: #1a4a80; }
@media (max-width: 576px) {
	.fab-btn { width: 50px; height: 50px; font-size: 1.25rem; bottom: 16px; }
	.fab-whatsapp { right: 16px; }
	.fab-demo { right: 74px; }
	.fab-call { left: 16px; }
}

/* ============================================================
   Cookie Consent Banner (moved from _Layout.cshtml)
   ============================================================ */
.cookie-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1045; display: none; max-width: 760px; margin: 0 auto; background: #fff; color: #1a1a2e; border: 1px solid #e2e6ee; border-radius: 14px; box-shadow: 0 8px 28px rgba(15, 52, 96, .18); padding: 20px 24px; }
.cookie-consent.is-visible { display: block; }
.cookie-consent__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.cookie-consent__text { flex: 1 1 320px; font-size: .95rem; line-height: 1.55; margin: 0; }
.cookie-consent__text a { color: #0f3460; font-weight: 600; text-decoration: underline; }
.cookie-consent__actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-consent__btn { min-height: 44px; padding: 10px 22px; border-radius: 8px; font-size: .95rem; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: background .2s ease, color .2s ease; }
.cookie-consent__btn--accept { background: #e85d04; color: #fff; }
.cookie-consent__btn--accept:hover { background: #d14e00; }
.cookie-consent__btn--decline { background: #fff; color: #0f3460; border-color: #0f3460; }
.cookie-consent__btn--decline:hover { background: #0f3460; color: #fff; }
.cookie-consent__btn:focus-visible { outline: 3px solid #0f3460; outline-offset: 2px; }
@media (max-width: 576px) {
	.cookie-consent { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
	.cookie-consent__actions { width: 100%; }
	.cookie-consent__btn { flex: 1 1 0; }
}
