/* AgileFever webinar landing page — additions on top of the theme's custom.css */

/* --- strip the site chrome: this is an ad landing page, no navigation --- */
.afwp-lp-page .main-header,
.afwp-lp-page .product-category-menu,
.afwp-lp-page .menu-overlay,
.afwp-lp-page .floating-stripe,
.afwp-lp-page footer.main-footer { display: none !important; }

#afwp-top-sentinel { width: 100%; height: 1px; margin-bottom: -1px; }

/* slim landing-page header: logo + one CTA */
.afwp-lp-header {
	position: sticky;
	top: 0;
	z-index: 55;
	background: #fff;
	border-bottom: 1px solid #ece9f2;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.afwp-lp-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 12px;
	padding-bottom: 12px;
	transition: padding 0.2s ease;
}
.afwp-lp-header.is-scrolled {
	border-bottom-color: transparent;
	box-shadow: 0 6px 22px rgba(0, 0, 34, 0.09);
}
.afwp-lp-header.is-scrolled .container { padding-top: 8px; padding-bottom: 8px; }
.afwp-lp-header.is-scrolled .afwp-lp-logo img { height: 52px; }
.afwp-lp-logo { display: inline-flex; }
.afwp-lp-logo img { height: 62px; width: auto; transition: height 0.2s ease; }
.afwp-lp-header-r { display: flex; align-items: center; gap: 18px; }
.afwp-lp-header-note { font-size: 0.86rem; color: #6a6a78; font-weight: 500; }
.afwp-lp-header-cta { margin: 0; padding: 10px 24px; white-space: nowrap; box-shadow: 0 6px 16px rgba(239, 53, 62, 0.24); }
@media (max-width: 640px) {
	.afwp-lp-header-note { display: none; }
	.afwp-lp-logo img { height: 48px; }
	.afwp-lp-header.is-scrolled .afwp-lp-logo img { height: 42px; }
	.afwp-lp-header-cta { padding: 9px 16px; font-size: 0.9rem; }
}

.afwp-lp-foot { background: #000022; color: rgba(255, 255, 255, 0.6); padding: 26px 0; font-size: 0.88rem; }
.afwp-lp-foot .container { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; }
.afwp-lp-foot a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.afwp-lp-foot a:hover { color: #fff; }
.afwp-lp-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.afwp-lp .afwp-eyebrow,
.afwp-sec .afwp-eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #ef353e;
	margin-bottom: 8px;
}

.afwp-lp .afwp-fine {
	font-size: 0.85rem;
	color: #6a6a78;
	margin-top: 16px;
}

/* keep the theme's l-widget cap sane against the form */
@media (min-width: 992px) {
	.afwp-lp .banner .l-widget { max-width: 560px; }
	.afwp-lp .banner .r-widget { padding-left: 48px; }
	.afwp-lp .banner .d-flex { align-items: center; }
}

/* stats: a tight single row inside the hero left column */
.afwp-lp .list-info-top {
	padding-top: 20px;
	margin-top: 20px;
	border-top: 1px solid rgba(0, 0, 34, 0.09);
}
.afwp-lp .list-info-top .list-icons {
	display: flex;
	flex-wrap: wrap;
	justify-content: initial;
	gap: 20px 30px;
}
.afwp-lp .list-icon {
	grid-template-columns: 30px auto;
	column-gap: 10px;
	align-items: center;
	padding: 0;
	margin: 0;
}
.afwp-lp .list-icon .icon { width: 30px; height: 30px; padding: 6px; margin: 0; }
.afwp-lp .list-icon .value { font-size: 1.05rem; line-height: 1.15; }
.afwp-lp .list-icon label { font-size: 0.74rem; line-height: 1.2; color: #6a6a78; font-weight: 500; }
@media (max-width: 420px) {
	.afwp-lp .list-info-top .list-icons { gap: 16px 22px; }
}

/* ---- registration card ---- */
.afwp-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 18px 46px rgba(0, 0, 34, 0.12);
	position: relative;
	max-width: 440px;
	margin: 26px auto 0;
}
@media (min-width: 992px) { .afwp-card { margin: 0 0 0 auto; } }

.afwp-card-badge {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	background: #fff4d6;
	color: #8a5a00;
	border: 1px solid #f4d692;
	font-size: 0.76rem;
	font-weight: 600;
	padding: 4px 14px;
	border-radius: 999px;
}
.afwp-card-body { padding: 26px 22px 18px; }
.afwp-card-title { font-size: 1.3rem; font-weight: 600; text-align: center; margin: 4px 0 16px; color: #000022; }
.afwp-card-title span { color: #ef353e; }
.afwp-card-sub { font-size: 0.9rem; color: #6a6a78; margin-bottom: 4px; }

.afwp-f { display: block; margin-top: 14px; }
.afwp-f > span { display: block; font-size: 0.85rem; font-weight: 600; color: #000022; margin-bottom: 5px; }
.afwp-f > span b { color: #ef353e; font-weight: 700; }
.afwp-f input,
.afwp-f select {
	width: 100%;
	font: inherit;
	padding: 11px 12px;
	border: 1px solid #d7d6e2;
	border-radius: 8px;
	background: #fff;
	color: #000022;
}
.afwp-f input:focus,
.afwp-f select:focus { outline: 2px solid #ef353e; border-color: #ef353e; }

.afwp-form .btn { width: 100%; margin-top: 18px; }
.afwp-actions { display: flex; gap: 10px; margin-top: 18px; }
.afwp-actions .btn { margin-top: 0; }
.afwp-actions .afwp-back { flex: 0 0 34%; }

.afwp-consent { display: flex; gap: 9px; margin-top: 16px; font-size: 0.84rem; color: #6a6a78; align-items: flex-start; }
.afwp-consent input { margin-top: 3px; flex: 0 0 auto; }
.afwp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.afwp-err { color: #ef353e; font-size: 0.88rem; margin-top: 12px; }
.afwp-card-foot { font-size: 0.76rem; color: #8a8a96; text-align: center; margin: 14px 0 0; }
.afwp-card-foot a { color: #6a6a78; text-decoration: underline; }

.afwp-done { text-align: center; padding: 8px 0 4px; }
.afwp-done-ic {
	width: 46px; height: 46px; margin: 0 auto 10px;
	border-radius: 50%; background: #e9f9ef; color: #12864a;
	display: grid; place-items: center; font-size: 1.3rem;
}
.afwp-done h3 { font-size: 1.2rem; color: #000022; margin-bottom: 6px; }
.afwp-done-when { color: #6a6a78; font-size: 0.9rem; margin-bottom: 10px; }

/* intl-tel-input inside the card */
.afwp-f .iti { width: 100%; }
.afwp-f .iti__country-list { z-index: 40; }
.afwp-f .iti--separate-dial-code input { padding-left: 52px; }

/* ---- content sections ---- */
.afwp-sec { padding: 64px 0; background: #fff; }
.afwp-sec h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; color: #000022; margin: 6px 0 0; }
.afwp-sec-sub { color: #6a6a78; font-size: 1.02rem; margin-top: 12px; max-width: 40em; }

/* content + sticky rail layout */
.afwp-body-grid { display: block; }
.afwp-block { padding: 40px 0; border-top: 1px solid #e7e6ef; }
.afwp-block:first-child { padding-top: 0; border-top: 0; }
.afwp-rail { display: none; }

@media (min-width: 1080px) {
	.afwp-body-grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 372px;
		gap: 52px;
		align-items: stretch;
	}
	.afwp-rail { display: block; }
	.afwp-rail-inner { position: sticky; top: 88px; }
	.afwp-rail .afwp-card { margin: 0; max-width: none; box-shadow: 0 14px 38px rgba(0, 0, 34, 0.12); }
	.afwp-rail .afwp-card-body { padding: 22px 20px 16px; }
}

.afwp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin-top: 28px;
}
.afwp-feat { background: #fff; border: 1px solid #e7e6ef; border-radius: 12px; padding: 22px; }
.afwp-feat-ic {
	width: 34px; height: 34px; border-radius: 8px;
	background: #ffeeef; color: #ef353e;
	display: grid; place-items: center; margin-bottom: 12px; font-weight: 700;
}
.afwp-feat h3 { font-size: 1.05rem; font-weight: 600; color: #000022; margin: 0 0 5px; }
.afwp-feat p { color: #6a6a78; font-size: 0.95rem; margin: 0; }

.afwp-agenda { list-style: none; padding: 0; margin: 30px 0 0; counter-reset: none; }
.afwp-agenda li { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid #e7e6ef; }
.afwp-agenda li:first-child { border-top: 0; }
.afwp-agenda .afwp-n {
	flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%;
	background: #000022; color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 0.9rem;
}
.afwp-agenda h3 { font-size: 1.02rem; font-weight: 600; color: #000022; margin: 3px 0 4px; }
.afwp-agenda p { color: #6a6a78; margin: 0; font-size: 0.95rem; }

/* who this is built for — matches the main site's .af-builtfor pills */
.afwp-builtfor-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.afwp-builtfor-pill {
	background: #f4f3f8;
	color: #000022;
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 12px 20px;
	font-size: 0.94rem;
	font-weight: 600;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.afwp-builtfor-pill:hover { border-color: #ef353e; background: #fff7f8; box-shadow: 0 6px 16px rgba(239, 53, 62, 0.1); }
.afwp-builtfor-prereq {
	margin: 32px 0 12px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #ef353e;
}
.afwp-builtfor-callout {
	background: #fdecee;
	border: 1px solid #f7ced3;
	border-radius: 8px;
	padding: 20px 24px;
	font-size: 0.96rem;
	line-height: 1.6;
	color: #6b1424;
	max-width: 900px;
}
.afwp-builtfor-callout p { margin: 0; }
.afwp-builtfor-callout p + p { margin-top: 10px; }
@media (max-width: 700px) {
	.afwp-builtfor-pill { font-size: 0.85rem; padding: 10px 15px; }
	.afwp-builtfor-callout { padding: 16px 18px; font-size: 0.9rem; }
}

/* meet your instructor */
.afwp-instructor-row {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	margin-top: 16px;
}
.afwp-instructor-photo {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
	border: 3px solid #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 34, 0.12);
}
.afwp-instructor-bio p { margin: 0 0 14px; color: #33333d; max-width: 62em; }
.afwp-instructor-bio blockquote {
	margin: 0;
	padding-left: 16px;
	border-left: 3px solid #ef353e;
	color: #33333d;
	font-style: italic;
	max-width: 56em;
}
@media (max-width: 480px) {
	.afwp-instructor-row { flex-direction: column; align-items: flex-start; }
}

/* testimonials — horizontal scroll */
.afwp-quotes {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	margin: 30px -4px 0;
	padding: 4px 4px 14px;
	scrollbar-width: thin;
	scrollbar-color: #d7d6e2 transparent;
}
.afwp-quotes::-webkit-scrollbar { height: 7px; }
.afwp-quotes::-webkit-scrollbar-track { background: transparent; }
.afwp-quotes::-webkit-scrollbar-thumb { background: #d7d6e2; border-radius: 4px; }
.afwp-quote {
	flex: 0 0 300px;
	scroll-snap-align: start;
	background: #fff;
	border: 1px solid #e7e6ef;
	border-radius: 12px;
	padding: 22px;
	margin: 0;
	display: flex;
	flex-direction: column;
}
@media (max-width: 520px) { .afwp-quote { flex-basis: 84vw; } }
.afwp-stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 10px; font-size: 0.9rem; }
.afwp-quote p { color: #3d3d4b; font-size: 0.97rem; flex: 1; margin: 0; }
.afwp-quote figcaption { display: flex; align-items: center; gap: 11px; margin-top: 16px; }
.afwp-avatar {
	width: 38px; height: 38px; border-radius: 50%; flex: 0 0 38px;
	background: #ffeeef; color: #ef353e; font-weight: 700; font-size: 0.85rem;
	display: grid; place-items: center;
}
.afwp-quote figcaption b { display: block; color: #000022; font-size: 0.9rem; }
.afwp-quote figcaption span span { color: #6a6a78; font-size: 0.84rem; }

.afwp-faq { margin-top: 24px; }
.afwp-faq details { border-bottom: 1px solid #e7e6ef; padding: 18px 0; }
.afwp-faq summary { cursor: pointer; font-weight: 600; color: #000022; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.afwp-faq summary::-webkit-details-marker { display: none; }
.afwp-faq summary::after { content: "+"; color: #ef353e; font-size: 1.3rem; line-height: 1; }
.afwp-faq details[open] summary::after { content: "\2013"; }
.afwp-faq details p { color: #6a6a78; margin: 12px 0 0; }

/* ---- final CTA (copy + form) ---- */
.afwp-final-sec { background: #f4f3f8; }
.afwp-final {
	background: #000022;
	color: #fff;
	border-radius: 20px;
	padding: clamp(28px, 4vw, 48px);
	display: grid;
	gap: 30px;
}
.afwp-final h2 { color: #fff; }
.afwp-final p { color: rgba(255, 255, 255, 0.72); margin: 14px 0 18px; max-width: 40em; }
.afwp-final-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.afwp-final-points li { position: relative; padding-left: 26px; color: rgba(255, 255, 255, 0.86); font-size: 0.95rem; }
.afwp-final-points li::before {
	content: "\2713"; position: absolute; left: 0; top: 1px;
	color: #ef353e; font-weight: 700;
}
.afwp-final-form .afwp-card { margin: 0; max-width: none; }
@media (min-width: 900px) {
	.afwp-final { grid-template-columns: 1fr 380px; align-items: center; gap: 44px; }
	.afwp-final-copy { align-self: center; }
}

/* ---- modal ---- */
.afwp-modal[hidden] { display: none !important; }
.afwp-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.afwp-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 34, 0.55); }
.afwp-modal-card {
	position: relative;
	background: #fff;
	border-radius: 16px;
	width: 100%;
	max-width: 460px;
	max-height: 92vh;
	overflow-y: auto;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}
.afwp-modal-card .afwp-card { margin: 0; max-width: none; box-shadow: none; }
.afwp-modal-x {
	position: absolute;
	top: 8px;
	right: 12px;
	z-index: 2;
	background: none;
	border: 0;
	font-size: 1.7rem;
	line-height: 1;
	color: #6a6a78;
	cursor: pointer;
}
