/* ==========================================================================
   Header — top strip, sticky/transparent main bar, mobile drawer
   ========================================================================== */

.ycp-header.ycp-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 999;
	width: 100%;
	background: #fff;
	transition: background var(--ycp-dur) var(--ycp-ease), box-shadow var(--ycp-dur) var(--ycp-ease);
}
.ycp-header.ycp-header.is-transparent {
	position: fixed;
	left: 0; right: 0;
	background: transparent;
}
.ycp-header.ycp-header.is-scrolled,
.ycp-header.ycp-header.is-transparent.is-scrolled {
	background: #fff;
	box-shadow: 0 6px 24px -14px rgba(4, 29, 59, .35);
}

/* Top strip */
.ycp-topbar.ycp-topbar {
	display: none;
	background: var(--ycp-navy-900);
	color: rgba(255, 255, 255, .86);
	font-size: var(--ycp-fs-small);
	overflow: hidden;
	max-height: 44px;
	transition: max-height var(--ycp-dur) var(--ycp-ease), opacity var(--ycp-dur);
}
.is-transparent.is-transparent .ycp-topbar {
	background: rgba(4, 29, 59, .35);
	border-bottom: 1px solid rgba(255, 255, 255, .12);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.ycp-header.ycp-header.is-scrolled .ycp-topbar { max-height: 0; opacity: 0; }
@media (min-width: 900px) { .ycp-topbar.ycp-topbar { display: block; } }

.ycp-topbar__inner.ycp-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.ycp-topbar__text.ycp-topbar__text { display: flex; align-items: center; gap: 10px; letter-spacing: .01em; }
.ycp-topbar__dot.ycp-topbar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ycp-saffron); box-shadow: 0 0 0 4px rgba(245, 130, 22, .2); }
.ycp-topbar__contact.ycp-topbar__contact { display: flex; gap: 24px; }
.ycp-topbar__contact.ycp-topbar__contact a { display: inline-flex; align-items: center; gap: 8px; color: inherit; transition: color var(--ycp-dur); }
.ycp-topbar__contact.ycp-topbar__contact a:hover { color: #fff; }
.ycp-topbar__contact.ycp-topbar__contact .ycp-icon { width: 15px; height: 15px; color: var(--ycp-gold); }

/* Main bar */
.ycp-mainbar__inner.ycp-mainbar__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	min-height: 72px;
	transition: min-height var(--ycp-dur) var(--ycp-ease);
}
@media (min-width: 1024px) { .ycp-mainbar__inner.ycp-mainbar__inner { min-height: 86px; } .is-scrolled.is-scrolled .ycp-mainbar__inner { min-height: 72px; } }

.ycp-logo.ycp-logo { position: relative; display: block; flex: none; }
.ycp.ycp .ycp-logo__img { height: 52px; width: auto; transition: height var(--ycp-dur) var(--ycp-ease), opacity var(--ycp-dur); }
@media (min-width: 1024px) { .ycp.ycp .ycp-logo__img { height: 70px; } .ycp.ycp.is-scrolled .ycp-logo__img { height: 56px; } }
.ycp-logo__img--light.ycp-logo__img--light { position: absolute; inset: 0; opacity: 0; }
.ycp-logo__img--light.ycp-logo__img--light { width: auto; }
.is-transparent.is-transparent:not(.is-scrolled) .ycp-logo__img--light { opacity: 1; }
.is-transparent.is-transparent:not(.is-scrolled) .ycp-logo__img--dark { opacity: 0; }

/* Desktop nav */
.ycp-nav.ycp-nav { display: none; }
@media (min-width: 1024px) { .ycp-nav.ycp-nav { display: block; } }
.ycp-nav__list.ycp-nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ycp-nav__list.ycp-nav__list a {
	position: relative;
	display: block;
	padding: 10px 16px;
	font-family: var(--ycp-font-head);
	font-weight: 600; font-size: .975rem;
	white-space: nowrap;
	color: var(--ycp-navy);
	transition: color var(--ycp-dur);
}
.ycp-nav__list.ycp-nav__list a::after {
	content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
	background: var(--ycp-saffron); border-radius: 2px;
	transform: scaleX(0); transform-origin: left;
	transition: transform var(--ycp-dur) var(--ycp-ease);
}
.ycp-nav__list.ycp-nav__list a:hover::after,
.ycp-nav__list.ycp-nav__list .current-menu-item > a::after,
.ycp-nav__list.ycp-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.is-transparent.is-transparent:not(.is-scrolled) .ycp-nav__list a { color: #fff; }

.ycp-mainbar__actions.ycp-mainbar__actions { display: flex; align-items: center; gap: 10px; }
.ycp-mainbar__cta.ycp-mainbar__cta { display: none; }
@media (min-width: 560px) { .ycp-mainbar__cta.ycp-mainbar__cta { display: inline-flex; } }

.ycp-burger.ycp-burger {
	display: inline-grid; place-items: center;
	width: 48px; height: 48px;
	border-radius: var(--ycp-r-btn);
	border: 1.5px solid var(--ycp-border);
	background: #fff; color: var(--ycp-navy);
	transition: background var(--ycp-dur), border-color var(--ycp-dur), color var(--ycp-dur);
}
.ycp-burger.ycp-burger .ycp-icon { width: 24px; height: 24px; }
.is-transparent.is-transparent:not(.is-scrolled) .ycp-burger { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; }
@media (min-width: 1024px) { .ycp-burger.ycp-burger { display: none; } }

/* Mobile drawer */
.ycp-drawer.ycp-drawer { position: fixed; inset: 0; z-index: 10001; }
.ycp-drawer.ycp-drawer[hidden] { display: none; }
.ycp-drawer__backdrop.ycp-drawer__backdrop {
	position: absolute; inset: 0;
	background: rgba(4, 29, 59, .55);
	opacity: 0; transition: opacity .3s var(--ycp-ease);
}
.ycp-drawer__panel.ycp-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(400px, 88vw);
	display: flex; flex-direction: column; gap: 24px;
	padding: 20px 22px calc(24px + env(safe-area-inset-bottom));
	background: #fff;
	box-shadow: var(--ycp-shadow-lg);
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform .35s var(--ycp-ease);
}
.ycp-drawer.ycp-drawer.is-open .ycp-drawer__backdrop { opacity: 1; }
.ycp-drawer.ycp-drawer.is-open .ycp-drawer__panel { transform: none; }

.ycp-drawer__head.ycp-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.ycp-drawer__head.ycp-drawer__head img { height: 52px; width: auto; }
.ycp-drawer__close.ycp-drawer__close {
	display: grid; place-items: center; width: 44px; height: 44px;
	border-radius: 50%; border: 1px solid var(--ycp-border); background: var(--ycp-bg); color: var(--ycp-navy);
}
.ycp-drawer__nav.ycp-drawer__nav .ycp-nav__list { flex-direction: column; gap: 0; }
.ycp-drawer__nav.ycp-drawer__nav .ycp-nav__list a {
	padding: 16px 4px;
	font-size: 1.15rem; font-weight: 700;
	border-bottom: 1px solid var(--ycp-border);
	color: var(--ycp-navy);
}
.ycp-drawer__nav.ycp-drawer__nav .ycp-nav__list a::after { display: none; }
.ycp-drawer__nav.ycp-drawer__nav .current-menu-item > a,
.ycp-drawer__nav.ycp-drawer__nav a[aria-current="page"] { color: var(--ycp-saffron-600); }
.ycp-drawer__actions.ycp-drawer__actions { display: grid; gap: 10px; }
.ycp-drawer__actions.ycp-drawer__actions .ycp-btn { width: 100%; }
.ycp-drawer__note.ycp-drawer__note { margin-top: auto; font-size: var(--ycp-fs-small); color: var(--ycp-muted); }

html.ycp-lock.ycp-lock, html.ycp-lock.ycp-lock body { overflow: hidden; }
