/* Ruhix Smart QR — poster ke design par based.
   Layout: dark green hero + light field sections, ek peela accent band. */
:root {
	--green-900: #0B2419;
	--green: #123B2A;      /* brand dark green */
	--green-600: #145232;
	--mint: #E3F1E7;
	--field: #F5F7EF;      /* page ground */
	--paper: #FFFFFF;
	--line: #DCE5D6;
	--ink: #13261D;
	--muted: #4A5E53;
	--on-dark: #D7E6DC;
	--accent: #F2B705;     /* Customizer se badlega */
	--wa: #1F8A4C;

	--f-display: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
	--f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--f-brand: 'Quicksand', 'Inter', system-ui, sans-serif;

	--radius: 22px;
	--maxw: 1180px;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
	margin: 0;
	background: var(--field);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--green-600); }
a:hover { color: var(--green-900); }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.05; margin: 0; text-wrap: balance; color: var(--green); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-left: max(20px, env(safe-area-inset-left, 0px));
	padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--paper); color: var(--green); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 16px; }

.ic { flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 12px 24px;
	border-radius: 14px; border: 2px solid transparent;
	font-family: var(--f-display); font-weight: 800; font-size: 20px; line-height: 1;
	text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--green); }
.btn-accent:hover { color: var(--green-900); filter: brightness(1.04); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #FFFFFF; }
.btn-ghost:hover { color: #FFFFFF; border-color: #FFFFFF; background: rgba(255,255,255,.08); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 17px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--green);
	color: #FFFFFF;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img, .brand .custom-logo { width: 44px; height: 44px; object-fit: contain; display: block; }
.brand-name { font-family: var(--f-brand); font-weight: 600; font-size: 30px; letter-spacing: .5px; color: #EEF3F7; text-decoration: none; line-height: 1; }
a.brand-name:hover { color: #FFFFFF; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav-list a:hover { color: #FFFFFF; }

.nav-toggle {
	display: none; background: transparent; border: 0; color: #FFFFFF;
	width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; border-radius: 10px;
}
.nav-toggle .when-open { display: none; }
.nav-open .nav-toggle .when-open { display: inline-flex; }
.nav-open .nav-toggle .when-closed { display: none; }

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 8px;
		background: var(--green);
		padding: 8px max(20px, env(safe-area-inset-right, 0px)) 24px max(20px, env(safe-area-inset-left, 0px));
		border-bottom: 1px solid rgba(255,255,255,.1);
	}
	.nav-open .site-nav { display: flex; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { display: block; padding: 14px 4px; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
	.site-nav .btn { margin-top: 12px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--green); color: #FFFFFF; padding-block: 56px 80px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: center; }
.eyebrow-chip {
	display: inline-block; background: var(--accent); color: var(--green);
	font-weight: 700; font-size: 16px; padding: 8px 14px; border-radius: 8px;
}
.hero h1 { color: #FFFFFF; font-weight: 800; font-size: clamp(42px, 6.4vw, 76px); line-height: .98; letter-spacing: -.5px; margin-top: 22px; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { margin-top: 22px; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--on-dark); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--on-dark); font-size: 15px; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { color: var(--accent); }

.qr-card {
	background: var(--paper); border-radius: 28px; padding: 28px;
	display: flex; flex-direction: column; align-items: center; gap: 18px;
	box-shadow: 0 24px 60px rgba(0,0,0,.28);
	color: var(--green);
	transform: rotate(2deg);
}
.qr-box { position: relative; width: 100%; max-width: 280px; aspect-ratio: 1; }
.qr-svg { width: 100%; height: 100%; display: block; fill: var(--green); }
.qr-badge {
	position: absolute; left: 50%; top: 50%; width: 23%; aspect-ratio: 1; transform: translate(-50%, -50%);
	background: var(--accent); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--green);
}
.qr-badge .ic { width: 56%; height: 56%; stroke-width: 2.2; }
.verified {
	display: inline-flex; align-items: center; gap: 8px; background: var(--mint); color: var(--green-600);
	font-weight: 700; font-size: 16px; padding: 9px 16px; border-radius: 999px;
}
.verified .ic { stroke-width: 2.6; }
.qr-caption { font-family: var(--f-display); font-weight: 700; font-size: 22px; }

@media (max-width: 900px) {
	.hero { padding-block: 40px 56px; }
	.hero-inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	.qr-card { max-width: 340px; width: 100%; margin-inline: auto; transform: none; }
}

/* ---------- Strip ---------- */
.strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 20px; }
.strip-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.strip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.strip-list li { font-family: var(--f-display); font-weight: 700; font-size: 18px; color: var(--green); padding: 4px 14px; border: 1.5px solid var(--line); border-radius: 999px; }

/* ---------- Sections ---------- */
.section { padding-block: 88px; }
.section-tint { background: var(--mint); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 50px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 30em; }
@media (max-width: 700px) { .section { padding-block: 60px; } .section-head { margin-bottom: 28px; } }

/* Solutions */
.sol-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sol-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s ease, transform .15s ease; }
.sol-card:hover { border-color: var(--green-600); transform: translateY(-2px); }
.sol-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--mint); color: var(--green-600); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.sol-card h3 { font-size: 28px; font-weight: 800; }
.sol-sub { font-weight: 600; font-size: 17px; line-height: 1.4; color: var(--ink); }
.sol-card ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 960px) { .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .sol-grid { grid-template-columns: minmax(0, 1fr); } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--paper); border-radius: var(--radius); }
.step-no { width: 52px; height: 52px; border-radius: 999px; background: var(--green); color: #FFFFFF; font-family: var(--f-display); font-weight: 800; font-size: 26px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.steps h3 { font-size: 24px; font-weight: 800; }
.steps p { color: var(--muted); font-size: 16px; }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Customise band */
.custom-band { background: var(--accent); border-radius: 28px; padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; gap: 26px; color: var(--green); }
.custom-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.custom-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.custom-head .ic { width: 44px; height: 44px; }
.custom-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.custom-grid li { display: flex; align-items: center; gap: 10px; background: var(--paper); border-radius: 14px; padding: 16px 18px; font-weight: 600; font-size: 16px; line-height: 1.35; }
.custom-grid .ic { color: var(--green-600); stroke-width: 2.6; }
@media (max-width: 900px) { .custom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .custom-grid { grid-template-columns: minmax(0, 1fr); } .custom-head .ic { display: none; } }

/* Benefits */
.ben-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ben-card { padding: 28px 0 0; border-top: 3px solid var(--green); display: flex; flex-direction: column; gap: 12px; }
.ben-icon { color: var(--green-600); }
.ben-card h3 { font-size: 28px; font-weight: 800; }
.ben-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 16.5px; }
.ben-card li + li { margin-top: 4px; }
@media (max-width: 820px) { .ben-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* ---------- Demo ---------- */
.demo { background: var(--green); color: #FFFFFF; padding-block: 88px; }
.demo-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.demo-copy h2 { color: #FFFFFF; font-size: clamp(38px, 5vw, 58px); font-weight: 800; }
.demo-copy p { margin-top: 16px; color: var(--on-dark); font-size: 19px; max-width: 26em; }
.demo-contact { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 16px; }
.demo-contact li { display: flex; align-items: center; gap: 14px; }
.demo-contact .ic { color: var(--accent); }
.demo-contact a { color: #FFFFFF; font-family: var(--f-display); font-weight: 700; font-size: 24px; text-decoration: none; overflow-wrap: anywhere; }
.demo-contact a:hover { color: var(--accent); }

.demo-form { background: var(--paper); color: var(--ink); border-radius: 26px; padding: clamp(22px, 3.5vw, 36px); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 15px; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 8px; }
.field input[type="text"], .field input[type="tel"], .field textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--ink);
	background: var(--field); border: 1.5px solid var(--line); border-radius: 12px;
	padding: 12px 14px; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(20,82,50,.15); }
.chk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chk { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 15px; font-weight: 500; }
.chk input { width: 18px; height: 18px; accent-color: var(--green-600); margin: 0; }
.chk:has(input:checked) { border-color: var(--green-600); background: var(--mint); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-msg.ok { background: var(--mint); color: var(--green-600); }
.form-msg.err { background: #FDECEA; color: #8A1F12; }

@media (max-width: 900px) { .demo { padding-block: 60px; } .demo-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 560px) { .field-row, .chk-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: var(--on-dark); padding-block: 56px 28px; font-size: 15px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer-brand p { margin-top: 14px; max-width: 26em; }
.site-footer h3 { color: #FFFFFF; font-family: var(--f-body); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .ic { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
@media (max-width: 820px) { .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* WhatsApp float */
.wa-float {
	position: fixed; z-index: 60;
	right: calc(20px + env(safe-area-inset-right, 0px));
	bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	width: 60px; height: 60px; border-radius: 999px;
	background: var(--wa); color: #FFFFFF;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
.wa-float:hover { color: #FFFFFF; transform: scale(1.05); }

/* ---------- Normal pages / blog ---------- */
.content-wrap { max-width: 780px; }
.entry + .entry { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.entry-title { font-size: clamp(32px, 4vw, 46px); margin-bottom: 20px; }
.entry-title a { color: inherit; text-decoration: none; }
.entry-content > * + * { margin-top: 1em; }
.entry-content img { height: auto; border-radius: 12px; }

/* ---------- Header/Footer chhupe hon tab ---------- */
html:has(body.ruhix-no-header) { scroll-padding-top: 0; }
.qr-page { padding-block: max(24px, env(safe-area-inset-top, 0px)) max(32px, env(safe-area-inset-bottom, 0px)); min-height: 100vh; min-height: 100dvh; }
.qr-page-inner { max-width: 720px; }
.qr-page .entry-content > * + * { margin-top: 1em; }
.qr-page .entry-content img { height: auto; border-radius: 12px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 900px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--paper); border-radius: 18px; border: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--f-display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--green-600); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item h3 { font-size: 22px; font-weight: 700; line-height: 1.25; }
.faq-item p { padding: 0 24px 22px; color: var(--muted); font-size: 16.5px; max-width: 62ch; }
