/*
 * Prayag Pandits — NRI Puja Services hub
 *
 * This file extends the exact NRI Pind Daan route language: the same design
 * tokens, typography, hero proportions, section headings and button system.
 */

body.nrih-route {
	--ppn-text-muted: #6b625d;
}

body.nrih-route .ppn-fab,
body.nrih-route .ppn-footer-form {
	display: none !important;
}

.nrih-route .nrih-services {
	scroll-margin-top: 92px;
}

.nrih-page {
	background: var(--ppn-bg);
}

.nrih-hero .npd-hero__content {
	max-width: 680px;
}

.nrih-hero .npd-hero__media > img {
	object-position: center 42%;
}

.nrih-services {
	background: var(--ppn-bg-cream);
}

.nrih-service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.nrih-service-card {
	min-width: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--ppn-border);
	border-radius: var(--ppn-radius-lg);
	background: var(--ppn-white);
	box-shadow: var(--ppn-shadow-sm);
	transition: border-color 150ms var(--ppn-ease-spring), box-shadow 150ms var(--ppn-ease-spring), transform 150ms var(--ppn-ease-spring);
}

.nrih-service-card:hover {
	border-color: var(--ppn-border-hover);
	box-shadow: var(--ppn-shadow-card);
	transform: translateY(-3px);
}

.nrih-service-card.is-seasonal {
	border-color: var(--ppn-saffron);
}

.nrih-service-card__media {
	position: relative;
	height: 190px;
	overflow: hidden;
	background: var(--ppn-bg-cream-deep);
}

.nrih-service-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--ppn-duration-slow) var(--ppn-ease);
}

.nrih-service-card:hover .nrih-service-card__media img {
	transform: scale(1.035);
}

.nrih-service-card__media > span {
	position: absolute;
	top: 12px;
	left: 12px;
	max-width: calc(100% - 24px);
	padding: 5px 11px;
	border-radius: var(--ppn-radius-pill);
	background: rgba(255, 253, 251, 0.94);
	font-family: var(--ppn-font-heading);
	font-size: 0.64rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--ppn-maroon-deep);
	box-shadow: var(--ppn-shadow-sm);
}

.nrih-service-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 20px;
}

.nrih-service-card h3 {
	margin: 0 0 8px;
	font-family: var(--ppn-font-heading);
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ppn-charcoal);
}

.nrih-service-card__body > p {
	margin: 0;
	font-family: var(--ppn-font-body);
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--ppn-text-muted);
}

.nrih-place-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 16px 0 18px;
	padding: 0;
	list-style: none;
}

.nrih-place-list li {
	padding: 5px 9px;
	border: 1px solid var(--ppn-border);
	border-radius: var(--ppn-radius-pill);
	background: var(--ppn-bg-cream);
	font-family: var(--ppn-font-heading);
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ppn-charcoal);
}

.nrih-service-card__footer {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--ppn-border);
}

.nrih-service-price {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 12px !important;
	font-family: var(--ppn-font-heading);
}

.nrih-service-price > span {
	font-size: 0.75rem;
	color: var(--ppn-text-muted);
}

.nrih-service-price > strong,
.nrih-service-price .woocommerce-Price-amount {
	font-size: 1.18rem;
	font-weight: 800;
	color: var(--ppn-maroon);
}

.nrih-service-card__footer .ppn-btn {
	width: 100%;
	min-height: 44px;
	padding: 10px 13px;
	border-radius: var(--ppn-radius-sm);
	font-size: var(--ppn-text-xs);
	letter-spacing: 0;
	text-align: center;
	text-transform: none;
}

.nrih-service-card.is-unavailable .nrih-service-price > strong {
	max-width: 190px;
	font-size: 0.82rem;
	line-height: 1.4;
	text-align: right;
	color: var(--ppn-charcoal);
}

.nrih-coordination {
	background: var(--ppn-white);
}

.nrih-flow {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--ppn-border);
	border-bottom: 1px solid var(--ppn-border);
}

.nrih-flow article {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	column-gap: 14px;
	padding: 22px 24px;
	border-right: 1px solid var(--ppn-border);
	background: transparent;
}

.nrih-flow article:last-child {
	border-right: 0;
}

.nrih-flow article > span {
	grid-row: 1 / 3;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	margin: 1px 0 0;
	border-radius: var(--ppn-radius-sm);
	background: var(--ppn-bg-cream);
	color: var(--ppn-saffron-deep);
}

.nrih-flow h3 {
	margin: 0 0 7px;
	font-family: var(--ppn-font-heading);
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--ppn-charcoal);
}

.nrih-flow p {
	margin: 0;
	font-family: var(--ppn-font-body);
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--ppn-text-muted);
}

.nrih-coordination__reassurance {
	max-width: 880px;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	align-items: center;
	margin: 18px auto 0;
	padding: 15px 18px;
	border-radius: var(--ppn-radius-md);
	background: var(--ppn-bg-warm);
}

.nrih-coordination__reassurance > svg {
	color: var(--ppn-maroon);
}

.nrih-coordination__reassurance p {
	margin: 0;
	font-family: var(--ppn-font-body);
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--ppn-text-muted);
}

.nrih-coordination__reassurance strong {
	color: var(--ppn-charcoal);
}

.nrih-seasonal {
	padding: clamp(44px, 5.5vw, 68px) 0;
	background: var(--ppn-maroon);
	color: var(--ppn-white);
}

.nrih-seasonal__grid {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 52px;
	align-items: center;
}

.nrih-seasonal__date {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 10px;
	padding: 22px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--ppn-radius-lg);
	background: rgba(255, 255, 255, 0.08);
	text-align: center;
}

.nrih-seasonal__date > span,
.nrih-seasonal__date > small {
	grid-column: 1 / -1;
	font-family: var(--ppn-font-heading);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nrih-seasonal__date > span {
	font-size: var(--ppn-text-2xs);
	font-weight: 700;
	color: var(--ppn-saffron-light);
}

.nrih-seasonal__date > strong {
	font-family: var(--ppn-font-heading);
	font-size: 1.25rem;
	line-height: 1.2;
	color: var(--ppn-white);
}

.nrih-seasonal__date > i {
	width: 18px;
	height: 1px;
	background: rgba(255, 255, 255, 0.52);
}

.nrih-seasonal__date > small {
	font-size: 0.66rem;
	color: rgba(255, 255, 255, 0.74);
}

.nrih-seasonal__content {
	max-width: 760px;
}

.nrih-seasonal .npd-eyebrow {
	color: var(--ppn-saffron-light);
}

body .nrih-seasonal h2 {
	margin: 0 0 12px;
	font-family: var(--ppn-font-heading);
	font-size: clamp(1.35rem, 2.8vw, 1.8rem);
	font-weight: 700;
	line-height: 1.3;
	color: var(--ppn-white);
}

.nrih-seasonal__content > p:not(.npd-eyebrow) {
	max-width: 720px;
	margin: 0 0 20px;
	font-family: var(--ppn-font-body);
	font-size: var(--ppn-text-base);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.84);
}

.nrih-seasonal .ppn-btn {
	width: fit-content;
}

.nrih-guidance {
	background: var(--ppn-bg-cream);
}

.nrih-guidance__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
	gap: 56px;
	align-items: start;
}

.nrih-guidance__content h2 {
	margin: 0 0 18px;
	padding-left: 14px;
	border-left: 3px solid var(--ppn-saffron);
	font-family: var(--ppn-font-heading);
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 700;
	line-height: 1.3;
	color: var(--ppn-charcoal);
}

.nrih-guidance__content > p:not(.npd-eyebrow) {
	margin: 0 0 14px;
	font-family: var(--ppn-font-body);
	font-size: var(--ppn-text-base);
	line-height: 1.75;
	color: var(--ppn-text-muted);
}

.nrih-guidance__content .nrih-secondary-link {
	margin-top: 20px !important;
	padding-top: 16px;
	border-top: 1px solid var(--ppn-border);
	font-size: var(--ppn-text-sm) !important;
}

.nrih-secondary-link a {
	font-weight: 700;
	color: var(--ppn-maroon);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nrih-tradition {
	position: sticky;
	top: 110px;
	padding: 26px;
	border: 1px solid rgba(232, 115, 26, 0.25);
	border-radius: var(--ppn-radius-lg);
	background: var(--ppn-white);
	box-shadow: var(--ppn-shadow-md);
}

.nrih-tradition > span {
	display: block;
	margin-bottom: 10px;
	font-family: var(--ppn-font-heading);
	font-size: 1.35rem;
	color: var(--ppn-saffron-deep);
}

.nrih-tradition blockquote {
	margin: 12px 0 14px;
	font-family: var(--ppn-font-heading);
	font-size: 1.12rem;
	font-weight: 600;
	font-style: italic;
	line-height: 1.55;
	color: var(--ppn-charcoal);
}

.nrih-tradition > p:not(.npd-eyebrow) {
	margin: 0 0 14px;
	font-family: var(--ppn-font-body);
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--ppn-text-muted);
}

.nrih-tradition cite {
	font-family: var(--ppn-font-heading);
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 600;
	line-height: 1.5;
	color: var(--ppn-maroon);
}

.nrih-trust {
	background: var(--ppn-white);
}

.nrih-trust__facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 20px;
	border: 1px solid var(--ppn-border);
	border-radius: var(--ppn-radius-lg);
	overflow: hidden;
}

.nrih-trust__facts p {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 18px;
	border-right: 1px solid var(--ppn-border);
	font-family: var(--ppn-font-heading);
}

.nrih-trust__facts p:last-child {
	border-right: 0;
}

.nrih-trust__facts strong {
	font-size: 0.92rem;
	line-height: 1.35;
	color: var(--ppn-charcoal);
}

.nrih-trust__facts span {
	font-size: 0.75rem;
	line-height: 1.45;
	color: var(--ppn-text-muted);
}

.nrih-testimonials {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.nrih-testimonials blockquote {
	margin: 0;
	padding: 20px;
	border: 1px solid var(--ppn-border);
	border-radius: var(--ppn-radius-lg);
	background: var(--ppn-bg-cream);
}

.nrih-testimonials blockquote > p {
	margin: 0 0 14px;
	font-family: var(--ppn-font-body);
	font-size: 0.875rem;
	font-style: italic;
	line-height: 1.7;
	color: var(--ppn-text);
}

.nrih-testimonials footer {
	display: grid;
	gap: 2px;
	font-family: var(--ppn-font-heading);
}

.nrih-testimonials footer strong {
	font-size: var(--ppn-text-xs);
	color: var(--ppn-charcoal);
}

.nrih-testimonials footer span {
	font-size: 0.72rem;
	color: var(--ppn-text-muted);
}

.nrih-faq {
	background: var(--ppn-bg-cream);
}

.nrih-final .npd-final__actions {
	justify-content: flex-end;
}

.nrih-route .npd-mobile-bar {
	transition: transform 180ms ease, opacity 160ms ease, visibility 160ms ease;
}

.nrih-route .npd-mobile-bar.is-hidden {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translateY(calc(100% + 24px));
}

@media (min-width: 861px) {
	body.nrih-route .ppn-topbar__left,
	body.nrih-route .ppn-nav__icon--phone,
	body.nrih-route .ppn-nav__icon--wa {
		display: none !important;
	}

	body.nrih-route .ppn-topbar__inner {
		justify-content: flex-end;
	}
}

@media (max-width: 1024px) {
	.nrih-service-grid {
		gap: 14px;
	}

	.nrih-service-card__body {
		padding: 17px;
	}

	.nrih-service-card__media {
		height: 170px;
	}

	.nrih-guidance__grid {
		gap: 32px;
		grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
	}
}

@media (max-width: 860px) {
	.nrih-service-grid,
	.nrih-flow {
		grid-template-columns: 1fr;
	}

	.nrih-flow article {
		border-right: 0;
		border-bottom: 1px solid var(--ppn-border);
	}

	.nrih-flow article:last-child {
		border-bottom: 0;
	}

	.nrih-service-card {
		display: grid;
		grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
	}

	.nrih-service-card__media {
		height: 100%;
		min-height: 300px;
	}

	.nrih-seasonal__grid,
	.nrih-guidance__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.nrih-seasonal__date {
		max-width: 340px;
	}

	.nrih-tradition {
		position: static;
	}

	.nrih-trust__facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nrih-trust__facts p:nth-child(2) {
		border-right: 0;
	}

	.nrih-trust__facts p:nth-child(-n+2) {
		border-bottom: 1px solid var(--ppn-border);
	}
}

@media (max-width: 640px) {
	body.nrih-route .npd-section {
		padding-top: 44px;
		padding-bottom: 44px;
	}

	.nrih-service-card {
		display: flex;
	}

	.nrih-service-card__media {
		height: 176px;
		min-height: 0;
	}

	.nrih-service-card__body {
		padding: 16px;
	}

	.nrih-flow article {
		grid-template-columns: 38px minmax(0, 1fr);
		column-gap: 12px;
		padding: 17px 4px;
	}

	.nrih-flow article > span {
		width: 38px;
		height: 38px;
	}

	.nrih-seasonal {
		padding: 40px 0;
	}

	.nrih-seasonal__grid {
		gap: 22px;
	}

	.nrih-seasonal__date {
		width: 100%;
		max-width: none;
		padding: 17px;
	}

	.nrih-trust__facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nrih-trust__facts p {
		padding: 14px;
		border-right: 1px solid var(--ppn-border);
		border-bottom: 1px solid var(--ppn-border);
	}

	.nrih-trust__facts p:nth-child(even) {
		border-right: 0;
	}

	.nrih-trust__facts p:nth-child(n+3) {
		border-bottom: 0;
	}

	.nrih-testimonials {
		grid-template-columns: 1fr;
	}

	.nrih-tradition {
		padding: 21px;
	}

	.nrih-final .npd-final__actions,
	.nrih-final .ppn-btn {
		width: 100%;
	}

	body.nrih-route .ppn-footer-links {
		padding: 24px 0;
	}

	body.nrih-route .ppn-footer-links-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px 18px;
	}

	body.nrih-route .ppn-footer-city ul {
		display: none;
	}

	body.nrih-route .ppn-footer-city h4 {
		margin: 0;
	}

	body.nrih-route .ppn-footer-city h4 a {
		min-height: 44px;
		display: flex;
		align-items: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nrih-service-card,
	.nrih-service-card__media img {
		transition: none;
	}

	.nrih-service-card:hover,
	.nrih-service-card:hover .nrih-service-card__media img {
		transform: none;
	}
}
