/* =========================================================================
   Athath Express — 03 HEADER
   Topbar + sticky desktop header + mobile drawer.
   ====================================================================== */

/* -------------------------------------------------------------------------
   Topbar
   ---------------------------------------------------------------------- */

.a-topbar {
	background: var(--a-green-deep);
	color: rgba(233, 243, 236, .78);
	font-size: .82rem;
	line-height: 1.5;
}
.a-topbar__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 38px;
	padding-block: 7px;
}
.a-topbar__meta {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}
.a-topbar__meta li,
.a-topbar__side { display: flex; align-items: center; gap: 8px; }
.a-topbar__side { gap: 18px; }
.a-topbar .a-icon { width: 15px; height: 15px; color: var(--a-green-bright); }
.a-topbar__live {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 600;
}
.a-topbar__live i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--a-green-bright);
	box-shadow: 0 0 0 0 rgba(46, 204, 113, .6);
	animation: a-pulse 2.6s infinite;
}
@keyframes a-pulse {
	0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, .55); }
	70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
	100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
.a-topbar__phone {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #fff;
	font-weight: 700;
	font-feature-settings: "tnum";
}
.a-topbar__phone:hover { color: var(--a-green-bright); }

@media (max-width: 860px) {
	.a-topbar__meta li:nth-child(2) { display: none; }
	.a-topbar__live { display: none; }
}
@media (max-width: 560px) {
	.a-topbar { font-size: .76rem; }
	.a-topbar__meta li span { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* -------------------------------------------------------------------------
   Header shell
   ---------------------------------------------------------------------- */

.a-header {
	position: sticky;
	inset-block-start: 0;
	z-index: 90;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(14px);
	border-block-end: 1px solid var(--a-line);
	transition: box-shadow .35s var(--a-ease), background-color .35s var(--a-ease);
}
.a-header.is-stuck {
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 12px 32px -22px rgba(10, 61, 32, .55);
}
.a-header__in {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(14px, 2vw, 36px);
	min-height: var(--a-header-h);
	transition: min-height .35s var(--a-ease);
}
.a-header.is-stuck .a-header__in { min-height: 70px; }

/* Brand */
.a-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--a-ink);
}
.a-logo {
	width: 46px;
	height: 46px;
	flex: none;
	border-radius: 14px;
	box-shadow: 0 10px 22px -12px rgba(10, 61, 32, .8);
	transition: transform .5s var(--a-ease);
}
.a-brand:hover .a-logo { transform: rotate(-4deg) scale(1.04); }
.a-brand__txt { display: flex; flex-direction: column; line-height: 1.25; }
.a-brand__txt strong {
	font-size: 1.18rem;
	font-weight: 800;
	color: var(--a-green-deep);
}
.a-brand__txt small {
	font-size: .76rem;
	font-weight: 500;
	color: var(--a-muted);
}

/* Navigation */
.a-nav { display: flex; justify-content: center; }
.a-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(6px, 1.4vw, 20px);
}
.a-nav__list a {
	position: relative;
	display: block;
	padding: 10px 12px;
	color: var(--a-ink);
	font-size: 1.06rem;
	font-weight: 700;
	white-space: nowrap;
	border-radius: var(--a-r-xs);
	transition: color .3s var(--a-ease);
}
.a-nav__list a::after {
	content: "";
	position: absolute;
	inset-block-end: 2px;
	inset-inline-start: 50%;
	width: 0;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(to left, var(--a-gold), var(--a-green));
	transform: translateX(50%);
	transition: width .35s var(--a-ease);
}
html[dir="ltr"] .a-nav__list a::after { transform: translateX(-50%); }
.a-nav__list a:hover { color: var(--a-green-dark); }
.a-nav__list a:hover::after { width: calc(100% - 24px); }
.a-nav__list .current-menu-item > a,
.a-nav__list .current_page_item > a,
.a-nav__list .current-menu-parent > a,
.a-nav__list .current_page_parent > a { color: var(--a-green-dark); }
.a-nav__list .current-menu-item > a::after,
.a-nav__list .current_page_item > a::after,
.a-nav__list .current-menu-parent > a::after,
.a-nav__list .current_page_parent > a::after { width: calc(100% - 24px); }

/* Actions */
.a-header__act {
	display: flex;
	align-items: center;
	gap: 12px;
	justify-self: end;
}
.a-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-inline-end: 14px;
	border-inline-end: 1px solid var(--a-line);
	color: var(--a-ink);
}
.a-header__phone-ic {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--a-tint);
	color: var(--a-green-dark);
	transition: transform .4s var(--a-ease), background-color .4s var(--a-ease);
}
.a-header__phone-ic .a-icon { width: 18px; height: 18px; }
.a-header__phone:hover .a-header__phone-ic {
	transform: translateY(-2px);
	background: #dff0e5;
}
.a-header__phone-txt { display: flex; flex-direction: column; line-height: 1.25; }
.a-header__phone-txt small { font-size: .72rem; color: var(--a-muted); font-weight: 600; }
.a-header__phone-txt strong {
	font-size: 1rem;
	font-weight: 800;
	color: var(--a-green-deep);
	font-feature-settings: "tnum";
}

/* Burger */
.a-burger {
	display: none;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	border: 1px solid var(--a-line-2);
	background: var(--a-white);
	color: var(--a-green-deep);
}
.a-burger__box {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 20px;
}
.a-burger__box i {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .35s var(--a-ease), opacity .25s var(--a-ease), width .35s var(--a-ease);
}
.a-burger__box i:nth-child(2) { width: 14px; margin-inline-start: auto; }
.a-burger[aria-expanded="true"] .a-burger__box i:nth-child(1) { transform: translateY(7px) rotate(-45deg); }
.a-burger[aria-expanded="true"] .a-burger__box i:nth-child(2) { opacity: 0; }
.a-burger[aria-expanded="true"] .a-burger__box i:nth-child(3) { transform: translateY(-7px) rotate(45deg); width: 20px; }

/* -------------------------------------------------------------------------
   Breakpoints — hamburger is mobile/tablet only
   ---------------------------------------------------------------------- */

@media (max-width: 1180px) {
	.a-nav__list a { font-size: 1rem; padding-inline: 9px; }
	.a-header__phone-txt small { display: none; }
}
@media (max-width: 1024px) {
	.a-header__in { grid-template-columns: auto 1fr; }
	.a-nav { display: none; }
	.a-burger { display: grid; }
}
@media (max-width: 720px) {
	.a-header__phone { display: none; }
	.a-header__wa span { display: none; }
	.a-header__wa { padding: 12px; border-radius: 14px; }
	.a-header__wa .a-icon { width: 21px; height: 21px; }
	.a-logo { width: 42px; height: 42px; }
	.a-brand__txt strong { font-size: 1.05rem; }
	.a-brand__txt small { display: none; }
	:root { --a-header-h: 66px; }
}

/* -------------------------------------------------------------------------
   Drawer
   ---------------------------------------------------------------------- */

.a-scrim {
	position: fixed;
	inset: 0;
	z-index: 95;
	background: rgba(8, 30, 18, .55);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity .35s var(--a-ease);
}
.a-scrim.is-on { opacity: 1; }

.a-drawer {
	position: fixed;
	inset-block: 0;
	inset-inline-start: 0;
	z-index: 100;
	display: flex;
	flex-direction: column;
	width: min(340px, 88vw);
	padding: 20px 22px 26px;
	background: var(--a-white);
	box-shadow: -30px 0 60px -30px rgba(10, 61, 32, .6);
	transform: translateX(100%);
	visibility: hidden;
	transition: transform .42s var(--a-ease), visibility .42s var(--a-ease);
	overflow-y: auto;
	overscroll-behavior: contain;
}
html[dir="ltr"] .a-drawer { transform: translateX(-100%); }
.a-drawer.is-open { transform: none; visibility: visible; }

.a-drawer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-block-end: 18px;
	border-block-end: 1px solid var(--a-line);
}
.a-drawer__close {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	flex: none;
	border-radius: 12px;
	border: 1px solid var(--a-line-2);
	color: var(--a-ink);
	font-size: 1.6rem;
	line-height: 1;
}
.a-drawer__close:hover { background: var(--a-cream); }

.a-drawer__nav { padding-block: 10px; }
.a-drawer__list { display: flex; flex-direction: column; }
.a-drawer__list a {
	display: block;
	padding: 15px 4px;
	border-block-end: 1px solid var(--a-line);
	color: var(--a-ink);
	font-size: 1.14rem;
	font-weight: 700;
	transition: color .3s var(--a-ease), padding-inline-start .3s var(--a-ease);
}
.a-drawer__list li:last-child a { border-block-end: 0; }
.a-drawer__list a:hover { color: var(--a-green); padding-inline-start: 8px; }
.a-drawer__list .current-menu-item > a,
.a-drawer__list .current_page_item > a {
	color: var(--a-green-dark);
	position: relative;
}
.a-drawer__list .current-menu-item > a::before,
.a-drawer__list .current_page_item > a::before {
	content: "";
	position: absolute;
	inset-inline-start: -15px;
	inset-block: 15px;
	width: 3px;
	border-radius: 3px;
	background: var(--a-gold);
}

.a-drawer__foot {
	margin-block-start: auto;
	padding-block-start: 20px;
	display: grid;
	gap: 10px;
}
.a-drawer__meta {
	display: grid;
	gap: 9px;
	margin-block-start: 8px;
	padding-block-start: 16px;
	border-block-start: 1px solid var(--a-line);
	color: var(--a-muted);
	font-size: .88rem;
}
.a-drawer__meta li { display: flex; align-items: center; gap: 9px; }
.a-drawer__meta .a-icon { width: 17px; height: 17px; color: var(--a-green); }
