/*
Theme Name: Inspired Dental - Child
Version: 1.0
Description: A child theme of DMM
Template: mts_schema
Text Domain: schema
*/

@import url("../mts_schema/style.css");

:root {
    --pColor: #5c6879;
    --sColor: #33414f;
    --aColor: #cbb994;
    --aColorDark: #b7a279;
    --slateMid: #5a6674;
    --slateLight: #8b96a5;
    --ink: #42505f;
    --muted: #8b929d;
    --serif: "Cormorant Garamond", "Times New Roman", serif;
    --sans: "Poppins", Helvetica, Arial, sans-serif;
    --headerH: 104px;
}

* { box-sizing: border-box; }

body.main {
    font-family: var(--sans);
    font-weight: 300;
    color: #6f7885;
    text-wrap: pretty;
}

#page { padding: 0; }

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

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

.section-heading-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.section-heading-row:before,
.section-heading-row:after {
    content: "";
    flex: 0 0 130px;
    height: 1px;
    background: #c7ccd3;
}

.section-heading-row h2 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(30px, 3.4vw, 48px);
    line-height: 1.15;
    letter-spacing: .01em;
    color: #6d7683;
}

.flower {
    display: inline-block;
    width: 34px;
    height: 34px;
    color: #dfe2e6;
}

.section-watermark {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--serif);
    font-size: clamp(180px, 23vw, 340px);
    line-height: 1;
    color: #f2f3f5;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

/* buttons */

a.btn,
.dm-btn,
button.dm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--aColor);
    color: #fff !important;
    border: none;
    border-radius: 0;
    padding: 22px 44px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .24em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .25s ease;
}

a.btn:hover,
.dm-btn:hover { background: var(--aColorDark); }

a.btn.no-bg {
    background: transparent;
    border: 1px solid var(--aColor);
    color: var(--aColor) !important;
}

a.btn.no-bg:hover { background: var(--aColor); color: #fff !important; }

/* header */

#site-header.main-header { background: transparent; }


#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    min-height: var(--headerH);
    background: transparent;
    box-shadow: none;
    transition: background .35s ease;
}

#header.is-scrolled { background: #414f61; }

#header > .container-wide {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px clamp(12px, 2vw, 32px);
    min-height: var(--headerH);
    padding: 10px clamp(16px, 2.6vw, 44px);
    max-width: none;
}

.logo-wrap { flex: 0 0 auto; }

#logo.image-logo,
#logo.text-logo { margin: 0; padding: 0; }

#logo a {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 14px);
    color: #fff;
}

#logo img {
    width: auto;
    max-width: 250px;
    filter: brightness(0) invert(1);
}

#logo .logo-mark {
    width: clamp(32px, 3.4vw, 46px);
    height: auto;
    aspect-ratio: 1;
    color: #fff;
}

#logo .logo-type {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

#logo .logo-name {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(28px, 3.1vw, 44px);
    font-weight: 500;
    letter-spacing: .01em;
}

#logo .logo-sub {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: .5em;
    padding-left: 44%;
}

#secondary-navigation {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    background: transparent;
    min-width: 0;
}

#secondary-navigation .navigation {
    flex: 1 1 auto;
    min-width: 0;
    background: transparent;
    width: auto;
}

#secondary-navigation ul.menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 5px clamp(14px, 0.9vw, 15px);
    margin: 0;
    padding: 0;
    list-style: none;
    background: transparent;
}

#secondary-navigation ul.menu > li {
    position: relative;
    padding: 0;
    background: transparent;
}

#secondary-navigation ul.menu > li > a {
    display: block;
    padding: 5px 10px;
    color: #fff;
    font-size: clamp(11px, 1.05vw, 13px);
    font-weight: 400;
    letter-spacing: clamp(.07em, .13vw, .16em);
    text-transform: uppercase;
    white-space: nowrap;
}

#secondary-navigation ul.menu > li > a:hover,
#secondary-navigation ul.menu > li.current-menu-item > a { color: var(--aColor); }

/* mega menu */

#secondary-navigation ul.menu li ul.sub-menu {
    position: absolute;
    top: calc(100% + 22px);
    left: -26px;
    display: none;
    min-width: 270px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #46546a !important;
    box-shadow: 0 24px 50px rgba(20, 26, 34, .35);
    z-index: 70;
}

#secondary-navigation ul.menu li:hover > ul.sub-menu,
#secondary-navigation ul.menu li.menu-open > ul.sub-menu { display: block; }

#secondary-navigation ul.sub-menu li {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

#secondary-navigation ul.sub-menu li:last-child { border-bottom: none; }

#secondary-navigation ul.sub-menu li a {
    display: block;
    padding: 20px 26px;
    color: #fff;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: none;
    white-space: nowrap;
}

#secondary-navigation ul.sub-menu li:hover { background: #3d4a5c; }

#secondary-navigation ul.sub-menu ul.sub-menu {
    top: 0;
    left: 100%;
    background: #3d4a5c !important;
    box-shadow: none;
}

#secondary-navigation ul.sub-menu ul.sub-menu li a:hover { color: var(--aColor); }

/* header actions */

.header-actions {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.7vw, 26px);
    flex: 0 0 auto;
}

.header-social {
    display: flex;
    align-items: center;
    gap: clamp(4px, 0vw, 5px);
    padding-left: clamp(12px, 1.7vw, 10px);
    border-left: 1px solid rgba(255, 255, 255, .35);
}

.header-social a {
    width: 22px;
    color: #fff;
    font-size: 16px;
    text-align: center;
}

.header-social a:hover { color: var(--aColor); }

.header-utility {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.header-language {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.header-language .goog-te-combo,
.header-language select {
    font-size: 11px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #a9b0ba;
    padding: 1px 2px;
}

.header-language span {
    font-size: 9px;
    color: rgba(255, 255, 255, .8);
}

a.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: #fff;
    font-size: clamp(13px, 1.2vw, 17px);
    letter-spacing: .04em;
    border: 1px solid rgba(255, 255, 255, .5);
    padding: 10px clamp(12px, 1.6vw, 22px);
}

a.header-phone i { font-size: 12px; }

a.header-phone:hover { background: rgba(255, 255, 255, .12); color: #fff; }

#pull.toggle-mobile-menu { display: none; }

/* hero */

.hero-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 130px 24px 170px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.hero-main .hero-scrim {
    position: absolute;
    inset: 0;
    background: rgba(34, 43, 54, .28);
    pointer-events: none;
}

.hero-main video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-panel {
    position: relative;
    width: min(690px, 86vw);
    padding: 52px 21px 60px;
    background: rgba(63, 76, 94, .8);
    text-align: center;
    color: #fff;
}

.hero-panel .hero-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.hero-panel .hero-lockup img { max-height: 90px; width: auto; }

.hero-panel .hero-lockup .flower { width: 34px; height: 34px; color: #fff; }

.hero-panel .hero-lockup .logo-name {
    font-family: var(--serif);
    font-style: italic;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.1;
}

.hero-panel .hero-lockup .logo-sub {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: .5em;
    padding-left: .5em;
}

.hero-panel .hero-rule {
    width: 1px;
    height: 52px;
    margin: 26px auto 22px;
    background: rgba(255, 255, 255, .5);
}

.hero-panel .hero-tagline {
    margin: 0;
    font-family: var(--serif);
    font-style: italic;
    font-size: 23px;
    color: #e6d9be;
}

.hero-panel h1,
.hero-panel .hero-title {
    margin: 14px 0 18px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(38px, 4.2vw, 54px);
    line-height: 1.06;
    text-transform: uppercase;
    color: #fff;
}

.hero-panel .hero-subtitle {
    margin: 0;
    font-size: 15px;
    letter-spacing: .02em;
}

.hero-actions {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    padding: 20px 0px;
    text-align: center;
    background: #00000070;
}

.hero-actions a { color: #fff; }

.hero-actions a:hover { color: #e6d9be; }

.hero-actions .action-label {
    display: block;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .02em;
}

.hero-actions .action-value {
    display: block;
    font-family: var(--serif);
    font-size: 38px;
    letter-spacing: .02em;
}

/* welcome */

.welcome-main {
    position: relative;
    padding: 96px 44px 90px;
    overflow: hidden;
    text-align: center;
}

.welcome-main .welcome-inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
}

.welcome-main .section-heading-row { margin: 22px 0 54px; }

.welcome-video {
    position: relative;
    width: min(770px, 100%);
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #dfe2e6 center / cover no-repeat;
}

.welcome-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.welcome-video .video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
}

.welcome-video .video-play span {
    width: 66px;
    height: 46px;
    border-radius: 8px;
    background: rgba(28, 28, 28, .75);
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-video .video-play span:after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 4px;
    border-left: 16px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.welcome-main .welcome-text {
    max-width: 920px;
    margin: 52px auto 0;
    font-size: 20px;
    line-height: 2;
    color: var(--muted);
}

.welcome-main .welcome-text p { margin: 0 0 1em; }

.welcome-main .welcome-text p:last-child { margin-bottom: 0; }

.welcome-main a.btn { margin-top: 46px; }

.welcome-badge { margin: 70px auto 0; }

.welcome-badge img { width: 216px; height: auto; }

/* featured services */

.services-new {
    position: relative;
    display: grid;
    grid-template-columns: 41% 1fr;
    background: var(--pColor);
    overflow: hidden;
}

.services-new .services-photo {
    min-height: 780px;
    background: center / cover no-repeat;
}

.services-new .services-content {
    position: relative;
    padding: 86px 60px 90px;
    text-align: center;
    color: #fff;
}

.services-new .section-watermark {
    top: 50%;
    left: -14%;
    transform: translateY(-50%);
    font-size: clamp(200px, 26vw, 380px);
    color: rgba(255, 255, 255, .07);
}

.services-new .services-body { position: relative; }

.services-new .flower { color: rgba(255, 255, 255, .45); width: 30px; height: 30px; }

.services-new .section-heading-row { margin: 18px 0 56px; gap: 30px; }

.services-new .section-heading-row:before,
.services-new .section-heading-row:after { flex-basis: 110px; background: rgba(255, 255, 255, .55); }

.services-new .section-heading-row h2 { color: #fff; }

.services-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 8px;
}

.services-grid .grid-lines { position: absolute; inset: 0; pointer-events: none; }

.services-grid .grid-lines span {
    position: absolute;
    background: rgba(255, 255, 255, .16);
}

.services-grid .grid-lines span:nth-child(1) { top: 0; bottom: 0; left: 33.333%; width: 1px; }
.services-grid .grid-lines span:nth-child(2) { top: 0; bottom: 0; left: 66.666%; width: 1px; }
.services-grid .grid-lines span:nth-child(3) { left: 0; right: 0; top: 50%; height: 1px; }

.services-grid .service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 34px 12px;
    color: #fff;
}

.services-grid .service-item:hover { color: #e6d9be; }

.services-grid .service-item img {
    width: 96px;
    height: 76px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.services-grid .service-item span {
    font-size: 21px;
    font-weight: 400;
}

.services-new a.btn { margin-top: 56px; }

/* meet the doctor */

.doctor-intro {
    padding: 92px 44px 84px;
    text-align: center;
}

.doctor-intro .section-heading-row { margin: 18px 0 44px; }

.doctor-intro .section-heading-row:before,
.doctor-intro .section-heading-row:after { background: #4c5765; }

.doctor-intro .section-heading-row h2 { color: var(--ink); }

.doctor-intro .doctor-subtitle {
    margin: 0;
    font-size: 22px;
    color: #5f6875;
}

.doctor-profile {
    background: var(--slateMid);
    padding: 80px 44px 40px;
}

.doctor-profile .doctor-wrap {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: min(520px, 50%) 1fr;
    gap: 50px;
    align-items: start;
}

.doctor-profile .doctor-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.doctor-profile .doctor-bio {
    color: #fff;
    padding-top: 12px;
    min-width: 0;
}

.doctor-profile .doctor-bio h3 {
    margin: 0 0 30px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 44px;
    letter-spacing: .01em;
    color: #fff;
}

.doctor-profile .doctor-bio p {
    margin: 0 0 1em;
    font-size: 19px;
    line-height: 2;
    text-align: justify;
    color: rgba(255, 255, 255, .9);
}

/* affiliations */

.affiliations {
    padding: 0px 40px 70px;
    background: var(--slateMid);
}

.affiliations .dm-flex {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 56px;
    align-items: center;
    opacity: .55;
}

.affiliations img {
    display: block;
    max-height: 66px;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
}

/* reviews */

.reviews-main {
    position: relative;
    padding: 96px 44px 88px;
    overflow: hidden;
    background: center / cover no-repeat;
}

.reviews-main .reviews-scrim {
    position: absolute;
    inset: 0;
    background: rgba(150, 128, 98, .42);
    pointer-events: none;
}

.reviews-main .reviews-inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
}

.reviews-main .reviews-col {
    width: min(640px, 100%);
    text-align: center;
    color: #fff;
}

.reviews-main .flower { color: rgba(255, 255, 255, .7); width: 30px; height: 30px; }

.reviews-main .section-heading-row { margin: 16px 0 44px; gap: 30px; }

.reviews-main .section-heading-row:before,
.reviews-main .section-heading-row:after { flex-basis: 100px; background: rgba(255, 255, 255, .7); }

.reviews-main .section-heading-row h2 { color: #fff; }

.reviews-viewport { overflow: hidden; }

.reviews-track {
    display: flex;
    transition: transform .5s ease;
}

.review-slide {
    flex: 0 0 100%;
    margin: 0;
    padding: 0;
    border: none;
    font-size: 20px;
    line-height: 2;
    text-align: justify;
}

.review-slide p { margin: 0 0 1em; }

.review-slide cite {
    display: block;
    margin-top: 18px;
    font-family: var(--serif);
    font-size: 24px;
    font-style: normal;
    text-align: left;
}

.reviews-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
}

.review-stars {
    display: flex;
    gap: 6px;
    color: #e9c46a;
    font-size: 22px;
}

.slider-nav { display: flex; gap: 14px; }

.slider-nav button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .7);
    background: transparent;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

.slider-nav button:hover { background: rgba(255, 255, 255, .18); }

/* contact + footer */

.contact-main {
    position: relative;
    background: var(--sColor);
    padding: 88px 44px 0;
}

.contact-main .contact-band {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 330px;
    background: var(--slateLight);
}

.contact-main .contact-inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: min(470px, 42%) 1fr;
    gap: 78px;
    align-items: start;
}

.contact-form {
    background: #fff;
    padding: 30px;
    /* display: flex; */
    flex-direction: column;
    gap: 18px;
}

.contact-form h2 {
    margin: 0 0 8px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 44px;
    letter-spacing: .02em;
    color: var(--ink);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d7dbe0;
    padding: 19px 20px;
    font-family: var(--sans);
    font-size: 17px;
    color: var(--ink);
    background: #fff;
    outline: none;
}

.contact-form textarea { resize: vertical; min-height: 190px; }

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--aColor); }

.contact-form .form-status {
    margin: 0;
    min-height: 20px;
    font-size: 14px;
    color: var(--muted);
}

.contact-side {
    color: #fff;
    padding-top: 10px;
    min-width: 0;
}

.contact-side h2 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.12;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #fff;
}

.contact-side .contact-text {
    margin: 30px 0 40px;
    max-width: 640px;
    font-size: 21px;
    line-height: 1.7;
}

.contact-side .contact-text p { margin: 0 0 1em; }

.footer-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(28px, 3.4vw, 56px);
    margin-top: 120px;
}

.footer-details h3 {
    margin: 0 0 30px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 36px;
    letter-spacing: .06em;
    color: #fff;
}

.footer-info .info-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 20px;
    font-size: 17px;
    line-height: 1.7;
}

.footer-info .info-grid strong { font-weight: 400; }

.footer-info a { color: #fff; }

.footer-info a:hover { color: var(--aColor); }

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.footer-social a:hover { background: var(--aColor); color: #fff; }

.footer-hours .hours-grid,
.footer-hours table {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 14px clamp(16px, 2vw, 24px);
    min-width: 0;
    font-size: 17px;
    color: #fff;
}

.footer-hours p { margin: 0; }

.footer-creds {
    position: relative;
    max-width: 1180px;
    margin: 70px auto 0;
    padding: 26px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
}

.footer-creds a { color: var(--aColor); }

/* reveal animation */

.reveal {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .reviews-track { transition: none; }
}

/* responsive */

@media only screen and (max-width: 1100px) {
    .services-new { grid-template-columns: 1fr; }
    .services-new .services-photo { min-height: 420px; }
    .services-new .services-content { padding: 70px 30px 80px; }
    .doctor-profile .doctor-wrap { grid-template-columns: 1fr; gap: 40px; }
    .contact-main .contact-inner { grid-template-columns: 1fr; gap: 48px; }
    .contact-main .contact-band { height: 100%; background: none; }
    .contact-main { background: linear-gradient(var(--slateLight) 0 340px, var(--sColor) 340px); }
    .footer-details { margin-top: 70px; }
}

@media only screen and (max-width: 900px) {
    .section-heading-row:before,
    .section-heading-row:after { flex-basis: 40px; }
    .hero-actions {position: static;grid-template-columns: 1fr;gap: 26px;padding: 40px 20px 0;width: 100%;}
    .hero-main {min-height: auto;padding: 150px 20px 60px;flex-wrap: wrap;}
    .hero-actions .action-value { font-size: 30px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid .grid-lines { display: none; }
    .affiliations .dm-flex { grid-template-columns: repeat(2, 1fr); gap: 34px; }
    .footer-creds { flex-direction: column; text-align: center; }
    .welcome-main, .doctor-intro, .doctor-profile, .reviews-main, .contact-main { padding-left: 20px; padding-right: 20px; }
}

@media only screen and (max-width: 767px) {
    #header > .container-wide { padding: 10px 16px; }
    #secondary-navigation { justify-content: space-between; }
    #pull.toggle-mobile-menu { display: block; }
    #secondary-navigation .mobile-menu-wrapper { display: none; flex: 1 1 100%; }
    #secondary-navigation .mobile-menu-wrapper.is-open { display: block; }
    #secondary-navigation ul.menu {flex-direction: column;align-items: stretch;width: 300px;}
    #secondary-navigation ul.menu li ul.sub-menu { position: static; left: 0; min-width: 0; box-shadow: none; }
    #secondary-navigation ul.menu li ul.sub-menu ul.sub-menu { left: 0; }
    .header-social { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .doctor-profile .doctor-bio p, .review-slide { text-align: left; }
    .contact-form { padding: 32px 22px 36px; }
    a.btn, .dm-btn { padding: 18px 26px; font-size: 12px; letter-spacing: .18em; }
}

.bottom-footer {
    text-align: center;
}

.bottom-footer p {
    margin: 0px;
}

.bottom-footer {
    padding: 50px 0px 45px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

#secondary-navigation a {
    padding: 5px 20px;
    color: #fff;
}


html #secondary-navigation a {
    color: #fff;
}


.contact-form div#gform_wrapper_2 {
    margin: 0px;
}

.contact-form #field_2_5 {
    font-size: 15px;
    margin: 0px !important;
}

.contact-form #field_2_6 {
    font-size: 14px;
}

.contact-form #field_2_6 input {
    width: auto;
}

@media (max-width: 880px) {div#header {background: #414f61;}

	.header-utility {
		display: none;
	}

	.logo-wrap {
		margin: 0px;
	}

	a#pull:after {
		position: relative;
		top: 0px;
		left: 0px;
	}

	html a#pull {
		margin: 0px !important;
		text-align: center;
	}

	.hero-panel {
		width: 100%;
	}
}

  .dental-offers {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: #24323d;
  }

  .dental-offers * {
    box-sizing: border-box;
  }

  .dental-offers-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 35px;
  }

  .dental-offers-header h3 {
    margin: 0;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    color: #163f4f;
  }

  .dental-offers-header h3 span {
    color: #cbb994;
  }

  .dental-offers-header p {
    margin: 14px 0 0;
    font-size: 18px;
    line-height: 1.6;
    color: #687881;
  }

  .dental-offers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .dental-offer-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 290px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e2eeee;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(22, 63, 79, 0.08);
    overflow: hidden;
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      border-color 0.25s ease;
  }

  .dental-offer-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #5c6879, #5c6879);
  }

  .dental-offer-card:hover {
    transform: translateY(-5px);
    border-color: #bfe3de;
    box-shadow: 0 14px 38px rgba(22, 63, 79, 0.14);
  }

  .dental-offer-card h4 {
    margin: 0 0 14px;
    font-size: 25px;
    line-height: 1.25;
    color: #163f4f;
  }

  .dental-offer-card p {
    margin: 0 0 13px;
    font-size: 16px;
    line-height: 1.65;
    color: #61717a;
  }

  .dental-offer-card .offer-highlight {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #cbb994;
  }

  .dental-offer-card .offer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: auto;
    padding: 13px 22px;
    background: #cbb994;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    transition:
      background 0.2s ease,
      transform 0.2s ease;
  }

  .dental-offer-card .offer-button:hover {
    background: #258d82;
    color: #ffffff;
    transform: translateY(-2px);
  }

  /* Make the first offer stand out */
  .dental-offer-card.featured {
    background: linear-gradient(145deg, #f2fbf9 0%, #ffffff 65%);
    border-color: #5c6879;
  }

  .dental-offer-card.featured .offer-badge {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 15px;
    padding: 7px 12px;
    background: #def4f0;
    color: #267e75;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
  }

  @media (max-width: 768px) {
    .dental-offers {
      margin: 25px auto;
      padding: 15px;
    }

    .dental-offers-header h3 {
      font-size: 30px;
    }

    .dental-offers-grid {
      grid-template-columns: 1fr;
    }

    .dental-offer-card {
      min-height: auto;
      padding: 25px;
    }
  }

  @media (max-width: 480px) {
    .dental-offers-header h3 {
      font-size: 26px;
    }

    .dental-offers-header p {
      font-size: 16px;
    }

    .dental-offer-card h4 {
      font-size: 22px;
    }

    .dental-offer-card .offer-button {
      width: 100%;
    }
  }

body:not(.home) .header-spacer {height: 140px;}
body:not(.home)  div#header {background: black;}