.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 9999;
    background: #ffffff;
    color: var(--siteodonto-text);
    padding: .75rem 1rem;
    border-radius: 999px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .18);
    transition: top .2s ease;
}

.skip-link:focus {
    top: 1rem;
}

body {
    color: var(--siteodonto-text);
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.9), rgba(255,255,255,0) 30%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

body.page-home #main-content {
    position: relative;
}

#loading-overlay {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.18), transparent 30%),
        linear-gradient(135deg, var(--siteodonto-gradient-start), var(--siteodonto-gradient-end));
}

.header {
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

#site-header {
    margin: 20px auto 0;
    width: min(1240px, calc(100% - 24px));
    padding: 16px 24px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.92);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .12);
    backdrop-filter: blur(18px);
}

.downscrolled #site-header {
    margin-top: 12px;
}

.logo img,
.logo-bottom img {
    max-height: 64px;
    width: auto;
}

.menu > li > a,
.content-call-us a,
.contact a,
.box-list a,
.copyright a {
    transition: color .2s ease, opacity .2s ease;
}

.menu > li > a:hover,
.menu > li.current-menu-item > a,
.box-list a:hover,
.contact a:hover,
.copyright a:hover {
    color: var(--siteodonto-accent);
}

.themesflat-button,
.btn-header,
.btn-booking-doctor,
.flat-read-more .themesflat-button {
    border-radius: 999px;
    border: 0;
    padding-inline: 22px;
    box-shadow: 0 16px 32px rgba(15, 23, 42, .12);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.themesflat-button:hover,
.btn-header:hover,
.btn-booking-doctor:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(15, 23, 42, .16);
}

.site-main .box-item,
.site-main .box-info,
.site-main .box-wrap-ab,
.site-main .box-content-doctor,
.site-main .box-wrap-details,
.site-main .box-counter-wrap,
.site-main .box-portfolio,
.site-main .box-gallery,
.site-main .cl-our-t,
.site-main .box-doctor {
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 24px 50px rgba(15, 23, 42, .08);
}

.site-main .box-item,
.site-main .cl-our-t,
.site-main .box-doctor,
.site-main .box-wrap-ab,
.site-main .box-wrap-details {
    border-radius: 24px;
    overflow: hidden;
}

.site-main img {
    border-radius: 18px;
}

.site-main .title-heading,
.site-main .title,
.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4 {
    color: var(--siteodonto-text);
}

.site-main p,
.site-main li,
.site-main .sub-details {
    color: var(--siteodonto-muted);
}

.site-main .box-wrap,
.site-main .box-wrap-ab,
.site-main .box-wrap-details,
.site-main .box-content-doctor {
    padding: 28px;
}

.site-main .box-item .img,
.site-main .featured-doctor,
.site-main .feature-medal,
.site-main .box-portfolio img {
    overflow: hidden;
    border-radius: 20px;
}

.site-main .box-item .img img,
.site-main .featured-doctor img,
.site-main .feature-medal img,
.site-main .box-portfolio img,
.site-main .box-gallery img {
    width: 100%;
    transition: transform .35s ease;
}

.site-main .box-item:hover .img img,
.site-main .featured-doctor:hover img,
.site-main .feature-medal:hover img,
.site-main .box-portfolio:hover img {
    transform: scale(1.03);
}

.siteodonto-footer-cta.box-sr {
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.12), transparent 35%),
        linear-gradient(135deg, var(--siteodonto-gradient-start), var(--siteodonto-gradient-end));
    box-shadow: 0 28px 65px rgba(15, 23, 42, .22);
}

.siteodonto-footer-cta.box-sr .text-subscribe,
.siteodonto-footer-cta.box-sr .form-contact {
    position: relative;
    z-index: 1;
}

.siteodonto-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.siteodonto-footer-cta h2 {
    margin-bottom: 12px;
    color: #ffffff;
}

.siteodonto-footer-lead {
    margin-bottom: 0;
    color: rgba(255,255,255,.82);
}

.siteodonto-footer-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.siteodonto-cta-button {
    justify-content: center;
    text-align: center;
}

.siteodonto-cta-secondary {
    background: rgba(255,255,255,.08);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.22);
}

#footer .box-list-footer {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
}

#footer .box-list-footer .box-list {
    min-height: auto;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.footer-bottom {
    background: rgba(7, 10, 18, .88);
}

.footer-bottom .row {
    align-items: stretch;
}

.list-icon-bottom {
    display: block;
}

.bottom-icon-style a {
    display: inline;
    width: auto;
    height: auto;
    background: transparent;
    transition: color .2s ease, transform .2s ease;
}

.bottom-icon-style a:hover {
    background: transparent;
    transform: none;
}

.button-go-top a {
    border-radius: 999px;
    box-shadow: 0 20px 35px rgba(15, 23, 42, .2);
}

.siteodonto-empty-state {
    padding: 32px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 35px rgba(15, 23, 42, .08);
    text-align: center;
}

@media (max-width: 991px) {
    #site-header {
        padding: 14px 18px;
        border-radius: 20px;
    }

    #footer .box-list-footer {
        flex-wrap: wrap;
        overflow-x: visible !important;
        gap: 16px;
        top: 0 !important;
    }

    #footer .box-list-footer .box-list,
    #footer .box-contact,
    #footer .box-useful,
    #footer .box-recent,
    #footer .box-services {
        float: none;
        width: calc(50% - 8px) !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 28px 24px !important;
        border-radius: 20px;
    }

    .siteodonto-footer-cta.box-sr .text-subscribe,
    .siteodonto-footer-cta.box-sr .form-contact {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .siteodonto-footer-cta.box-sr .form-contact {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .site-main .box-wrap,
    .site-main .box-wrap-ab,
    .site-main .box-wrap-details,
    .site-main .box-content-doctor {
        padding: 22px;
    }
}

@media (max-width: 767px) {
    #site-header {
        width: calc(100% - 16px);
        margin-top: 8px;
    }

    .siteodonto-footer-cta,
    .siteodonto-footer-cta.box-sr {
        border-radius: 24px;
    }

    .siteodonto-footer-cta.box-sr {
        margin-top: 0 !important;
    }

    .siteodonto-footer-cta.box-sr .text-subscribe,
    .siteodonto-footer-cta.box-sr .form-contact {
        width: 100% !important;
        padding: 22px 20px !important;
    }

    .siteodonto-footer-cta.box-sr .form-contact {
        padding-top: 0 !important;
    }

    .siteodonto-cta-button {
        display: flex !important;
        width: 100%;
    }

    #footer .box-list-footer {
        gap: 12px;
    }

    #footer .box-list-footer .box-list,
    #footer .box-contact,
    #footer .box-useful,
    #footer .box-recent,
    #footer .box-services {
        width: 100% !important;
        padding: 24px 22px !important;
    }

    .box-recent ul li.in a {
        margin-right: 0 !important;
    }

    .footer-bottom .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 18px;
        text-align: center;
    }

    .footer-bottom .logo-bottom {
        display: block !important;
        width: auto !important;
        line-height: 1 !important;
        padding-left: 0 !important;
    }

    .footer-bottom .copyright {
        width: auto !important;
        line-height: 1.6 !important;
        padding-left: 0 !important;
        margin: 0;
    }

    .footer-bottom .list-icon-bottom {
        display: flex !important;
        width: auto !important;
        line-height: 1 !important;
        padding-left: 0 !important;
        justify-content: center;
        gap: 10px;
    }

    .footer-bottom .list-icon-bottom li {
        margin: 0 !important;
    }

    .logo img,
    .logo-bottom img {
        max-height: 52px;
    }
}
