/**
 * Sub-pages — shared sub-hero + About Us
 * @package Creative_Custom_Boxes
 */

/* ── Reusable sub-page hero (no video) ── */
.ccb-sub-hero {
	position: relative;
	margin-bottom: 0;
	scroll-margin-top: calc(var(--topbar-h, 40px) + var(--header-h, 80px) + 16px);
}

.ccb-sub-hero__bg {
	position: absolute;
	z-index: 0;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background:
		radial-gradient(ellipse 70% 65% at 92% 12%, rgba(245, 154, 87, 0.14) 0%, transparent 52%),
		radial-gradient(ellipse 50% 45% at 6% 88%, rgba(255, 255, 255, 0.9) 0%, transparent 48%),
		linear-gradient(128deg, #faf8f6 0%, #f0f2f5 42%, #e8ecf0 100%);
}

.ccb-sub-hero__container {
	position: relative;
	z-index: 1;
}

.ccb-sub-hero__inner {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 48px;
	padding: 32px 0 56px;
}

@media (min-width: 768px) {
	.ccb-sub-hero__inner {
		padding-top: 40px;
		padding-bottom: 56px;
	}
}

.ccb-sub-hero__content {
	flex: 1;
	min-width: 0;
}

.ccb-sub-hero__breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	font-size: 13px;
	color: var(--mid-gray, #767676);
}

.ccb-sub-hero__breadcrumb a {
	color: var(--charcoal, #242424);
	text-decoration: none;
}

.ccb-sub-hero__breadcrumb a:hover {
	color: var(--orange, #F59A57);
}

.ccb-sub-hero__label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-family: var(--font-head, 'Urbanist', sans-serif);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--orange, #F59A57);
}

.ccb-sub-hero__label-dot {
	width: 8px;
	height: 8px;
	background: var(--orange, #F59A57);
	border-radius: 50%;
}

.ccb-sub-hero__title {
	margin: 0 0 18px;
	font-family: var(--font-head, 'Urbanist', sans-serif);
	font-size: 44px;
	font-weight: 800;
	line-height: 1.08;
	color: var(--charcoal, #242424);
}

.ccb-sub-hero__teaser {
	margin: 0 0 28px;
	max-width: 540px;
	font-size: 17px;
	line-height: 1.65;
	color: var(--mid-gray, #767676);
}

.ccb-sub-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ccb-sub-hero__visual {
	flex: 0 0 42%;
	max-width: 42%;
}

.ccb-sub-hero__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 440px;
	object-fit: contain;
}

/* ── About: Mission ── */
.ccb-about-mission {
	padding-top: 72px;
	padding-bottom: 64px;
	background: #fff;
}

.ccb-about-mission__inner {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.ccb-about-mission__inner .section-label {
	display: flex;
	width: 100%;
	justify-content: center;
}

.ccb-about-mission__lead {
	margin: 0 0 20px;
	font-size: 18px;
	line-height: 1.7;
	color: var(--charcoal, #242424);
}

.ccb-about-mission__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.75;
	color: var(--mid-gray, #767676);
}

/* ── About: Trust stats ── */
.ccb-about-trust {
	padding: 48px 0;
	background: var(--charcoal, #242424);
}

.ccb-about-trust__eyebrow {
	margin: 0 0 28px;
	text-align: center;
	font-family: var(--font-head, 'Urbanist', sans-serif);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.ccb-about-trust__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.ccb-about-trust__stats li {
	text-align: center;
	padding: 20px 16px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
}

.ccb-about-trust__num {
	display: block;
	margin-bottom: 6px;
	font-family: var(--font-head, 'Urbanist', sans-serif);
	font-size: 32px;
	font-weight: 800;
	color: var(--orange, #F59A57);
}

.ccb-about-trust__label {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
}

.ccb-about-trust__note {
	margin: 0;
	text-align: center;
	font-size: 14px;
}

.ccb-about-trust__note a {
	color: var(--orange, #F59A57);
	text-decoration: none;
}

.ccb-about-trust__note a:hover {
	text-decoration: underline;
}

/* ── About: Split sections ── */
.ccb-about-split__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}

.ccb-about-split--reverse .ccb-about-split__media {
	order: -1;
}

.ccb-about-split__content p {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.75;
	color: var(--mid-gray, #767676);
}

.ccb-about-split__content p:last-of-type {
	margin-bottom: 20px;
}

.ccb-about-split__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.ccb-about-checklist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ccb-about-checklist li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 500;
	color: var(--charcoal, #242424);
}

.ccb-about-checklist i {
	color: var(--orange, #F59A57);
}

/* ── About: Services grid ── */
.ccb-about-services {
	padding-top: 72px;
	padding-bottom: 72px;
	background: #fff;
}

.ccb-about-services__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ccb-about-service-card {
	padding: 28px 22px;
	background: #faf9f7;
	border: 1px solid #ebebeb;
	border-radius: 14px;
	transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.ccb-about-service-card:hover {
	border-color: rgba(245, 154, 87, 0.45);
	box-shadow: 0 16px 40px rgba(245, 154, 87, 0.12);
	transform: translateY(-4px);
}

.ccb-about-service-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 16px;
	font-size: 20px;
	color: var(--orange, #F59A57);
	background: rgba(245, 154, 87, 0.12);
	border-radius: 12px;
}

.ccb-about-service-card__title {
	margin: 0 0 10px;
	font-family: var(--font-head, 'Urbanist', sans-serif);
	font-size: 17px;
	font-weight: 700;
	color: var(--charcoal, #242424);
}

.ccb-about-service-card__text {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--mid-gray, #767676);
}

/* ── About: Final CTA ── */
.ccb-about-cta {
	padding: 72px 0 80px;
	background: linear-gradient(135deg, #242424 0%, #1a1a1a 100%);
}

.ccb-about-cta__inner {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}

.ccb-about-cta__title,
.ccb-about-cta h2 {
	margin: 0 0 16px;
	font-family: var(--font-head, 'Urbanist', sans-serif);
	font-size: 36px;
	font-weight: 800;
	color: #fff !important;
}

/* title only — button colors in ccb-buttons.css */

.ccb-about-cta__text {
	margin: 0 0 28px;
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.85) !important;
}

.ccb-about-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

.ccb-about-cta .btn-outline-orange i {
	color: inherit !important;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
	.ccb-sub-hero__inner {
		flex-direction: column;
		gap: 36px;
		padding: 36px 0 44px;
	}

	.ccb-sub-hero__visual {
		flex: none;
		max-width: 100%;
		width: 100%;
	}

	.ccb-sub-hero__title {
		font-size: 36px;
	}

	.ccb-about-split__grid,
	.ccb-about-split--reverse .ccb-about-split__grid {
		grid-template-columns: 1fr;
		direction: ltr;
		gap: 32px;
	}

	.ccb-about-split--reverse .ccb-about-split__media {
		order: -1;
	}

	.ccb-about-split--reverse .ccb-about-split__content {
		order: 0;
	}

	.ccb-about-services__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ccb-about-trust__stats {
		grid-template-columns: repeat(2, 1fr);
	}

}

@media (max-width: 575.98px) {
	.ccb-sub-hero__title {
		font-size: 30px;
	}

	.ccb-about-services__grid {
		grid-template-columns: 1fr;
	}

	.ccb-about-trust__stats {
		grid-template-columns: 1fr;
	}

	.ccb-about-cta__title {
		font-size: 28px;
	}

	.ccb-about-cta__actions {
		flex-direction: column;
	}

	.ccb-about-cta__actions .btn-primary,
	.ccb-about-cta__actions .btn-outline-orange {
		width: 100%;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ccb-about-service-card {
		transition: none;
	}
}

/* ── Legal pages (Terms, Privacy) ── */
.ccb-page-terms .ccb-main--sub,
.ccb-page-privacy .ccb-main--sub,
.ccb-page-terms .ccb-legal,
.ccb-page-privacy .ccb-legal {
	overflow: visible;
}

.ccb-sub-hero--legal .ccb-sub-hero__inner--legal {
	justify-content: center;
	padding-bottom: 40px;
}

.ccb-sub-hero--legal .ccb-sub-hero__content {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.ccb-sub-hero--legal .ccb-sub-hero__breadcrumb {
	justify-content: center;
}

.ccb-sub-hero--legal .ccb-sub-hero__label {
	justify-content: center;
}

.ccb-sub-hero--legal .ccb-sub-hero__teaser {
	margin-left: auto;
	margin-right: auto;
}

.ccb-legal {
	padding: 56px 0 72px;
	background: #fff;
}

.ccb-legal__layout {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 56px;
	align-items: start;
}

.ccb-legal__updated {
	margin: 0 0 20px;
	font-size: 13px;
	color: var(--mid-gray, #767676);
}

.ccb-legal__sidebar {
	position: sticky;
	top: calc(var(--topbar-h, 40px) + var(--header-h, 80px) + 24px);
	align-self: start;
	z-index: 5;
	max-height: calc(100vh - var(--topbar-h, 40px) - var(--header-h, 80px) - 48px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.ccb-legal__toc {
	padding: 20px;
	background: #faf8f6;
	border: 1px solid #ebebeb;
	border-radius: 12px;
}

.ccb-legal__toc-title {
	margin: 0 0 12px;
	font-family: var(--font-head, 'Urbanist', sans-serif);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--charcoal, #242424);
}

.ccb-legal__toc ol {
	margin: 0;
	padding-left: 18px;
}

.ccb-legal__toc li {
	margin-bottom: 8px;
	font-size: 13px;
	line-height: 1.4;
}

.ccb-legal__toc a {
	color: var(--mid-gray, #767676);
	text-decoration: none;
}

.ccb-legal__toc a:hover {
	color: var(--orange, #F59A57);
}

.ccb-legal__body {
	max-width: 720px;
}

.ccb-legal__lead {
	margin: 0 0 32px;
	padding-bottom: 28px;
	font-size: 17px;
	line-height: 1.7;
	color: var(--charcoal, #242424);
	border-bottom: 1px solid #ebebeb;
}

.ccb-legal__body h2,
.ccb-legal__body h3[id] {
	scroll-margin-top: calc(var(--topbar-h, 40px) + var(--header-h, 80px) + 28px);
}

.ccb-legal__body h2 {
	margin: 40px 0 14px;
	font-family: var(--font-head, 'Urbanist', sans-serif);
	font-size: 22px;
	font-weight: 700;
	color: var(--charcoal, #242424);
}

.ccb-legal__body h2:first-of-type {
	margin-top: 0;
}

.ccb-legal__body h3 {
	margin: 24px 0 10px;
	font-family: var(--font-head, 'Urbanist', sans-serif);
	font-size: 17px;
	font-weight: 600;
	color: var(--charcoal, #242424);
}

.ccb-legal__body p {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.75;
	color: var(--mid-gray, #767676);
}

.ccb-legal__body ul,
.ccb-legal__body ol {
	margin: 0 0 18px;
	padding-left: 22px;
	font-size: 15px;
	line-height: 1.75;
	color: var(--mid-gray, #767676);
}

.ccb-legal__body li {
	margin-bottom: 8px;
}

.ccb-legal__body a {
	color: var(--orange, #F59A57);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ccb-legal__body a:hover {
	color: var(--charcoal, #242424);
}

.ccb-legal__contact-list {
	list-style: none;
	padding-left: 0;
}

.ccb-legal__contact-list li {
	margin-bottom: 6px;
	color: var(--mid-gray, #767676);
}

.ccb-legal__related {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid #ebebeb;
	font-size: 14px;
}

@media (max-width: 991.98px) {
	.ccb-legal__layout {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.ccb-legal__sidebar {
		position: static;
		max-height: none;
		overflow: visible;
	}
}

/* Smooth in-page navigation on legal pages */
.ccb-page-terms,
.ccb-page-privacy {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	.ccb-page-terms,
	.ccb-page-privacy {
		scroll-behavior: auto;
	}
}

@media (max-width: 575.98px) {
	.ccb-sub-hero--legal .ccb-sub-hero__title {
		font-size: 30px;
	}

	.ccb-legal {
		padding: 40px 0 56px;
	}
}
