/* =============================================================
   GDC — Single Team Member Page
   Source: Figma node 12:607 (Page 3 — Version2)
   Colors: Gold #be922e | Dark #1c1000 | Border #e6e6e6
   Font: Euclid Circular A (falls back to system sans-serif)
============================================================= */

:root {
	--gdc-gold:        #be922e;
	--gdc-gold-60:     rgba(190, 146, 46, 0.6);
	--gdc-dark:        #1c1000;
	--gdc-white:       #ffffff;
	--gdc-border:      #e6e6e6;
	--gdc-text:        #000000;
	--gdc-muted:       #868686;
	--gdc-max-width:   1440px;
	--gdc-inner-w:     1336px;
	--gdc-font:        'Euclid Circular A', 'Helvetica Neue', Arial, sans-serif;
}

.gdc-team {
	font-family: var(--gdc-font);
	background: var(--gdc-white);
	color: var(--gdc-text);
}

/* Shared inner wrapper — matches 68px margin on each side at 1536px */
.gdc-hero__inner,
.gdc-treatments__inner,
.gdc-about__inner,
.gdc-smile__inner,
.gdc-reviews__inner {
	max-width: var(--gdc-inner-w);
	margin: 0 auto;
	padding-left: 32px;
	padding-right: 32px;
	box-sizing: border-box;
}


/* =============================================================
   HERO — photo left / dark card right
============================================================= */
.gdc-hero {
	background: var(--gdc-white);
	padding: 64px 0;
}

.gdc-hero__inner {
	display: flex;
	align-items: stretch;
	gap: 48px;
}

/* --- Photo column --- */
.gdc-hero__photo-wrap {
	position: relative;
	flex: 0 0 447px;
	max-width: 447px;
	display: flex;
	flex-direction: column;
}

/* Gold backing card — offset behind the photo */
.gdc-hero__photo-shadow {
	position: absolute;
	left: 9px;
	top: 9px;
	width: 100%;
	height: 100%;
	background: var(--gdc-gold);
	border-radius: 16px;
	z-index: 0;
}

.gdc-hero__photo {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	flex: 1;
	display: block;
	border-radius: 16px;
	object-fit: cover;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* --- Dark info card --- */
.gdc-hero__card {
	flex: 1;
	min-width: 0;
	background: var(--gdc-dark);
	border-radius: 16px;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

/* Subtle gold glow blob */
.gdc-hero__glow {
	position: absolute;
	right: 0;
	top: 0;
	width: 256px;
	height: 256px;
	background: rgba(190, 146, 46, 0.1);
	border-radius: 50%;
	filter: blur(64px);
	pointer-events: none;
}

.gdc-hero__card-body {
	position: relative;
	z-index: 1;
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 0;
	flex: 1;
}

/* Specialty badge pill */
.gdc-hero__badge-row {
	margin-bottom: 16px;
}

.gdc-hero__badge {
	display: inline-block;
	background: var(--gdc-gold);
	color: var(--gdc-white);
	font-size: 12px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	line-height: 18px;
	padding: 8px 20px;
	border-radius: 100px;
}

/* Doctor name */
.gdc-hero__name {
	font-family: var(--gdc-font);
	font-size: clamp(1.8rem, 3vw, 2.375rem);
	font-weight: 500;
	color: var(--gdc-white);
	text-transform: uppercase;
	line-height: 1.25;
	margin: 0 0 4px;
}

/* Qualifications */
.gdc-hero__qualifications {
	font-size: 16px;
	color: var(--gdc-gold);
	margin: 0 0 20px;
	line-height: 24px;
}

/* Meta list */
.gdc-hero__meta {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.gdc-hero__meta-item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	line-height: 24px;
	color: var(--gdc-white);
	text-transform: capitalize;
}

.gdc-hero__meta-icon {
	display: inline-flex;
	align-items: center;
	color: var(--gdc-white);
	opacity: 0.9;
	flex-shrink: 0;
}

/* Quick contact buttons */
.gdc-hero__contacts {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.gdc-hero__contact-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	background: var(--gdc-dark);
	border-radius: 15px;
	color: var(--gdc-white);
	text-decoration: none;
	filter: drop-shadow(2px 2px 2.5px rgba(190, 190, 190, 0.25));
	transition: opacity 0.2s;
	border: 1px solid rgba(255,255,255,0.1);
}

.gdc-hero__contact-btn:hover {
	opacity: 0.75;
}

/* Calendar / book-now button: no focus highlight */
.gdc-hero__contact-btn--no-highlight,
.gdc-hero__contact-btn--no-highlight:focus,
.gdc-hero__contact-btn--no-highlight:active,
.gdc-hero__contact-btn--no-highlight:focus-visible {
	outline: none;
	box-shadow: none;
	-webkit-tap-highlight-color: transparent;
}


/* =============================================================
   TREATMENTS OFFERED
============================================================= */
.gdc-treatments {
	background: var(--gdc-white);
}

.gdc-treatments__card {
	background: var(--gdc-white);
	border: 1px solid var(--gdc-border);
	border-radius: 10px;
	padding: 26px 33px;
	box-shadow: 0 2px 1.5px rgba(0,0,0,0.02), 0 8px 5px rgba(0,0,0,0.1);
}

.gdc-treatments__heading-wrap {
	border-bottom: 2px solid var(--gdc-gold);
	padding-bottom: 18px;
	margin-bottom: 24px;
}

.gdc-treatments__heading {
	font-family: var(--gdc-font);
	font-size: 28px;
	font-weight: 500;
	color: var(--gdc-dark) !important;
	margin: 0;
	line-height: 42px;
}

.gdc-treatments__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px 0;
}

.gdc-treatments__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 19px;
	line-height: 32px;
	color: var(--gdc-text);
	text-transform: capitalize;
}

.gdc-treatments__check {
	display: inline-flex;
	align-items: center;
	color: var(--gdc-gold);
	flex-shrink: 0;
	margin-top: 5px;
}
.gdc-video__play{ background: none !important;}

/* =============================================================
   ABOUT + VIDEO
============================================================= */
.gdc-about {
	background: var(--gdc-white);
	padding: 64px 0;
}

.gdc-about__inner {
	display: grid;
	grid-template-columns: 1fr 424px;
	gap: 56px;
	align-items: start;
}

/* Full-width when no video */
.gdc-about__inner--full {
	grid-template-columns: 1fr;
}

/* Video / portrait column */
.gdc-about__video-col {
	position: sticky;
	top: 80px;
}

/* Bio card */
.gdc-about__bio-card {
	border: 1px solid var(--gdc-border);
	border-radius: 16px;
	padding: 41px;
	background: linear-gradient(142deg, #fafaf8 0%, #fcfcfa 33%, #fdfdfd 67%, #fff 100%);
	width: 100%;
	box-sizing: border-box;
}

.gdc-about__heading-wrap {
	border-bottom: 2px solid var(--gdc-gold) ;
	padding-bottom: 18px;
	margin-bottom: 24px;
}

.gdc-about__heading {
	font-family: var(--gdc-font);
	font-size: 28px;
	font-weight: 500;
	color: var(--gdc-dark) !important;
	margin: 0;
	line-height: 42px;
}

.gdc-about__bio {
	line-height: 32px;
	color: var(--gdc-text);
}

.gdc-about__bio p {
	margin: 0 0 24px;
}

.gdc-about__bio p:last-child {
	margin-bottom: 0;
}


/* Video wrapper — 9:16 portrait (Shorts)
   padding-bottom trick = aspect-ratio fallback for Safari < 15 */
.gdc-video {
	position: relative;
	width: 100%;
	padding-bottom: 177.78%; /* 16÷9×100 — removed once aspect-ratio is supported */
	height: 0;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
	cursor: pointer;
	background: #000;
}
@supports (aspect-ratio: 9/16) {
	.gdc-video {
		aspect-ratio: 9 / 16;
		padding-bottom: 0;
		height: auto;
	}
}

.gdc-video__thumb {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.gdc-video__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.2);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.gdc-video__play {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s;
}

.gdc-video__play:hover {
	transform: scale(1.08);
}

.gdc-video__player {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}


/* =============================================================
   SMILE CRAFTED
============================================================= */
.gdc-smile {
	background: var(--gdc-white);
	padding: 64px 0;
	text-align: center;
}

.gdc-smile__title {
	font-family: var(--gdc-font);
	font-size: 40px;
	font-weight: 500;
	color: var(--gdc-gold);
	text-transform: capitalize;
	line-height: 60px !important;
	margin: 0 0 0;
}

.gdc-smile__byline-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 48px;
}

.gdc-smile__byline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--gdc-dark);
	color: var(--gdc-gold);
	font-size: 28px;
	font-weight: 400;
	text-transform: capitalize;
	line-height: 42px;
	height: 70px;
	padding: 0 40px;
}

/* Gallery grid: 2 columns of cases */
.gdc-smile__gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	text-align: left;
}

/* ── Before/After drag slider (clip-path approach) ── */
.gdc-ba-slider {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	user-select: none;
	cursor: ew-resize;
	line-height: 0;
	-webkit-user-select: none;
}

/* Both images: identical size, stacked */
.gdc-ba-slider__after,
.gdc-ba-slider__before {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: cover;
	-webkit-user-drag: none;
}

/* Before image sits on top, clipped from right via JS clip-path */
.gdc-ba-slider__before {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	-webkit-clip-path: inset(0 50% 0 0);
	clip-path: inset(0 50% 0 0);
}

/* Handle: vertical line + drag button, positioned by JS */
.gdc-ba-slider__handle {
	position: absolute;
	top: 0;
	left: 50%; /* JS overrides */
	transform: translateX(-50%);
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 3;
	pointer-events: none;
}

.gdc-ba-slider__line {
	flex: 1;
	width: 2px;
	background: rgba(255, 255, 255, 0.9);
}

.gdc-ba-slider__btn {
	flex-shrink: 0;
	pointer-events: all;
	cursor: ew-resize;
	display: flex;
	align-items: center;
	justify-content: center;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

/* Labels */
.gdc-ba-slider__label {
	position: absolute;
	top: 10px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.8px;
	padding: 3px 10px;
	border-radius: 2px;
	pointer-events: none;
	line-height: 20px;
	z-index: 2;
}

.gdc-ba-slider__label--before { left: 10px; }
.gdc-ba-slider__label--after  { right: 10px; }


/* =============================================================
   GOOGLE REVIEWS
============================================================= */
.gdc-reviews {
	background: var(--gdc-white);
	padding: 64px 0 80px;
}

.gdc-reviews__title {
	font-family: var(--gdc-font);
	font-size: 40px;
	font-weight: 500;
	color: var(--gdc-gold);
	text-transform: capitalize;
	line-height: 1.5;
	text-align: center;
	margin: 0 0 48px;
}

.gdc-reviews__slider-wrap {
	overflow: hidden;
	position: relative;
}

.gdc-reviews__track {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	gap: 24px;
	-webkit-transition: -webkit-transform 0.4s ease;
	transition: transform 0.4s ease;
	will-change: transform;
}

/* Card — block layout so DOM order is always preserved */
.gdc-reviews__card {
	display: block;
	background: var(--gdc-white);
	border-radius: 20px;
	box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
	padding: 28px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-ms-flex-negative: 0;
	flex-shrink: 0;
}

/* Top row: reviewer info (left) + G icon (right) */
.gdc-reviews__card-top {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	margin-bottom: 20px;
}

/* Avatar + name column */
.gdc-reviews__reviewer {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.gdc-reviews__avatar {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--gdc-gold-60);
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	text-transform: uppercase;
}

.gdc-reviews__name {
	font-size: 17px;
	font-weight: 600;
	color: var(--gdc-text);
	line-height: 1.4;
	text-transform: capitalize;
	margin: 0 0 2px;
}

.gdc-reviews__date {
	font-size: 14px;
	color: var(--gdc-muted);
	line-height: 1.4;
	text-transform: capitalize;
	margin: 0;
}

.gdc-reviews__gicon {
	-ms-flex-negative: 0;
	flex-shrink: 0;
	margin-left: 12px;
}

/* Body text below reviewer row */
.gdc-reviews__body {
	font-size: 15px;
	line-height: 1.7;
	color: var(--gdc-text);
}

.gdc-reviews__body p {
	margin: 0;
}

/* Nav arrows */
.gdc-reviews__nav {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 28px;
}

.gdc-reviews__btn {
	width: 44px;
	height: 44px;
	background: none;
	border: none;
	color: var(--gdc-gold);
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	cursor: pointer;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
	padding: 0;
}

.gdc-reviews__btn:hover {
	opacity: 0.7;
}


/* =============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 1100px) {
	.gdc-hero__photo-wrap {
		flex: 0 0 340px;
		max-width: 340px;
	}
	.gdc-hero__photo {
		height: 100%;
	}
}

@media (max-width: 900px) {
	.gdc-about__inner {
		grid-template-columns: 1fr;
		/* Video first on mobile */
	}
	.gdc-about__bio-card {
		order: 2;
		padding:1.2rem;
	}
	.gdc-about__video-col {
		order: 1;
		position: static;
	}
	.gdc-smile__gallery {
		grid-template-columns: 1fr;
	}
	.gdc-smile__byline{
		font-size:1.5rem;
	}
	.gdc-ba-slider__after, .gdc-ba-slider__before{ height:100%; }
	.gdc-smile, .gdc-about{ padding: 1rem 0rem; } 
	.gdc-treatments__heading{ font-size: 1.5rem;}

}

@media (max-width: 768px) {
	.gdc-hero {
		padding: 40px 0;
	}
	.gdc-hero__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
	}
	.gdc-hero__photo-wrap {
		flex: none;
		width: 100%;
		max-width: 100%;
	}
	.gdc-hero__photo {
		height: auto;
		max-height: 420px;
		width: 100%;
	}
	.gdc-treatments__list {
		grid-template-columns: 1fr;
	}
	.gdc-smile__title {
		font-size: 28px;
	}
	.gdc-reviews__title {
		font-size: 28px;
	}
}

@media (max-width: 480px) {
	.gdc-hero__card-body {
		padding: 24px;
	}
	.gdc-hero__name {
		font-size: 1.5rem;
	}
	.gdc-smile__half img {
		height: 200px;
	}
}

/* =============================================================
   Book Now Modal
============================================================= */
.gdc-book-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	align-items: center;
	justify-content: center;
}
.gdc-book-modal--open {
	display: flex;
}
.gdc-book-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}
.gdc-book-modal__box {
	position: relative;
	background: #1c1000;
	border: 1px solid var(--gdc-gold-60);
	border-radius: 16px;
	padding: 40px 36px 36px;
	width: min(480px, 90vw);
	text-align: center;
	z-index: 1;
}
.gdc-book-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: none;
	border: none;
	cursor: pointer;
	color: rgba(255,255,255,0.6);
	padding: 4px;
	line-height: 0;
	transition: color 0.2s;
}
.gdc-book-modal__close:hover { color: #fff; }
.gdc-book-modal__title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 8px;
}
.gdc-book-modal__subtitle {
	font-size: 1rem;
	color: rgba(255,255,255,0.7);
	margin: 0 0 28px;
}
.gdc-book-modal__subtitle strong { color: var(--gdc-gold); }
.gdc-book-modal__actions {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.gdc-book-modal__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 24px;
	border-radius: 10px;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.2s, transform 0.15s;
}
.gdc-book-modal__cta:hover { opacity: 0.88; transform: translateY(-1px); }
.gdc-book-modal__cta--primary {
	background: var(--gdc-gold);
	color: #fff;
}
.gdc-book-modal__cta--secondary {
	background: rgba(255,255,255,0.08);
	color: #fff;
	border: 1px solid rgba(255,255,255,0.2);
}
