body {
    background: #E1E1E1;
}

@font-face {
    font-family: "RF Dewi";
    src:
            url("/wp-content/themes/metabud/fonts/RFDewi-Semibold.woff2") format("woff2"),
            url("/wp-content/themes/metabud/fonts/RFDewi-Semibold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "RF Dewi";
    src:
            url("/wp-content/themes/metabud/fonts/RFDewi-Black.woff2") format("woff2"),
            url("/wp-content/themes/metabud/fonts/RFDewi-Black.woff") format("woff");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "RF Dewi Expanded";
    src:
            url("/wp-content/themes/metabud/fonts/RFDewiExtended-Black.woff2") format("woff2"),
            url("/wp-content/themes/metabud/fonts/RFDewiExtended-Black.woff") format("woff");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-dark: #2e2e2e;
    --color-bg: #e1e1e1;
    --color-white: #ffffff;
    --color-yellow: #fec341;
    --container: 1340px;
    --section-space: 60px;
    --font-main: "RF Dewi", Arial, Helvetica, sans-serif;
    --font-expanded: "RF Dewi Expanded", Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-dark);
    font-family: var(--font-main);
}

a {
    color: inherit;
    text-decoration: none;
}

.section {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
}

.container {
    width: min(100% - 100px, var(--container));
    margin: 0 auto;
}

.section-title {
    margin: 0;
    color: var(--color-dark);
    font-family: var(--font-expanded);
    font-size: 58px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-title span{
    color: #FEC341;
}

.dss-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 59px;
    padding: 18px 30px;
    border: 1px solid var(--color-dark);
    background: transparent;
    color: var(--color-dark);
    font-family: "RF Dewi";
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button.is-active {
    border-color: var(--color-dark);
    background: var(--color-dark);
    color: var(--color-yellow);
}

/* Breadcrumbs (global) */
.breadcrumbs {
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-dark);
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--color-yellow);
}

.breadcrumbs__sep {
    opacity: 0.6;
    flex-shrink: 0;
}

.breadcrumbs__link {
    min-width: 0;
    overflow-wrap: break-word;
}

.breadcrumbs__current {
    opacity: 0.8;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
/* Slider arrows (shared across all sliders) */
.dss-slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.dss-slider-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border: none;
    cursor: pointer;
    background: var(--color-white);
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dss-slider-arrow:hover  {
    background: var(--color-dark);
    color: var(--color-yellow);
}
.dss-slider-arrow:hover svg path{
    fill: #FEC341;
}

.dss-slider-arrow svg {
    display: block;
    width: 30px;
    height: 30px;
}

.dss-slider-arrow.swiper-button-disabled {
    opacity: 0.45;
    cursor: default;
}


main > :last-child:not(.order-form) {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
main > :last-child {
    margin-bottom: 0 !important;
}

main > :last-child:not(.order-form) {
    padding-bottom: 0 !important;
}

.fancybox__content>.f-button.is-close-btn{
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2E2E2E;
    opacity: 1 !important;
    top: 10px !important;
    right: 10px !important;
    border-radius: 0;
}
.fancybox__content{
    max-width: 650px !important;
    width: 100% !important;
    padding: 55px 25px 25px 25px !important;
}
    .field-wrap input[type=submit]{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 59px;
    padding: 18px 30px;
    width: 100%;
    border: none;
    background: transparent;
    color: var(--color-dark);
    font-family: var(--font-expanded);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
    background-color: #FEC341;
    }
    
    .field-wrap>div input,
    .nf-field-element textarea{
        height: 59px;
        background-color: #F2F2F2;
        border: none;
        padding: 20px;
        color: #2E2E2E;
    }
    .nf-field-element textarea{
        resize: none;
        height: 135px;
    }
    .field-wrap>div input:placeholder{
        color: #7C7C7C;
    }

.nf-form-title,
.nf-form-fields-required{
    display: none;
}





@media (max-width: 767px) {
    .dss-slider-nav {
        gap: 15px;
        margin-top: 24px;
    }
}

.services-block__title {
    margin-bottom: 40px;
}

.services-block__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 5px;
    background: var(--color-white);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.media {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #d1d1d1;
}

.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 20px;
    min-height: 268px;
    padding: 25px;
    background: var(--color-bg);
}

.service-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.service-card__price {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    padding: 8px 20px;
    background: var(--color-dark);
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.service-card__price sup {
    position: relative;
    top: -0.15em;
    font-size: 0.65em;
    line-height: 0;
}

.service-card__text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.service-card__title {
    max-width: 304px;
    margin: 0;
    color: var(--color-dark);
    font-family: var(--font-expanded);
    font-size: 24px;
    font-weight: 900;
    line-height: 28px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.service-card__description {
    margin: 0;
    color: var(--color-dark);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: 0;
}

.service-card__button {
    width: 100%;
    margin-top: auto;
}

.field-wrap input[type=submit]{
    cursor: pointer;
}

.js-portfolio-prev svg{
    transform: rotate(180deg);
}


.dss-contacts .field-wrap input[type=submit]{
    width: 100%;   
}

.process .dss-slider-nav,
.steps .dss-slider-nav{
    display: none;
}


  .dss-thanks{
        text-align: center;
    }
    
    .dss-thanks__inner{
        padding: 175px 0 120px;
    }
    .dss-thanks__title{
        color: var(--color-dark);
        font-family: var(--font-expanded);
        font-size: 58px;
        font-weight: 900;
        line-height: 1;
        letter-spacing: 0;
        text-transform: uppercase;
        margin: 0 0 30px 0;
    }
    .dss-thanks__subtitle{
        max-width: 560px;
        width: 100%;
        margin: 0 auto 30px;
        font-family: var(--font-expanded);
        font-size: 24px;
        font-weight: 900;
    }
    .dss-thanks .dss-button{
        margin: 0 auto;
        background: var(--color-yellow);
        border-color: transparent;
    }


@media (min-width: 1025px) and (max-width: 1320px) {
    .section-title {
        font-size: 48px;
    }
    .header__logo{
        max-width: 110px !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
      .header__logo{
        max-width: 90px !important;
    }
    .container {
        width: min(100% - 40px, var(--container));
    }

    .section-title {
        font-size: 42px;
    }

    .services-block__title {
        margin-bottom: 26px;
    }

    .services-block__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .service-card {
        padding: 3px;
    }

    .media {
        height: 170px;
    }

    .service-card__body {
        gap: 14px;
        min-height: 220px;
        padding: 14px;
    }

    .service-card__price {
        padding: 6px 14px;
        font-size: 10px;
    }

    .service-card__title {
        max-width: none;
        font-size: 21px;
        line-height: 25px;
    }

    .service-card__description {
        font-size: 15px;
        line-height: 1.18;
    }

    .button {
        min-height: 46px;
        padding: 12px 14px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .header__panel-socials{
        justify-content: center;
    }
    :root {
        --section-space: 35px;
    }

    .container {
        width: min(100% - 30px, var(--container));
    }

    .section-title {
        font-size: 30px;
        line-height: 36px;
    }

    .services-block__title {
        margin-bottom: 20px;
    }

    .services-block__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-card {
        padding: 3px;
    }

    .media {
        height: 170px;
    }

    .service-card__body {
        gap: 15px;
        min-height: 0;
        padding: 15px;
    }

    .service-card__content {
        gap: 10px;
    }

    .service-card__price {
        min-height: 25px;
        padding: 5px 20px;
    }

    .service-card__text {
        gap: 5px;
    }

    .service-card__title {
        max-width: none;
        font-size: 20px;
        line-height: 24px;
    }

    .service-card__description {
        font-size: 16px;
        line-height: 1.18;
    }

    .button {
        min-height: 50px;
        padding: 15px 24px;
    }
}

/* ============ Header (global) ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 999;
}

.header__inner {
    display: flex;
    align-items: center;
    min-height: 65px;
    padding: 3px;
    background: var(--color-dark);
}

.header__logo {
    display: inline-flex;
    align-items: center;
    align-self: stretch;
    padding: 0 23px;
    color: var(--color-yellow);
    font-family: var(--font-expanded);
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    max-width: 190px;
    width: 100%;
}

.header__logo img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.header__nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header__nav li {
    margin: 0;
}

.header__nav a {
    display: flex;
    align-items: center;
    padding: 0 20px;
    min-height: 59px;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    transition: color 0.2s ease;
}

.header__nav a:hover,
.header__nav .current-menu-item > a {
    color: var(--color-yellow);
}

.header__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 0 25px;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.header__phone-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.header__phone-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.header__cta {
    background: var(--color-yellow);
    border-color: transparent;
}

.header__burger {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin-left: 8px;
    border: none;
    cursor: pointer;
    background: var(--color-yellow);
}

.header__burger-icon,
.header__burger-icon::before,
.header__burger-icon::after {
    display: block;
    width: 19px;
    height: 2px;
    background: var(--color-dark);
    transition: transform 0.25s ease, background-color 0.25s ease, top 0.25s ease;
}

.header__burger-icon {
    position: relative;
}

.header__burger-icon::before,
.header__burger-icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.header__burger-icon::before {
    top: -6px;
}

.header__burger-icon::after {
    top: 6px;
}

.header.is-open .header__burger-icon {
    background: transparent;
}

.header.is-open .header__burger-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.header.is-open .header__burger-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile dropdown panel */
.header__panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 15px;
    right: 15px;
    width: calc(100% - 30px);
    z-index: 50;
    background: var(--color-dark);
}

.header__panel .container {
    padding-top: 20px;
    padding-bottom: 20px;
}

.header__panel-nav {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header__panel-nav li {
    margin: 0;
}

.header__panel-nav a {
    display: block;
    padding: 15px 0;
    color: var(--color-white);
    font-family: var(--font-expanded);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.header__panel-nav a:hover,
.header__panel-nav .current-menu-item > a {
    color: var(--color-yellow);
}

.header__panel-cta {
    display: flex;
    width: 100%;
    margin-top: 10px;
    background: var(--color-yellow);
    border-color: transparent;
}

.header__panel-socials {
    display: flex;
    gap: 14px;
    margin-top: 20px;
}

.header__panel-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    overflow: hidden;
}

.header__panel-social img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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


h2 span{
    color: #FEC341 !importanti;
}

/* Header — compress between 768px and 1200px */
@media (min-width: 1025px) and (max-width: 1200px) {
    .header__logo {
        padding: 0 16px;
    }

    .header__nav a {
        padding: 0 12px;
        font-size: 14px;
    }

    .header__phone {
        padding: 0 14px;
        font-size: 14px;
    }

    .header__cta {
        padding: 0 18px;
        font-size: 14px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .header__logo {
        padding: 0 14px;
        font-size: 14px;
    }

    .header__nav a {
        padding: 0 10px;
        font-size: 14px;
        min-height: 50px;
    }

    /* phone hidden on tablet — CTA stays as primary contact */
    .header__phone {
        display: none;
    }

    .header__cta {
        margin-left: auto;
        padding: 0 18px;
        font-size: 14px;
        min-height: 50px;
    }
}

@media (max-width: 767px) {
    .header{
        padding: 10px 0 0 0;
    }
    .header__inner {
        min-height: 50px;
    }

    .header__logo {
        padding: 0 10px;
        font-size: 12px;
    }

    .header__nav,
    .header__cta {
        display: none;
    }

    .header__phone {
        margin-left: auto;
        padding: 0 10px;
        gap: 6px;
    }

    .header__burger {
        display: flex;
    }

    .header.is-open .header__panel {
        display: block;
    }
    .header__logo{
        max-width: 120px;
        width: 100%;
        height: 45px;
    }
}

/* ============ Footer (global) ============ */
.footer {
    padding: 50px 0;
    background: var(--color-dark);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer__col--about {
    max-width: 290px;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 24px;
}

.footer__logo img {
    width: auto;
    height: 24px;
}

.footer__desc {
    margin: 0;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.footer__copy {
    margin: 27px 0 0;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.footer__title {
    margin: 0 0 30px;
    color: var(--color-yellow);
    font-family: var(--font-expanded);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__nav li {
    margin: 0;
}

.footer__nav a {
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    transition: color 0.2s ease;
}

.footer__nav a:hover {
    color: var(--color-yellow);
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.footer__contact-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.footer__contact-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 145px;
}

.footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    overflow: hidden;
    transition: opacity 0.2s ease;
}

.footer__social:hover {
    opacity: 0.85;
}

.footer__social img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer__contact {
    transition: linear .2s;
}

a.footer__contact:hover{
    color: #FEC341;
}

@media (max-width: 767px) {
    .footer {
        padding: 40px 0;
    }

    .footer__inner {
        flex-direction: column;
        gap: 30px;
    }

    .footer__col--about {
        max-width: 100%;
    }

    .footer__title {
        margin-bottom: 20px;
        font-size: 18px;
    }

    .footer__social {
        width: 48px;
        height: 48px;
    }
    
    .footer__socials {
        max-width: 100%;
    }
    .header__logo{
        background-color: #434343;
    }
    .nf-field-element textarea{
        height: 100px !important;
    }
    .process .dss-slider-nav,
    .steps .dss-slider-nav{
        display: flex;
    }
    
    .js-process-prev{
        transform: rotate(180deg);
    }
    .dss-thanks__title {
        font-size: 42px;
    }
    .dss-thanks__subtitle {
        font-size: 22px;
    }
    .dss-thanks__inner {
        padding: 105px 0 120px;
    }

}


/* Sticky footer */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.footer {
    margin-top: auto;
}
