/* ==========================================================================
   ProGrin location (geo) pages: shared "pg-" design system
   Loaded by every /locations/<office>/ page after /styles/css/style.min.css.
   Page-specific rules (hero photo, one-off tweaks) stay in a small <style> on each page.
   ========================================================================== */
:root{
	--pg-teal:#25B395;          /* Primary */
	--pg-teal-600:#1F9683;
	--pg-blue:#2B6EA1;          /* Blue */
	--pg-soft:#F6FCFF;          /* Light Blue (bg) */
	--pg-ink:#313131;           /* Pure Black (text only) */
	--pg-muted:rgba(0,0,0,.68);
	--pg-line:#E2E8EC;
	--pg-teal-tint: rgba(37,179,149,.10);
	--pg-blue-tint: rgba(43,110,161,.08);
}

body{ color: var(--pg-ink); }
h1,h2,h3,h4,h5,h6,.section-title{ letter-spacing:-.01em; text-wrap:balance; }
.section-title{ font-weight:500; color: var(--pg-ink); }

.updated-section-gap{ padding-top: clamp(3rem, 2.428rem + 2.86vw, 5rem); padding-bottom: clamp(3rem, 2.428rem + 2.86vw, 5rem); }

/* Refined buttons */
.btn{ font-weight:600; border-radius: 999px; padding:.7rem 1.5rem; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn-primary{ background-color: var(--pg-teal); border-color: var(--pg-teal); color:#fff; }
.btn-primary:hover,.btn-primary:focus{ background-color: var(--pg-teal-600); border-color: var(--pg-teal-600); color:#fff; transform: translateY(-2px); }
.btn-outline-primary{ color: var(--pg-teal); border-color: var(--pg-teal); }
.btn-outline-primary:hover,.btn-outline-primary:focus{ background-color: var(--pg-teal); border-color: var(--pg-teal); color:#fff; }
.btn-outline-light{ color:#fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover{ background-color:#fff; color: var(--pg-blue); border-color:#fff; }
.min-width-btn{ min-width: 220px; }

/* Eyebrow labels (design scaffolding) */
.pg-eyebrow{
	display:inline-flex; align-items:center; gap:.5rem;
	text-transform:uppercase; letter-spacing:.08em; font-size:.76rem; font-weight:700;
	color: var(--pg-teal); margin-bottom:.85rem;
}
.pg-eyebrow--blue{ color: var(--pg-blue); }
.pg-eyebrow--blue::before{ background: var(--pg-blue); }

/* Section header */
.pg-section-head{ max-width: 760px; }
.pg-section-head.text-center{ margin-inline:auto; }
.pg-section-head p{ color: var(--pg-muted); font-size:1.05rem; line-height:1.7; margin-bottom:0; text-wrap:pretty; }

@media (prefers-reduced-motion: reduce){
	.pg-reveal,.pg-treatment-card,.pg-team-card,.pg-info-card,.pg-dentist-card,.pg-tour-gallery img{ transition:none !important; animation:none !important; }
}

/* Scroll reveal */
.pg-reveal{ opacity:0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.pg-reveal.is-visible{ opacity:1; transform: translateY(0); }

/* ===== HERO =====
   Each page sets only its own photo, e.g.
   .banner.simpsonville-office-bg{ background-image:url('/images/locations/simpsonville-building-bg.webp'); }
   Video heroes (Riverside) need nothing extra. */
.banner{
	min-height: clamp(520px, 74vh, 720px);
	padding-top: clamp(3.5rem, 2rem + 7vw, 12.5rem);
	padding-bottom: clamp(3.5rem, 2rem + 7vw, 12.5rem);
	background-size: cover;
	background-position: center;
}
@media (min-width:1px){
	.banner__bg-wrapper::after{ content:none; }
}
/* Text panel over the hero photo/video. Raise the alpha values to darken, lower to lighten.
   Below ~.3 the white text starts to lose contrast over bright sky.
   !important is required: style.min.css sets `.bg-blk-gradient{ background-color: rgba(0,0,0,.8) !important; }`
   sitewide, and this more specific rule has to beat it on location pages only. */
.banner .bg-blk-gradient{ background-color: rgba(0,0,0,.8) !important; border-radius: 18px; }
.banner .bg-blk-gradient :is(h1,p,span){ text-shadow: 0 1px 3px rgba(0,0,0,.55), 0 2px 14px rgba(0,0,0,.35); }
@media (max-width:767.98px){
	.banner .row.bg-blk-gradient{
		position:absolute; inset:0; margin:0; width:100%; max-width:100%;
		border-radius:0 !important;
		background-color: transparent !important;
		background-image: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.7) 55%, rgba(0,0,0,.5) 100%);
	}
}
.banner__title{ font-weight:500; letter-spacing:-.02em; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height:1.05; color:#fff; }
.banner__text{ font-weight:500; }

/* ===== STATS STRIP ===== */
.pg-stats{ background: var(--pg-teal); padding: 2.25rem 0; }
.pg-stats__grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:1.5rem; text-align:center; }
@media (max-width:767.98px){ .pg-stats__grid{ grid-template-columns: repeat(2,1fr); gap:1.75rem; } }
.pg-stats__item{ position:relative; color:#fff; }
.pg-stats__item:not(:last-child)::after{ content:""; position:absolute; right:-.75rem; top:50%; transform:translateY(-50%); width:1px; height:42px; background: rgba(255,255,255,.3); }
@media (max-width:767.98px){ .pg-stats__item::after{ display:none; } }
.pg-stats__num{ font-size: clamp(1.55rem,3vw,2.1rem); font-weight:600; display:block; line-height:1; }
.pg-stats__label{ font-size:.82rem; opacity:.95; display:block; margin-top:.4rem; }

/* ===== UNIFIED: COMPREHENSIVE CARE + DENTAL TREATMENTS ===== */
.pg-treatment-grid{
	list-style:none; padding:0; margin:0;
	display: flex; align-items: stretch; gap:1.5rem; flex-direction: column;
}

.pg-treatment-card{
	background:#fff; border:1px solid var(--pg-line); border-radius:14px; overflow: clip;
	display:flex; align-items:flex-start;
	transition: border-color .28s ease, transform .28s ease;
}

/* Alternate layout on desktop/tablet: even cards flip image to the right */
.pg-treatment-card:nth-child(even){ flex-direction: row-reverse; }

.pg-treatment-card__media{
	flex: 0 0 50%; width:50%; align-self:stretch;
	background: var(--pg-blue);
	min-height: 35vh;
}
.pg-treatment-card__media img{ width: 100%; height: 100%; object-fit: cover; }


.pg-treatment-card__content{ flex:1 1 auto; min-width:0; padding: clamp(1.5rem, 1.072rem + 2.14vw, 3rem);}


.pg-treatment-card h3 a{ color: var(--pg-ink); text-decoration:none; }
.pg-treatment-card h3 a:hover{ color: var(--pg-teal); }
.pg-treatment-card__content > p{ color: var(--pg-muted); font-size:.98rem; line-height:1.65; margin-bottom:1.1rem; text-wrap:pretty; }
.pg-treatment-card__content > p a{ color: var(--pg-blue); text-decoration:none; }
.pg-treatment-card__content > p a:hover{ color: var(--pg-teal); text-decoration:underline; }

.pg-subservices{ list-style:none; padding:0; margin:.25rem 0 0; border-top:1px solid var(--pg-line); padding-top:1rem; display:flex; flex-wrap:wrap; gap:.45rem; }
.pg-subservices li{ background: var(--pg-soft); border:1px solid var(--pg-line); color: var(--pg-ink); font-size:.82rem; font-weight:500; padding:.32rem .7rem; border-radius:999px; }
.pg-subservices li a{ color: var(--pg-blue); text-decoration:none; }
.pg-subservices li a:hover{ color: var(--pg-teal); }

/* Mobile: stack, image always first (natural DOM order, row-reverse is not inherited by column direction) */
@media (max-width:767.98px){
	.pg-treatment-grid{ grid-template-columns: 1fr; }
	.pg-treatment-card{ flex-direction: column !important; }
	.pg-treatment-card__media{ width:100%; min-height:120px; align-self:auto; }
}

	/* ===== REVIEWS (slider, equal height) ===== */
.section-review{ background: var(--pg-blue); }
.section-review .slick-track{ display:flex; }
.section-review .slick-slide{ height:auto; display:flex; }
.section-review .slick-slide > div{ display:flex; width:100%; padding:0 .5rem 1.5rem; }
.section-review .review-card{
	background:#fff; border-radius:14px; padding:1.75rem !important; width:100%;
	display:flex; flex-direction:column;
}
.section-review .review-card__header{ display:flex; align-items:center; }
.section-review .review-card__header img{ border-radius:50%; object-fit:cover; }
.section-review .review-card h3{ font-size:1rem; margin:0; color: var(--pg-ink); }
.section-review .review-card .text-warning{ color:#F5A623 !important; }
.section-review .review-card .pg-stars{ margin:.9rem 0; }
.section-review .review-card p{
	color: var(--pg-muted);
	font-size:.95rem;
	line-height:1.65;
	margin:0;
	max-height: 190px;
	overflow-y: auto;
	padding-right: 6px;
}

/* Custom scrollbar to seamlessly integrate long text */
.section-review .review-card p::-webkit-scrollbar { width: 4px; }
.section-review .review-card p::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
.section-review .review-card p::-webkit-scrollbar-thumb { background: #d0d0d0; border-radius: 4px; }
.section-review .review-card p::-webkit-scrollbar-thumb:hover { background: #9FD0E8; }

.section-review .slick__arrows{ color:#fff; font-size:1.1rem; width:42px; height:42px; border-radius:50%; background: rgba(255,255,255,.16); transition: background-color .2s ease; }
.section-review .slick__arrows:hover{ background: var(--pg-teal); }
.pg-review-score{ color: #ffffff !important; font-size:.95rem; }

/* ===== TEAM / QUALIFICATIONS ===== */
.pg-team-wrap{ display:grid; grid-template-columns: 1fr 1fr; gap:2.5rem; align-items:stretch; }
@media (max-width:991.98px){ .pg-team-wrap{ grid-template-columns: 1fr; } }

.pg-team-grid{ display:grid; grid-template-columns: 1fr; gap:1rem; list-style:none; padding:0; margin:0; }

.pg-team-card{
	background:#fff; border:1px solid var(--pg-line); border-top:3px solid var(--pg-teal);
	border-radius:12px; padding:1.15rem 1.35rem; height:100%;
}
.pg-team-card__icon{ width:38px; height:38px; border-radius:10px; background: var(--pg-teal-tint); color: var(--pg-teal); display:flex; align-items:center; justify-content:center; font-size:1rem; margin-bottom:.7rem; }
.pg-team-card h3{ font-size:1.02rem; margin-bottom:.4rem; }
.pg-team-card p{ color: var(--pg-muted); font-size:.9rem; line-height:1.6; margin:0; text-wrap:pretty; }
.pg-team-card a{ color: var(--pg-blue); text-decoration:none; }
.pg-team-card a:hover{ color: var(--pg-teal); }

.pg-team-media{ align-self:start; }
.pg-team-media__img{ width:100%; height:auto; display:block; border-radius:14px; border:3px solid var(--pg-teal); }
.pg-team-media__caption{ margin:.75rem 0 0; color: var(--pg-muted); font-size:.85rem; line-height:1.5; text-align:left; }

/* ===== DENTIST CARD ===== */
.pg-dentist-card{ background:var(--pg-soft); border:1px solid var(--pg-line); border-radius:18px; overflow:hidden; }
/* Image column stretches to match the bio column's height (Bootstrap row default align-items:stretch),
   so the photo always fills the card with no gap, regardless of how long the bio text is. */
.pg-dentist-card__img-wrap{ position:relative; height:100%; min-height:320px; overflow:hidden; background: var(--pg-soft); }
.pg-dentist-card__img{ width:100%; height:100%; object-fit:cover; object-position:top center; display:block; }
.pg-dentist-card__badge{ position:absolute; left:1rem; bottom:1rem; background: var(--pg-teal); color:#fff; font-weight:700; font-size:.78rem; padding:.45rem .9rem; border-radius:999px; }
.pg-dentist-card__body{ padding:2rem; }
.pg-dentist-card__body p{ color: var(--pg-muted); line-height:1.7; text-wrap:pretty; }
.pg-dentist-card__body a{ color: var(--pg-blue); text-decoration:none; }
.pg-dentist-card__body a:hover{ color: var(--pg-teal); }
@media (max-width: 767.98px){ .pg-dentist-card__img-wrap{ min-height:280px; } }

/* ===== FLOATING DOCTOR TABS ===== */
.pg-dentist-tabs{ display:flex; flex-wrap:wrap; justify-content:center; gap:.6rem; border:0; margin-bottom:1.5rem; }
.pg-dentist-tabs .nav-link{ border:1px solid var(--pg-line); background:#fff; color: var(--pg-ink); font-weight:600; font-size:.92rem; padding:.65rem 1.4rem; border-radius:999px; box-shadow: 0 4px 14px rgba(20,40,45,.06); transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.pg-dentist-tabs .nav-link:hover{ border-color: var(--pg-teal); transform: translateY(-2px); }
.pg-dentist-tabs .nav-link.active{ background: var(--pg-teal); border-color: var(--pg-teal); color:#fff; }

/* ===== OFFICE TOUR BENTO GRID ===== */
.pg-bento {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
}

.pg-bento__tile {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
}

/* Mobile & Tablet height */
@media (max-width: 991.98px) {
	.pg-bento__tile {
min-height: 300px;
	}
}

/* Photo tile base styles */
.pg-bento__tile--photo {
	background: #eee;
	border: 1px solid var(--pg-line);
}

.pg-bento__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}

.pg-bento__tile--photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20,30,33,0) 20%, rgba(15,23,25,.55) 60%, rgba(10,16,18,.92) 100%);
	pointer-events: none;
	z-index: 1;
}

.pg-bento__tile--photo:hover .pg-bento__img {
	transform: scale(1.04);
}

.pg-bento__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.5rem;
	color: #fff;
	z-index: 2;
}

.pg-bento__title {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: .4rem;
	color: #fff;
}

.pg-bento__text {
	font-size: .92rem;
	margin-bottom: 0;
	max-width: 46ch;
}

/* Brand tile styles */
.pg-bento__tile--brand {
	background: #fff;
	border: 2px solid var(--pg-blue);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 1.5rem;
}

.pg-bento__brand-logo {
	width: 150px;
	max-width: 70%;
	height: auto;
	margin-bottom: 1rem;
}

.pg-bento__brand-text {
	color: var(--pg-muted);
	font-size: .88rem;
	line-height: 1.5;
	max-width: 38ch;
	margin-bottom: 0;
}

/* ===== DESKTOP NON-OVERLAPPING ASYMMETRIC GRID ===== */
@media (min-width: 992px) {
	.pg-bento {
grid-template-columns: repeat(3, 1fr);
grid-template-rows: 270px 270px;
gap: 1.25rem;
	}

	/* Top Left: Exterior photo (Spans Cols 1 & 2, Row 1) -> ~3:2 Wide Ratio */
	.pg-bento__tile--exterior {
grid-column: 1 / 3;
grid-row: 1 / 2;
	}

	/* Right Tower: Op Room photo (Col 3, Rows 1 & 2) -> ~2:3 Tall Ratio */
	.pg-bento__tile--op-room {
grid-column: 3 / 4;
grid-row: 1 / 3;
	}

	/* Bottom Left: Comfort Menu photo (Col 1, Row 2) -> ~1:1 Square Ratio */
	.pg-bento__tile--comfort {
grid-column: 1 / 2;
grid-row: 2 / 3;
	}

	/* Bottom Center: Brand tile (Col 2, Row 2) -> ~1:1 Square Ratio */
	.pg-bento__tile--brand {
grid-column: 2 / 3;
grid-row: 2 / 3;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pg-bento__img {
transition: none;
	}
}

/* ===== FINANCIAL CARDS (links) ===== */
.pg-info-card{
	position:relative;
	display:flex; flex-direction:column; background:#fff; border:1px solid var(--pg-line); border-radius:14px;
	padding:1.85rem; height:100%; color: var(--pg-ink);
	transition: border-color .24s ease, transform .24s ease, background-color .24s ease;
}
.pg-info-card:hover{ border-color: var(--pg-teal); background: var(--pg-soft); transform: translateY(-3px); }
.pg-info-card:has(.pg-info-card__arrow:focus-visible){ border-color: var(--pg-teal); background: var(--pg-soft); transform: translateY(-3px); }
.pg-info-card__icon{ width:50px; height:50px; border-radius:12px; background: var(--pg-blue-tint); color: var(--pg-blue); display:flex; align-items:center; justify-content:center; font-size:1.2rem; margin-bottom:1.1rem; }
.pg-info-card h3{ font-size:1.15rem; margin-bottom:.7rem; color: var(--pg-blue); }
.pg-info-card p{ color: var(--pg-muted); font-size:.98rem; line-height:1.65; text-wrap:pretty; }
.pg-info-card .pg-info-card__arrow{ margin-top:1.25rem; color: var(--pg-teal); font-size:.85rem; font-weight:600; text-decoration:none; }
.pg-info-card .pg-info-card__arrow:hover{ color: var(--pg-teal); text-decoration:underline; }

/* ===== WELCOME / GETTING STARTED ===== */
.pg-steps{ list-style:none; padding:0; margin:0; }
.pg-steps li{ display:flex; gap:1rem; padding:1.1rem 0; border-bottom:1px solid var(--pg-line); align-items:flex-start; }
.pg-steps li:last-child{ border-bottom:none; }
.pg-steps li .pg-step__num{ flex:0 0 auto; width:34px; height:34px; border-radius:50%; background: var(--pg-teal); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.9rem; }
.pg-steps li span{ color: var(--pg-ink); line-height:1.6; }
.pg-steps li a{ color: var(--pg-teal); text-decoration:none; font-weight:600; }
.pg-steps li a:hover{ text-decoration:underline; }
.pg-video-wrap{ position:relative; padding-bottom:56.25%; height:0; overflow:hidden; border-radius:18px; border:1px solid var(--pg-line); }
.pg-video-wrap iframe{ position:absolute; top:0; left:0; width:100%; height:100%; border:0; }

/* ===== VISIT US ===== */
.pg-contact-list{ list-style:none; padding:0; margin:0; }
.pg-contact-list li{ display:flex; align-items:center; gap:.85rem; padding:.75rem 0; font-size:1rem; }
.pg-contact-list li i{ width:40px; height:40px; border-radius:50%; background: var(--pg-teal-tint); color: var(--pg-teal); display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; }
.pg-contact-list a{ color: var(--pg-ink); text-decoration:none; font-weight:600; }
.pg-contact-list a:hover{ color: var(--pg-teal); }
.pg-hours{ background: var(--pg-soft); border:1px solid var(--pg-line); border-radius:14px; padding:1.5rem; }
.pg-hours h3{ font-size:1.1rem; margin-bottom:1rem; }
.pg-hours p{ margin:0 0 .5rem; font-size:.98rem; color: var(--pg-muted); display:flex; justify-content:space-between; gap:1rem; }
.pg-hours p strong{ color: var(--pg-ink); font-weight:600; }
.pg-map-wrap{ position:relative; padding-bottom:56.25%; height:0; overflow:hidden; border-radius:18px; border:1px solid var(--pg-line); }
.pg-map-wrap iframe{ position:absolute; top:0; left:0; width:100%; height:100%; border:0; }

/* ===== FAQ ===== */
.pg-faq .accordion-item{ border:1px solid var(--pg-line) !important; border-radius:14px !important; overflow:hidden; margin-bottom:1rem; }
.pg-faq .accordion-button{ font-weight:600; color: var(--pg-ink); padding:1.1rem 1.25rem; }
.pg-faq .accordion-button:not(.collapsed){ color: var(--pg-teal); background-color: var(--pg-teal-tint); box-shadow:none; }
.pg-faq .accordion-button:focus{ box-shadow: 0 0 0 .2rem rgba(37,179,149,.2); border-color: var(--pg-teal); }
.pg-faq .accordion-body{ color: var(--pg-muted); line-height:1.7; text-wrap:pretty; }
.pg-faq .accordion-body a{ color: var(--pg-blue); text-decoration:none; }

/* ===== CTA ===== */
.section-cta{ background: var(--pg-teal); }
.section-cta__title{ color:#fff; }
.section-cta__text{ color: rgba(255,255,255,.95); }
.section-cta .btn-primary{ background:#fff; border-color:#fff; color: var(--pg-teal); }
.section-cta .btn-primary:hover{ background: var(--pg-ink); border-color: var(--pg-ink); color:#fff; }
.section-cta .btn-outline-light:hover{ color: var(--pg-teal); }
.section-cta__social a{ width:44px; height:44px; border-radius:50%; background: rgba(255,255,255,.18); color:#fff; transition: background-color .2s ease, transform .2s ease; }
.section-cta__social a:hover{ background: rgba(255,255,255,.34); transform: translateY(-3px); }

/* ===== STICKY MOBILE CTA ===== */
.pg-sticky-cta{ position:fixed; left:0; right:0; bottom:0; z-index:1030; display:none; gap:.6rem; padding:.7rem; background:#fff; border-top:1px solid var(--pg-line); }
.pg-sticky-cta .btn{ flex:1; min-width:0; padding:.75rem 1rem; font-size:.95rem; }
@media (max-width: 767.98px){ .pg-sticky-cta{ display:flex; } body{ padding-bottom: 72px; } }
	

/* ===== SHARED ADDITIONS (first used on North Greer / Powdersville) ===== */
/* Inline links inside a stretched-link card stay clickable above the overlay */
.pg-info-card p a{ position:relative; z-index:2; color: var(--pg-blue); text-decoration:none; }
.pg-info-card p a:hover{ color: var(--pg-teal); text-decoration:underline; }
.pg-pay-list{ list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:.45rem; }
.pg-pay-list li{ background: var(--pg-soft); border:1px solid var(--pg-line); color: var(--pg-ink); font-size:.85rem; font-weight:500; padding:.32rem .75rem; border-radius:999px; }
.pg-treatment-card__content sup a{ color: var(--pg-blue); text-decoration:none; font-weight:600; }
.pg-references{ max-width: 760px; margin: 2.5rem auto 0; padding-top:1.5rem; border-top:1px solid var(--pg-line); }
.pg-references h3{ font-size:1rem; margin-bottom:.75rem; }
.pg-references ol{ padding-left:1.25rem; margin:0; color: var(--pg-muted); font-size:.85rem; line-height:1.6; }
.pg-references li{ margin-bottom:.4rem; word-break:break-word; }
.pg-references a{ color: var(--pg-blue); }
