.iwz-social-proof-section {
	position: relative;
	z-index: 2;
}

.iwz-social-proof-shell {
	padding: 0 0.25rem;
}

.iwz-social-proof-header {
	gap: 1.5rem;
	align-items: center !important;
}

.iwz-proof-title-wrapper {
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: 52rem;
}

.iwz-proof-arrow {
	width: clamp(2rem, 5vw, 3rem);
	height: clamp(2rem, 5vw, 3rem);
	margin-top: 0;
	flex-shrink: 0;
	color: var(--iwz-coral);
	filter: drop-shadow(0 14px 30px rgba(255, 86, 98, 0.24));
}

.iwz-proof-headline {
	margin: 0;
	font-weight: 700;
	max-width: none;
	width: 100%;
	font-size: clamp(1.4rem, 5vw, 2.4rem);
	line-height: 1.15;
	color: var(--iwz-text);
}

.iwz-headline-accent {
	color: var(--iwz-coral);
	display: inline;
}

.iwz-proof-intro {
	margin: 1.25rem 0 0;
	max-width: 44rem;
	font-size: 1.1rem;
	line-height: 1.5;
	color: var(--iwz-text-soft);
}

.iwz-proof-headings > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.iwz-testimonial-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch !important;
}

@media (max-width: 1024px) {
	.iwz-testimonial-grid {
		grid-template-columns: 1fr;
	}
}

.iwz-testimonial-grid > .wp-block-column {
	margin: 0 !important;
	min-width: 0;
	flex-basis: auto !important;
	flex-grow: 0;
}

.iwz-testimonial-card {
	background:
		radial-gradient(circle at top right, rgba(72, 185, 183, 0.16), transparent 36%),
		linear-gradient(180deg, rgba(36, 21, 74, 0.96), rgba(24, 14, 52, 0.94));
	border: 1px solid rgba(72, 185, 183, 0.22);
	border-radius: 22px;
	padding: 2.5rem;
	position: relative;
	overflow: hidden;
	transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
	height: 100%;
	display: flex;
	flex-direction: column;
	min-height: 25rem;
	box-shadow: 0 24px 60px rgba(6, 4, 18, 0.38);
	backdrop-filter: blur(18px);
}

.iwz-testimonial-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 36%),
		linear-gradient(135deg, rgba(120, 216, 212, 0.08), transparent 58%);
	pointer-events: none;
}

.iwz-testimonial-card:hover {
	transform: translateY(-6px);
	border-color: rgba(72, 185, 183, 0.44);
	box-shadow: 0 28px 68px rgba(6, 4, 18, 0.46);
}

.iwz-testimonial-quote-icon {
	margin-bottom: 1.5rem;
	color: var(--iwz-teal-soft);
	filter: drop-shadow(0 10px 24px rgba(72, 185, 183, 0.2));
}

.iwz-testimonial-card > p {
	font-size: 1rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.94);
	margin: 0 0 2.25rem;
}

.iwz-testimonial-author {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.iwz-testimonial-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	border-radius: 999px;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(72, 185, 183, 0.92), rgba(39, 19, 79, 0.96));
	border: 1px solid rgba(120, 216, 212, 0.28);
	color: var(--iwz-text);
	flex-shrink: 0;
	box-shadow: 0 14px 30px rgba(9, 18, 42, 0.28);
}

.iwz-testimonial-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.iwz-author-name {
	margin: 0;
	color: var(--iwz-text);
	font-size: 1rem;
	font-weight: 700;
}

.iwz-author-role {
	margin: 0.2rem 0 0;
	color: var(--iwz-text-soft);
	font-size: 0.875rem;
	line-height: 1.5;
}

.iwz-client-logos {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 3rem 0;
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
    gap: 2rem;
}

.iwz-logos-label {
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: #48B9B7;
    font-weight: 700;
    text-align: right;
    width: 100%;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(72, 185, 183, 0.2);
    position: relative;
}

.iwz-logos-label::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 60px;
    height: 1px;
    background: #48B9B7;
    box-shadow: 0 0 10px #48B9B7;
}

.iwz-logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
}

.iwz-client-logo {
    flex: 1 1 calc(25% - 0.75rem); /* 4 columns on large screens */
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    animation: iwzFadeInScale 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@media (max-width: 1024px) {
    .iwz-client-logo {
        flex: 1 1 calc(33.333% - 0.75rem); /* 3 columns */
    }
}

@media (max-width: 768px) {
    .iwz-client-logos {
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    .iwz-logos-label {
        font-size: 0.75rem;
        text-align: center;
        letter-spacing: 0.3em;
    }

    .iwz-logos-label::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 40px;
    }

    .iwz-client-logo {
        flex: 1 1 calc(50% - 0.75rem); /* 2 columns */
        min-width: 100px;
        padding: 0.65rem 0.4rem;
    }
}

@media (max-width: 480px) {
    .iwz-client-logo {
        flex: 1 1 100%; /* Full width on tiny screens */
    }
    
    .iwz-client-name {
        font-size: 0.65rem;
    }
}

@keyframes iwzFadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Staggered entry animation */
.iwz-client-logo:nth-child(1) { animation-delay: 0.1s; }
.iwz-client-logo:nth-child(2) { animation-delay: 0.2s; }
.iwz-client-logo:nth-child(3) { animation-delay: 0.3s; }
.iwz-client-logo:nth-child(4) { animation-delay: 0.4s; }
.iwz-client-logo:nth-child(5) { animation-delay: 0.5s; }
.iwz-client-logo:nth-child(6) { animation-delay: 0.6s; }
.iwz-client-logo:nth-child(7) { animation-delay: 0.7s; }

.iwz-client-logo:hover {
    background: rgba(72, 185, 183, 0.05);
    border-color: rgba(72, 185, 183, 0.3);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(72, 185, 183, 0.1);
}

.iwz-client-name {
    margin: 0 !important;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}

.iwz-client-logo:hover .iwz-client-name {
    color: #78D8D4; /* Styleguide Secondary Teal */
    letter-spacing: 0.35em;
}@media (max-width: 1200px) {
	.iwz-testimonial-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	.iwz-proof-title-wrapper {
		flex-direction: row;
		gap: 1.25rem;
		align-items: flex-start;
	}

	.iwz-social-proof-header {
		align-items: flex-start !important;
	}

	.iwz-testimonial-grid {
		grid-template-columns: 1fr;
	}

	.iwz-testimonial-card {
		padding: 2rem;
	}
}

@media (max-width: 768px) {
	.iwz-logo-row {
		gap: 0.75rem;
	}

	.iwz-client-logo {
		width: calc(50% - 0.75rem);
		min-width: 0;
		padding: 1rem;
		min-height: 5rem;
	}

	.iwz-client-logo-image {
		max-height: 2.5rem;
	}

	.iwz-client-name {
		font-size: 0.9rem;
	}
}