/*
Theme Name: Classy - Child
Version: 588
Description: A child theme of DMM by Almina
Template: mts_schema
Text Domain: schema
*/

:root {
    --gold: var(--pColor, #c8a44c);
    --gold-dark: #b0882f;
    --ink: #1c1c1c;
    --black: #0f0f0f;
    --body-text: #5a5a5a;
    --head-text: #333333;
    --line: #e2e2e2;
    --font-head: "Poppins", Helvetica, Arial, sans-serif;
    --font-body: "Open Sans", Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body.main {
    background: #fff;
    color: var(--body-text);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-wrap: pretty;
}

#page {
    padding: 0;
}

.dm-home h1,
.dm-home h2,
.dm-home h3,
.dm-home h4,
.dm-home h5,
.site-header h1,
.site-header h2,
.site-footer h4 {
    font-family: var(--font-head);
    color: var(--head-text);
    margin: 0;
    font-weight: 500;
    line-height: 1.25;
}

.dm-home p {
    margin: 0 0 16px;
    font-size: 17px;
}

.dm-home img,
.site-header img,
.site-footer img {
    max-width: 100%;
    display: block;
    height: auto;
}

.dm-home ul,
.site-header ul,
.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dm-home li:before,
.site-header li:before,
.site-footer li:before {
    display: none;
}

a {
    color: var(--gold-dark);
    text-decoration: none;
    transition: color .25s ease;
}

a:hover {
    color: var(--gold);
}

.dm-container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.gold {
    color: var(--gold);
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Buttons */
.dm-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--gold);
    color: #fff !important;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 13px 24px;
    border-radius: 3px;
    transition: background .28s ease, transform .28s ease, box-shadow .28s ease;
    fill: #222222;
    color: #222222;
    background-image: linear-gradient(180deg, #DDCC96 0%, #B8A25F 100%);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    border-radius: 50px;
    font-weight: bold;
    color: #000 !important;
}

.dm-btn:hover {
    background: var(--gold-dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(176, 136, 47, .32);
}

.dm-btn i {
    font-size: 12px;
}

.dm-btn-round {
    border-radius: 40px;
    text-transform: none;
    letter-spacing: .02em;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 26px;
}

.dm-btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .85);
}

.dm-btn-ghost:hover {
    background: #fff;
    color: var(--gold-dark) !important;
    box-shadow: none;
}

.dm-btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold-dark) !important;
}

.dm-btn-outline:hover {
    background: var(--gold);
    color: #fff !important;
}

/* Image placeholder fallback */
.dm-ph {
    position: relative;
    background: #e9e7e3;
    background-image: repeating-linear-gradient(135deg, rgba(0, 0, 0, .04) 0 8px, transparent 8px 16px);
    overflow: hidden;
}

.dm-ph:after {
    content: attr(data-label);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 88%;
    text-align: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, .38);
}

.dm-ph-dark {
    background: #2b2b2b;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 8px, transparent 8px 16px);
}

.dm-ph-dark:after {
    color: rgba(255, 255, 255, .42);
}

/* ---------------------------------------------------------------- Header */
.dm-topbar {
    background: linear-gradient(199deg, #272727 0%, #222222 100%);
    color: #d8d8d8;
    font-size: 15px;
    padding: 12px 0px;
}

.dm-topbar .dm-container {
    display: flex;
    align-items: center;
    gap: 26px;
}

.dm-topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dm-topbar-item i {
    color: var(--gold);
    font-size: 12px;
}

.dm-topbar-item:hover {
    color: #fff;
}

.dm-topbar-book {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cfcfcf;
}

.dm-topbar-book i {
    color: var(--gold);
}

.dm-topbar-social {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, .14);
}

.dm-topbar-social a {
    color: #fff;
    font-size: 14px;
    transition: color .25s ease, transform .25s ease;
}

.dm-topbar-social a:hover {
    color: var(--gold);
    transform: translateY(-2px);
}

.dm-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    transition: box-shadow .3s ease;
    padding: 11px 0px;
}

.dm-header.is-stuck {
    box-shadow: 0 6px 22px rgba(0, 0, 0, .08);
}

.dm-header .dm-container {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 74px;
    position: relative;
}

.dm-brand {
    flex: 0 0 auto;
    margin: 0;
    font-size: inherit;
    line-height: 1;
}

.dm-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dm-brand img {
    max-width: 200px;
    width: auto;
    object-fit: contain;
}

.dm-brand-text {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--gold);
}

/* Primary navigation */
.dm-nav {
    margin-left: auto;
}

.dm-nav ul.dm-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0px;
}

.dm-nav ul.dm-menu > li {
    position: relative;
}

.dm-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 400;
    color: #4a4a4a;
    padding: 6px 0;
    position: relative;
    letter-spacing: 1px;
}

.dm-nav ul.dm-menu > li:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width .3s ease;
}

.dm-nav a:hover {
    color: var(--gold-dark);
}

.dm-nav ul.dm-menu > li:hover:after,
.dm-nav ul.dm-menu > li.current-menu-item:after {
    width: 100%;
}

.dm-nav ul.dm-menu > li.menu-item-has-children > a:after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 9px;
    opacity: .7;
    margin-left: 2px;
}

.dm-nav ul.sub-menu li:after {
    display: none;
}

.dm-nav ul.sub-menu {
    position: absolute;
    top: 100%;
    left: -16px;
    min-width: 212px;
    background: #fff;
    border-top: 2px solid var(--gold);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .13);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    z-index: 5;
}

.dm-nav ul.dm-menu > li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dm-nav ul.sub-menu a {
    display: block;
    padding: 8px 20px;
    font-size: 12.5px;
    color: #555;
}

.dm-nav ul.sub-menu a:hover {
    background: #faf6ec;
    color: var(--gold-dark);
}

/* Google reviews badge */
.dm-reviews-badge {
    flex: 0 0 auto;
    text-align: center;
    line-height: 1.2;
    display: block;
    text-align: left;
}

.dm-reviews-logo {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.01em;
    display: block;
}

.dm-reviews-logo span:nth-child(1) { color: #4285f4; }
.dm-reviews-logo span:nth-child(2) { color: #ea4335; }
.dm-reviews-logo span:nth-child(3) { color: #fbbc05; }
.dm-reviews-logo span:nth-child(4) { color: #4285f4; }
.dm-reviews-logo span:nth-child(5) { color: #34a853; }
.dm-reviews-logo span:nth-child(6) { color: #ea4335; }

.dm-reviews-stars {
    color: #f5b32d;
    font-size: 21px;
    letter-spacing: -2px;
    margin: 2px 0;
    display: block;
}

.dm-reviews-meta {
    font-size: 11.5px;
    color: #000;
    font-weight: 600;
    display: block;
    font-weight: bold;
}

/* Mobile menu */
.dm-nav-toggle {
    display: none;
    margin-left: auto;
    font-size: 20px;
    color: var(--head-text);
    background: none;
    border: 0;
    padding: 6px 4px;
    cursor: pointer;
    line-height: 1;
}

.dm-mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    z-index: 70;
}

.dm-mobile-nav.is-open {
    display: block;
}

.dm-mobile-nav ul {
    padding: 8px 0;
}

.dm-mobile-nav li {
    position: relative;
    border-bottom: 1px solid #f3f3f3;
}

.dm-mobile-nav li:last-child {
    border-bottom: 0;
}

.dm-mobile-nav a {
    display: block;
    padding: 12px 20px;
    font-family: var(--font-head);
    font-size: 14px;
    color: #444;
}

.dm-mobile-nav ul.sub-menu {
    display: none;
    padding: 0 0 6px;
    background: #fbf9f4;
}

.dm-mobile-nav ul.sub-menu.is-open {
    display: block;
}

.dm-mobile-nav ul.sub-menu a {
    padding: 10px 20px 10px 36px;
    font-size: 13px;
}

.dm-submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 46px;
    background: none;
    border: 0;
    color: var(--gold);
    font-size: 13px;
    cursor: pointer;
    transition: transform .25s ease;
}

.dm-submenu-toggle.is-open {
    transform: rotate(180deg);
}

.dm-mobile-cta {
    padding: 14px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fbf9f4;
}

.dm-mobile-cta .dm-btn {
    justify-content: center;
}

/* ---------------------------------------------------------------- Hero */
.dm-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.dm-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: 50% 50%;
}

.dm-hero-bg:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 15, 15, .72) 0%, rgba(15, 15, 15, .45) 45%, rgba(15, 15, 15, .22) 100%);
    z-index: 1;
}

.dm-hero .dm-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.dm-hero h1 {
    color: #fff;
    font-size: 34px;
    font-weight: 400;
    margin-bottom: 6px;
}

.dm-hero h2 {
    color: #fff;
    font-size: 41px;
    font-weight: 700;
    margin-bottom: 18px;
}

.dm-hero p {
    color: #f1f1f1;
    font-size: 15px;
    max-width: 520px;
    margin-bottom: 26px;
}

.dm-hero-form {
    background: #fff;
    padding: 24px 24px 22px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.dm-hero-form h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.dm-hero-form h3 em {
    color: #d33;
    font-style: normal;
}

.dm-radio-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 20px;
}

.dm-radio-list label {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: color .2s ease;
}

.dm-radio-list label:hover {
    color: var(--gold-dark);
}

.dm-radio-list input {
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    margin: 0;
    border: 1px solid #bdbdbd;
    border-radius: 50%;
    flex: 0 0 auto;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.dm-radio-list input:checked {
    border-color: var(--gold);
    box-shadow: inset 0 0 0 3.5px var(--gold);
}

.dm-form-next {
    display: block;
    width: 100%;
    background: var(--gold);
    color: #fff !important;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 500;
    padding: 11px;
    border: 0;
    border-radius: 2px;
    text-align: center;
    cursor: pointer;
    transition: background .25s ease;
}

.dm-form-next:hover {
    background: var(--gold-dark);
}

/* ------------------------------------------------- Quick services strip */
.dm-quick-services {
    padding: 44px 0 34px;
    background: #fff;
    position: relative;
}

.dm-quick-services ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dm-quick-services li {
    text-align: center;
}

.dm-qs-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2f2f2f;
    font-size: 24px;
    transition: border-color .3s ease, color .3s ease, transform .3s ease;
    overflow: visible;
    background: #fff;
    position: relative;
    font-size: 45px;
}

.dm-qs-icon img {
    max-width: 34px;
}

.dm-quick-services a {
    display: block;
    color: var(--head-text);
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 400;
}

.dm-quick-services a:hover .dm-qs-icon {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-4px);
}

.dm-quick-services a:hover {
    color: var(--gold-dark);
}

.dm-contact-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 46px;
}

.dm-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #d9d9d9;
    border-radius: 40px;
    padding: 8px 20px;
    font-size: 12.5px;
    font-weight: 600;
    color: #3d3d3d;
    font-family: var(--font-head);
    transition: border-color .25s ease, background .25s ease, color .25s ease;
}

.dm-pill i {
    color: var(--gold);
    font-size: 12px;
}

.dm-pill:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: #fff;
}

.dm-pill:hover i {
    color: #fff;
}

/* ---------------------------------------------------------------- Welcome */
.dm-welcome {
    padding-bottom: 80px;
}

.dm-welcome-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    border-radius: 10px;
    overflow: hidden;
}

.dm-welcome-photos {
    background: var(--gold);
    padding: 26px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-content: center;
}

.dm-frame {
    border: 7px solid #171717;
    background: #171717;
}

.dm-frame img,
.dm-frame .dm-ph {
    aspect-ratio: 3 / 3.7;
    object-fit: cover;
    width: 100%;
}

.dm-welcome-copy {
    background: var(--ink);
    color: #c9c9c9;
    padding: 60px 48px;
}

.dm-welcome-head {
    border-left: 3px solid var(--gold);
    padding-left: 16px;
    margin-bottom: 22px;
    font-size: 34px;
}

.dm-welcome-copy h4 {
    font-family: var(--font-head);
    color: var(--gold);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.35;
    margin: 0;
}

.dm-welcome-copy h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: .01em;
    margin: 0;
}

.dm-welcome-copy p {
    color: #fff;
}

.dm-welcome-copy a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

.dm-welcome-copy a:hover {
    color: var(--gold);
}

.dm-welcome-copy .dm-btn {
    margin-top: 12px;
    text-decoration: none;
    font-weight: 600;
}

/* ------------------------------------------------------------- Invisalign */
.dm-invisalign {
    padding: 10px 0 70px;
    text-align: center;
}

.dm-section-title {
    font-size: 42px;
    font-weight: 400;
    color: var(--head-text);
    margin-bottom: 34px;
}

.dm-invisalign-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.dm-invisalign-grid p {
}

.dm-framed-img {
    position: relative;
    padding: 0 0 14px 14px;
}

.dm-framed-img:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: calc(100% - 14px);
    height: calc(100% - 14px);
    border: 2px solid var(--gold);
}

.dm-framed-img img,
.dm-framed-img .dm-ph {
    position: relative;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    width: 100%;
}

.dm-invisalign .dm-btn {
    margin-top: 38px;
}

/* ---------------------------------------------------------- Our services */
.dm-our-services {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.dm-our-services:after {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.dm-our-services .dm-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
}

.dm-services-intro {
    border-left: 3px solid #fff;
    padding-left: 18px;
}

.dm-services-intro h2 {
    color: #fff;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 16px;
}

.dm-services-intro p {
    color: rgba(255, 255, 255, .92);
    font-size: 17px;
    margin-bottom: 26px;
}

.dm-tabs {
    background: transparent;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
}

.dm-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dm-tab-nav button {
    flex: 1 1 0;
    padding: 13px 8px;
    font-family: var(--font-head);
    font-size: 12.5px;
    color: var(--gold-dark);
    background: #fbfbfb;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
}

.dm-tab-nav button:last-child {
    border-right: 0;
}

.dm-tab-nav button:hover {
    background: #f5efe1;
}

.dm-tab-nav button.is-active {
    background: #fff;
    border-bottom-color: transparent;
    font-weight: 600;
}

.dm-tab-panel {
    display: none;
    grid-template-columns: 220px 1fr;
    gap: 26px;
    padding: 26px;
    background: whitesmoke;
    align-items: center;
}

.dm-tab-panel.is-active {
    display: grid;
}

.dm-tab-panel img,
.dm-tab-panel .dm-ph {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
}

.dm-tab-panel h3 {
    color: var(--gold);
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 10px;
}

.dm-tab-panel p {
    font-size: 13.5px;
    line-height: 1.8;
    margin: 0;
}

/* -------------------------------------------------------- Before / after */
.dm-smiles {
    padding: 76px 0;
    text-align: center;
}

.dm-compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 34px;
}

.dm-compare {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    user-select: none;
    cursor: ew-resize;
    background: #d9d5cf;
    border-radius: 10px;
}

.dm-compare img,
.dm-compare .dm-ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dm-compare .dm-compare-after {
    clip-path: inset(0 0 0 50%);
}

.dm-compare-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #fff;
    transform: translateX(-1px);
    pointer-events: none;
    z-index: 100;
}

.dm-compare-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 10px;
    gap: 2px;
}

/* ------------------------------------------------------ Modern approach */
.dm-modern {
    padding: 0px;
    margin-bottom: 70px;
}

.dm-modern-inner {
    border-radius: 4px;
    padding: 120px 0px 140px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.dm-modern-inner h2 {
    color: #fff;
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 18px;
}

.dm-modern-inner p {
    color: #fff;
    margin: 0 auto 38px;
}

.dm-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.dm-modern-grid img,
.dm-modern-grid .dm-ph {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

/* ---------------------------------------------------------------- Partners */
.dm-partners {
    padding: 0 0 74px;
    text-align: center;
}

.dm-partners h2 {
    color: var(--gold);
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 18px;
}

.dm-partners-rule {
    width: 340px;
    max-width: 80%;
    height: 1px;
    background: var(--line);
    margin: 0 auto 34px;
}

.dm-partners-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.dm-partner {
    flex: 1;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .04em;
    color: #8d8d8d;
    filter: none;
    opacity: .75;
    transition: opacity .3s ease, filter .3s ease, transform .3s ease;
}

.dm-partner img {
    max-height: 62px;
    width: auto;
    object-fit: contain;
}

.dm-partner:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: translateY(-3px);
}

.dm-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 26px;
}

.dm-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cfcfcf;
    cursor: pointer;
    transition: background .25s ease;
}

.dm-dots span.is-active {
    background: #8a8a8a;
}

/* -------------------------------------------------------------- Why choose */
.dm-why {
    padding-bottom: 56px;
}

.dm-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    padding-bottom: 30px;
    gap: 20px;
    align-items: center;
}

.dm-why-photo img,
.dm-why-photo .dm-ph {
    /* aspect-ratio: 1 / .92; */
    object-fit: cover;
    width: 100%;
    border-radius: 5px 5px 5px 5px;
}

.dm-why-copy {
    border-left: 3px solid var(--gold);
    padding: 6px 0 6px 30px;
}

.dm-why-copy h2 {
    font-size: 38px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .01em;
    margin: 0;
    margin-bottom: 20px;
}

.dm-why-copy h2 span {
    display: block;
}

.dm-why-copy h2 .gold {
    font-weight: 600;
    background: linear-gradient(90deg, #D4AF37 0%, #8B6914 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dm-why-sub {
    font-family: var(--font-head);
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    margin: 18px 0 0;
}

.dm-why-points {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 38px;
}

.dm-why-points li {
}

.dm-why-points i {
    color: var(--gold);
    font-size: 14px;
    margin-top: 3px;
    flex: 0 0 auto;
}

.dm-why-points b,
.dm-why-points strong {
    color: #333;
    font-weight: 700;
}

.dm-why-points p {
    margin: 0;
}

/* ------------------------------------------------------------ Review cards */
.dm-reviews-strip {
    position: relative;
    padding: 44px 0 0;
}

.dm-reviews-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.dm-review-card {
    position: relative;
    background: #fafafa;
    border: 1px solid #ececec;
    padding: 15px 16px 18px;
    min-height: 158px;
}

.dm-review-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
}

.dm-review-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e3e3e3;
    flex: 0 0 auto;
    object-fit: cover;
}

.dm-review-name {
    display: block;
    font-family: var(--font-head);
    font-size: 11.5px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

.dm-review-time {
    display: block;
    font-size: 10px;
    color: #8d8d8d;
}

.dm-review-g {
    position: absolute;
    top: 14px;
    right: 15px;
    font-size: 13px;
    color: #4285f4;
}

.dm-review-stars {
    color: #f5b32d;
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 9px;
}

.dm-review-text {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.7;
    color: #5c5c5c;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dm-rev-arrow {
    position: absolute;
    top: calc(50% + 10px);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b7b7b7;
    font-size: 14px;
    background: none;
    border: 0;
    cursor: pointer;
    transition: color .25s ease;
}

.dm-rev-arrow:hover {
    color: var(--gold);
}

.dm-rev-prev { left: -14px; }
.dm-rev-next { right: -14px; }

.dm-reviews-actions {
    text-align: center;
    margin-top: 22px;
}

/* ---------------------------------------------------------------- Footer */
.dm-footer {
    background: #BDA96A;
    color: #fff;
    padding: 54px 0 0;
    margin: 64px 0 0;
    float: none;
}

.dm-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 44px;
    align-items: start;
}

.dm-footer-badge {
    text-align: center;
}

.dm-footer-badge img {
    max-width: 150px;
    margin: 0 auto 12px;
}

.dm-badge-seal {
    width: 118px;
    height: 118px;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, .55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    line-height: 1.35;
    color: #fff;
}

.dm-badge-seal em {
    font-style: normal;
    font-size: 9px;
    letter-spacing: .06em;
    opacity: .85;
}

.dm-badge-seal strong {
    font-size: 13px;
    font-weight: 600;
}

.dm-badge-seal span {
    font-size: 15px;
    font-weight: 300;
}

.dm-footer-badge p {
    font-size: 16px;
    color: #fff;
    margin: 0;
}

.dm-footer h4 {
    color: #fff;
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 16px;
}

.dm-hours-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 340px;
}

.dm-hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 12.5px;
    color: #fff;
}

.dm-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.dm-footer-contact a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #fff;
}

.dm-footer-contact a:hover {
    color: #fff;
    opacity: .8;
}

.dm-footer-contact i {
    margin-top: 4px;
    font-size: 12px;
}

.dm-footer-cta {
    margin-top: 6px;
    border: 1px solid rgba(255, 255, 255, .9);
    color: #fff;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 11px 22px;
    text-align: center;
    display: block;
    transition: background .25s ease, color .25s ease;
    background: #fff;
}

.dm-footer-cta:hover {
    background: #fff;
    color: var(--gold-dark);
}

.dm-footer-bar {
    margin-top: 46px;
    border-top: 1px solid rgba(255, 255, 255, .3);
}

.dm-footer-bar .dm-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 16px;
}

.dm-footer-social {
    display: flex;
    gap: 14px;
}

.dm-footer-social a {
    color: #fff;
    font-size: 14px;
    transition: transform .25s ease, opacity .25s ease;
}

.dm-footer-social a:hover {
    transform: translateY(-2px);
    opacity: .85;
}

.dm-footer-legal {
    font-size: 11px;
    color: #fff;
    line-height: 1.7;
    margin: 0;
}

.dm-footer-legal a {
    color: #fff;
}

.dm-footer-legal a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Back to top */
.dm-to-top {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 70;
    width: 34px;
    height: 34px;
    background: var(--gold);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border-radius: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s, background .25s ease;
}

.dm-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dm-to-top:hover {
    background: var(--gold-dark);
}

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1080px) {
    .dm-hero .dm-container { grid-template-columns: 1fr; gap: 38px; }
    .dm-hero-form { max-width: 440px; }
    .dm-welcome-grid { grid-template-columns: 1fr; }
    .dm-our-services .dm-container { grid-template-columns: 1fr; gap: 36px; }
    .dm-invisalign-grid { grid-template-columns: 1fr; gap: 34px; }
    .dm-why-grid { grid-template-columns: 1fr; gap: 30px; }
    .dm-why-copy { padding: 6px 0 6px 22px; }
    .dm-reviews-row { grid-template-columns: 1fr 1fr; }
    .dm-footer-grid { grid-template-columns: 1fr; gap: 34px; text-align: center; }
    .dm-hours-list, .dm-footer-contact { margin: 0 auto; }
    .dm-footer-contact { align-items: center; }
}

@media (max-width: 880px) {
    .dm-nav { display: none; }
    .dm-nav-toggle { display: block; }
    .dm-reviews-badge { display: none; }
    .dm-topbar .dm-container { flex-wrap: wrap; gap: 12px; padding-top: 8px; padding-bottom: 8px; justify-content: center; }
    .dm-topbar-book { margin-left: 0; }
    .dm-quick-services ul { grid-template-columns: repeat(2, 1fr); }
    .dm-compare-grid, .dm-modern-grid { grid-template-columns: 1fr 1fr; }
    .dm-partners-track { flex-wrap: wrap; gap: 20px; }
    .dm-partner { flex: 0 0 40%; }
    .dm-tab-panel.is-active { grid-template-columns: 1fr; }
    .dm-tab-nav button { flex: 1 1 50%; }
}

@media (max-width: 560px) {
    .dm-hero h2 { font-size: 30px; }
    .dm-hero h1 { font-size: 25px; }
    .dm-section-title,
    .dm-modern-inner h2,
    .dm-services-intro h2,
    .dm-why-copy h2 { font-size: 23px; }
    .dm-welcome-copy { padding: 32px 26px; }
    .dm-modern-inner { padding: 42px 22px; }
    .dm-compare-grid, .dm-modern-grid, .dm-reviews-row { grid-template-columns: 1fr; }
    .dm-rev-prev, .dm-rev-next { display: none; }
}

/* Inline highlight word inside option-driven headings */
.dm-section-title span,
.dm-modern-inner h2 span,
.dm-partners h2 span,
.dm-services-intro h2 span {
    color: var(--gold);
    background: linear-gradient(90deg, #D4AF37 0%, #8B6914 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-icons a {
    margin-left: 10px;
}

.dm-compare img {-moz-user-select: none;-webkit-user-select: none;user-select: none;user-drag: none;-webkit-user-drag: none;user-select: none;-moz-user-select: none;-webkit-user-select: none;-ms-user-select: none;}

footer#site-footer * {
    color: #000;
}

.bottom-footer {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.dm-why-photo {
    --container-widget-width: 52%;
    --container-widget-flex-grow: 0;
    border-style: solid;
    border-width: 0px 5px 5px 0px;
    border-radius: 5px 5px 5px 5px;
}

.dm-topbar * {
    color: #c6a84a;
}

.dm-hero-copy h1,.dm-hero-copy h2 {
    font-size: 50px;
    font-weight: 700;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.53);
    color: #FFFFFF;
}

.dm-hero-copy h1 {
    font-size: 41px;
}

section.dm-quick-services ul {
    position: relative;
    top: -75px;
}

span.dm-qs-icon:before {
    top: -10px;
    right: -10px;
    bottom: -10px;
    content: "";
    left: -10px;
    position: absolute;
    border: 4px solid #fff;
    z-index: 1;
    border-radius: 50%;
}

.dm-quick-services li a {
    font-size: 20px;
}

.dm-frame:nth-child(2),.dm-frame:nth-child(4) {
    position: relative;
    top: 18px;
}

.dm-welcome-head * {
    font-size: inherit !important;
}

section#invisalign h2 {
    margin-bottom: 30px;
}

.dm-modern-grid img {
    border-style: solid;
    border-width: 3px 3px 3px 3px;
    border-color: #bd9f00;
    height: 520px !important;
    object-fit: cover;
}

section#services .dm-btn {
    background: #fff;
}

button.is-active {
    background: whitesmoke !important;
}

.dm-hero {
    position: relative;
}

.dm-hero > video {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100% !important;
    width: 100%;
    object-fit: cover;
    opacity: 0.6;
}

section#top {
    background: #000;
}

section#office:before {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 94%;
    height: 100%;
    background-image: url(/wp-content/uploads/2026/08/thebuffalodentist-black-bg-1.png);
    content: "";
    border-radius: 0px 10px 10px 0px;
}

section#office {
    position: relative;
}

section#office:after {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 94%;
    height: 100%;
    background-color: #0000008C;
    content: "";
    border-radius: 0px 10px 10px 0px;
}

ul.hours-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    list-style: none;
    padding: 0px;
    margin: 0px;
}

ul.hours-list li {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

section#services:before {
    height: 100%;
    width: 95%;
    right: 0px;
    left: auto;
    content: "";
    background-image: url(/wp-content/uploads/2026/08/cta-bg-1-1.jpg);
    position: absolute;
    top: 0px;
    border-radius: 10px 0px 0px 10px;
    background-size: cover;
    background-position: 50% 50%;
}

.social-icons {
    width: 100%;
    display: flex;
    font-size: 24px;
    font-weight: 400;
}

.dm-dots.dm-partner-dots {
    display: none;
}

.dm-pp-track {
    display: flex;
    flex-wrap: wrap;
}


@media (max-width: 880px) {
	section#office:before,
	section#services:before {
		width: 100%;
	}
	.dm-contact-pills a {
		text-align: center;
		line-height: 1;
	}

	.dm-contact-pills i {
		display: block;
	}

	.dm-contact-pills a:hover {
		color: #fff;
	}
	.dm-brand {
		width: auto;
		flex: initial !important;
		margin: initial !important;
	}

	.dm-brand img {
		margin-left: 0px;
		display: block;
	}

	html #logo a {
		justify-content: left;
		align-items: flex-start;
	}
}