/********* CSS Template **********/
:root {
    --primary: #533723;
    --light: #F8F8F8;
    --dark: #252525;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    overflow-x: hidden;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/*** Entrada ***/
.site-entry {
    background: #111111;
    color: #FFFFFF;
    font-family: 'Raleway', Arial, sans-serif;
}

.site-entry-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
}

.site-entry-video,
.site-entry-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.site-entry-video {
    object-fit: cover;
    z-index: -2;
}

.site-entry-overlay {
    background: transparent;
    z-index: -1;
}

.site-entry-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 72px;
    text-align: center;
}

.site-entry-content h1 {
    max-width: 1180px;
    margin: 0;
    color: #FFFFFF !important;
    font-family: 'Raleway', Arial, sans-serif !important;
    font-size: clamp(2.5rem, 5.2vw, 5.35rem);
    font-weight: 300 !important;
    line-height: 1.08;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.site-entry-content h1 strong {
    color: #FFFFFF !important;
    font-weight: 800;
}

.site-entry-content h1 span {
    color: #FFFFFF !important;
    font-weight: 300;
}

.site-entry-content p {
    max-width: 720px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .92) !important;
    font-family: 'Raleway', Arial, sans-serif !important;
    font-size: clamp(1rem, 1.45vw, 1.35rem);
    font-weight: 400;
    letter-spacing: .08em;
    line-height: 1.6;
}

.site-entry-logo {
    width: min(360px, 46vw);
    height: auto;
    margin-top: 38px;
    filter: brightness(0) invert(1) !important;
}

.site-entry-scroll {
    display: none !important;
}

.site-entry-portfolio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #151515;
}

.site-entry-card {
    position: relative;
    display: block;
    min-height: 360px;
    margin: 0;
    overflow: hidden;
    background: #1b1b1b;
}

.site-entry-card img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    transform: scale(1.01);
}

.site-entry-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

.site-entry-gate {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 54px 24px 70px;
    background: url("../img/vertical.png") center center / cover no-repeat;
}

.site-entry-gate::before {
    position: absolute;
    content: "";
    inset: 0;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .28),
        0 22px 60px rgba(0, 0, 0, .18);
    backdrop-filter: blur(5px) saturate(1.2);
    -webkit-backdrop-filter: blur(5px) saturate(1.2);
}

.site-entry-gate::after {
    position: absolute;
    content: "";
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, .26) 46%, transparent 68%);
    transform: translateX(-55%);
    opacity: .55;
    pointer-events: none;
}

body.entry-locked #site-start,
body.entry-locked #site-start ~ * {
    display: none !important;
}

body.entry-entered .site-entry {
    display: none !important;
}

body.entry-entered .navbar.sticky-top {
    top: 0 !important;
}

.site-entry-enter {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 116px;
    min-height: 42px;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 999px;
    color: #FFFFFF;
    background: rgba(255, 255, 255, .08);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .18em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}

.site-entry-enter:hover,
.site-entry-enter:focus {
    color: #111111;
    background: #FFFFFF;
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

#site-start {
    scroll-margin-top: 90px;
}

.clean-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(rgba(255, 255, 255, .88), rgba(255, 255, 255, .88)),
        url("../img/marmore.jpg");
    background-repeat: repeat;
    background-size: 1000px;
}

.clean-page-space {
    flex: 1 0 auto;
    min-height: 62vh;
}

.clean-page .footer {
    flex-shrink: 0;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background:  #FFFFFF;
    border-color: var(--primary);
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #41220d;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    display: none !important;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}

.feature-img.feature-img-single img {
    position: absolute;
    width: auto;
    height: 82%;
    top: -21%;
    left: -38%;
    object-fit: cover;
    object-position: center top;
    border-radius: 10px;
    box-shadow: 0 18px 45px rgba(83, 55, 35, 0.521);
}

.feature-img.feature-img-single::before {
    width: auto;
    height: 78%;
    top: 4%;
    left: 4%;
    border-radius: 10px;
}

/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #777777;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}


.navbar{
    background: rgba(255, 255, 255, 0.295) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

body{
    background:
        linear-gradient(
            rgba(255,255,255,0.88),
            rgba(255,255,255,0.88)
        ),
        url("../img/marmore.jpg");

    background-repeat: repeat;
    background-size: 1000px;
}
.container-xxl,
.container-fluid,
section{
    background: transparent !important;
}
#footer p,
#footer li,
#footer a{
    font-size:17px;
    line-height:1.9;
}

.footer-title{
    position:relative;
    display:inline-block;
}

.footer-title::after{
    content:'';
    position:absolute;
    bottom:-8px;
    left:0;
    width:40px;
    height:2px;
    background:#7c5a45;
    transition:.3s;
}

.footer-title:hover::after{
    width:100%;
}

/* FORCE ABSOLUTELY ALL TITLES */

h1,
h2,
h3,
h4,
h5,
h6,
[class*="display-"],
.section-title,
.carousel-caption h1,
.team-item h3,
.service-item h3,
.project-item h3 {
    font-family: 'Poiret One', cursive !important;
}

/* FORÇA A FONTE DO BANNER */

.owl-carousel-inner h1,
.header-carousel h1,
.display-1 {
    font-family: 'Poiret One', cursive !important;
}

/* ===== FONTE CORRIGIDA - TÍTULOS ===== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
[class^="display-"], [class*=" display-"],
.section-title,
.header-carousel h1,
.owl-carousel-inner h1,
.carousel-caption h1,
.team-item h3,
.service-item h3,
.project-item h3 {
    font-family: 'Poiret One', cursive !important;
    letter-spacing: 1px;
}

body, p, a, span, button, input, textarea, .navbar .nav-link {
    font-family: 'Raleway', sans-serif !important;
}

.appointment-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.appointment-section .row.g-5 {
    --bs-gutter-x: 2.25rem;
    --bs-gutter-y: 1.5rem;
}

.appointment-section .display-5 {
    max-width: 560px;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.18;
}

.appointment-section p {
    font-size: 14px;
    line-height: 1.45;
}

.appointment-section h3 {
    font-size: 1.25rem;
}

.appointment-icon {
    width: 48px;
    height: 48px;
}

.appointment-section .form-control,
.appointment-section .form-select {
    min-height: 44px;
    padding-top: .55rem;
    padding-bottom: .55rem;
}

.appointment-section textarea.form-control {
    min-height: 92px;
}

.appointment-section .btn {
    padding-top: .85rem !important;
    padding-bottom: .85rem !important;
}

.about-img{
    overflow: hidden;
}

.about-img img{
    transition: transform 1.5s ease;
}

.about-img:hover img{
    transform: scale(1.08);
}



.footer {
    padding: 16px 24px 10px;
    background: linear-gradient(180deg, rgba(44, 17, 1, 0.34), rgba(44, 17, 1, 0.18));
    color: #2b0c00;
    border-top: 1px solid rgba(44, 17, 1, 0.22);
}

.cd__main{
   display: block !important;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) minmax(160px, 0.8fr) minmax(240px, 1fr);
    gap: 24px;
    width: min(1120px, 100%);
    margin: 0 auto;
    align-items: start;
}

.footer-brand {
    max-width: 420px;
}

.footer-logo {
    width: min(230px, 100%);
    margin-bottom: 4px;
}

.footer-brand p,
.footer-contact p {
    margin: 0;
    color: rgba(43, 12, 0, 0.78);
    font-size: 13px;
    line-height: 1.35;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-column h3 {
    margin: 0 0 2px;
    color: #4e2d1d;
    font-family: "Teko", sans-serif;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 0;
}

.footer-column a,
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(43, 12, 0, 0.331);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-column a:hover {
    color: #6b4a3859;
    transform: translateX(3px);
}

.footer-contact i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    color: #6b4a38;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(107, 74, 56, 0.2);
    border-radius: 50%;
    font-size: 10px;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    width: min(1120px, 100%);
    margin: 10px auto 0;
    padding-top: 8px;
    border-top: 1px solid rgba(43, 12, 0, 0.18);
}

.footer .social-card {
    display: none !important;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: fit-content;
    height: auto;
    margin: 0 auto;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    background: rgba(44, 17, 1, 0.18);
    box-shadow: 0 10px 25px rgba(44, 17, 1, 0.14);
}

.footer-bottom .social-card {
    margin: 20px 0 0 10px;
    justify-self: start;
    flex-direction: column;
    gap: 10px;
    padding: 10px 8px;
}

.footer .social-card svg {
    width: 10px;
    height: 0px;
    opacity: 1;
    transition: transform 0.25s ease;
    cursor: pointer;
}

.footer .social-card .social-link1,
.footer .social-card .social-link4 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: whitesmoke;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.footer .social-card .social-link1:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 22px rgba(204, 35, 102, 0.28);
    transform: translateY(-3px);
}

.footer .social-card .social-link4:hover {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 22px rgba(18, 140, 126, 0.26);
    transform: translateY(-3px);
}

.footer .social-card .social-link1:hover svg,
.footer .social-card .social-link4:hover svg {
    transform: scale(1.08);
}


.footer .copyright {
    margin: 0;
    font-size: 12px;
    color: rgba(43, 12, 0, 0.373);
    text-align: center;
    grid-column: 2;
}

@media (max-width: 767.98px) {
    .appointment-section {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .appointment-section .display-5 {
        font-size: 2rem;
    }

    .appointment-section .form-control,
    .appointment-section .form-select {
        min-height: 42px;
    }

    .footer {
        padding: 18px 20px 12px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: center;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-logo {
        width: min(180px, 100%);
    }

    .footer-column,
    .footer-column a,
    .footer-contact p {
        align-items: center;
        justify-content: center;
    }

    .footer-column a:hover {
        transform: none;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        margin-top: 14px;
        padding-top: 12px;
        text-align: center;
    }

    .footer-bottom .social-card {
        position: static;
        flex-direction: row;
        margin-bottom: 10px;
    }
}

/*** Dark Theme Toggle ***/
.home-shortcut {
    position: fixed;
    right: 28px;
    bottom: 148px;
    z-index: 1000;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(83, 55, 35, .28);
    border-radius: 50%;
    color: var(--primary);
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 12px 32px rgba(37, 37, 37, .16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.home-shortcut:hover,
.home-shortcut:focus {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.home-shortcut:focus-visible {
    outline: 3px solid rgb(255, 255, 255);
    outline-offset: 4px;
}

.theme-toggle {
    position: fixed;
    right: 28px;
    bottom: 92px;
    z-index: 1000;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(83, 55, 35, .28);
    border-radius: 50%;
    color: var(--primary);
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 12px 32px rgba(37, 37, 37, .16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.theme-toggle:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.theme-toggle:focus-visible {
    outline: 3px solid rgba(83, 55, 35, .28);
    outline-offset: 4px;
}

.theme-dark {
    --dark-bg: #111111;
    --dark-bg-2: #1A1A1A;
    --dark-card: #222222;
    --dark-text: #F2F0EC;
    --dark-muted: #B7AEA3;
    --dark-brand: #8A6347;
    --dark-hover: #A97A57;
    --dark-border: #353335;
    position: relative;
    isolation: isolate;
    color: var(--dark-text);
    background: #111111;
}

.theme-dark::before {
    position: fixed;
    content: "";
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(17, 17, 17, .76), rgba(17, 17, 17, .86)),
        url("../img/fundonovo.jpg") center center / cover no-repeat;
    filter: blur(2px);
    transform: scale(1.02);
}

.theme-dark > :not(.home-shortcut):not(.theme-toggle):not(.back-to-top) {
    position: relative;
    z-index: 1;
}

.theme-dark .home-shortcut,
.theme-dark .theme-toggle {
    position: fixed !important;
    right: 28px;
    z-index: 1001 !important;
    color: var(--dark-text);
    background: rgba(26, 26, 26, .9);
    border-color: var(--dark-border);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .42);
}

.theme-dark .home-shortcut {
    bottom: 148px;
}

.theme-dark .theme-toggle {
    bottom: 92px;
}

.theme-dark .back-to-top {
    position: fixed !important;
    right: 30px;
    bottom: 30px;
    z-index: 1000 !important;
}

.theme-dark .home-shortcut:hover,
.theme-dark .home-shortcut:focus,
.theme-dark .theme-toggle:hover {
    color: var(--dark-text);
    background: var(--dark-hover);
    border-color: var(--dark-hover);
}

.theme-dark .navbar {
    position: sticky;
    z-index: 999 !important;
    background: rgba(17, 17, 17, .82) !important;
    border-bottom: 1px solid var(--dark-border);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
}

.theme-dark .navbar.bg-white,
.theme-dark .navbar-light {
    background-color: rgba(17, 17, 17, .82) !important;
}

.theme-dark .navbar .navbar-collapse {
    background: transparent;
}

.theme-dark .navbar-toggler {
    border-color: rgba(242, 240, 236, .34);
}

.theme-dark .navbar-light .navbar-toggler-icon,
.theme-dark .navbar .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.theme-dark .navbar-brand img,
.theme-dark .footer-logo {
    filter: brightness(0) invert(1);
}

.theme-dark .dark-door-img {
    min-height: 620px;
    pointer-events: none;
}

.theme-dark .dark-door-img::before {
    top: 0;
    right: -26%;
    left: auto;
    bottom: 0;
    z-index: 1;
    display: block;
    width: auto;
    height: 100%;
    aspect-ratio: 735 / 1536;
    border: 1px solid rgba(255, 255, 255, .18);
    opacity: 0;
    pointer-events: none;
    background:
        linear-gradient(112deg, transparent 20%, rgba(255, 255, 255, .38) 46%, transparent 62%) border-box,
        linear-gradient(90deg, rgba(255, 255, 255, .24), transparent 16%, transparent 84%, rgba(255, 255, 255, .22)) padding-box;
    background-size: 220% 100%, 100% 100%;
    background-position: 160% 0, 0 0;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .12),
        inset 18px 0 28px rgba(255, 255, 255, .1),
        inset -18px 0 28px rgba(255, 255, 255, .08);
    mix-blend-mode: screen;
    transition: opacity .35s ease;
}

.theme-dark .dark-door-img::after {
    position: absolute;
    content: "";
    top: 0;
    right: -26%;
    bottom: 0;
    z-index: 1;
    width: auto;
    height: 100%;
    aspect-ratio: 735 / 1536;
    background: none;
    opacity: 0;
    filter: none;
    transform: none;
    transition: opacity .35s ease, filter .35s ease, transform .35s ease;
}

.theme-dark .dark-door-img:hover::before {
    opacity: 0;
    animation: none;
}

.theme-dark .dark-door-img:hover::after {
    opacity: 0;
    filter: none;
}

.theme-dark .dark-door-img img {
    opacity: 0;
    visibility: hidden;
}

@keyframes wetDoorSheen {
    0% {
        background-position: 160% 0, 0 0;
    }

    100% {
        background-position: -70% 0, 0 0;
    }
}

.theme-dark .navbar .navbar-nav .nav-link,
.theme-dark .dropdown-item,
.theme-dark h1,
.theme-dark h2,
.theme-dark h3,
.theme-dark h4,
.theme-dark h5,
.theme-dark h6 {
    color: var(--dark-text);
}

.theme-dark .navbar-light .navbar-nav .nav-link {
    color: var(--dark-text) !important;
}

.theme-dark .navbar .navbar-nav .nav-link:hover,
.theme-dark .navbar .navbar-nav .nav-link.active,
.theme-dark .dropdown-item:hover,
.theme-dark .text-primary {
    color: var(--dark-hover) !important;
}

.theme-dark .navbar .navbar-nav .nav-link {
    position: relative;
}

.theme-dark .navbar .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    right: 0;
    bottom: 22px;
    left: 0;
    height: 1px;
    background: var(--dark-hover);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.theme-dark .navbar .navbar-nav .nav-link:hover::before,
.theme-dark .navbar .navbar-nav .nav-link.active::before {
    transform: scaleX(1);
}

.theme-dark .dropdown-menu,
.theme-dark .bg-white,
.theme-dark .bg-light,
.theme-dark .fact-item,
.theme-dark .service-item .service-text,
.theme-dark .project .nav .nav-link,
.theme-dark .team-item .bg-light,
.theme-dark .testimonial-carousel .owl-dots .owl-dot::after {
    background: linear-gradient(180deg, rgba(34, 34, 34, .96), rgba(26, 26, 26, .96)) !important;
    color: var(--dark-text);
    border-color: var(--dark-border);
}

.theme-dark .container-xxl,
.theme-dark .container-fluid,
.theme-dark section {
    background: transparent !important;
}

.theme-dark .fact-item,
.theme-dark .team-item .bg-light,
.theme-dark .project .nav .nav-link,
.theme-dark .service-item .service-text,
.theme-dark .dropdown-menu {
    border: 1px solid var(--dark-border);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

.theme-dark .fact-item:hover,
.theme-dark .team-item:hover .bg-light,
.theme-dark .project .nav .nav-link:hover,
.theme-dark .service-item:hover .service-text {
    border-color: rgba(169, 122, 87, .48);
    box-shadow: 0 24px 58px rgba(0, 0, 0, .28);
}

.theme-dark .fact-item .fact-icon,
.theme-dark .appointment-icon {
    background: #1A1A1A;
    border-color: var(--dark-brand) !important;
}

.theme-dark .fact-item .fact-icon i,
.theme-dark .appointment-icon i,
.theme-dark .footer-contact i {
    color: var(--dark-hover) !important;
}

.theme-dark .project .nav .nav-link.active,
.theme-dark .btn-primary {
    color: var(--dark-text) !important;
    background: var(--dark-brand) !important;
    border-color: var(--dark-brand) !important;
    box-shadow: 0 12px 26px rgba(138, 99, 71, .2);
}

.theme-dark .btn-primary:hover {
    background: var(--dark-hover) !important;
    border-color: var(--dark-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(169, 122, 87, .25);
}

.theme-dark p,
.theme-dark span,
.theme-dark li,
.theme-dark label,
.theme-dark .footer-brand p,
.theme-dark .footer-contact p,
.theme-dark .footer-column a,
.theme-dark .footer .copyright {
    color: var(--dark-muted);
}

.theme-dark .form-control,
.theme-dark .form-select {
    color: var(--dark-text);
    background-color: rgba(17, 17, 17, .72);
    border-color: var(--dark-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.theme-dark .form-control:focus,
.theme-dark .form-select:focus {
    color: var(--dark-text);
    background-color: rgba(26, 26, 26, .94);
    border-color: var(--dark-hover);
    box-shadow: 0 0 0 .18rem rgba(169, 122, 87, .16);
}

.theme-dark .form-control::placeholder {
    color: rgba(183, 174, 163, .72);
}

.theme-dark .form-floating > label {
    color: var(--dark-muted);
}

.theme-dark .footer {
    position: relative;
    z-index: 2;
    padding: 24px 24px 18px;
    background: #111111;
    border-top-color: var(--dark-border);
}

.theme-dark .footer-inner {
    align-items: start;
    gap: 28px;
}

.theme-dark .footer-logo {
    width: min(190px, 100%);
    margin-bottom: 8px;
}

.theme-dark .footer-column h3,
.theme-dark .footer-contact i {
    color: var(--dark-text);
}

.theme-dark .footer-contact i {
    background: var(--dark-card);
    border-color: var(--dark-border);
}

.theme-dark .footer-bottom {
    display: block;
    margin-top: 16px;
    padding-top: 14px;
    border-top-color: var(--dark-border);
}

.theme-dark .footer .copyright {
    grid-column: auto;
    text-align: center;
}

@media (max-width: 767.98px) {
    .theme-toggle {
        right: 18px;
        bottom: 84px;
    }
}

/*** Mobile Polish ***/
@media (max-width: 991.98px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .container,
    .container-fluid,
    .container-xxl,
    .row {
        max-width: 100%;
    }

    .row {
        margin-right: 0;
        margin-left: 0;
    }

    .navbar {
        top: 0 !important;
        padding: 8px 0 !important;
    }

    .navbar-brand {
        max-width: 58vw;
    }

    .navbar-brand img {
        max-width: 170px;
        height: auto;
    }

    .navbar .navbar-collapse {
        margin-top: 8px;
        padding: 8px 18px 16px;
        border-top: 1px solid rgba(83, 55, 35, .18);
        background: rgba(255, 255, 255, .94);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .navbar .navbar-nav {
        border-top: 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 11px 0;
        font-size: .88rem;
        letter-spacing: 0;
    }

    .dropdown-menu {
        box-shadow: none;
    }

    .site-entry-content {
        padding: 86px 18px 56px;
    }

    .site-entry-content h1 {
        font-size: clamp(2rem, 10vw, 3.4rem);
        letter-spacing: .04em;
    }

    .site-entry-logo {
        width: min(260px, 68vw);
    }

    .site-entry-portfolio {
        grid-template-columns: 1fr;
    }

    .site-entry-card,
    .site-entry-card img {
        min-height: 260px;
    }

    .site-entry-gate {
        min-height: 180px;
        padding: 44px 18px 52px;
    }

    .about-img,
    .feature-img {
        min-height: 360px;
        overflow: hidden;
    }

    .about-img img,
    .feature-img img {
        max-width: 100%;
    }

    .feature-img.feature-img-single img {
        left: 0;
        width: 100%;
        height: 100%;
        top: 0;
    }

    .feature-img.feature-img-single::before {
        display: none;
    }

    .appointment-section .row.g-5 {
        --bs-gutter-x: 0;
    }

    .footer {
        overflow: hidden;
    }

    .footer-inner {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .display-1 {
        font-size: clamp(2.45rem, 14vw, 4rem);
        line-height: 1.05;
    }

    .display-5,
    .appointment-section .display-5 {
        font-size: clamp(1.85rem, 9vw, 2.45rem);
        line-height: 1.12;
    }

    .header-carousel .owl-carousel-item {
        min-height: 460px;
    }

    .owl-carousel-inner .col-10,
    .owl-carousel-inner .col-lg-8 {
        width: 100%;
    }

    .btn {
        white-space: normal;
    }

    .home-shortcut,
    .theme-toggle {
        right: 16px;
        width: 42px;
        height: 42px;
    }

    .home-shortcut,
    .theme-dark .home-shortcut {
        bottom: 140px;
    }

    .theme-toggle,
    .theme-dark .theme-toggle {
        bottom: 84px;
    }

    .back-to-top,
    .theme-dark .back-to-top {
        right: 16px;
        bottom: 28px;
    }

    .theme-dark::before {
        transform: scale(1.04);
    }

    .theme-dark .navbar .navbar-collapse {
        background: rgba(17, 17, 17, .94);
        border-top-color: var(--dark-border);
    }

    .theme-dark .navbar .navbar-nav .nav-link::before {
        bottom: 5px;
        transform-origin: left;
    }

    .theme-dark .dark-door-img {
        min-height: 360px;
    }

    .theme-dark .dark-door-img::before,
    .theme-dark .dark-door-img::after {
        display: none;
    }

    .theme-dark .footer {
        padding: 26px 18px 18px;
    }

    .theme-dark .footer-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }

    .theme-dark .footer-brand,
    .theme-dark .footer-column,
    .theme-dark .footer-column a,
    .theme-dark .footer-contact p {
        align-items: center;
        justify-content: center;
    }
}
