/* =============================================================
	RE-374: Homepage 2.0 — homepage-v2.css
	All styles scoped to .hp2-* prefix.
	============================================================= */

/* ---- Global / utility ---- */
.hp2-btn {
	display: inline-block;
	border-radius: 50px;
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.hp2-btn--primary { background: #34a0d0; color: #fff; }
.hp2-btn--primary:hover { background: #0d6e9e; color: #fff; }
.hp2-btn--secondary { background: #fff; color: #34a0d0; border: 2px solid #34a0d0; }
.hp2-btn--secondary:hover { background: #fff; color: #0d6e9e; border-color: #0d6e9e; }
.hp2-btn--tangerine { background: #f58121; color: #fff !important; }
.hp2-btn--tangerine:hover { opacity: 0.85; }
.hp2-btn svg, .hp2-hero__tertiary svg { vertical-align: middle; display: inline; }
.hp2-chevron-down { display: inline-block; transform: rotate(90deg); line-height: 1; font-size: 2.1em; margin-left: 10px; vertical-align: -0.19em; }

/* ---- Shared h2 ---- */
.hp2-h2 { font-size: 23px; font-weight: 700; text-align: center; color: #243065; margin: 0 0 16px; }
.hp2-programs .hp2-h2 { margin-bottom: 36px; }

/* ---- Shared section body text ---- */
.hp2-section-body { font-size: 14px; line-height: 1.5; text-align: center; color: #555; margin: 0 0 16px; }
.hp2-pd-events p.hp2-section-body { color: #a8deee; margin-top: 6px; margin-bottom: 0; }
.hp2-pd-events .hp2-pd-grid { margin-top: 16px; }
.hp2-lead-form .hp2-section-body { color: rgba(255,255,255,0.8); }

/* ---- S1: Hero ---- */
.hp2-hero { position: relative; background: rgb(245,245,246); }
.hp2-hero__inner { display: flex; flex-direction: column; }
.hp2-hero__media { order: -1; }
.hp2-hero__content { padding: 36px 24px; }
.hp2-hero__img { width: 100%; height: 200px; object-fit: cover; object-position: top center; display: block; }
.hp2-hero__h1 { font-size: 32px; font-weight: 700; color: #243065; margin: 0 0 12px; text-align: center; }
.hp2-hero__rating { font-size: 16px; color: #243065; margin: 0 0 20px; text-align: center; }
.hp2-hero__stars { color: #f58121; }
.hp2-hero__ctas { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.hp2-hero__ctas .hp2-btn { text-align: center; }
.hp2-hero__ctas .hp2-btn--primary { color: #fff; }
.hp2-hero__ctas .hp2-btn--secondary { color: #34a0d0; }
.hp2-hero__ctas .hp2-btn:hover { color: #fff; }
.hp2-hero__ctas .hp2-btn--secondary:hover { color: #0d6e9e; }
.hp2-hero__tertiary { display: block; font-size: 15px; text-decoration: none; text-align: center; }
.hp2-hero .hp2-hero__tertiary { color: #34a0d0 !important; }
.hp2-hero__tertiary:hover { text-decoration: underline; }

@media (min-width: 768px) {
	.hp2-hero__img { height: 400px; }
	.hp2-hero__h1 { font-size: 40px; }
	.hp2-hero__ctas { flex-direction: row; justify-content: center; }
	.hp2-hero__ctas .hp2-btn { max-width: 480px; }
}

@media (min-width: 1024px) {
	.hp2-hero__inner { display: flex; flex-direction: row; align-items: stretch; min-height: 460px; }
	.hp2-hero__content { flex: 0 0 58%; max-width: 58%; padding: 60px 40px 60px max(20px, calc((100vw - 1140px) / 2)); display: flex; flex-direction: column; justify-content: center; text-align: left; box-sizing: border-box; }
	.hp2-hero__inner--no-media .hp2-hero__content { flex: 0 0 100%; max-width: 100%; }
	.hp2-hero__media { flex: 1; overflow: hidden; border-top-left-radius: 125px; order: 0; }
	.hp2-hero__img { height: 100%; object-position: top left; -webkit-mask-image: none; mask-image: none; max-width: none; margin: 0; }
	.hp2-hero__h1 { text-align: left; font-size: 44px; }
	.hp2-hero__rating { text-align: left; }
	.hp2-hero__ctas { justify-content: flex-start; }
	.hp2-hero__ctas .hp2-btn { max-width: none; }
	.hp2-hero__tertiary { text-align: left; }
}

/* ---- S2: Trust bar ---- */
.hp2-trust-bar { background: #243065; padding: 36px 0; }
.hp2-trust-bar__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 16px; }
.hp2-trust-bar__item { text-align: center; }
.hp2-trust-bar__stat { display: block; font-size: 19px; font-weight: 700; color: #a8deee; }
.hp2-trust-bar__label { display: block; font-size: 14px; color: #d1d2d4; margin-top: 4px; }

@media (min-width: 768px) {
	.hp2-trust-bar__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---- S3: Guarantee ---- */
.hp2-guarantee { background: #f5f5f6; padding: 36px 0; }
.hp2-guarantee__inner { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 600px; margin: 0 auto; }
.hp2-guarantee__badge {
	width: 40px;
	height: 40px;
	background: #008255;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
}
.hp2-guarantee__link { font-size: 13px; color: #34a0d0; text-decoration: none; font-weight: 600; }
.hp2-guarantee__link:hover { text-decoration: underline; }

/* ---- S4: Testimonials ---- */
.hp2-testimonials { padding: 36px 0; }
.hp2-testimonials iframe { border: 0; overflow: hidden; }
.hp2-testimonials__chip {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	margin: 0 0 16px;
	background: #a8deee;
	color: #243065;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 400;
	line-height: 19px;
}

@media (min-width: 1024px) {
	.hp2-testimonials__chip { width: fit-content; padding: 0 20px; margin-left: auto; margin-right: auto; }
}

/* ---- S5: Why Trust — stat pillars ---- */
.hp2-why-trust { padding: 36px 0; background: #fff; }

.hp2-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 32px; }
.hp2-pillar { background: #f5f5f6; height: 88px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 4px; }
.hp2-pillar__stat { display: block; font-size: 22px; font-weight: 700; color: #34a0d0; line-height: normal; }
.hp2-pillar__label { display: block; font-size: 12px; color: #243065; margin-top: 4px; line-height: 13px; }

@media (min-width: 1024px) {
	.hp2-pillars { grid-template-columns: repeat(4, 1fr); }
}

/* ---- S5: Content blocks ---- */
.hp2-blocks { display: grid; grid-template-columns: 1fr; gap: 16px; }
.hp2-block { position: relative; padding: 37px 16px 24px; border-radius: 4px; }
.hp2-block--light { background: #f5f5f6; }
.hp2-block--dark { background: #243065; color: #fff; }
.hp2-block__badge {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	height: 22px;
	padding: 0 10px;
	border-radius: 4px 0 4px 0;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
}
.hp2-block__badge--midnight { background: #243065; color: #fff; }
.hp2-block__badge--ocean { background: #34a0d0; color: #fff; }
.hp2-block__heading { font-size: 20px; font-weight: 700; line-height: 19px; margin: 0 0 12px; }
.hp2-block--light .hp2-block__heading { color: #243065; }
.hp2-block--dark .hp2-block__heading { color: #fff; }
.hp2-block__body { font-size: 13px; line-height: 19px; margin: 0 0 20px; }
.hp2-block--light .hp2-block__body { color: #444; }
.hp2-block--dark .hp2-block__body { color: rgba(255,255,255,0.85); }
.hp2-block__link { display: block; font-size: 13px; color: #34a0d0; text-decoration: none; font-weight: 600; margin-top: 8px; }
.hp2-block__link:hover { text-decoration: underline; }
.hp2-block--dark .hp2-block__link { color: #a8deee; }
.hp2-block--dark .hp2-block__link:hover { color: #34a0d0; }

@media (min-width: 1024px) {
	.hp2-blocks { grid-template-columns: 1fr 1fr; }
}

/* ---- S6: Programs list ---- */
.hp2-programs { background: #f5f5f6; padding: 36px 0; }
.hp2-programs__list { display: block; }

@media (min-width: 1024px) {
	.hp2-programs__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
	.hp2-programs__list .hp2-program-card + .hp2-program-card { border-top: none; }
	.hp2-programs__list .hp2-program-card:nth-child(n+3) { border-top: 1px solid #d1d2d4; }
}

.hp2-program-card {
	display: block;
	padding: 16px 0;
	text-decoration: none;
	color: inherit;
}
.hp2-program-card + .hp2-program-card { border-top: 1px solid #d1d2d4; }
.hp2-program-card__header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}
.hp2-program-card__icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #243065;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.hp2-program-card__icon svg { display: block; }
.hp2-program-card__title { font-size: 17px; font-weight: 700; color: #243065; margin: 0; }
.hp2-program-card__body { font-size: 14px; color: #292929; margin: 0; line-height: 1.5; }
.hp2-program-card__price { font-size: 13px; color: #008255; font-weight: 600; margin: 8px 0 0; }
.hp2-program-card__financing { color: #4f4f4f; font-weight: 400; }
.hp2-program-card__cta { display: block; color: #34a0d0; font-weight: 600; font-size: 13px; margin-top: 12px; }


/* ---- S7: PD Events ---- */
.hp2-pd-events { background: #243065; padding: 36px 0; }
.hp2-pd-events .hp2-h2 { color: #fff; }

.hp2-pd-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
.hp2-pd-card {
	background: rgba(41, 56, 107, 1);
	border: 1px solid #a8deee;
	border-radius: 8px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.hp2-pd-card__title { font-size: 14px; font-weight: 700; line-height: 20px; color: #fff; margin: 0; }
.hp2-pd-card__desc { font-size: 13px; color: rgba(255,255,255,0.7); margin: 0; line-height: 19px; }
.hp2-pd-card__desc p { margin: 0 0 8px; }
.hp2-pd-card__desc p:last-child { margin-bottom: 0; }

/* Inline badges — placed inside Tile content field as <span class="pd-card-date"> / <span class="pd-card-type"> */
.hp2-pd-card .pd-card-date,
.hp2-pd-card .pd-card-type {
	display: inline-block;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	line-height: normal;
	padding: 3px 8px;
	margin-right: 6px;
	vertical-align: middle;
}
.hp2-pd-card .pd-card-date {
	background: #34a0d0;
	color: #fff;
}
.hp2-pd-card .pd-card-type {
	background: #1F2E5C;
	color: #a8deee;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.hp2-pd-card__enroll { color: #a8deee; text-decoration: none; font-weight: 600; font-size: 13px; line-height: normal; margin-top: auto; }
.hp2-pd-card__enroll:hover { color: #34a0d0; text-decoration: underline; }
.hp2-pd-events .hp2-pd-viewall { display: block; text-align: center; color: #a8deee; font-size: 14px; line-height: normal; text-decoration: none; font-weight: 600; }
.hp2-pd-events .hp2-pd-viewall:hover { text-decoration: underline; }
.hp2-pd-empty { color: rgba(255,255,255,0.6); text-align: center; }

@media (min-width: 768px) {
	.hp2-pd-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- S8: Lead form ---- */
.hp2-lead-form { background: #008255; padding: 36px 0; }
.hp2-lead-form .hp2-h2 { color: #fff; }
.hp2-lead-form__inner { max-width: 520px; margin: 0 auto; }
.hp2-lead-form__privacy { font-size: 12px; color: #fff; text-align: center; margin-top: 16px; }
.hp2-lead-form__privacy a { color: rgba(255,255,255,0.7); }

/* ---- S9: FAQ ---- */
.hp2-faq { background: #fff; padding: 36px 0; }
.hp2-faq__inner { max-width: 800px; margin: 0 auto; }
.hp2-faq__item { border-bottom: 1px solid #e5e5e5; }
.hp2-faq__trigger {
	width: 100%;
	background: none;
	border: none;
	padding: 14px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	text-align: left;
	gap: 16px;
}
.hp2-faq__question { font-size: 14px; font-weight: 700; line-height: 21px; color: #243065; }
.hp2-faq__chevron { color: #34a0d0; font-size: 20px; flex-shrink: 0; transition: transform 0.2s ease; }
.hp2-faq__item--open .hp2-faq__chevron { transform: rotate(90deg); }
.hp2-faq__answer { display: none; padding: 0 0 14px; }
.hp2-faq__answer-inner { background: rgba(240,247,252,1); border-radius: 4px; padding: 14px 16px; font-size: 13px; line-height: 20px; color: #444; }
.hp2-faq__answer-inner a { color: #34a0d0; }
.hp2-faq__item--open .hp2-faq__answer { display: block; }

/* ---- Section side padding ---- */
.hp2-trust-bar .content-container,
.hp2-guarantee .content-container,
.hp2-testimonials .content-container,
.hp2-why-trust .content-container,
.hp2-programs .content-container,
.hp2-pd-events .content-container,
.hp2-lead-form .content-container,
.hp2-faq .content-container { padding-left: 24px; padding-right: 24px; }
