/* AP saleroom — staged overlay styles (v2), following the client Website
   Design Overview. Layered over the parent theme's base/components CSS and
   reusing its tokens. Red = selling, blue = buying. */

:root {
	--ap-buyer-blue: #1E5AA8;
	--ap-buyer-blue-bright: #3E86D0;
}

/* --- Preview ribbon ------------------------------------------------------ */
.ap-stage-ribbon {
	position: fixed;
	left: 1rem;
	bottom: 1rem;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	padding: .5rem .9rem;
	border-radius: 999px;
	background: rgba(10, 20, 40, .82);
	backdrop-filter: blur(8px);
	border: 1px solid var(--ap-brass, #C9A227);
	color: var(--ap-cream, #F4EFE4);
	font-size: .78rem;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 10px 30px rgb(0 0 0 / .45);
}
.ap-stage-ribbon__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--ap-brass, #C9A227); box-shadow: 0 0 0 4px rgb(201 162 39 / .25); }
.ap-stage-ribbon__exit { padding-left: .6rem; margin-left: .2rem; border-left: 1px solid rgb(255 255 255 / .25); color: var(--ap-mist, #A9B6CC); font-weight: 500; }
.ap-stage-ribbon:hover .ap-stage-ribbon__exit { color: var(--ap-cream, #F4EFE4); }

/* --- Header -------------------------------------------------------------- */
.ap-header--staged .ap-flaglogo { width: auto; height: 40px; border-radius: 4px; display: block; box-shadow: 0 2px 10px rgb(0 0 0 / .35); }
.ap-header--staged .ap-header__brand { gap: .7rem; }
.ap-header--staged .ap-header__end { display: flex; align-items: center; gap: 1.1rem; }
.ap-header__account { color: var(--ap-mist, #A9B6CC); text-decoration: none; font-size: .86rem; font-weight: 600; white-space: nowrap; }
.ap-header__account:hover { color: var(--ap-cream, #F4EFE4); }

/* Concise top level with submenus */
.ap-header--staged .ap-nav__list { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.ap-header--staged .ap-nav__item { position: relative; }
.ap-header--staged .ap-nav__link { display: inline-flex; align-items: center; gap: .32rem; text-decoration: none; color: var(--ap-cream, #F4EFE4); font-weight: 600; }
.ap-header--staged .ap-nav__link:hover { color: var(--ap-red-bright, #E4344E); }
.ap-nav__caret { font-size: .58em; opacity: .65; transform: translateY(1px); }
.ap-subnav {
	position: absolute;
	top: 100%;
	left: -.75rem;
	min-width: 250px;
	margin: 0;
	padding: .45rem;
	list-style: none;
	background: var(--ap-navy-800, #14223f);
	border: 1px solid var(--ap-navy-700, #26365a);
	border-radius: 12px;
	box-shadow: 0 24px 50px rgb(0 0 0 / .5);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s var(--ap-ease-out, ease), transform .2s var(--ap-ease-out, ease), visibility .2s;
	z-index: 70;
}
/* hover bridge so the pointer can travel into the panel */
.ap-nav__item.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.ap-nav__item.has-sub:hover .ap-subnav,
.ap-nav__item.has-sub:focus-within .ap-subnav { opacity: 1; visibility: visible; transform: translateY(4px); }
.ap-subnav a { display: block; padding: .55rem .7rem; border-radius: 8px; color: var(--ap-mist, #A9B6CC); text-decoration: none; font-size: .92rem; }
.ap-subnav a:hover { background: var(--ap-navy-700, #26365a); color: var(--ap-cream, #F4EFE4); }

/* Mobile submenus */
.ap-mobile__group summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.ap-mobile__group summary::-webkit-details-marker { display: none; }
.ap-mobile__group summary::after { content: "\25BE"; font-size: .7em; opacity: .7; }
.ap-mobile__sub { list-style: none; margin: .4rem 0 .8rem; padding: 0 0 0 .9rem; border-left: 2px solid var(--ap-navy-700, #26365a); }
.ap-mobile__sub a { font-size: .95rem; opacity: .85; }
.ap-mobile__call { display: flex; flex-direction: column; gap: .4rem; margin-top: 1.2rem; }

/* --- Buttons ------------------------------------------------------------- */
.ap-btn--blue { background: var(--ap-buyer-blue); color: #fff; border: 1.5px solid transparent; }
.ap-btn--blue:hover { background: var(--ap-buyer-blue-bright); color: #fff; }
.ap-btn--ghost-light { background: transparent; color: var(--ap-cream, #F4EFE4); border: 1.5px solid rgb(244 239 228 / .5); }
.ap-btn--ghost-light:hover { border-color: var(--ap-cream, #F4EFE4); background: rgb(244 239 228 / .08); }

/* --- Layout shell (no StickyStage curtain in v2) ------------------------- */
.ap-sheet--flat { margin-top: 0; box-shadow: none; }
.ap-anchor { display: block; height: 0; scroll-margin-top: 100px; }
.ap-kicker--sell { color: var(--ap-red-bright, #E4344E); }
.ap-kicker--buy { color: var(--ap-buyer-blue-bright); }

/* --- Hero (image bank, no blown-up backdrop) ----------------------------- */
.ap-hero2 {
	background: linear-gradient(180deg, var(--ap-navy-900, #0d1a33), var(--ap-navy-990, #0A1428));
	padding: clamp(7.5rem, 14vh, 11rem) 0 clamp(3rem, 7vh, 5rem);
	border-bottom: 1px solid var(--ap-navy-700, #26365a);
}
.ap-hero2__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ap-hero2__title { margin: 0 0 1.1rem; max-width: 13em; }
.ap-hero2__title em { font-style: normal; color: var(--ap-red-bright, #E4344E); }
.ap-hero2__lead { max-width: 32em; color: var(--ap-mist, #A9B6CC); }
.ap-hero2__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 1rem; }
.ap-hero2__speak { color: var(--ap-mist, #A9B6CC); font-size: .95rem; margin: 0 0 1.4rem; }
.ap-hero2__speak a { color: var(--ap-cream, #F4EFE4); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgb(244 239 228 / .4); }
.ap-hero2__speak a:hover { border-color: var(--ap-cream, #F4EFE4); }
.ap-hero2__pill { margin: 0; }
.ap-hero2__bank { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ap-hero2__shot { margin: 0; overflow: hidden; border-radius: var(--ap-radius, 14px); aspect-ratio: 4 / 3; border: 1px solid var(--ap-navy-700, #26365a); box-shadow: 0 18px 44px rgb(0 0 0 / .45); }
.ap-hero2__shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ap-ease-out, ease); }
.ap-hero2__shot:hover img { transform: scale(1.05); }
.ap-hero2__shot--1 { margin-top: 1.6rem; }
.ap-hero2__shot--2 { margin-top: -1.6rem; }

/* --- Pathways ------------------------------------------------------------ */
.ap-pathways__head { margin-bottom: 2rem; }
.ap-pathways__head h2 { margin: 0 0 .5rem; }
.ap-pathways__head p { color: var(--ap-mist, #A9B6CC); margin: 0; }
.ap-pathways__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.ap-path {
	position: relative;
	display: flex;
	min-height: 340px;
	border-radius: var(--ap-radius, 14px);
	overflow: hidden;
	isolation: isolate;
	text-decoration: none;
	border: 1px solid var(--ap-navy-700, #26365a);
	transition: transform .4s var(--ap-ease-out, ease), box-shadow .4s var(--ap-ease-out, ease);
}
.ap-path:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgb(0 0 0 / .45); }
.ap-path__bg { position: absolute; inset: 0; z-index: -2; }
.ap-path__bg img { width: 100%; height: 100%; object-fit: cover; }
.ap-path::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.ap-path--sell::after { background: linear-gradient(150deg, rgb(150 12 30 / .94) 30%, rgb(120 10 25 / .74) 100%); }
.ap-path--buy::after { background: linear-gradient(150deg, rgb(16 46 92 / .94) 30%, rgb(30 90 168 / .72) 100%); }
.ap-path__body { display: block; margin-top: auto; padding: 1.8rem clamp(1.4rem, 3vw, 2.2rem) 1.9rem; }
.ap-path__eyebrow { display: block; font-family: var(--ap-heading); text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; color: rgb(255 255 255 / .82); margin-bottom: .5rem; }
.ap-path__title { display: block; font-family: var(--ap-display); font-size: clamp(1.5rem, 2.6vw, 2.05rem); color: #fff; line-height: 1.1; margin-bottom: .7rem; }
.ap-path__copy { display: block; color: rgb(244 239 228 / .93); font-size: 1rem; max-width: 34em; margin-bottom: 1.2rem; }
.ap-path__go { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-weight: 700; border-bottom: 1px solid rgb(255 255 255 / .45); padding-bottom: 2px; }
.ap-path:hover .ap-path__go { border-color: #fff; }

/* Low-premium explainer */
.ap-premium {
	margin-top: 1.6rem;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .4rem 1rem;
	padding: 1.1rem 1.4rem;
	border: 1px solid var(--ap-brass, #C9A227);
	border-radius: var(--ap-radius, 14px);
	background: rgb(201 162 39 / .07);
}
.ap-premium__lead { margin: 0; font-family: var(--ap-heading); font-weight: 700; color: var(--ap-brass, #C9A227); }
.ap-premium__body { margin: 0; color: var(--ap-mist, #A9B6CC); }

/* --- Trust band ---------------------------------------------------------- */
.ap-trust__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ap-trust__media { border-radius: var(--ap-radius, 14px); overflow: hidden; box-shadow: 0 24px 60px rgb(0 0 0 / .5); }
.ap-trust__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-trust__body h2 { max-width: 12em; margin-bottom: 1rem; }
.ap-trust__body p { color: var(--ap-mist, #A9B6CC); }
.ap-trust__points { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; display: grid; gap: .55rem; }
.ap-trust__points li { position: relative; padding-left: 1.6rem; color: var(--ap-cream, #F4EFE4); }
.ap-trust__points li::before { content: "\2713"; position: absolute; left: 0; color: var(--ap-brass, #C9A227); font-weight: 700; }

/* --- Seller: full service ------------------------------------------------ */
.ap-sell__head { max-width: 46em; margin-bottom: 2.4rem; }
.ap-sell__head h2 { margin: .2rem 0 .8rem; }
.ap-sell__lead { color: var(--ap-mist, #A9B6CC); font-size: 1.1rem; margin: 0; }
.ap-sell__service { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 2rem; }
.ap-svc { display: flex; gap: .8rem; align-items: flex-start; }
.ap-svc__tick { flex: 0 0 auto; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--ap-union-red, #C8102E); color: #fff; font-size: .8rem; font-weight: 700; }
.ap-svc h3 { margin: 0 0 .25rem; font-size: 1.08rem; font-family: var(--ap-heading); color: var(--ap-cream, #F4EFE4); }
.ap-svc p { margin: 0; color: var(--ap-mist, #A9B6CC); font-size: .95rem; }

.ap-sell__proof { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--ap-navy-700, #26365a); }
.ap-sell__proof-kicker { font-family: var(--ap-heading); text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; color: var(--ap-brass, #C9A227); margin: 0 0 1.4rem; }
.ap-sell__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.8rem; }
.ap-sell__stats .ap-stat__num { display: block; font-family: var(--ap-display); font-size: clamp(2rem, 3.6vw, 2.9rem); color: var(--ap-cream, #F4EFE4); line-height: 1.05; }
.ap-sell__stats .ap-stat__label { display: block; margin-top: .55rem; max-width: 22ch; color: var(--ap-mist, #A9B6CC); font-size: .9rem; }
.ap-sell__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.3rem; margin-top: 2.4rem; }
.ap-sell__call { color: var(--ap-cream, #F4EFE4); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgb(244 239 228 / .4); padding-bottom: 2px; }
.ap-sell__call:hover { border-color: var(--ap-cream, #F4EFE4); }

/* --- What we sell (two categories only) ---------------------------------- */
.ap-sell2__head { margin-bottom: 2rem; }
.ap-sell2__head h2 { max-width: 16em; }
.ap-sell2__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.ap-cat { position: relative; display: block; border-radius: var(--ap-radius, 14px); overflow: hidden; text-decoration: none; border: 1px solid var(--ap-navy-700, #26365a); }
.ap-cat__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.ap-cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ap-ease-out, ease); }
.ap-cat:hover .ap-cat__media img { transform: scale(1.05); }
.ap-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(10 20 40 / .88) 100%); pointer-events: none; }
.ap-cat__label { position: absolute; left: 1.3rem; right: 1.3rem; bottom: 1.2rem; z-index: 1; }
.ap-cat__name { display: block; font-family: var(--ap-heading); font-weight: 600; font-size: 1.45rem; color: var(--ap-paper, #fff); text-shadow: 0 2px 18px rgb(0 0 0 / .8); }
.ap-cat__copy { display: block; margin-top: .25rem; color: rgb(244 239 228 / .85); font-size: .95rem; }
.ap-sell2__note { margin-top: 1.4rem; color: var(--ap-mist, #A9B6CC); font-size: .9rem; }

/* --- Results / buyer line-up --------------------------------------------- */
.ap-results__intro { color: var(--ap-mist, #A9B6CC); max-width: 40em; margin-top: .6rem; }
.ap-results__foot { margin-top: 1.4rem; }
.ap-results__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }

/* --- News ---------------------------------------------------------------- */
.ap-news__head { margin-bottom: 2rem; }
.ap-news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ap-news__card { padding: 1.5rem; border-radius: var(--ap-radius, 14px); background: var(--ap-navy-800, #14223f); border: 1px solid var(--ap-navy-700, #26365a); }
.ap-news__card.is-placeholder { border-style: dashed; }
.ap-news__tag { display: inline-block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ap-brass, #C9A227); margin-bottom: .6rem; }
.ap-news__title { margin: 0 0 .5rem; font-size: 1.15rem; font-family: var(--ap-heading); color: var(--ap-cream, #F4EFE4); }
.ap-news__card p { margin: 0; color: var(--ap-mist, #A9B6CC); font-size: .95rem; font-style: italic; }
.ap-news__social { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--ap-navy-700, #26365a); color: var(--ap-mist, #A9B6CC); font-size: .9rem; }
.ap-news__social a { color: var(--ap-cream, #F4EFE4); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgb(244 239 228 / .35); }
.ap-news__social a:hover { border-color: var(--ap-cream, #F4EFE4); }

/* --- Invited testimonials ------------------------------------------------ */
.ap-testi__head { margin-bottom: 2.2rem; }
.ap-testi__title { max-width: 12em; }
.ap-testi__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ap-testi__card { margin: 0; padding: 1.6rem; border-radius: var(--ap-radius, 14px); background: var(--ap-navy-800, #14223f); border: 1px solid var(--ap-navy-700, #26365a); display: flex; flex-direction: column; gap: 1rem; }
.ap-testi__card blockquote { margin: 0; color: var(--ap-cream, #F4EFE4); font-size: 1.02rem; line-height: 1.5; position: relative; padding-top: 1.2rem; }
.ap-testi__card blockquote::before { content: "\201C"; position: absolute; top: -.3rem; left: -.2rem; font-family: var(--ap-display); font-size: 2.6rem; color: var(--ap-union-red, #C8102E); line-height: 1; }
.ap-testi__card figcaption { color: var(--ap-mist, #A9B6CC); font-size: .85rem; font-weight: 600; }
.ap-testi__card.is-placeholder { border-style: dashed; }
.ap-testi__card.is-placeholder blockquote { font-style: italic; }
.ap-testi__foot { margin-top: 1.4rem; font-size: .82rem; color: var(--ap-mist, #A9B6CC); font-style: italic; }

/* --- Staged CTA ---------------------------------------------------------- */
.ap-cta--staged .ap-cta__buttons { display: flex; flex-wrap: wrap; gap: .8rem; }
.ap-cta__tel { font-size: 1.15rem; font-weight: 700; color: var(--ap-cream, #F4EFE4) !important; }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1080px) {
	.ap-header__account { display: none; }
	.ap-sell__service { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ap-sell__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.ap-hero2__grid,
	.ap-trust__grid { grid-template-columns: 1fr; }
	.ap-hero2 { padding-top: clamp(6rem, 12vh, 8rem); }
	.ap-pathways__grid,
	.ap-sell2__grid { grid-template-columns: 1fr; }
	.ap-news__grid,
	.ap-testi__grid { grid-template-columns: 1fr; }
	.ap-hero2__shot--1,
	.ap-hero2__shot--2 { margin-top: 0; }
	.ap-trust__media { order: -1; }
}
@media (max-width: 620px) {
	.ap-header--staged .ap-header__name { display: none; }
	.ap-sell__service { grid-template-columns: 1fr; }
	.ap-path { min-height: 300px; }
	.ap-stage-ribbon { font-size: .72rem; padding: .45rem .7rem; }
}
