/* ---------------------------------------------------------------------------
   "Most Popular Services" bento grid (index.html) and the "Our Team"
   profile cards (index.html, contact.html) only.

   Scoped strictly to `.zb-bento*` / `.service` / `.section-team` / `.zb-team*`
   classes — nothing here touches the header, DOH banner, hero, gallery,
   about section, global buttons, testimonials, or footer. (A larger
   homepage redesign exists as a stash for later; this file intentionally
   does not include it.)
   --------------------------------------------------------------------------- */

:root {
	--zb-rose: #f56981;
	--zb-rose-dark: #bf2f4f;
	--zb-ink: #1f2732;
	--zb-ink-soft: #4a5160;
	--zb-cream: #fdf8f9;
	--zb-line: #f0e3e7;
}

/* ---- Services: bento grid mixing the intro copy, four services and the
   CTA as tiles of different sizes/weights, instead of an image-list
   stacked in two symmetric columns. ---- */

.service { background: var(--zb-cream); }

.zb-bento {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: auto auto auto;
	grid-template-areas:
		"intro  intro  intro  intro"
		"bbglow micro  derma  lash"
		"bbglow cta    cta    lash";
	gap: 18px;
}

.zb-bento__tile--intro { grid-area: intro; }
.zb-bento__tile--bbglow { grid-area: bbglow; }
.zb-bento__tile--micro { grid-area: micro; }
.zb-bento__tile--derma { grid-area: derma; }
.zb-bento__tile--lash { grid-area: lash; }
.zb-bento__tile--cta { grid-area: cta; }

.zb-bento__tile {
	border-radius: 16px;
	position: relative;
	overflow: hidden;
}

.zb-bento__tile--intro,
.zb-bento__tile--cta {
	background: #fff;
	border: 1px solid var(--zb-line);
	padding: 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.zb-bento__tile--autism {
	background: var(--zb-ink);
	color: #fff;
	padding: 32px;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 24px;
	align-items: center;
}

.zb-bento__tile--autism img { max-width: 90px; }

.zb-bento__tile--autism h2 {
	font-family: Vidaloka, serif;
	font-weight: 400;
	font-size: 26px;
	color: #fff;
	margin: 0 0 8px;
}

.zb-bento__tile--autism p { color: rgba(255,255,255,0.65); margin: 0; font-size: 14px; line-height: 1.6; }
.zb-bento__tile--autism span.zb-cta-text { color: var(--zb-rose); font-weight: 600; }

.zb-bento__tile--photo { min-height: 220px; }
.zb-bento__tile--photo img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform .5s ease;
}
.zb-bento__tile--photo:hover img { transform: scale(1.06); }

.zb-bento__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(26,19,25,0) 50%, rgba(26,19,25,0.82) 100%);
}

.zb-bento__caption {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 20px;
	color: #fff;
}

.zb-bento__caption h4 {
	font-family: Vidaloka, serif;
	font-weight: 400;
	color: #fff;
	font-size: 20px;
	margin: 0;
}

.zb-bento__caption span { color: rgba(255,255,255,0.75); font-size: 13px; }

.zb-bento__tile--intro .sub-title { color: var(--zb-rose-dark); }
.zb-bento__tile--intro .special-heading { text-transform: none; font-weight: 400; font-size: 30px; }
.zb-bento__tile--intro p { color: var(--zb-ink-soft); font-size: 14.5px; line-height: 1.7; }

@media (max-width: 991.98px) {
	.zb-bento {
		grid-template-columns: 1fr;
		grid-template-areas:
			"intro" "bbglow" "micro" "derma" "lash" "cta";
	}
	.zb-bento__tile--photo { min-height: 320px; }
	.zb-bento__tile--autism { grid-template-columns: 70px 1fr; }
}

/* ---- Team: two alternating profiles instead of a 2-card carousel (there
   are only 2 people — clicking "next" to see the second of two was
   friction, not navigation). Photo is a contained, rounded card — same
   visual language as the .zb-bento tiles above — not a full-bleed photo,
   so it reads as part of the same page instead of a different design.
   Same photos/bios/links. ---- */

.section-team { background: #fff; }
.zb-team__intro .special-heading { text-transform: capitalize; font-weight: 400; }
.zb-team__intro .sub-title { color: var(--zb-rose-dark); }

/* main.css gives the section's s-pb-* spacing to any direct child whose
   class contains "container" (.s-pb-lg-130 > [class*="container"]), meant
   for a single wrapping container. Splitting the section into two
   containers (intro + wrap) makes both match and each take the full
   bottom spacing meant for one. Cancel it here; margin-bottom on
   .zb-team__profile already provides the real spacing. */
.section-team > .zb-team__intro,
.section-team > .zb-team__wrap {
	padding-bottom: 0;
}

.zb-team__profile {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 0 50px;
	margin-bottom: 60px;
}

.zb-team__profile:last-child { margin-bottom: 0; }

.zb-team__media {
	height: 460px;
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid var(--zb-line);
	box-shadow: 0 20px 45px -32px rgba(31, 20, 25, 0.4);
}

.zb-team__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

.zb-team__profile--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.zb-team__profile--reverse .zb-team__media { order: 2; }
.zb-team__profile--reverse .zb-team__copy { order: 1; }

.zb-team__copy h4.tile {
	font-family: Vidaloka, serif;
	font-weight: 400;
	font-size: 34px;
	color: var(--zb-ink);
	margin-bottom: 6px;
}

.zb-team__copy h4.tile a { color: inherit; }

.zb-team__copy .color-main {
	display: block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.zb-team__copy p { color: var(--zb-ink-soft); line-height: 1.85; font-size: 15px; }

@media (max-width: 991.98px) {
	.zb-team__profile,
	.zb-team__profile--reverse { grid-template-columns: 1fr; gap: 30px; }
	.zb-team__media { height: 380px; }
	.zb-team__profile--reverse .zb-team__media { order: 0; }
	.zb-team__profile--reverse .zb-team__copy { order: 0; }
	.zb-team__copy { padding: 0 15px; }
}
