/* ============================================================
   Client Information page template
   Aligned with the Xytex subscription / consultation design system
   Primary palette: LIGHT TEAL #63D0DF · SMOKE #D2D0CD · PEWTER #99999A · CHARCOAL #262729
   Supplemental: ICE GRAY #DBD9D6 · SLATE #55565A · NAVY #003B71 · DARK TEAL #00ACC8 · GOLD #FFB547
   ============================================================ */

:root {
	--xytex-white:       #ffffff;
	--xytex-navy:        #003B71;
	--xytex-gold:        #FFB547;
	--xytex-teal:        #63D0DF;
	--xytex-teal-dark:   #00ACC8;
	--xytex-teal-hover:  color-mix(in srgb, var(--xytex-teal-dark) 72%, var(--xytex-navy) 28%);
	--xytex-teal-light:  color-mix(in srgb, var(--xytex-teal) 28%, var(--xytex-white));
	--xytex-teal-xlight: color-mix(in srgb, var(--xytex-teal) 14%, var(--xytex-white));
	--xytex-slate:       #55565A;
	--xytex-slate-dark:  #262729;
	--xytex-gray-border: #DBD9D6;
	--xytex-gray-bg:     color-mix(in srgb, #D2D0CD 28%, var(--xytex-white));
	--xytex-text:        #737374;
	--xytex-text-muted:  #737374;
	--xytex-radius:      8px;
	--xytex-radius-lg:   14px;
	--xytex-shadow:      0 2px 16px rgba(99, 208, 223, 0.12);
	--xytex-shadow-lg:   0 8px 40px rgba(99, 208, 223, 0.2);
	--xytex-transition:  all 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ── Box-sizing reset ────────────────────────────────────── */
.client-info-hero *,
.client-info-cards * {
	box-sizing: border-box;
}

/* ============================================================
   HERO
   ============================================================ */
.client-info-hero {
	background: linear-gradient(135deg, var(--xytex-teal-dark) 0%, var(--xytex-teal) 100%);
	padding: 60px 0 52px;
	position: relative;
	overflow: hidden;
	text-align: center;
}

.client-info-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 72% 50%, rgba(255,255,255,0.18) 0%, transparent 62%);
	pointer-events: none;
}

/* Featured-image variant: cover the hero with the image and lay a
   teal brand overlay on top so the white title stays legible. */
.client-info-hero--image {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 88px 0 80px;
}

.client-info-hero--image::before {
	background:
		radial-gradient(ellipse at 72% 50%, rgba(255,255,255,0.10) 0%, transparent 40%),
		linear-gradient(135deg, rgba(0,172,200,0.42) 0%, rgba(99,208,223,0.60) 100%);
}

/* Decorative circle */
.client-info-hero::after {
	content: '';
	position: absolute;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.24);
	top: -120px;
	left: -80px;
	pointer-events: none;
}

.client-info-hero .container {
	position: relative;
	z-index: 1;
}

.client-info-hero__title {
	max-width: 900px;
	margin: 0 auto 22px;
	font-size: clamp(28px, 4.5vw, 44px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--xytex-white);
}

/* Accent bar under the title */
.client-info-hero__title::after {
	content: '';
	display: block;
	width: 64px;
	height: 4px;
	margin: 20px auto 0;
	border-radius: 999px;
	background: rgba(255,255,255,0.9);
}

/* ============================================================
   CARDS SECTION
   ============================================================ */
.client-info-cards {
	background: var(--xytex-gray-bg);
	padding: 48px 0 64px;
}

/* ── Intro paragraph (under title, above cards) ──────────── */
.client-info-intro {
	max-width: 820px;
	margin: 0 auto 44px;
	text-align: center;
	font-size: 16.5px;
	line-height: 1.7;
	color: var(--xytex-text);
}

.client-info-intro p {
	margin: 0 0 16px;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

.client-info-intro p:last-child {
	margin-bottom: 0;
}

.client-info-intro a {
	color: var(--xytex-teal-dark);
	text-decoration: underline;
}

.client-info-cards__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 24px;
}

/* ── Card ────────────────────────────────────────────────── */
.client-info-card {
	flex: 1 1 250px;
	max-width: 300px;
	display: flex;
	flex-direction: column;
	background: var(--xytex-white);
	border: 1px solid var(--xytex-gray-border);
	border-radius: var(--xytex-radius-lg);
	padding: 30px 26px 28px;
	text-align: center;
	transition: var(--xytex-transition);
}

.client-info-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--xytex-shadow-lg);
	border-color: var(--xytex-teal);
}

.client-info-card__icon {
	width: 58px;
	height: 58px;
	margin: 0 auto 18px;
	border-radius: 16px;
	background: var(--xytex-teal-xlight);
	color: var(--xytex-teal-dark);
	display: flex;
	align-items: center;
	justify-content: center;
}

.client-info-card__title {
	margin: 0 0 10px;
	padding-bottom: 0;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--xytex-slate-dark);
}

.client-info-card__desc {
	margin: 0 0 22px;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--xytex-text-muted);
	flex: 1;
}

.client-info-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: auto;
	width: 100%;
	padding: 13px 20px;
	border: 2px solid var(--xytex-teal);
	border-radius: var(--xytex-radius);
	background: transparent;
	color: var(--xytex-teal-dark) !important;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	transition: var(--xytex-transition);
}

.client-info-card__btn:hover,
.client-info-card__btn:focus {
	background: var(--xytex-teal-dark) !important;
	border-color: var(--xytex-teal-dark);
	color: var(--xytex-white) !important;
	text-decoration: none;
}

.client-info-card__btn-arrow {
	margin-left: 2px;
	transition: transform 0.22s cubic-bezier(0.4,0,0.2,1);
}

.client-info-card__btn:hover .client-info-card__btn-arrow {
	transform: translateX(3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
	.client-info-card {
		flex-basis: 260px;
	}
}

@media (max-width: 680px) {
	.client-info-hero {
		padding: 44px 0 40px;
	}

	.client-info-cards {
		padding: 40px 0 48px;
	}
}

@media (max-width: 520px) {
	.client-info-card {
		flex-basis: 100%;
		max-width: 360px;
	}
}
