/* ARSH Header & Footer — frontend */

.ahf {
	--ahf-accent: #c8102e;
	--ahf-logo-h: 56px;
	--ahf-head-h: 84px;
	--ahf-gutter: clamp(20px, 3vw, 48px);
	--ahf-font: Arial, "Helvetica Neue", Helvetica, sans-serif;

	box-sizing: border-box;
	font-family: var(--ahf-font);
	-webkit-font-smoothing: antialiased;
}

.ahf *,
.ahf *::before,
.ahf *::after {
	box-sizing: border-box;
}

.ahf ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ahf li {
	margin: 0;
	padding: 0;
}

.ahf a {
	text-decoration: none;
}

.ahf svg {
	display: block;
	width: 1em;
	height: 1em;
}

.ahf .ahf-logo {
	display: block;
	width: auto;
	height: var(--ahf-logo-h);
	max-width: 100%;
	object-fit: contain;
}

.ahf .ahf-logo-text {
	display: block;
	height: auto;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: currentColor;
}

/* ====================== Header ====================== */

.ahf-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9990;
	height: var(--ahf-head-h);
	background-color: transparent;
	color: #fff;
	transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease, transform 0.3s ease;
}

.ahf-header--sticky {
	position: fixed;
}

.admin-bar .ahf-header--sticky {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .ahf-header--sticky {
		top: 46px;
	}
}

.ahf-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	width: calc(100% - (var(--ahf-gutter) * 2));
	max-width: 1540px;
	height: 100%;
	margin-inline: auto;
}

.ahf-header__logo {
	display: flex;
	flex: 0 1 auto;
	min-width: 0;
	align-items: center;
	color: inherit;
}

/* nav */
.ahf-nav {
	flex: 1 1 auto;
	min-width: 0;
}

.ahf-nav__list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px clamp(18px, 2.3vw, 40px);
}

.ahf-nav__item {
	position: relative;
	display: flex;
	align-items: center;
}

.ahf .ahf-nav__link {
	position: relative;
	display: inline-block;
	padding: 8px 0;
	color: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.ahf .ahf-nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--ahf-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.ahf .ahf-nav__item:hover > .ahf-nav__link,
.ahf .ahf-nav__item.is-active > .ahf-nav__link,
.ahf .ahf-nav__link:focus-visible {
	color: var(--ahf-accent);
}

.ahf .ahf-nav__item:hover > .ahf-nav__link::after,
.ahf .ahf-nav__item.is-active > .ahf-nav__link::after {
	transform: scaleX(1);
}

.ahf .ahf-nav__link:focus-visible,
.ahf .ahf-btn:focus-visible,
.ahf .ahf-phone:focus-visible,
.ahf .ahf-burger:focus-visible,
.ahf .ahf-nav__toggle:focus-visible {
	outline: 2px solid var(--ahf-accent);
	outline-offset: 3px;
}

/* dropdown */
.ahf .ahf-nav__toggle {
	display: none;
}

.ahf .ahf-sub {
	position: absolute;
	top: 100%;
	left: -18px;
	z-index: 5;
	min-width: 270px;
	margin-top: 12px;
	padding: 8px 0;
	border-top: 3px solid var(--ahf-accent);
	background: #fff;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* hover bridge so the menu does not close on the gap */
.ahf .ahf-sub::before {
	content: "";
	position: absolute;
	inset: -16px 0 auto 0;
	height: 16px;
}

.ahf .ahf-nav__item.has-children:hover > .ahf-sub,
.ahf .ahf-nav__item.has-children:focus-within > .ahf-sub,
.ahf .ahf-nav__item.is-open > .ahf-sub {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ahf .ahf-sub a {
	display: block;
	padding: 11px 22px;
	color: #1b1d24;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.3px;
	line-height: 1.35;
	transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.ahf .ahf-sub a:hover,
.ahf .ahf-sub a:focus-visible,
.ahf .ahf-sub a.is-active {
	padding-left: 28px;
	background: #f6f6f7;
	color: var(--ahf-accent);
}

/* right side */
.ahf-header__actions {
	display: flex;
	flex: none;
	margin-left: auto;
	align-items: center;
	gap: 20px;
}

.ahf .ahf-phone {
	display: flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	font-size: 14.5px;
	font-weight: 700;
	letter-spacing: 0.4px;
	white-space: nowrap;
}

.ahf .ahf-phone svg {
	width: 16px;
	height: 16px;
	color: var(--ahf-accent);
}

.ahf .ahf-phone:hover {
	color: var(--ahf-accent);
}

.ahf .ahf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	border: 0;
	border-radius: 0;
	background-color: var(--ahf-accent);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.6px;
	line-height: 1.1;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.ahf .ahf-btn:hover,
.ahf .ahf-btn:focus-visible {
	background-color: #a50d26;
	color: #fff;
}

/* burger */
.ahf .ahf-burger {
	display: none;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	box-shadow: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.ahf .ahf-burger span {
	display: block;
	width: 24px;
	height: 2px;
	background: currentColor;
	transition: transform 0.25s ease, opacity 0.2s ease;
}

.ahf .ahf-burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.ahf .ahf-burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.ahf .ahf-burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* ---- solid (white) state: after scroll, forced, or on pages without a hero ---- */

.ahf-header.is-solid,
.ahf-header--force-solid {
	background-color: #fff;
	color: #111;
	box-shadow: 0 2px 22px rgba(0, 0, 0, 0.1);
}

.ahf-header.is-solid.ahf-header--sticky:not(.at-top) {
	--ahf-head-h: 74px;
}

.ahf-header.is-solid {
	height: 74px;
}

.ahf-header--force-solid {
	height: 84px;
}

.ahf-spacer {
	display: none;
	height: 84px;
}

.ahf-spacer.is-on {
	display: block;
}

/* hero-less page: header is white from the start */
.ahf-header.no-hero {
	background-color: #fff;
	color: #111;
	box-shadow: 0 2px 22px rgba(0, 0, 0, 0.08);
}

/* ---- mobile / tablet ---- */

@media (max-width: 1200px) {
	.ahf-header {
		--ahf-head-h: 72px;

		height: 72px;
		background-color: #fff;
		color: #111;
		box-shadow: 0 2px 18px rgba(0, 0, 0, 0.1);
	}

	.ahf-header.is-solid,
	.ahf-header--force-solid {
		height: 72px;
	}

	.ahf-spacer {
		height: 72px;
	}

	.ahf .ahf-logo {
		height: min(var(--ahf-logo-h), 48px);
	}

	.ahf-header__inner {
		gap: 14px;
	}

	.ahf .ahf-burger {
		display: flex !important;
		flex: none;
		min-width: 42px;
		min-height: 42px;
		color: #111 !important;
		background: transparent !important;
		-webkit-appearance: none;
		appearance: none;
	}

	.ahf .ahf-burger span {
		background-color: #111 !important;
	}

	.ahf .ahf-logo {
		max-width: 150px;
	}

	.ahf .ahf-phone {
		display: none;
	}

	.ahf .ahf-btn {
		padding: 12px 20px;
		font-size: 14px;
	}

	.ahf-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		max-height: calc(100vh - 72px);
		overflow-y: auto;
		background: #fff;
		color: #111;
		border-top: 1px solid #ececec;
		box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	}

	.ahf-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.ahf .ahf-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px var(--ahf-gutter) 16px;
	}

	.ahf-nav__item {
		flex-wrap: wrap;
		border-bottom: 1px solid #f0f0f0;
	}

	.ahf .ahf-nav__link {
		flex: 1 1 auto;
		padding: 15px 0;
		font-size: 13px;
	}

	.ahf .ahf-nav__link::after {
		display: none;
	}

	.ahf .ahf-nav__toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: inherit;
		cursor: pointer;
		box-shadow: none;
	}

	.ahf .ahf-nav__toggle svg {
		width: 18px;
		height: 18px;
		transition: transform 0.2s ease;
	}

	.ahf .ahf-nav__item.is-open > .ahf-nav__toggle svg {
		transform: rotate(180deg);
	}

	.ahf .ahf-sub {
		position: static;
		display: none;
		flex: 0 0 100%;
		min-width: 0;
		margin: 0;
		padding: 0 0 10px 14px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.ahf .ahf-sub::before {
		display: none;
	}

	.ahf .ahf-nav__item.is-open > .ahf-sub {
		display: block;
	}

	/* hover must not open anything on touch layouts */
	.ahf .ahf-nav__item.has-children:hover > .ahf-sub {
		opacity: 1;
		visibility: visible;
	}

	.ahf .ahf-sub a {
		padding: 11px 0;
		font-size: 13px;
	}

	.ahf .ahf-sub a:hover,
	.ahf .ahf-sub a.is-active {
		padding-left: 6px;
		background: transparent;
	}
}

@media (max-width: 420px) {
	.ahf .ahf-btn {
		padding: 11px 16px;
		font-size: 13px;
	}

	.ahf .ahf-logo {
		height: min(var(--ahf-logo-h), 42px);
	}
}

/* ====================== Business bar ====================== */

.ahf-bar {
	border-top: 1px solid #ececec;
	background: #f6f6f7;
	color: #111;
}

.ahf-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 28px;
	width: calc(100% - (var(--ahf-gutter) * 2));
	max-width: 1540px;
	margin: 0 auto;
	padding: 28px 0;
}

.ahf .ahf-bar__title {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: #111;
}

.ahf .ahf-bar__text {
	margin: 0;
	font-size: 12.5px;
	color: #6b707c;
}

.ahf-bar__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ahf .ahf-bar__btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 13px 24px;
	border: 1px solid #dcdcdf;
	background: #fff;
	color: #111;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ahf .ahf-bar__btn svg {
	width: 15px;
	height: 15px;
}

.ahf .ahf-bar__btn:hover {
	border-color: #111;
	background: #111;
	color: #fff;
}

.ahf .ahf-bar__btn--wa {
	border-color: #25d366;
	background: #25d366;
	color: #fff;
}

.ahf .ahf-bar__btn--wa:hover {
	border-color: #1ebe5b;
	background: #1ebe5b;
	color: #fff;
}

/* ====================== Red CTA band ====================== */

.ahf-band {
	background: var(--ahf-accent);
	color: #fff;
}

.ahf-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 28px;
	width: calc(100% - (var(--ahf-gutter) * 2));
	max-width: 1540px;
	margin: 0 auto;
	padding: 20px 0;
}

.ahf .ahf-band__title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: #fff;
}

.ahf .ahf-band__text {
	margin: 3px 0 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.9);
}

.ahf-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ahf .ahf-band__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 22px;
	border: 1.5px solid #fff;
	background: #fff;
	color: var(--ahf-accent);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.9px;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ahf .ahf-band__btn svg {
	width: 14px;
	height: 14px;
}

.ahf .ahf-band__btn--outline {
	background: transparent;
	color: #fff;
}

.ahf .ahf-band__btn:hover {
	background: #111;
	border-color: #111;
	color: #fff;
}

/* ====================== Footer ====================== */

.ahf-footer {
	border-top: 6px solid var(--ahf-accent);
	background: #1b1b1b;
	color: #b4b4b4;
}

.ahf-footer__inner {
	display: grid;
	grid-template-columns: 1.1fr 1fr 1fr 1.1fr;
	gap: 40px;
	width: calc(100% - (var(--ahf-gutter) * 2));
	max-width: 1540px;
	margin: 0 auto;
	padding: 80px 0 72px;
}

.ahf-col {
	min-width: 0;
}

.ahf-footer__logo {
	display: inline-block;
	margin-bottom: 26px;
	color: #fff;
}

.ahf .ahf-footer__about {
	margin: 0;
	font-size: 14px;
	line-height: 1.75;
	color: #b4b4b4;
}

.ahf .ahf-footer__gstin {
	margin: 24px 0 0;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--ahf-accent);
}

.ahf .ahf-col__title {
	margin: 0 0 28px;
	font-size: 15.5px;
	font-weight: 700;
	letter-spacing: 2.4px;
	line-height: 1.3;
	text-transform: uppercase;
	color: #fff;
}

.ahf-links {
	display: flex;
	flex-direction: column;
	gap: 13px;
}

.ahf .ahf-links a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #b4b4b4;
	font-size: 14.5px;
	line-height: 1.4;
	transition: color 0.2s ease, gap 0.2s ease;
}

.ahf .ahf-links a::before {
	content: "";
	flex: none;
	width: 14px;
	height: 2px;
	background: #4a4a4a;
	transition: background-color 0.2s ease, width 0.2s ease;
}

.ahf .ahf-links a:hover {
	gap: 14px;
	color: #fff;
}

.ahf .ahf-links a:hover::before {
	width: 18px;
	background: var(--ahf-accent);
}

.ahf-contact {
	display: flex;
	flex-direction: column;
	gap: 17px;
}

.ahf-contact li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-size: 14.5px;
	line-height: 1.55;
	color: #b4b4b4;
}

.ahf-contact svg {
	flex: none;
	width: 17px;
	height: 17px;
	margin-top: 3px;
	color: var(--ahf-accent);
}

.ahf .ahf-contact a {
	color: #b4b4b4;
}

.ahf .ahf-contact a:hover {
	color: #fff;
}

.ahf-footer__bottom {
	border-top: 1px solid #2a2a2a;
	background: #121212;
}

.ahf-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	width: calc(100% - (var(--ahf-gutter) * 2));
	max-width: 1540px;
	margin: 0 auto;
	padding: 24px 0;
	font-size: 13px;
	color: #777;
}

@media (max-width: 1024px) {
	.ahf-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 44px 36px;
		padding: 60px 0 52px;
	}
}

@media (max-width: 600px) {
	.ahf-footer__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 38px;
		padding: 48px 0 40px;
	}

	.ahf-bar__actions .ahf-bar__btn,
	.ahf-band__actions .ahf-band__btn {
		flex: 1 1 100%;
		justify-content: center;
	}

	.ahf-footer__bottom-inner {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ahf *,
	.ahf *::before,
	.ahf *::after {
		transition: none !important;
	}
}
