/* ===== Hero widget ===== */
.apw-hero {
	position: relative;
	background-size: cover;
	background-position: center;
	padding: 100px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 72vh;
	color: #fff;
	overflow: hidden;
}

.apw-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(11,31,51,0.75), rgba(11,31,51,0.5));
	z-index: 0;
}

.apw-hero-content {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
	animation: apwFadeUp 0.9s ease both;
}

.apw-hero-headline {
	font-size: clamp(2rem, 4.5vw, 3.4rem);
	line-height: 1.15;
	margin-bottom: 18px;
	color: #fff;
	letter-spacing: -0.5px;
}

.apw-hero-subheadline {
	font-size: 1.15rem;
	margin-bottom: 28px;
	opacity: 0.92;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.apw-hero-badges {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	padding: 0;
	margin: 0 0 32px;
}

.apw-hero-badges li {
	border: 1px solid rgba(255,255,255,0.4);
	background: rgba(255,255,255,0.06);
	backdrop-filter: blur(4px);
	border-radius: 999px;
	padding: 8px 20px;
	font-size: 0.82rem;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.apw-hero-cta {
	display: inline-block;
	background: var(--ap-color-accent, #b08d57);
	color: #fff;
	padding: 16px 40px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: 0.5px;
	box-shadow: 0 8px 24px rgba(176,141,87,0.35);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.apw-hero-cta:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(176,141,87,0.45);
}

@keyframes apwFadeUp {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ===== Practice Area Grid widget ===== */
.apw-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 28px;
	padding: 20px 0;
}

.apw-grid-card {
	background: #fff;
	border: 1px solid #eee6d8;
	border-radius: 10px;
	padding: 36px 28px;
	text-align: center;
	position: relative;
	overflow: hidden;
	transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
	opacity: 0;
	transform: translateY(30px);
}

.apw-grid-card.apw-in-view {
	opacity: 1;
	transform: translateY(0);
}

.apw-grid-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(11,31,51,0.12);
	border-color: var(--ap-color-accent, #b08d57);
}

.apw-grid-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: var(--ap-color-accent, #b08d57);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s ease;
}

.apw-grid-card:hover::before {
	transform: scaleX(1);
}

.apw-grid-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: var(--ap-color-primary, #0b1f33);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ap-color-accent, #b08d57);
	font-size: 1.5rem;
	transition: transform 0.35s ease;
}

.apw-grid-card:hover .apw-grid-icon {
	transform: scale(1.1) rotate(-6deg);
}

.apw-grid-card h3 {
	font-size: 1.2rem;
	margin-bottom: 12px;
	color: var(--ap-color-primary, #0b1f33);
}

.apw-grid-card p {
	font-size: 0.95rem;
	color: #555;
	line-height: 1.55;
	margin: 0;
}

/* ===== Credentials / Stats Strip widget ===== */
.apw-stats-strip {
	background: linear-gradient(135deg, var(--ap-color-primary, #0b1f33), #142d47);
	padding: 56px 24px;
	border-radius: 12px;
}

.apw-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 20px;
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
}

.apw-stat-number {
	font-family: var(--ap-font-heading, 'Playfair Display', serif);
	font-size: 2.6rem;
	color: var(--ap-color-accent, #b08d57);
	line-height: 1;
	margin-bottom: 8px;
}

.apw-stat-label {
	color: rgba(255,255,255,0.85);
	font-size: 0.85rem;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

/* Mobile */
@media (max-width: 600px) {
	.apw-hero {
		padding: 60px 16px;
		min-height: 56vh;
	}
	.apw-stats-strip {
		padding: 40px 16px;
	}
}

