/**
 * Construction Theme Reskin
 * Load after the theme's existing style.css.
 * Palette: architectural charcoal, warm stone, construction copper.
 * No template edits are required for the visual layer.
 */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    --cr-accent: #c96f32;
    --cr-accent-dark: #9f4f1f;
    --cr-accent-soft: #f2dfd2;
    --cr-ink: #17212b;
    --cr-ink-2: #273440;
    --cr-text: #53606b;
    --cr-muted: #79838c;
    --cr-paper: #f5f3ee;
    --cr-paper-2: #ebe7df;
    --cr-surface: #ffffff;
    --cr-line: #ddd8cf;
    --cr-line-dark: rgba(255, 255, 255, 0.12);
    --cr-dark: #111920;
    --cr-dark-2: #1b252e;
    --cr-success: #26735b;
    --cr-danger: #b43d3d;
    --cr-radius-sm: 8px;
    --cr-radius: 14px;
    --cr-radius-lg: 22px;
    --cr-shadow-sm: 0 10px 30px rgba(23, 33, 43, 0.08);
    --cr-shadow: 0 18px 50px rgba(23, 33, 43, 0.12);
    --cr-shadow-dark: 0 16px 45px rgba(0, 0, 0, 0.22);
    --cr-transition: 220ms ease;
    --cr-font-heading: "Roboto Slab", Georgia, serif;
}

/* --------------------------------------------------------------------------
   2. Global foundation
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
    color: var(--cr-text);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

body {
    background: var(--cr-paper);
}

body.reskin-menu-open {
    overflow: hidden;
}

::selection {
    color: #fff;
    background: var(--cr-accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--cr-ink);
    font-family: var(--cr-font-heading);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.018em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.3rem, 4.5vw, 4.6rem);
    line-height: 1.12;
}

h2 {
    font-size: clamp(2rem, 3.4vw, 3.35rem);
    line-height: 1.18;
}

h3 {
    font-size: clamp(1.55rem, 2.4vw, 2.25rem);
    line-height: 1.27;
}

h4,
h5,
h6 {
    line-height: 1.35;
}

p {
    margin-bottom: 1.25em;
}

a {
    color: var(--cr-ink);
    transition: color var(--cr-transition), background-color var(--cr-transition), border-color var(--cr-transition), transform var(--cr-transition), box-shadow var(--cr-transition);
}

a:hover,
a:focus,
a:active {
    color: var(--cr-accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid rgba(201, 111, 50, 0.38);
    outline-offset: 3px;
}

img {
    border-radius: inherit;
}

.container {
    width: min(100% - 40px, 1200px);
}

.page-content {
    overflow: clip;
}

.themesflat-spacer {
    min-height: 0 !important;
}

.bg-light-snow,
.bg-f7f,
.bg-light-grey {
    background-color: var(--cr-paper) !important;
}

.text-accent,
.accent-color,
.themesflat-icon-box.accent-color .icon-wrap {
    color: var(--cr-accent) !important;
}

.accent-bg,
.bg-accent,
.bg-ffc {
    background-color: var(--cr-accent) !important;
}

.fix--list ul,
.fix--list ol {
    margin: 1.1em 0 1.4em 1.25em;
}

.fix--list ul,
.fix--list ul li {
    list-style: disc outside !important;
}

.fix--list ol,
.fix--list ol li {
    list-style: decimal outside !important;
}

.fix--list li {
    margin-bottom: 0.55em;
    padding-left: 0.25em;
}

.iframe--wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--cr-radius);
    aspect-ratio: 16 / 9;
    background: var(--cr-paper-2);
}

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

/* --------------------------------------------------------------------------
   3. Top bar and site header
   -------------------------------------------------------------------------- */
#site-header-wrap {
    z-index: 1000;
}

#top-bar,
.topbar-style-3 #top-bar {
    background: var(--cr-dark);
    color: rgba(255, 255, 255, 0.72);
}

#top-bar,
#top-bar a,
.topbar-style-3 #top-bar,
.topbar-style-3 #top-bar a {
    color: rgba(255, 255, 255, 0.76);
}

#top-bar a:hover,
.topbar-style-3 #top-bar a:hover {
    color: #fff;
}

#top-bar .top-bar-inner-wrap,
.topbar-style-3 #top-bar .top-bar-inner-wrap {
    padding: 9px 0;
    border-bottom: 0;
}

#top-bar .top-bar-content .content,
.topbar-style-3 #top-bar .top-bar-content .content {
    margin: 0 8px;
    padding: 0 17px 0 20px;
    font-size: 12px;
    line-height: 22px;
}

#top-bar .top-bar-content .content:first-child {
    margin-left: 0;
}

#top-bar .top-bar-content .content::before {
    color: var(--cr-accent);
}

#top-bar .top-bar-content .content::after,
#top-bar .top-bar-socials .icons a::before,
.topbar-style-3 #top-bar .top-bar-content .content::after,
.topbar-style-3 #top-bar .top-bar-socials .icons a::before {
    width: 1px;
    background: rgba(255, 255, 255, 0.14);
}

#top-bar .top-bar-socials .inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#top-bar .top-bar-socials .text,
.topbar-style-3 #top-bar .top-bar-socials .text {
    padding-right: 5px;
    font-size: 12px;
}

#top-bar .top-bar-socials .icons {
    display: inline-flex;
    gap: 6px;
}

#top-bar .top-bar-socials .icons a,
.topbar-style-3 #top-bar .top-bar-socials .icons a {
    display: inline-grid;
    width: 28px;
    height: 28px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

#top-bar .top-bar-socials .icons a::before {
    display: none;
}

#top-bar .top-bar-socials .icons a:hover {
    color: #fff;
    border-color: var(--cr-accent);
    background: var(--cr-accent);
}

#site-header,
.header-style-3 #site-header,
.header-style-3 #site-header.is-fixed,
.header-style-3 #site-header.is-fixed.is-small {
    background: rgba(255, 255, 255, 0.97) !important;
    border-bottom: 1px solid rgba(23, 33, 43, 0.09);
    box-shadow: 0 8px 30px rgba(23, 33, 43, 0.08);
    backdrop-filter: blur(12px);
}

#site-header .wrap-inner,
.header-style-3 #site-header .wrap-inner,
#site-header.is-fixed.is-small .wrap-inner {
    min-height: 76px;
    padding: 17px 0;
}

#site-logo {
    display: flex;
    align-items: center;
    min-height: 42px;
}

#site-logo img {
    width: auto;
    max-width: min(190px, 48vw);
    max-height: 46px;
    object-fit: contain;
}

.header-style-3 #site-header #main-nav {
    right: 0;
}

#main-nav > ul {
    display: flex;
    align-items: center;
    gap: 2px;
}

#main-nav > ul > li {
    padding: 0 4px;
}

#main-nav > ul > li > a,
.header-style-3 #main-nav > ul > li > a,
.header-style-3 #site-header #main-nav > ul > li > a,
#site-header.is-fixed.is-small #main-nav > ul > li > a {
    position: relative;
    padding: 0 13px;
    color: var(--cr-ink) !important;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 42px;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

#main-nav > ul > li > a::after {
    position: absolute;
    right: 13px;
    bottom: 5px;
    left: 13px;
    height: 2px;
    content: "";
    background: var(--cr-accent);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform var(--cr-transition);
}

#main-nav > ul > li:hover > a::after,
#main-nav > ul > li.current-menu-item > a::after,
#main-nav > ul > li.current-menu-ancestor > a::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.header-style-3 #site-header #main-nav > ul > li.current-menu-item > a,
.header-style-3 #site-header #main-nav > ul > li.current-menu-ancestor > a,
.header-style-3 #site-header #main-nav > ul > li:hover > a,
#main-nav > ul > li:hover > a,
#main-nav > ul > li.current-menu-item > a,
#main-nav > ul > li.current-menu-ancestor > a {
    color: var(--cr-accent) !important;
}

#main-nav .sub-menu {
    width: 250px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 var(--cr-radius) var(--cr-radius);
    background: var(--cr-dark-2);
    box-shadow: var(--cr-shadow-dark);
}

#main-nav .sub-menu li a {
    padding: 9px 12px;
    color: rgba(255, 255, 255, 0.72);
    border-radius: 6px;
    font-size: 13px;
}

#main-nav .sub-menu li a:hover,
#main-nav .sub-menu li.current-menu-item > a {
    color: #fff;
    background: var(--cr-accent);
}

.mobile-button {
    width: 32px;
    height: 26px;
}

.mobile-button::before,
.mobile-button::after,
.mobile-button span {
    height: 2px;
    border-radius: 99px;
    background: var(--cr-ink);
}

.mobile-button.active::before,
.mobile-button.active::after {
    background: var(--cr-accent);
}

#main-nav-mobi {
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    border-top: 1px solid var(--cr-line);
    background: var(--cr-surface);
    box-shadow: var(--cr-shadow);
}

#main-nav-mobi ul li {
    border-color: var(--cr-line);
    text-align: left;
}

#main-nav-mobi ul > li > a {
    display: block;
    padding: 0 22px;
    color: var(--cr-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 54px;
    letter-spacing: 0.035em;
}

#main-nav-mobi ul > li.current-menu-item > a,
#main-nav-mobi ul > li.current-menu-ancestor > a,
#main-nav-mobi ul > li > a:hover {
    color: var(--cr-accent);
}

#main-nav-mobi .menu-item-has-children .arrow {
    right: 8px;
    width: 50px;
    line-height: 54px;
}

#main-nav-mobi ul ul li {
    background: var(--cr-paper);
}

#main-nav-mobi ul ul li a {
    padding-left: 38px;
}

/* --------------------------------------------------------------------------
   4. Hero / Revolution Slider
   -------------------------------------------------------------------------- */
.rev_slider_wrapper,
.rev_slider,
.rev_slider > ul,
.rev_slider > ul > li {
    background: var(--cr-dark);
}

.rev_slider > ul > li::after,
.rev_slider .slotholder::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    content: "";
    background: linear-gradient(90deg, rgba(9, 15, 20, 0.79) 0%, rgba(9, 15, 20, 0.48) 47%, rgba(9, 15, 20, 0.14) 100%);
}

#rev-slider2 .tp-caption {
    z-index: 4 !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}

#rev-slider2 .tp-caption.font-weight-600 {
    color: rgba(255, 255, 255, 0.78) !important;
    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    letter-spacing: 0.16em;
}

#rev-slider2 .tp-caption.font-weight-700 {
    max-width: 870px;
    font-family: var(--cr-font-heading) !important;
    font-weight: 600 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.022em;
    text-transform: none;
    text-wrap: balance;
}

.themesflat-button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border-radius: var(--cr-radius-sm);
    background: var(--cr-accent);
    box-shadow: 0 8px 20px rgba(201, 111, 50, 0.22);
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.themesflat-button {
    padding: 14px 28px;
}

.themesflat-button.big {
    padding: 16px 31px;
}

.themesflat-button.bg-accent {
    background: var(--cr-accent) !important;
}

.themesflat-button::before {
    background: var(--cr-ink) !important;
}

.themesflat-button:hover,
.themesflat-button:focus,
button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    color: #fff;
    background: var(--cr-ink);
    box-shadow: 0 10px 24px rgba(23, 33, 43, 0.18);
    transform: translateY(-1px);
}

.custom.tparrows {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(17, 25, 32, 0.55);
    backdrop-filter: blur(8px);
}

.custom.tparrows:hover,
.custom .tp-bullet:hover,
.custom .tp-bullet.selected {
    background: var(--cr-accent);
}

/* --------------------------------------------------------------------------
   5. Shared section styling and headings
   -------------------------------------------------------------------------- */
.row-iconbox,
.row-services,
.row-project,
.row-testimonials,
.row-whyus,
.row-contact,
.row-project-detail {
    position: relative;
}

.row-iconbox,
.row-project,
.row-contact,
.row-project-detail {
    background: var(--cr-surface);
}

.row-services,
.row-testimonials,
.row-whyus {
    background: var(--cr-paper);
}

.home #homepage---about {
    background: var(--cr-surface);
}

.themesflat-headings .heading,
.themesflat-headings.style-1 .heading,
.themesflat-headings.style-2 .heading {
    color: var(--cr-ink);
    font-family: var(--cr-font-heading);
    font-size: clamp(2rem, 3.1vw, 3.2rem);
    font-weight: 600;
    line-height: 1.22 !important;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.themesflat-headings .heading::after {
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 17px;
    border-radius: 99px;
    content: "";
    background: var(--cr-accent);
}

.themesflat-headings.text-center .heading::after {
    margin-right: auto;
    margin-left: auto;
}

.themesflat-headings .sub-heading,
.themesflat-headings.style-1 .sub-heading,
.themesflat-headings.style-2 .sub-heading,
.themesflat-headings.font-hind .sub-heading {
    max-width: 820px;
    margin-top: 22px;
    color: var(--cr-text);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.82;
    letter-spacing: 0;
}

.themesflat-headings .sub-heading > :last-child {
    margin-bottom: 0;
}

.themesflat-headings .sep.has-icon {
    display: none !important;
}

.themesflat-headings .sep.has-width,
.flat-content-wrap .sep.has-width {
    height: 3px !important;
    border-radius: 99px;
    background: var(--cr-accent) !important;
}

.themesflat-lines.style-1 .line {
    background: var(--cr-line);
}

/* --------------------------------------------------------------------------
   6. Service and content cards
   -------------------------------------------------------------------------- */
.services--grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    padding-bottom: 60px;
}

.themesflat-image-box.style-2,
.themesflat-image-box.style-2 .image-box-item,
.themesflat-image-box.style-2 .image-box-item > .inner {
    height: 100%;
}

.themesflat-image-box.style-2 .image-box-item > .inner {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius);
    background: var(--cr-surface);
    box-shadow: var(--cr-shadow-sm);
    transition: transform var(--cr-transition), box-shadow var(--cr-transition), border-color var(--cr-transition);
}

.themesflat-image-box.style-2 .image-box-item > .inner:hover {
    border-color: rgba(201, 111, 50, 0.42);
    box-shadow: var(--cr-shadow);
    transform: translateY(-5px);
}

.themesflat-image-box .thumb,
.themesflat-project .thumb {
    overflow: hidden;
    background: var(--cr-paper-2);
    line-height: 0;
}

.fix--image-height,
.themesflat-image-box .thumb > img,
.themesflat-project .thumb > img {
    display: block;
    width: 100%;
    height: auto !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 500ms ease;
}

.themesflat-image-box .inner:hover .thumb > img,
.themesflat-project .inner:hover .thumb > img {
    transform: scale(1.035);
}

.data-effect-item .overlay-effect,
.data-effect-item:hover .overlay-effect {
    background: linear-gradient(180deg, rgba(17, 25, 32, 0.02), rgba(17, 25, 32, 0.46));
}

.themesflat-image-box.style-2 .data-effect-item .overlay-effect {
    opacity: 0;
    visibility: visible;
    transform: none;
}

.themesflat-image-box.style-2 .inner:hover .overlay-effect {
    opacity: 1;
}

.themesflat-image-box.style-2 .text-wrap {
    display: flex;
    padding: 25px 25px 27px;
    flex: 1;
    flex-direction: column;
}

.themesflat-image-box.style-2 .heading {
    margin: 0;
    color: var(--cr-ink);
    font-family: var(--cr-font-heading);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.38;
    letter-spacing: -0.012em;
}

.themesflat-image-box.style-2 p {
    margin: 13px 0 0;
    color: var(--cr-text);
    font-size: 15px;
    line-height: 1.72;
}

.themesflat-image-box.style-2 .elm-readmore {
    margin-top: auto;
    padding-top: 17px;
}

.themesflat-image-box.style-2 .elm-readmore a {
    display: inline-flex;
    align-items: center;
    margin: 0;
    color: var(--cr-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.themesflat-image-box.style-2 .elm-readmore a::after {
    margin-left: 9px;
    content: "\f105";
    font-family: "FontAwesome";
    transition: transform var(--cr-transition);
}

.themesflat-image-box.style-2 .elm-readmore a:hover {
    color: var(--cr-accent-dark);
    transform: none;
}

.themesflat-image-box.style-2 .elm-readmore a:hover::after {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   7. Homepage feature boxes / about boxes / contact information
   -------------------------------------------------------------------------- */
.row-iconbox.bg-row-2 {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-position: center !important;
    background-size: cover !important;
}

.row-iconbox.bg-row-2::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: linear-gradient(135deg, rgba(17, 25, 32, 0.94), rgba(27, 37, 46, 0.82));
}

.row-iconbox.bg-row-2 .themesflat-headings .heading {
    color: #fff;
}

.row-iconbox.bg-row-2 .themesflat-headings .heading::after {
    background: var(--cr-accent);
}

.themesflat-icon-box.style-1,
.themesflat-icon-box.style-3 {
    border-radius: var(--cr-radius);
}

.row-iconbox.bg-row-2 .themesflat-icon-box.style-1 {
    height: 100%;
    padding: 31px 25px 29px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: var(--cr-shadow-dark);
    backdrop-filter: blur(8px);
}

.row-iconbox.bg-row-2 .themesflat-icon-box.bg-white-column:hover {
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.26);
    transform: translateY(-4px);
}

.themesflat-icon-box.style-1 .heading,
.themesflat-icon-box.style-3 .heading {
    margin: 0 0 11px;
    color: var(--cr-ink);
    font-family: var(--cr-font-heading);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.38;
    letter-spacing: -0.012em;
}

.themesflat-icon-box.style-1 .sub-heading,
.themesflat-icon-box.style-3 .sub-heading {
    margin-top: 12px;
    color: var(--cr-text);
    font-size: 15px;
    line-height: 1.72;
}

.themesflat-icon-box .sep {
    width: 42px;
    height: 2px;
    background: var(--cr-accent-soft);
}

.page-template-template-about .row-iconbox .container > .row:last-child {
    display: flex;
    flex-wrap: wrap;
}

.page-template-template-about .row-iconbox .container > .row:last-child > [class*="col-"] {
    display: flex;
}

.page-template-template-about .themesflat-content-box,
.page-template-template-about .themesflat-icon-box.style-1 {
    width: 100%;
    height: 100%;
}

.page-template-template-about .themesflat-icon-box.style-1 {
    padding: 30px 25px;
    border: 1px solid var(--cr-line);
    background: var(--cr-paper);
    box-shadow: var(--cr-shadow-sm);
}

.page-template-template-contact .themesflat-icon-box.style-3 {
    height: 100%;
    min-height: 230px;
    padding: 28px 24px 31px;
    border: 1px solid var(--cr-line);
    background: var(--cr-paper) !important;
    box-shadow: var(--cr-shadow-sm);
    transition: transform var(--cr-transition), box-shadow var(--cr-transition), border-color var(--cr-transition);
}

.page-template-template-contact .themesflat-icon-box.style-3:hover {
    border-color: rgba(201, 111, 50, 0.42);
    box-shadow: var(--cr-shadow);
    transform: translateY(-4px);
}

.page-template-template-contact .themesflat-icon-box.style-3 .icon-wrap {
    width: 68px;
    height: 68px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: var(--cr-accent-soft);
    color: var(--cr-accent) !important;
    font-size: 29px;
    line-height: 68px;
}

.page-template-template-contact .themesflat-icon-box.style-3 .heading {
    overflow-wrap: anywhere;
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   8. Projects and filters
   -------------------------------------------------------------------------- */
.themesflat-filter,
.themesflat-filter.filter-absolute {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
}

.themesflat-filter.filter-absolute {
    right: 0;
}

.themesflat-filter li {
    margin: 0;
}

.themesflat-filter.style-1 li::before {
    display: none;
}

.themesflat-filter.style-1 li a,
.themesflat-filter.filter-absolute.style-1 li a {
    display: block;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid var(--cr-line);
    border-radius: 99px;
    background: var(--cr-surface);
    color: var(--cr-text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.035em;
}

.themesflat-filter.style-1 li a:hover,
.themesflat-filter.style-1 li.active a {
    border-color: var(--cr-accent);
    background: var(--cr-accent);
    color: #fff;
    box-shadow: 0 7px 17px rgba(201, 111, 50, 0.2);
}

.themesflat-project.has-margin.mg15 {
    margin-right: -12px;
    margin-left: -12px;
}

.themesflat-project.has-margin.mg15 .project-item {
    width: 33.333%;
    margin-bottom: 24px;
    padding-right: 12px;
    padding-left: 12px;
}

.themesflat-project.style-2 .project-item > .inner {
    overflow: hidden;
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius);
    background: var(--cr-surface);
    box-shadow: var(--cr-shadow-sm);
    transition: transform var(--cr-transition), box-shadow var(--cr-transition), border-color var(--cr-transition);
}

.themesflat-project.style-2 .project-item > .inner:hover {
    border-color: rgba(201, 111, 50, 0.42);
    box-shadow: var(--cr-shadow);
    transform: translateY(-5px);
}

.themesflat-project.style-2 .text-wrap {
    min-height: 91px;
    padding: 19px 21px 20px;
    background: var(--cr-surface);
}

.themesflat-project.style-2 .heading {
    color: var(--cr-ink);
    font-family: var(--cr-font-heading);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.38;
    letter-spacing: -0.01em;
}

.themesflat-project.style-2 .elm-meta {
    margin-top: 5px;
}

.themesflat-project.style-2 .elm-meta > span {
    padding: 0 7px 0 10px;
    color: var(--cr-muted);
    font-size: 12px;
}

.themesflat-project.style-2 .elm-meta > span:first-child {
    padding-left: 0;
}

.themesflat-project.style-2 .elm-meta > span::before {
    background: var(--cr-line);
}

.themesflat-project .elm-link > a,
.has-effect-icon .elm-link a.icon-1 {
    border: 0;
    border-radius: 50%;
    background: var(--cr-surface);
    color: var(--cr-ink);
    box-shadow: var(--cr-shadow-sm);
}

.has-effect-icon .elm-link a.icon-1:hover {
    border-color: var(--cr-accent);
    background: var(--cr-accent);
    color: #fff;
}

/* --------------------------------------------------------------------------
   9. Testimonials
   -------------------------------------------------------------------------- */
.row-testimonials {
    border-top: 1px solid var(--cr-line);
    border-bottom: 1px solid var(--cr-line);
}

.themesflat-testimonials.style-2 .testimonial-item {
    height: 100%;
    padding-top: 0;
}

.themesflat-testimonials.style-2 .inner {
    height: 100%;
}

.themesflat-testimonials.style-2 .text {
    position: relative;
    height: 100%;
    padding: 36px 30px 30px;
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius);
    background: var(--cr-surface);
    box-shadow: var(--cr-shadow-sm);
}

.themesflat-testimonials.style-2 .text::before {
    position: absolute;
    top: 14px;
    left: 22px;
    color: var(--cr-accent-soft);
    content: "\201C";
    font-family: Georgia, serif;
    font-size: 70px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
}

.themesflat-testimonials.style-2 .name-pos {
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
}

.themesflat-testimonials.style-2 .name-pos .name {
    color: var(--cr-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.themesflat-testimonials.style-2 .name-pos .position {
    margin-top: 5px;
    color: var(--cr-muted);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
}

.themesflat-testimonials.style-2 .text p {
    position: relative;
    z-index: 1;
    margin-top: 0;
    color: var(--cr-text);
    font-size: 15px;
    line-height: 1.75;
}

.themesflat-testimonials .list-star i {
    color: var(--cr-accent);
}

.has-bullets .owl-theme .owl-dots {
    padding-top: 29px;
}

.owl-theme .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 5px;
    border: 0;
    background: #c8c2b8;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--cr-accent);
    transform: scale(1.25);
}

/* --------------------------------------------------------------------------
   10. FAQ accordion
   -------------------------------------------------------------------------- */
.row-whyus {
    background: var(--cr-surface);
}

.themesflat-accordions.style-2 .accordion-item {
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius-sm);
    background: var(--cr-surface);
    box-shadow: 0 5px 18px rgba(23, 33, 43, 0.045);
}

.themesflat-accordions.style-2 .accordion-item .accordion-heading,
.themesflat-accordions.style-2 .accordion-item.active .accordion-heading {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--cr-ink);
    font-family: var(--cr-font-heading);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -0.008em;
    text-transform: none;
}

.themesflat-accordions.style-2.has-icon.icon-left.iconstyle-2 .accordion-item .accordion-heading > .inner {
    min-height: 58px;
    padding: 17px 22px 17px 66px;
}

.themesflat-accordions.has-icon.iconstyle-2 .accordion-item .accordion-heading > .inner::before {
    top: 0;
    bottom: 0;
    width: 49px;
    height: auto;
    border-right: 1px solid var(--cr-line);
    background: var(--cr-paper);
    color: var(--cr-accent);
    line-height: 58px;
    transform: none;
}

.themesflat-accordions.has-icon.iconstyle-2 .accordion-item.active .accordion-heading > .inner::before {
    border-color: var(--cr-accent);
    background: var(--cr-accent);
    color: #fff;
}

.themesflat-accordions.style-2 .accordion-content {
    padding: 5px 24px 20px 66px;
    color: var(--cr-text);
    font-size: 15px;
    line-height: 1.75;
}

.themesflat-accordions.style-2 .accordion-content > div > :last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   11. About image and counters
   -------------------------------------------------------------------------- */
.page--about-image {
    height: auto;
    margin-bottom: 48px;
    overflow: hidden;
    border-radius: var(--cr-radius-lg);
    background: var(--cr-paper-2);
    box-shadow: var(--cr-shadow);
}

.page--about-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;
    object-fit: cover;
}

.row-counter {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 70px !important;
    background-position: center !important;
    background-size: cover !important;
}

.row-counter .bg-parallax-overlay.overlay-black.style2 {
    background: linear-gradient(135deg, rgba(17, 25, 32, 0.93), rgba(27, 37, 46, 0.84));
}

.row-counter .themesflat-row.separator.light {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--cr-radius-lg);
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(7px);
}

.row-counter .themesflat-row.separator.light > [class*="col"] {
    padding-top: 23px;
    padding-bottom: 23px;
    border-color: rgba(255, 255, 255, 0.12);
}

.themesflat-counter.style-1 .number-wrap {
    color: #fff;
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    line-height: 1;
}

.themesflat-counter.style-1 .suffix {
    color: var(--cr-accent);
}

.themesflat-counter.style-1 .heading {
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   12. Forms and contact page
   -------------------------------------------------------------------------- */
.row-contact {
    padding-top: 4px;
}

.themesflat-contact-form {
    color: var(--cr-text);
}

.page-template-template-contact .themesflat-contact-form,
.detail-info .themesflat-contact-form {
    padding: 28px;
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius);
    background: var(--cr-surface);
    box-shadow: var(--cr-shadow-sm);
}

.themesflat-contact-form label {
    color: var(--cr-ink-2);
    font-size: 13px;
    font-weight: 700;
}

.themesflat-contact-form label:not(:last-child) {
    margin-bottom: 16px;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.themesflat-contact-form.style-2 input[type="text"],
.themesflat-contact-form.style-2 input[type="email"],
.themesflat-contact-form.style-2 textarea {
    min-height: 50px;
    margin: 0;
    padding: 12px 15px;
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius-sm);
    background: #fbfaf8;
    color: var(--cr-ink);
    font-size: 15px;
    line-height: 1.5;
    transition: border-color var(--cr-transition), box-shadow var(--cr-transition), background-color var(--cr-transition);
}

textarea,
.themesflat-contact-form.style-2 textarea {
    min-height: 150px;
    height: auto;
    resize: vertical;
}

select:focus,
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.themesflat-contact-form input[type="text"]:focus,
.themesflat-contact-form input[type="email"]:focus {
    border-color: var(--cr-accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(201, 111, 50, 0.12);
    outline: 0;
}

::placeholder {
    color: #979da2;
    opacity: 1;
}

.themesflat-contact-form.style-2 input[type="submit"] {
    margin-top: 18px;
    padding: 17px 28px;
}

.wpcf7 form .wpcf7-response-output {
    margin: 18px 0 0;
    padding: 12px 15px;
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius-sm);
    background: var(--cr-paper);
    color: var(--cr-ink);
    font-size: 14px;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: rgba(38, 115, 91, 0.35);
    background: rgba(38, 115, 91, 0.09);
    color: var(--cr-success);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: rgba(180, 61, 61, 0.3);
    background: rgba(180, 61, 61, 0.07);
    color: var(--cr-danger);
}

.wpcf7-not-valid-tip {
    margin-top: 5px;
    color: var(--cr-danger);
    font-size: 12px;
}

.themesflat-map.style-2,
.themesflat-map.style-2 iframe {
    width: 100%;
    height: 100%;
    min-height: 440px;
}

.themesflat-map.style-2 {
    overflow: hidden;
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius);
    background: var(--cr-paper-2);
    box-shadow: var(--cr-shadow-sm);
}

.themesflat-map.style-2 > :last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   13. Single project / service layout and galleries
   -------------------------------------------------------------------------- */
.row-project-detail .detail-inner-wrap {
    display: grid;
    grid-template-columns: minmax(290px, 350px) minmax(0, 1fr);
    gap: 44px;
    width: 100%;
}

.detail-inner-wrap .detail-info,
.detail-inner-wrap .detail-gallery {
    width: auto;
    margin: 0;
    float: none;
    overflow: visible;
}

.detail-info .content-info {
    padding: 27px;
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius);
    background: var(--cr-paper);
    box-shadow: var(--cr-shadow-sm);
}

.detail-info .content-info .themesflat-headings .heading {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.28 !important;
    letter-spacing: -0.015em;
}

.detail-info .content-info .themesflat-headings .heading::after {
    width: 42px;
    margin-top: 13px;
}

.detail-info .content-info .themesflat-contact-form {
    margin-top: 22px !important;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.detail-gallery > h1 {
    margin: 0;
    color: var(--cr-ink);
    font-family: var(--cr-font-heading);
    font-size: clamp(2rem, 3.2vw, 3.25rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.themesflat-gallery.style-2 {
    overflow: visible;
}

#projects--slider .gallery-item .inner,
#projects--slider .gallery-item .inner .thumb {
    overflow: hidden;
    border-radius: var(--cr-radius);
    background: var(--cr-paper-2);
}

#projects--slider .gallery-item .inner .thumb img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 430px;
    max-height: 620px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.has-thumb .owl-theme .owl-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 9px;
}

.has-thumb .owl-theme .owl-thumbs > a,
.has-thumb .owl-theme .owl-thumbs > button,
.has-thumb .owl-thumbs .owl-thumb-item {
    width: 100% !important;
    height: 82px;
    margin: 0 !important;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: var(--cr-radius-sm);
    background: var(--cr-paper-2);
    opacity: 0.72;
    transition: opacity var(--cr-transition), border-color var(--cr-transition), transform var(--cr-transition);
}

.has-thumb .owl-thumbs .owl-thumb-item:hover,
.has-thumb .owl-thumbs .owl-thumb-item.active {
    border-color: var(--cr-accent);
    opacity: 1;
    transform: translateY(-2px);
}

.has-thumb.w185 .owl-thumbs .owl-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.has-arrows .owl-theme .owl-nav [class*="owl-"] {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(23, 33, 43, 0.08);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--cr-ink);
    box-shadow: var(--cr-shadow-sm);
}

.has-arrows .owl-theme .owl-nav [class*="owl-"]:hover {
    border-color: var(--cr-accent);
    background: var(--cr-accent);
    color: #fff;
}

body.single-services .has-arrows.arrow-center .owl-theme .owl-nav [class*="owl-"],
body.single-projects .has-arrows.arrow-center .owl-theme .owl-nav [class*="owl-"] {
    top: 50%;
    margin-top: -21px;
}

body.single-services .has-arrows .owl-theme .owl-nav .owl-next,
body.single-projects .has-arrows .owl-theme .owl-nav .owl-next {
    right: 17px;
}

body.single-services .has-arrows .owl-theme .owl-nav .owl-prev,
body.single-projects .has-arrows .owl-theme .owl-nav .owl-prev {
    left: 17px;
}

.flat-content-wrap.style-3 {
    padding: 30px;
    border: 1px solid var(--cr-line);
    border-radius: var(--cr-radius);
    background: var(--cr-surface);
    box-shadow: var(--cr-shadow-sm);
}

.flat-content-wrap.style-3 .title {
    color: var(--cr-ink);
    font-family: var(--cr-font-heading);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.38;
    letter-spacing: -0.012em;
}

.flat-content-wrap.style-3 p,
.flat-content-wrap.style-3 li {
    color: var(--cr-text);
    font-size: 16px;
    line-height: 1.78;
}

.flat-content-wrap.style-3 p {
    margin-top: 0;
    margin-bottom: 1.2em;
}

.flat-content-wrap.style-3 > :last-child,
.flat-content-wrap.style-3 .fix--list > :last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
#footer {
    position: relative;
    overflow: hidden;
    padding: 68px 0 58px;
    background: var(--cr-dark-2) !important;
}

#footer::before {
    position: absolute;
    top: -180px;
    right: -140px;
    width: 420px;
    height: 420px;
    border: 90px solid rgba(255, 255, 255, 0.025);
    border-radius: 50%;
    content: "";
}

#footer-widgets > .themesflat-row.gutter-30 {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 70px;
}

#footer-widgets > .themesflat-row.gutter-30 > .col {
    width: auto;
    padding: 0;
    float: none;
}

#footer-widgets > .themesflat-row.gutter-30 > .col:nth-child(2),
#footer-widgets > .themesflat-row.gutter-30 > .col:nth-child(3) {
    display: none;
}

#footer-widgets .widget p {
    color: rgba(255, 255, 255, 0.68);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
}

#footer-widgets .widget.widget_text p:first-child img {
    width: auto;
    max-width: 185px;
    max-height: 52px;
    object-fit: contain;
}

#footer-widgets .widget.widget_text ul {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

#footer-widgets .widget.widget_text li,
#footer-widgets .widget.widget_text li:first-child {
    margin: 0;
}

#footer-widgets .widget.widget_text li .inner {
    display: flex;
    align-items: center;
    min-height: 34px;
}

#footer-widgets .widget.widget_text span.fa {
    display: grid;
    width: 34px;
    height: 34px;
    margin-right: 12px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: var(--cr-accent);
    font-size: 14px;
    line-height: 1;
}

#footer-widgets .widget.widget_text span.text {
    color: rgba(255, 255, 255, 0.76);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.45;
}

#footer-widgets .widget .widget-title {
    margin-bottom: 22px;
    color: #fff;
    font-family: var(--cr-font-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.025em;
}

#footer-widgets .widget .widget-title span {
    position: relative;
    display: inline-block;
    padding-bottom: 11px;
}

#footer-widgets .widget .widget-title span::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42px;
    height: 2px;
    content: "";
    background: var(--cr-accent);
}

.widget.widget_instagram .instagram-wrap.col3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.widget.widget_instagram .instagram-wrap.col3 > .instagram_badge_image,
.widget.widget_instagram .instagram-wrap.g10 .instagram_badge_image {
    width: auto;
    margin: 0;
    padding: 0;
    float: none;
}

.widget.widget_instagram .instagram_badge_image a {
    overflow: hidden;
    border-radius: 7px;
}

.instagram--footer-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 450ms ease;
}

.widget.widget_instagram .instagram_badge_image a:hover .instagram--footer-img {
    transform: scale(1.07);
}

#bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--cr-dark);
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

#bottom .bottom-bar-inner-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
}

#bottom .bottom-bar-content,
#bottom .bottom-bar-menu {
    display: block;
    width: auto;
}

#bottom ul.bottom-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

#bottom ul.bottom-nav > li {
    padding: 0;
}

#bottom ul.bottom-nav > li > a {
    color: rgba(255, 255, 255, 0.54);
    font-size: 12px;
    font-weight: 600;
}

#bottom ul.bottom-nav > li.current-menu-item > a,
#bottom ul.bottom-nav > li > a:hover {
    color: var(--cr-accent);
}

#scroll-top {
    z-index: 999;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: var(--cr-shadow-sm);
}

#scroll-top.show {
    right: 20px;
}

#scroll-top::before {
    border-radius: 50%;
    background: var(--cr-ink);
}

#scroll-top::after {
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    line-height: 44px;
}

#scroll-top:hover::before {
    background: var(--cr-accent);
}

/* --------------------------------------------------------------------------
   15. Optional JS enhancements
   -------------------------------------------------------------------------- */
.reskin-js .mobile-button {
    -webkit-tap-highlight-color: transparent;
}

.reskin-js #site-header.reskin-scrolled {
    box-shadow: 0 10px 35px rgba(23, 33, 43, 0.13);
}

/* --------------------------------------------------------------------------
   16. Responsive adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
    .container {
        width: min(100% - 36px, 970px);
    }

    #main-nav > ul > li > a,
    .header-style-3 #main-nav > ul > li > a,
    .header-style-3 #site-header #main-nav > ul > li > a {
        padding-right: 9px;
        padding-left: 9px;
        font-size: 12px;
    }

    #main-nav > ul > li > a::after {
        right: 9px;
        left: 9px;
    }

    .services--grid {
        gap: 24px;
    }

    .row-project-detail .detail-inner-wrap {
        grid-template-columns: minmax(270px, 320px) minmax(0, 1fr);
        gap: 30px;
    }

    #footer-widgets > .themesflat-row.gutter-30 {
        gap: 44px;
    }
}

@media (max-width: 991px) {
    .container {
        width: min(100% - 32px, 750px);
    }

    .site-header-absolute #site-header-wrap {
        position: relative;
    }

    body:not(.home) .page-content,
    body.home .page-content {
        padding-top: 0;
    }

    #main-content {
        padding: 0;
    }

    #site-header .wrap-inner,
    .header-style-3 #site-header .wrap-inner,
    #site-header.is-fixed.is-small .wrap-inner {
        min-height: 72px;
        padding: 14px 0;
    }

    #site-logo img {
        max-height: 42px;
    }

    .services--grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .themesflat-project.has-margin.mg15 .project-item {
        width: 50%;
    }

    .themesflat-filter.filter-absolute {
        position: static;
        margin-top: 24px;
        transform: none;
    }

    .row-project-detail .detail-inner-wrap,
    div#projects--slider {
        display: flex;
        flex-direction: column-reverse;
        gap: 35px;
    }

    .detail-info .content-info {
        padding: 25px;
    }

    #projects--slider .gallery-item .inner .thumb img {
        min-height: 0;
        max-height: none;
        aspect-ratio: 16 / 10;
    }

    .has-thumb .owl-theme .owl-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    #footer {
        padding: 56px 0 48px;
    }

    #footer-widgets > .themesflat-row.gutter-30 {
        grid-template-columns: 1fr 320px;
        gap: 35px;
    }

    .page--about-image img {
        aspect-ratio: 16 / 8;
    }
}

@media (max-width: 767px) {
    body,
    button,
    input,
    select,
    textarea {
        font-size: 15px;
    }

    .container {
        width: min(100% - 28px, 560px);
    }

    #top-bar {
        display: none;
    }

    #site-header,
    .header-style-3 #site-header {
        border-bottom-color: var(--cr-line);
    }

    #site-header .wrap-inner,
    .header-style-3 #site-header .wrap-inner,
    #site-header.is-fixed.is-small .wrap-inner {
        min-height: 68px;
        padding: 12px 0;
    }

    #site-logo img {
        max-width: 180px;
        max-height: 40px;
    }

    #main-nav-mobi {
        max-height: calc(100vh - 68px);
    }

    .rev_slider > ul > li::after,
    .rev_slider .slotholder::after {
        background: rgba(9, 15, 20, 0.63);
    }

    #rev-slider2 .tp-caption {
        width: calc(100vw - 44px) !important;
        text-align: center !important;
    }

    #rev-slider2 .themesflat-button.big {
        padding: 13px 22px;
        font-size: 11px;
    }

    .themesflat-headings .heading,
    .themesflat-headings.style-1 .heading,
    .themesflat-headings.style-2 .heading {
        font-size: clamp(1.8rem, 7vw, 2.45rem);
        line-height: 1.22 !important;
    }

    .themesflat-headings .sub-heading,
    .themesflat-headings.style-1 .sub-heading,
    .themesflat-headings.style-2 .sub-heading,
    .themesflat-headings.font-hind .sub-heading {
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.75;
    }

    .services--grid {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-bottom: 45px;
    }

    .themesflat-image-box.style-2 .text-wrap {
        padding: 22px;
    }

    .themesflat-project.has-margin.mg15 {
        margin-right: 0;
        margin-left: 0;
    }

    .themesflat-project.has-margin.mg15 .project-item {
        width: 100%;
        margin-bottom: 20px;
        padding: 0;
    }

    .data-effect-item .overlay-effect {
        opacity: 0;
        visibility: visible;
        transform: none;
    }

    .data-effect-item:hover .overlay-effect,
    .themesflat-project .inner:hover .overlay-effect {
        opacity: 1;
    }

    .has-effect-icon .elm-link {
        opacity: 0;
        visibility: hidden;
        transform: scale(0.9);
    }

    .has-effect-icon:hover .elm-link,
    .themesflat-project .inner:hover .elm-link {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .page-template-template-about .row-iconbox .container > .row:last-child {
        display: block;
    }

    .page-template-template-about .row-iconbox .container > .row:last-child > [class*="col-"] {
        display: block;
        margin-bottom: 18px;
    }

    .page-template-template-about .row-iconbox .container > .row:last-child > .col-md-4:not(:last-child) .themesflat-content-box.clearfix,
    body.home .row-iconbox.bg-row-2 .container > .row:last-child .themesflat-spacer.clearfix,
    body.home .row-iconbox.bg-row-2 .col.span_1_of_3:not(:first-child) .themesflat-spacer.clearfix:first-child,
    div#homepage---about .col-md-12 .themesflat-spacer.clearfix:last-child {
        border-bottom: 0;
    }

    .page-template-template-contact .row.gutter-16 > [class*="col-"] {
        margin-bottom: 18px;
    }

    .page-template-template-contact .themesflat-icon-box.style-3 {
        min-height: 0;
    }

    .themesflat-filter,
    .themesflat-filter.filter-absolute {
        justify-content: center;
    }

    .themesflat-testimonials.style-2 .text {
        padding: 34px 24px 26px;
    }

    .themesflat-accordions.style-2.has-icon.icon-left.iconstyle-2 .accordion-item .accordion-heading > .inner {
        padding-right: 16px;
        padding-left: 59px;
    }

    .themesflat-accordions.style-2 .accordion-content {
        padding-right: 18px;
        padding-left: 59px;
    }

    .row-counter .themesflat-row.separator.light {
        border: 0;
        background: transparent;
    }

    .row-counter .themesflat-row.separator.light > [class*="col"] {
        padding: 24px 12px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--cr-radius);
        background: rgba(255, 255, 255, 0.05);
    }

    .row-counter .themesflat-row.separator.light > [class*="col"] + [class*="col"] {
        margin-top: 14px;
    }

    .page--about-image {
        margin: 0 0 32px;
        border-radius: var(--cr-radius);
    }

    .page--about-image img {
        aspect-ratio: 4 / 3;
    }

    .page-template-template-contact .themesflat-contact-form,
    .detail-info .content-info,
    .flat-content-wrap.style-3 {
        padding: 22px;
    }

    .themesflat-contact-form.style-2 .wpcf7-form-control-wrap.your-name,
    .themesflat-contact-form.style-2 .wpcf7-form-control-wrap.your-email,
    .themesflat-contact-form.style-2 .wpcf7-form-control-wrap.your-phone,
    .themesflat-contact-form.style-2 .wpcf7-form-control-wrap.your-subject {
        width: 100%;
        margin-right: 0;
        float: none;
    }

    .themesflat-map.style-2,
    .themesflat-map.style-2 iframe {
        min-height: 360px;
    }

    .detail-gallery > h1,
    div#projects--slider h1 {
        margin-top: 0;
        font-size: clamp(2rem, 8vw, 2.8rem);
        line-height: 1.2;
    }

    .has-thumb .owl-theme .owl-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
        margin-top: 5px;
    }

    .has-thumb .owl-theme .owl-thumbs > a,
    .has-thumb .owl-theme .owl-thumbs > button,
    .has-thumb .owl-thumbs .owl-thumb-item,
    .has-thumb.w185 .owl-thumbs .owl-thumb-item {
        height: 72px;
    }

    #footer-widgets > .themesflat-row.gutter-30 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #bottom .bottom-bar-inner-wrap {
        flex-direction: column;
        text-align: center;
    }

    #bottom .bottom-bar-content,
    #bottom .bottom-bar-menu {
        width: 100%;
        text-align: center;
    }

    #bottom .bottom-bar-menu {
        margin-top: 0;
    }

    #bottom ul.bottom-nav {
        justify-content: center;
    }
}

@media (max-width: 479px) {
    .container {
        width: calc(100% - 24px);
    }

    #site-logo img {
        max-width: 155px;
    }

    .themesflat-filter.style-1 li a,
    .themesflat-filter.filter-absolute.style-1 li a {
        padding: 7px 11px;
        font-size: 11px;
    }

    .has-thumb .owl-theme .owl-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .widget.widget_instagram .instagram-wrap.col3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    button,
    input[type="button"],
    input[type="reset"],
    input[type="submit"] {
        width: 100%;
    }

    #scroll-top,
    #scroll-top.show {
        right: 14px;
        bottom: 14px;
    }
}


.rev_slider > ul > li::after, .rev_slider .slotholder::after {
    opacity:.25;
}

/* --------------------------------------------------------------------------
   19. Bilingual title typography
   Roboto Slab provides a restrained architectural character while preserving
   full Greek/Greek Extended and Latin coverage. Body copy, menus and controls
   intentionally remain sans-serif for clarity.
   -------------------------------------------------------------------------- */
.font-heading,
.themesflat-headings .heading,
.themesflat-image-box .heading,
.themesflat-icon-box .heading,
.themesflat-project .heading,
.flat-content-wrap .title,
.detail-gallery > h1,
.widget-title {
    font-family: var(--cr-font-heading);
}

.themesflat-headings .heading,
.detail-gallery > h1 {
    text-wrap: balance;
}

/* Labels and utility headings should stay crisp rather than decorative. */
.themesflat-counter .heading,
.themesflat-progress .title,
#main-nav,
#main-nav-mobi,
.themesflat-button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    font-family: "Montserrat", Arial, sans-serif;
}
