/* ==========================================================================
   Dennis J. Custer DDS — main stylesheet
   Palette from the current site: #481582 purple, #eadef7 lavender,
   #F2F0FE light lavender, #D8D8F5, #0F172A navy, #454F5E slate, #0D0614.
   ========================================================================== */
:root {
	--purple: #481582;
	--purple-dark: #330e5e;
	--purple-deep: #0D0614;
	--lavender: #eadef7;
	--lavender-2: #F2F0FE;
	--lavender-3: #D8D8F5;
	--navy: #0F172A;
	--slate: #454F5E;
	--gold: #ffc137;
	--white: #fff;
	--line: #e7e0f0;
	--radius: 16px;
	--radius-lg: 26px;
	--shadow: 0 1px 2px rgba(72, 21, 130, .06), 0 8px 24px rgba(72, 21, 130, .08);
	--shadow-lg: 0 20px 50px rgba(72, 21, 130, .18);
	--font-head: "Lato", sans-serif;
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--slate); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--purple-dark); }
::selection { background: var(--purple); color: #fff; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.25; color: var(--purple); margin: 0 0 .55em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; color: var(--navy); }
p { margin: 0 0 1em; }
.icon { width: 1.2em; height: 1.2em; flex: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--purple); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* Buttons — same behaviour as the current site: purple, hover to lavender with dark text */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font: 700 1rem/1.2 var(--font-head); letter-spacing: .01em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 1em 1.8em; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--purple); color: #fff; border-color: var(--purple); }
.btn-primary:hover, .btn-primary:focus { background: var(--lavender); color: #000; border-color: var(--lavender); }
.btn-light { background: #fff; color: var(--purple); }
.btn-light:hover { background: var(--lavender); color: #000; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }

/* Top bar */
.topbar { background: var(--purple-deep); color: var(--lavender); font-size: .88rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .45em; min-width: 0; }
.topbar a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar a:hover { color: #fff; }
.topbar-phone { font-weight: 700; color: #fff !important; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(72, 21, 130, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand-logo, .custom-logo { width: 78px; height: auto; }
.brand-name { font-family: var(--font-head); font-weight: 900; font-size: 1.3rem; color: var(--purple); }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu li { position: relative; list-style: none; }
.site-nav .menu > li > a { display: inline-flex; align-items: center; gap: 4px; color: var(--purple); text-decoration: none; font-family: var(--font-head); font-size: 1.06rem; padding: 10px 12px; border-radius: 999px; transition: background .2s; }
.site-nav .menu > li > a:hover, .site-nav .menu > li:focus-within > a, .site-nav .menu > .current-menu-item > a { background: var(--lavender); color: var(--purple); }
.site-nav .menu > .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 4px; }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; background: #fff; border-top: 3px solid var(--purple); border-radius: 0 0 14px 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 10; }
.site-nav .menu > li::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--navy); text-decoration: none; font-size: .98rem; }
.site-nav .sub-menu a:hover { background: var(--lavender-2); color: var(--purple); }
/* "Our Services" mega menu: second-level groups shown as columns */
.site-nav .menu > li > .sub-menu:has(> li > .sub-menu) { display: grid; grid-template-columns: repeat(3, minmax(170px, 1fr)); gap: 8px 16px; padding: 22px; min-width: 600px; left: 50%; transform: translate(-50%, 6px); }
.site-nav .menu > li:hover > .sub-menu:has(> li > .sub-menu), .site-nav .menu > li:focus-within > .sub-menu:has(> li > .sub-menu) { transform: translate(-50%, 0); }
.site-nav .sub-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0; min-width: 0; }
.site-nav .sub-menu > li:has(> .sub-menu) > a { font-family: var(--font-head); font-weight: 900; color: var(--purple); text-transform: uppercase; font-size: .82rem; letter-spacing: .1em; pointer-events: none; border-bottom: 2px solid var(--lavender); border-radius: 0; margin-bottom: 6px; }
.nav-toggle { display: none; background: var(--purple); border: 0; color: #fff; padding: 9px; border-radius: 10px; cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle-close { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 84px 0 92px; background:
	radial-gradient(700px 400px at 10% 0%, rgba(234, 222, 247, .22), transparent 60%),
	radial-gradient(800px 500px at 100% 100%, rgba(13, 6, 20, .5), transparent 60%),
	linear-gradient(135deg, #5a1ea0 0%, var(--purple) 50%, #2c0b52 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(234, 222, 247, .14); pointer-events: none; }
.hero::before { width: 620px; height: 620px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.hero::after { width: 900px; height: 900px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-dove { width: 150px; height: auto; margin-bottom: 18px; filter: drop-shadow(0 10px 25px rgba(0, 0, 0, .25)); }
.hero-title { color: #fff; font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; margin-bottom: .2em; letter-spacing: -.01em; }
.hero-tagline { font-family: var(--font-head); font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--lavender); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Sections */
.section { padding: 88px 0; }
.section-head { max-width: 820px; margin: 0 auto 52px; text-align: center; }
.section-head p { font-size: 1.06rem; }

/* Intro + Our Info */
.intro { padding-bottom: 56px; }
.intro-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; }
.info-card { background: var(--lavender-2); border: 1px solid var(--lavender-3); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); margin-top: -150px; position: relative; z-index: 2; background-clip: padding-box; }
.info-card h2 { font-size: 1.6rem; }
.info-call { margin: 18px 0 18px; font-weight: 600; color: var(--navy); }
.info-call a { font-family: var(--font-head); font-weight: 900; font-size: 1.25rem; text-decoration: none; display: block; }
.hours { margin: 0; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--lavender-3); }
.hours-row:last-child { border-bottom: 0; }
.hours dt { font-weight: 700; color: var(--navy); }
.hours dd { margin: 0; text-align: right; }
.hours .is-closed dd { color: #8a8299; }

/* Awards */
.awards { padding: 0 0 88px; }
.awards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.award-card { display: flex; gap: 22px; align-items: flex-start; padding: 32px; border-radius: var(--radius-lg); background: var(--purple); color: var(--lavender); text-decoration: none; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.award-card::after { content: ""; position: absolute; width: 240px; height: 240px; right: -90px; top: -110px; border-radius: 50%; background: rgba(234, 222, 247, .08); }
a.award-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--lavender); }
.award-card h2 { color: #fff; font-size: 1.45rem; margin-bottom: .4em; }
.award-card p { margin: 0; }
.award-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--gold); color: var(--purple-deep); flex: none; }
.award-icon .icon { width: 30px; height: 30px; }

/* Help cards */
.help { background: var(--lavender-2); }
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.help-card { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.help-card .btn { margin-top: auto; }
.help-card p:last-of-type { margin-bottom: 24px; }
.help-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--lavender); color: var(--purple); margin-bottom: 20px; }
.help-icon .icon { width: 28px; height: 28px; }

/* Different */
.different-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.different-item { text-align: center; padding: 36px 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.different-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--purple); color: #fff; margin-bottom: 20px; box-shadow: 0 0 0 8px var(--lavender); }
.different-icon .icon { width: 32px; height: 32px; }

/* Meet */
.meet { background: linear-gradient(180deg, #fff 0%, var(--lavender-2) 100%); }
.meet-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.meet-photo { aspect-ratio: 4 / 5; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); overflow: hidden; background: linear-gradient(150deg, #5a1ea0, var(--purple) 55%, #2c0b52); display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.meet-photo.has-image img { width: 100%; height: 100%; object-fit: cover; }
.meet-dove { width: 55%; opacity: .95; }
.meet-copy h3 { font-size: 1.5rem; color: var(--navy); }
.meet-copy p { font-size: 1.06rem; margin-bottom: 1.6em; }

/* Request band */
.request-band { background: var(--purple); padding: 56px 0; position: relative; overflow: hidden; }
.request-band::before { content: ""; position: absolute; width: 420px; height: 420px; left: -140px; top: -220px; border-radius: 50%; background: rgba(234, 222, 247, .08); }
.request-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; position: relative; }
.request-inner h2 { color: #fff; margin: 0; }

/* Reviews */
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; margin-bottom: 40px; text-align: center; color: var(--navy); }
.reviews-score { font-family: var(--font-head); font-weight: 900; font-size: 1.6rem; color: var(--purple); letter-spacing: .04em; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .icon { width: 24px; height: 24px; }
.stars-sm .icon { width: 15px; height: 15px; }
.reviews-google { display: inline-flex; align-items: center; gap: .45em; }
.review-grid { columns: 3 300px; column-gap: 22px; }
.review-card { break-inside: avoid; margin: 0 0 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-head figcaption { font-weight: 700; color: var(--navy); line-height: 1.2; }
.review-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--lavender); color: var(--purple); font-family: var(--font-head); font-weight: 900; flex: none; }
.review-google { margin-left: auto; }
.review-card blockquote { margin: 0; }
.review-card blockquote p { margin: 0; font-size: .98rem; }

/* Contact */
.contact { background: var(--lavender-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: stretch; }
.contact-cards { display: grid; gap: 20px; align-content: center; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.contact-card h3 { margin-bottom: .3em; color: var(--purple); }
.contact-card h3 a { color: inherit; text-decoration: none; }
.contact-card p { margin: 0 0 .3em; }
.contact-card p a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-card p a:hover { color: var(--purple); text-decoration: underline; }
.contact-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--purple); color: #fff; flex: none; }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; box-shadow: var(--shadow); background: var(--lavender); }
.contact-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Inner pages */
.builder-content { width: 100%; }
.page-hero { padding: 64px 0; background: linear-gradient(135deg, #5a1ea0 0%, var(--purple) 55%, #2c0b52 100%); color: var(--lavender); }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero .lead { margin: .5em 0 0; }
.featured { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }
.entry-content h2 { margin-top: 1.4em; }
.entry-content h3 { margin-top: 1.2em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 4px solid var(--purple); background: var(--lavender-2); border-radius: 0 12px 12px 0; }
.entry-content .wp-block-button__link { background: var(--purple); border-radius: 999px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.post-card-thumb img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card-body { padding: 24px; }
.post-card h2 { font-size: 1.3rem; }
.post-card h2 a { color: inherit; text-decoration: none; }
.post-meta { font-size: .85rem; margin-bottom: .4em; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--purple); color: #fff; border-color: var(--purple); }
.empty-state { text-align: center; margin: 0 auto; }
.search-form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; }
.search-form input { flex: 1; padding: .8em 1.1em; border-radius: 999px; border: 1px solid var(--line); font: inherit; min-width: 0; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: .7em 1em; border: 1px solid var(--line); border-radius: 12px; font: inherit; }
.comment-form .submit { background: var(--purple); color: #fff; border: 0; border-radius: 999px; padding: .8em 1.4em; font-weight: 700; cursor: pointer; }
/* Contact Form 7 (used on the Contact Us page) */
.wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]), .wpcf7 textarea, .wpcf7 select { width: 100%; padding: .75em 1em; border: 1px solid var(--lavender-3); border-radius: 12px; font: inherit; background: #fff; }
.wpcf7 input[type=submit] { background: var(--purple); color: #fff; border: 0; border-radius: 999px; padding: .9em 1.8em; font: 700 1rem var(--font-head); cursor: pointer; }
.wpcf7 input[type=submit]:hover { background: var(--lavender); color: #000; }
.wpcf7-response-output { margin-top: 20px; padding: 20px !important; color: var(--purple) !important; font-size: 16px; }
label { display: block; margin-bottom: 5px; }

/* Footer */
.site-footer { background: var(--purple); color: var(--lavender); }
.footer-top { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 56px; padding-bottom: 40px; text-align: center; }
.footer-logo img { width: 90px; height: auto; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; }
.footer-menu a { color: #fff; text-decoration: none; font-family: var(--font-head); font-size: 1.02rem; }
.footer-menu a:hover { color: var(--lavender); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(234, 222, 247, .2); padding: 20px 0; text-align: center; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; }
.mobile-call { display: none; }


/* ==========================================================================
   Designed inner pages (service pages, About, New Patients, Dental+, blog)
   ========================================================================== */
.page-hero { padding: 76px 0 70px; text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; border: 1.5px solid rgba(234, 222, 247, .16); }
.page-hero h1 { max-width: 900px; margin: 0 auto; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 900; }
.page-hero .lead { max-width: 720px; margin: 14px auto 0; color: var(--lavender); }
.page-hero .hero-text p { color: var(--lavender); font-family: var(--font-head); font-size: 1.25rem; margin: 0 0 .3em; }
.page-hero .hero-text h1 { color: #fff; }

.pg-section { padding: 76px 0; }
.pg-alt { background: var(--lavender-2); }
.pg-narrow { max-width: 860px; }
.pg-wide { max-width: var(--container); }
.pg-section h2 { margin-top: 0; }
.pg-section h2:not(:first-child) { margin-top: 1.4em; }
.pg-section h3 { margin-top: 1.2em; }
.pg-section > .container > h2:first-child { position: relative; padding-bottom: .5em; }
.pg-section > .container > h2:first-child::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 4px; background: var(--purple); }
.pg-wide > h2:first-child, .pg-faq > .container > h2:first-child { text-align: center; }
.pg-wide > h2:first-child::after, .pg-faq > .container > h2:first-child::after { left: 50%; margin-left: -32px; }
.pg-text ul, .pg-text ol { padding-left: 0; list-style: none; }
.pg-text ul li { position: relative; padding-left: 1.8em; margin-bottom: .55em; }
.pg-text ul li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--lavender) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23481582' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }
.pg-text ol { counter-reset: pgol; }
.pg-text ol li { counter-increment: pgol; position: relative; padding-left: 2.3em; margin-bottom: .7em; }
.pg-text ol li::before { content: counter(pgol); position: absolute; left: 0; top: .1em; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--purple); color: #fff; font: 700 .85rem/1.6em var(--font-head); text-align: center; }
.pg-text a, .faq-body a { font-weight: 600; }
.pg-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 6px; }
.btn-ghost { background: #fff; color: var(--purple); border-color: var(--lavender-3); }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); background: #fff; }

/* Cards & grids */
.pg-grid { display: grid; gap: 22px; margin: 32px 0; }
.pg-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pg-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pg-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pg-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow); text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .25s, box-shadow .25s; }
.pg-alt .pg-card { border-color: transparent; }
.pg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pg-card h2, .pg-card h3 { margin: 0 0 .5em; font-size: 1.3rem; color: var(--purple); }
.pg-card h2::after { display: none; }
.pg-card .pg-text { width: 100%; }
.pg-card .pg-text ul { text-align: left; display: inline-block; }
.pg-card .pg-buttons { margin-top: auto; padding-top: 18px; justify-content: center; }
.pg-card::before { content: ""; width: 54px; height: 54px; border-radius: 50%; margin-bottom: 16px; background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 50% no-repeat; box-shadow: 0 0 0 7px var(--lavender); flex: none; }
.pg-mini { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .15em .3em; margin: 4px 0 14px; color: var(--navy); }
.pg-mini span:first-child { font-family: var(--font-head); font-weight: 900; font-size: 1.25rem; color: var(--purple); }
.pg-card:has(> .pg-mini:only-child) .pg-mini { flex-direction: column; align-items: center; margin: 0; }
.pg-badge { position: absolute; top: 18px; right: 18px; background: var(--gold); color: var(--purple-deep); font: 900 .75rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .08em; padding: 7px 12px; border-radius: 999px; }
/* Pricing cards (Dental+): price = mini with $ amount */
#program .pg-card::before { display: none; }
#program .pg-mini span:first-child { font-size: 3rem; line-height: 1; }
#program .pg-card:has(.pg-badge) { border: 2px solid var(--purple); box-shadow: var(--shadow-lg); }
#program .pg-card h2 { font-size: 1.6rem; }

/* Comparison tables */
.pg-table-wrap { overflow-x: auto; margin: 28px 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.pg-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 520px; }
.pg-table th, .pg-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.pg-table thead th { background: var(--purple); color: #fff; font-family: var(--font-head); font-size: 1.05rem; }
.pg-table tbody th { color: var(--navy); font-weight: 700; background: var(--lavender-2); width: 30%; }
.pg-table tbody tr:last-child th, .pg-table tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { margin-top: 28px; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.08rem; color: var(--navy); }
.faq-item[open] summary h3 { color: var(--purple); }
.faq-icon { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--lavender); flex: none; transition: background .2s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--purple); transform: translate(-50%, -50%); transition: transform .25s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--purple); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-body { padding: 0 24px 20px; }
.faq-body > :last-child { margin-bottom: 0; }

/* Patient quote */
.pg-quote { padding: 64px 0; background: var(--purple); color: var(--lavender); text-align: center; position: relative; overflow: hidden; }
.pg-quote::before { content: "\201C"; position: absolute; left: 50%; top: -40px; transform: translateX(-50%); font: 900 260px/1 Georgia, serif; color: rgba(234, 222, 247, .08); }
.pg-quote figure { margin: 0 auto; max-width: 820px; position: relative; }
.pg-quote blockquote { margin: 16px 0; font-size: 1.22rem; line-height: 1.7; color: #fff; font-style: italic; }
.pg-quote blockquote p { margin: 0; }
.pg-quote figcaption { font-family: var(--font-head); font-weight: 900; color: var(--lavender); letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; }
.pg-quote figcaption::before { content: "— "; }

/* Appointment CTA */
.pg-cta { padding: 76px 0; }
.pg-cta-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; background: linear-gradient(135deg, #5a1ea0 0%, var(--purple) 55%, #2c0b52 100%); color: var(--lavender); border-radius: var(--radius-lg); padding: 52px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.pg-cta-inner::after { content: ""; position: absolute; width: 340px; height: 340px; right: -110px; bottom: -170px; border-radius: 50%; background: rgba(234, 222, 247, .07); }
.pg-cta h2 { color: #fff; margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.pg-cta-body { position: relative; z-index: 1; }
.pg-cta-body p { margin-bottom: .6em; }
.pg-cta .btn-primary { background: #fff; color: var(--purple); border-color: #fff; }
.pg-cta .btn-primary:hover { background: var(--lavender); color: #000; border-color: var(--lavender); }
.pg-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.pg-cta .btn-ghost:hover { border-color: #fff; color: #fff; }
.pg-cta a:not(.btn) { color: #fff; }

/* Media */
.pg-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin: 26px 0; }
.pg-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--lavender-2); }
.pg-image img { border-radius: var(--radius-lg); }
.pg-video { margin: 26px 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: var(--purple-deep); }
.pg-video iframe { width: 100%; height: 100%; display: block; border: 0; }
.pg-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 360px; background: var(--lavender); }
.pg-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.pg-html { margin: 20px 0; }
.pg-html img { display: inline-block; max-width: 320px; }
.insurance-logos { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.insurance-logos span { display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow); }
.insurance-logos img { max-height: 56px; width: auto; }
.reviews-block { margin: 10px 0; }
.pg-narrow .review-grid { columns: 2 280px; }

/* Contact strip (bottom of each page) */
.contact-strip { background: var(--lavender-2); padding: 56px 0; }
.contact-strip-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* Contact Us page */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: stretch; }
.contact-page-info { display: grid; gap: 18px; align-content: start; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.contact-line p { margin: 0; padding-top: 12px; }
.contact-line p a { color: var(--navy); font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.contact-line .hours { flex: 1; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-lg); }
.form-card h2 { text-align: center; }
.wpcf7 p { margin-bottom: 14px; }
.wpcf7 .wpcf7-list-item { margin: 0 14px 0 0; }
.wpcf7 input[type=checkbox] { accent-color: var(--purple); }

/* Blog articles */
.designed-post .pg-section:not(:has(.related-posts)) h2 { font-size: 1.6rem; }
.related-posts { margin-top: 10px; }
.designed-post .pg-section:has(.related-posts) .container { max-width: var(--container); }

@media (max-width: 1080px) {
	.pg-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.pg-cta-inner, .contact-page-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.page-hero { padding: 52px 0 48px; }
	.pg-section, .pg-cta { padding: 56px 0; }
	.pg-grid-2, .pg-grid-3, .pg-grid-4, .contact-strip-inner { grid-template-columns: 1fr; }
	.pg-cta-inner { padding: 34px 22px; }
	.pg-cta .pg-buttons, .pg-cta .pg-buttons .btn { width: 100%; }
	.form-card { padding: 28px 18px; }
	.pg-quote blockquote { font-size: 1.08rem; }
	.faq-item summary { padding: 18px; }
	.faq-body { padding: 0 18px 18px; }
}

/* Reveal animation (only when JS adds .js-reveal) */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.site-nav { gap: 12px; }
	.site-nav .menu > li > a { padding: 8px 8px; font-size: 1rem; }
}

@media (max-width: 1080px) {
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.nav-toggle { display: inline-flex; position: relative; z-index: 60; }
	.site-nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 90vw); background: #fff; flex-direction: column; align-items: stretch; gap: 24px; padding: 100px 24px 28px; transform: translateX(100%); transition: transform .3s ease; box-shadow: var(--shadow-lg); z-index: 40; overflow-y: auto; visibility: hidden; }
	.nav-open .site-nav { transform: none; visibility: visible; }
	.nav-open .nav-toggle-open { display: none; }
	.nav-open .nav-toggle-close { display: inline; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu > li > a { display: flex; justify-content: space-between; padding: 13px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
	.site-nav .menu > li > a:hover { background: none; }
	.site-nav .menu > li::after { display: none; }
	.site-nav .sub-menu, .site-nav .menu > li > .sub-menu:has(> li > .sub-menu) { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 6px 0 10px 12px; min-width: 0; grid-template-columns: 1fr; }
	.site-nav .menu > li.is-open > .sub-menu, .site-nav .menu > li.is-open > .sub-menu:has(> li > .sub-menu) { display: block; }
	.site-nav .menu > li:hover > .sub-menu:has(> li > .sub-menu) { transform: none; }
	.site-nav .sub-menu .sub-menu { display: block; padding: 0 0 8px; }
	.site-nav .menu > .menu-item-has-children.is-open > a::after { transform: rotate(-135deg); }
	.intro-grid, .meet-grid, .contact-grid { grid-template-columns: 1fr; }
	.info-card { margin-top: 0; }
	.meet-photo { max-width: 420px; width: 100%; margin: 0 auto; }
	.post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
	body { font-size: 16px; padding-bottom: 70px; }
	.container { padding: 0 16px; }
	.topbar-inner { justify-content: center; }
	.topbar-phone { display: none !important; }
	.header-inner { min-height: 76px; }
	.brand-logo, .custom-logo { width: 62px; }
	.hero { padding: 56px 0 64px; }
	.hero-dove { width: 110px; }
	.hero-actions, .hero-actions .btn { width: 100%; }
	.section { padding: 64px 0; }
	.awards { padding-bottom: 64px; }
	.awards-grid, .help-grid, .different-grid, .post-grid { grid-template-columns: 1fr; }
	.award-card { flex-direction: column; padding: 28px 24px; }
	.help-card { padding: 28px 22px; }
	.info-card { padding: 26px 22px; }
	.request-inner { flex-direction: column; text-align: center; }
	.request-inner .btn { width: 100%; }
	.mobile-call { display: flex; align-items: center; justify-content: center; gap: .5em; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; background: var(--purple); color: #fff; font-family: var(--font-head); font-weight: 700; text-decoration: none; padding: 14px; border-radius: 999px; box-shadow: 0 10px 30px rgba(13, 6, 20, .3); }
	.mobile-call:hover { color: #fff; }
}
/* Team member cards: person icon instead of check */
.pg-card:has(> .pg-mini:only-child)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }

/* ==========================================================================
   v3 — Premium layer: photography, motion, depth
   ========================================================================== */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), #9b5de5, var(--gold)); transform-origin: 0 50%; transform: scaleX(0); }

/* Header shrink */
.header-inner { transition: min-height .35s var(--ease-out); }
.brand-logo, .custom-logo { transition: width .35s var(--ease-out); }
.site-header.is-scrolled .header-inner { min-height: 72px; }
.site-header.is-scrolled .brand-logo, .site-header.is-scrolled .custom-logo { width: 60px; }

/* Buttons: sheen + depth */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary { box-shadow: 0 10px 24px -10px rgba(72, 21, 130, .55); }
.btn-shine::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease-out); }
.btn-shine:hover::after { transform: translateX(120%); }

/* ---------- Motion primitives ---------- */
.js-anim .reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js-anim .reveal.is-visible { opacity: 1; transform: none; }
.js-anim .img-reveal { clip-path: inset(100% 0 0 0 round var(--radius-lg)); transition: clip-path 1.4s var(--ease-io); }
.js-anim .img-reveal img { transform: scale(1.22); transition: transform 2s var(--ease-out); }
.js-anim .img-reveal.is-visible { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.js-anim .img-reveal.is-visible img { transform: scale(1); }
.js-anim .float-in { opacity: 0; translate: 0 26px; scale: .94; transition: opacity .9s var(--ease-out), translate 1.1s var(--ease-out), scale 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms); }
.js-anim .float-in.is-visible { opacity: 1; translate: 0 0; scale: 1; }
.split-words.is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-words.is-split .w > span { display: inline-block; transform: translate3d(0, 105%, 0) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease-out); }
.split-words.is-split.is-visible .w > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js-anim .reveal, .js-anim .img-reveal, .js-anim .float-in { opacity: 1 !important; transform: none !important; clip-path: none !important; translate: none !important; scale: none !important; }
	.marquee-track { animation: none !important; }
}

/* ---------- Hero ---------- */
.hx { position: relative; overflow: hidden; padding: 64px 0 110px; background: radial-gradient(1200px 600px at 85% -10%, var(--lavender) 0%, transparent 60%), radial-gradient(900px 500px at -10% 110%, var(--lavender-2) 0%, transparent 60%), #fff; }
.hx-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; animation: blob 18s ease-in-out infinite alternate; }
.hx-blob-1 { width: 420px; height: 420px; background: #d9c3f5; top: -120px; right: 22%; }
.hx-blob-2 { width: 360px; height: 360px; background: #fde7b0; bottom: -160px; left: 6%; animation-delay: -6s; opacity: .4; }
@keyframes blob { to { transform: translate3d(40px, 30px, 0) scale(1.12); } }
.hx-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hx-eyebrow { display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-head); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: var(--purple); background: #fff; border: 1px solid var(--line); padding: .55em 1.1em; border-radius: 999px; box-shadow: var(--shadow); margin-bottom: 26px; }
.hx-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px rgba(47, 191, 113, .2); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 191, 113, .45); } 100% { box-shadow: 0 0 0 12px rgba(47, 191, 113, 0); } }
.hx-title { font-size: clamp(2.6rem, 5.4vw, 4.7rem); line-height: 1.04; letter-spacing: -.025em; font-weight: 900; color: var(--purple-deep); margin: 0 0 22px; }
.hx-title .w:nth-last-of-type(-n+2) > span { background: linear-gradient(100deg, var(--purple) 10%, #8e44d6 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-tagline { font-family: var(--font-head); font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--slate); margin-bottom: 34px; }
.hx-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hx-proof { display: inline-flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 18px; box-shadow: var(--shadow); }
.hx-proof-g { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--lavender-2); }
.hx-proof strong { font-family: var(--font-head); font-weight: 900; color: var(--navy); letter-spacing: .06em; margin-right: 4px; }
.hx-proof .stars .icon { width: 17px; height: 17px; }
.hx-proof small { display: block; color: var(--slate); font-size: .85rem; }
.hx-visual { position: relative; }
.hx-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(72, 21, 130, .45); background: var(--lavender); }
.js-anim .hx-photo.img-reveal { clip-path: inset(100% 0 0 0 round 32px); }
.js-anim .hx-photo.img-reveal.is-visible { clip-path: inset(0 0 0 0 round 32px); }
.hx-photo img { width: 100%; height: 100%; object-fit: cover; }
.hx-photo-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(150deg, #5a1ea0, var(--purple) 55%, #2c0b52); }
.hx-photo-fallback img { width: 45%; height: auto; }
.hx-float { position: absolute; display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .7); border-radius: 20px; padding: 14px 18px; box-shadow: 0 24px 50px -18px rgba(13, 6, 20, .35); }
.hx-float strong { font-family: var(--font-head); color: var(--navy); line-height: 1.25; font-size: .98rem; }
.hx-float-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--purple); color: #fff; flex: none; }
.hx-float-icon.gold { background: var(--gold); color: var(--purple-deep); }
.hx-award { left: -46px; top: 16%; max-width: 270px; }
.hx-hours { right: -30px; bottom: 9%; align-items: flex-start; min-width: 280px; }
.hx-hours .hours { flex: 1; font-size: .88rem; }
.hx-hours .hours-row { padding: 5px 0; }
.hx-dove { position: absolute; right: 8%; top: -22px; width: 92px; height: 92px; border-radius: 50%; background: var(--purple); display: grid; place-items: center; box-shadow: 0 18px 40px -12px rgba(72, 21, 130, .6); }
.hx-dove img { width: 62%; height: auto; }
.hx-scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid var(--lavender-3); border-radius: 14px; transform: translateX(-50%); }
.hx-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--purple); animation: scrolldot 1.8s var(--ease-io) infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--purple); color: #fff; overflow: hidden; padding: 20px 0; border-block: 1px solid rgba(255, 255, 255, .1); }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.marquee i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro { padding: 100px 0; }
.intro-grid { grid-template-columns: 1.35fr 1fr; gap: 72px; }
.intro-lead { font-family: var(--font-head); font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.55; color: var(--navy); margin: 0; }
.info-card { margin-top: 0; }

/* ---------- Services grid ---------- */
.svc { background: var(--lavender-2); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; text-decoration: none; background: linear-gradient(150deg, #5a1ea0, #2c0b52); isolation: isolate; box-shadow: var(--shadow); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-img, .svc-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc-img img { object-fit: cover; transition: transform 1.2s var(--ease-out); }
.svc-card:hover .svc-img img { transform: scale(1.08); }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13, 6, 20, 0) 35%, rgba(44, 11, 82, .88) 100%); transition: background .5s; }
.svc-card:hover::after { background: linear-gradient(180deg, rgba(72, 21, 130, .15) 0%, rgba(44, 11, 82, .92) 100%); }
.svc-body { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; color: #fff; }
.svc-body small { display: block; font-family: var(--font-head); font-weight: 900; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.svc-body strong { font-family: var(--font-head); font-size: 1.3rem; line-height: 1.2; }
.svc-arrow { position: absolute; right: 16px; top: 16px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--purple); transform: scale(.8) rotate(-45deg); opacity: 0; transition: .45s var(--ease-out); }
.svc-card:hover .svc-arrow, .svc-card:focus-visible .svc-arrow { opacity: 1; transform: scale(1) rotate(-45deg); }

/* ---------- Awards ---------- */
.awards { padding: 90px 0; background: #fff; }
.award-card { background: linear-gradient(135deg, #5a1ea0 0%, var(--purple) 55%, #2c0b52 100%); }

/* ---------- Help ---------- */
.help { background: #fff; padding-top: 30px; }
.help-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 64px; }
.help-head-photo { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--lavender); }
.help-head-photo img { width: 100%; height: 100%; object-fit: cover; }
.help-head-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.help-card { padding: 0; overflow: hidden; }
.help-photo { aspect-ratio: 16 / 9; overflow: hidden; background: var(--lavender); }
.help-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.help-card:hover .help-photo img { transform: scale(1.06); }
.help-body { display: flex; flex-direction: column; align-items: flex-start; padding: 30px 32px 34px; flex: 1; }
.help-body .btn { margin-top: auto; }
.help-card:not(:has(.help-photo img)) .help-photo { display: none; }

/* ---------- Different (full-bleed parallax photo) ---------- */
.different { position: relative; overflow: hidden; padding: 130px 0; background: var(--purple-deep); }
.different-photo { position: absolute; inset: 0; }
.different-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; transform: scale(1.18); will-change: transform; }
.different-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(44, 11, 82, .7) 0%, rgba(44, 11, 82, .3) 45%, rgba(13, 6, 20, 0) 75%); }
.different-inner { position: relative; z-index: 1; display: flex; justify-content: flex-start; }
.different-panel { width: min(560px, 100%); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: var(--radius-lg); padding: 46px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.different-list { display: grid; gap: 22px; margin-top: 10px; }
.different-item { display: flex; gap: 18px; align-items: flex-start; text-align: left; padding: 0; border: 0; background: none; }
.different-item h3 { margin: 4px 0 .3em; }
.different-item p { margin: 0 0 .4em; }
.different-icon { width: 54px; height: 54px; margin: 0; box-shadow: 0 0 0 6px var(--lavender); flex: none; }
.different-icon .icon { width: 26px; height: 26px; }

/* ---------- Meet ---------- */
.meet { background: linear-gradient(180deg, #fff 0%, var(--lavender-2) 100%); }
.meet-photo { aspect-ratio: 5 / 6; border-radius: 28px; background: var(--lavender); max-width: 480px; }
.js-anim .meet-photo.img-reveal { clip-path: inset(100% 0 0 0 round 28px); }
.js-anim .meet-photo.img-reveal.is-visible { clip-path: inset(0 0 0 0 round 28px); }
.meet-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* ---------- Request band (photo + purple veil) ---------- */
.request-band { position: relative; overflow: hidden; padding: 120px 0; background: var(--purple); }
.request-band::before { display: none; }
.request-bg { position: absolute; inset: 0; }
.request-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }
.request-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(72, 21, 130, .95) 0%, rgba(72, 21, 130, .82) 45%, rgba(44, 11, 82, .55) 100%); }
.request-inner { position: relative; z-index: 1; }
.request-inner h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 900; }

/* ---------- Inner pages: photo heroes ---------- */
.designed-page[style*="--hero-img"] .page-hero { min-height: 460px; display: flex; align-items: center; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(44, 11, 82, .55) 0%, rgba(44, 11, 82, .2) 100%), linear-gradient(180deg, rgba(72, 21, 130, .45) 0%, rgba(44, 11, 82, .7) 100%), var(--hero-img) center 30% / cover no-repeat; }
.designed-page[style*="--hero-img"] .page-hero .container { width: 100%; }
.designed-page[style*="--hero-img"] .page-hero h1 { text-shadow: 0 2px 30px rgba(13, 6, 20, .35); font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
@media (max-width: 760px) { .designed-page[style*="--hero-img"] .page-hero { min-height: 340px; background-image: linear-gradient(180deg, rgba(72, 21, 130, .55) 0%, rgba(44, 11, 82, .78) 100%), var(--hero-img-sm); } }
.pg-card { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.faq-body { overflow: hidden; transition: height .32s var(--ease-io); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.hx-grid, .help-head { grid-template-columns: 1fr; gap: 48px; }
	.hx-visual { max-width: 520px; width: 100%; margin: 0 auto; }
	.hx-award { left: -10px; }
	.hx-hours { right: -10px; }
	.svc-grid { grid-template-columns: repeat(3, 1fr); }
	.intro-grid { grid-template-columns: 1fr; gap: 40px; }
	.different-inner { justify-content: center; }
	.different-photo::after { background: linear-gradient(180deg, rgba(44, 11, 82, .25) 0%, rgba(44, 11, 82, .6) 100%); }
}
@media (max-width: 760px) {
	.hx { padding: 28px 0 70px; }
	.hx-tagline { margin-bottom: 24px; }
	.hx-actions { margin-bottom: 24px; gap: 10px; }
	.hx-grid { gap: 36px; }
	.hx-title { font-size: clamp(2.2rem, 10vw, 3rem); }
	.hx-actions .btn { width: 100%; }
	.hx-proof { width: 100%; }
	.hx-award { left: -4px; top: auto; bottom: 24%; max-width: 220px; padding: 10px 14px; }
	.hx-award strong { font-size: .86rem; }
	.hx-hours { display: none; }
	.hx-dove { width: 70px; height: 70px; right: 4%; top: -14px; }
	.hx-scroll { display: none; }
	.svc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.svc-body { left: 14px; right: 14px; bottom: 12px; }
	.svc-body strong { font-size: 1.05rem; }
	.svc-arrow { display: none; }
	.marquee { padding: 14px 0; }
	.marquee span { font-size: 1rem; }
	.different { padding: 70px 0; }
	.different-panel { padding: 30px 22px; }
	.request-band { padding: 80px 0; }
	.help-body { padding: 24px 22px 28px; }
	.intro { padding: 64px 0; }
}

/* ==========================================================================
   v3.2 — real photos, richer service pages, fixes
   ========================================================================== */
/* Help cards (no photos): accent bar + spacing */
.help-card { border-top: 4px solid var(--purple); }
.help-body { padding: 34px 34px 36px; }

/* Award plaques */
.award-plaque { width: 118px; height: auto; flex: none; border-radius: 10px; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .55); transform: rotate(-3deg); transition: transform .5s var(--ease-out); }
.award-card:hover .award-plaque { transform: rotate(0deg) scale(1.03); }
.award-card { align-items: center; }

/* Trust bar under inner-page heroes */
.trust-bar { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px -20px rgba(72, 21, 130, .35); position: relative; z-index: 2; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 40px; padding-top: 18px; padding-bottom: 18px; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-size: .95rem; }
.trust-item strong { font-family: var(--font-head); font-weight: 700; }
.trust-item small { color: var(--slate); }
.trust-item .stars .icon { width: 15px; height: 15px; }
.trust-g, .trust-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--lavender-2); color: var(--purple); flex: none; }
.trust-ic.gold { background: var(--gold); color: var(--purple-deep); }
.trust-call { color: var(--purple); }
.trust-call:hover { color: var(--purple-dark); }

/* First section: text + real photo */
.pg-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; max-width: var(--container); }
.pg-split-photo { margin: 0; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--lavender); position: relative; }
.pg-split-photo img { width: 100%; height: 100%; object-fit: cover; }
.pg-split-photo::after { content: ""; position: absolute; inset: auto -40px -40px auto; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 193, 55, .35), transparent 70%); pointer-events: none; }
.pg-intro { background: linear-gradient(180deg, #fff 0%, var(--lavender-2) 100%); }
.pg-split-text > h2:first-child { position: relative; padding-bottom: .5em; }
.pg-split-text > h2:first-child::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 4px; background: var(--purple); }

/* Section rhythm on inner pages */
.designed-page .pg-section h2 { scroll-margin-top: 110px; }
.designed-page .pg-section:not(.pg-intro):not(.pg-alt) { background: #fff; }
.designed-page .pg-section .pg-text p:first-of-type { font-size: 1.06rem; }
.designed-page .pg-section h3 { color: var(--purple); }
.designed-page .pg-section.pg-alt { background: linear-gradient(180deg, var(--lavender-2) 0%, #fff 100%); }

/* Team cards with photos */
.pg-card.pg-team { padding: 0 0 22px; overflow: hidden; }
.pg-card.pg-team::before { display: none; }
.team-photo { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: 50% 15%; margin-bottom: 16px; background: var(--lavender-2); }
.pg-card.pg-team .pg-mini { flex-direction: column; align-items: center; margin: 0; }
.pg-grid-4:has(.pg-team) { grid-template-columns: repeat(5, 1fr); }

/* Plaques beside award headings (About) */
.plaque-inline { float: left; width: 130px; height: auto; margin: 0 28px 16px 0; border-radius: 10px; box-shadow: var(--shadow-lg); transform: rotate(-2deg); }
.designed-page .pg-section .container:has(.plaque-inline) { display: flow-root; }
.plaque-inline { clear: both; }
.designed-page .pg-section .container:has(.plaque-inline) h2 { padding-top: 18px; }
.designed-page .pg-section .container:has(.plaque-inline) .pg-text { overflow: hidden; }
.designed-page .pg-section .container:has(.plaque-inline) h2::after { display: none; }

/* Related services on service pages */
.svc-related { background: var(--lavender-2); }

/* Contact page: building photo */
.contact-page-media { display: grid; gap: 20px; }
.contact-building { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* Hero: lavender glow only (no orange) */
.hx { background: radial-gradient(1200px 600px at 85% -10%, var(--lavender) 0%, transparent 60%), radial-gradient(900px 500px at -10% 110%, var(--lavender-2) 0%, transparent 60%), #fff; }

@media (max-width: 1080px) {
	.pg-split { grid-template-columns: 1fr; gap: 40px; }
	.pg-split-photo { max-width: 520px; aspect-ratio: 4 / 3; }
	.pg-grid-4:has(.pg-team) { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
	.trust-inner { gap: 10px 20px; justify-content: flex-start; }
	.trust-item { font-size: .88rem; }
	.award-card { flex-direction: row; align-items: flex-start; }
	.award-plaque { width: 84px; }
	.pg-grid-4:has(.pg-team) { grid-template-columns: repeat(2, 1fr); }
	.plaque-inline { width: 96px; margin-right: 18px; }
	.help-body { padding: 26px 22px 28px; }
}

/* v3.2.1 fixes */
.pg-split-photo.is-landscape { aspect-ratio: auto; background: #fff; }
.pg-split-photo.is-landscape img { height: auto; object-fit: contain; }
.wpcf7 textarea { height: 130px; resize: vertical; }
.wpcf7 textarea[name="textarea-158"] { height: 52px; }
.pg-wide > .pg-buttons { justify-content: center; }
.pg-wide > .pg-text:first-child { max-width: 860px; margin: 0 auto 8px; text-align: center; font-size: 1.08rem; }
.svc-img img { object-position: 50% 30%; }

/* v3.2.2 — consistent heading accents & compact mobile trust bar */
.pg-section > .container > h2:first-child, .pg-split-text > h2:first-child { padding-bottom: 0; }
.pg-section > .container > h2:first-child::after, .pg-split-text > h2:first-child::after { position: static; display: block; width: 64px; height: 4px; margin: .45em 0 0; border-radius: 4px; background: var(--purple); content: ""; }
.pg-wide > h2:first-child { text-align: left; }
.pg-wide > h2:first-child::after { margin-left: 0; }
.pg-faq > .container > h2:first-child { text-align: center; }
.pg-faq > .container > h2:first-child::after { margin-left: auto; margin-right: auto; }
.pg-wide > .pg-text:first-child { text-align: left; margin-left: 0; }
@media (max-width: 760px) {
	.trust-call { display: none; }
	.trust-inner { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
	.trust-item small { display: none; }
	.trust-g, .trust-ic { width: 30px; height: 30px; }
}

/* Sleep apnea: CPAP vs oral appliance words as real text */
.word-chips { list-style: none; margin: 18px 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.word-chips li { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; padding: 10px 18px 10px 40px; border-radius: 999px; position: relative; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--navy); }
.word-chips li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background-position: center; background-size: 70%; background-repeat: no-repeat; }
.word-chips.cons li::before { background-color: #fde2e2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0392b' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.word-chips.pros li { color: var(--purple); border-color: var(--lavender-3); }
.word-chips.pros li::before { background-color: var(--lavender); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23481582' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E"); }
.pg-card-title { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--purple); margin: 0 0 .5em; }

/* YouTube facade */
.yt-facade { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .3s; }
.yt-facade:hover img { opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; margin: -27px 0 0 -38px; border-radius: 16px; background: var(--purple); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.yt-play::after { content: ""; position: absolute; left: 31px; top: 16px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }

/* ==========================================================================
   v3.5 — service page sections
   ========================================================================== */
.fit-intro { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.1rem; margin-bottom: .6em; }
.fit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.fit-list li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 14px 46px !important; box-shadow: var(--shadow); }
.fit-list li::before { left: 16px !important; top: 17px !important; }
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; counter-reset: none; position: relative; }
.step { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 30px 24px 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.step h3 { font-size: 1.12rem; margin: 14px 0 .4em !important; color: var(--purple); }
.step p { margin: 0; font-size: .97rem; }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--purple); color: #fff; font: 900 1.1rem var(--font-head); box-shadow: 0 0 0 6px var(--lavender); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -14px; width: 10px; height: 10px; border-top: 2px solid var(--lavender-3); border-right: 2px solid var(--lavender-3); transform: rotate(45deg); }
.pay-section { background: #fff; }
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.pay-card { background: var(--lavender-2); border-radius: var(--radius-lg); padding: 28px 26px; display: flex; flex-direction: column; align-items: flex-start; }
.pay-card h3 { margin: 14px 0 .4em !important; color: var(--purple); }
.pay-card p { margin-bottom: .8em; }
.pay-card .insurance-logos { margin-top: 4px; gap: 10px; }
.pay-card .insurance-logos span { padding: 10px 14px; }
.pay-card .insurance-logos img { max-height: 34px; }
.pay-card .link-arrow { margin-top: auto; }
.pay-icon, .why-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--purple); color: #fff; flex: none; }
.why-section { background: linear-gradient(135deg, #5a1ea0 0%, var(--purple) 55%, #2c0b52 100%); }
.why-section h2 { color: #fff; }
.why-section h2::after { background: var(--gold) !important; }
.why-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-grid li { display: flex; gap: 14px; align-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 18px; color: #fff; font-family: var(--font-head); font-weight: 700; line-height: 1.35; }
.why-icon { background: var(--gold); color: var(--purple-deep); }
.pg-quote-2 { background: var(--purple-deep); }
@media (max-width: 1080px) {
	.pay-grid { grid-template-columns: 1fr; }
	.why-grid { grid-template-columns: repeat(2, 1fr); }
	.step:not(:last-child)::after { display: none; }
}
@media (max-width: 760px) {
	.fit-list, .why-grid { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; }
}
.designed-page .pg-section.why-section { background: linear-gradient(135deg, #5a1ea0 0%, var(--purple) 55%, #2c0b52 100%); }
.designed-page .pg-section.why-section h2 { color: #fff; }
.pay-card .insurance-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
.pay-card .insurance-logos span { padding: 8px; }
.pay-card .insurance-logos img { max-height: 30px; max-width: 100%; }
.designed-page .pg-section.why-section:not(.pg-intro):not(.pg-alt) { background: linear-gradient(135deg, #5a1ea0 0%, var(--purple) 55%, #2c0b52 100%); }

/* v3.6.1 — light "Why" band (no back-to-back purple), second quote, footer dove */
.designed-page .pg-section.why-section:not(.pg-intro):not(.pg-alt) { background: var(--lavender-2); }
.designed-page .pg-section.why-section h2 { color: var(--purple); }
.designed-page .pg-section.why-section h2::after { background: var(--purple) !important; }
.why-grid li { background: #fff; border: 1px solid var(--line); color: var(--navy); box-shadow: var(--shadow); }
.why-icon { background: var(--purple); color: #fff; }
.pg-quote .quote-extra { margin-top: 46px; padding-top: 40px; border-top: 1px solid rgba(234, 222, 247, .2); }
.footer-logo img { width: 110px; height: auto; object-fit: contain; }
.hx-dove img { width: 64%; height: auto; object-fit: contain; }
