/* Theme14 shared migrated styles */
.t14-header, .t14-site-footer, .theme14-home, .t14-inner-page { font-family: "Jost", sans-serif; }
.t14-header h1, .t14-header h2, .t14-header h3, .t14-header h4, .t14-header h5, .t14-header h6,
.t14-site-footer h1, .t14-site-footer h2, .t14-site-footer h3, .t14-site-footer h4, .t14-site-footer h5, .t14-site-footer h6,
.theme14-home h1, .theme14-home h2, .theme14-home h3, .theme14-home h4, .theme14-home h5, .theme14-home h6,
.t14-inner-page h1, .t14-inner-page h2, .t14-inner-page h3, .t14-inner-page h4, .t14-inner-page h5, .t14-inner-page h6 { font-family: "Jost", sans-serif !important; }

/* header.php */
        .t14-header {
            position: sticky;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1002;
            color: #1e2128;
        }

        .t14-topline {
            background: rgba(12, 14, 19, 0.88);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            font-size: 10px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .t14-topline .inner,
        .t14-navbar .inner {
            width: min(1220px, 94%);
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .t14-topline .inner {
            min-height: 34px;
            gap: 12px;
            color: #dbd1bf;
        }

        .t14-topline a {
            color: #dbd1bf;
        }

        .t14-meta,
        .t14-lang {
            display: flex;
            align-items: center;
            gap: 14px;
            flex-wrap: wrap;
        }

        .t14-lang a {
            border: 1px solid rgba(255, 255, 255, 0.22);
            padding: 2px 8px;
            font-size: 10px;
        }

        .t14-navbar {
            background: #f7f4ee;
            backdrop-filter: none;
            border-bottom: 1px solid rgba(18, 20, 26, 0.12);
            transition: background 0.25s ease, border-color 0.25s ease;
        }

        .t14-header.t14-scrolled .t14-navbar {
            background: #f3efe7;
            border-bottom-color: rgba(181, 154, 107, 0.45);
        }

        .t14-navbar .inner {
            min-height: 84px;
            gap: 20px;
        }

        .t14-logo img {
            max-height: 64px;
            width: auto;
            display: block;
        }

        .t14-mainmenu ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            align-items: center;
            gap: 26px;
        }

        .t14-mainmenu li {
            position: relative;
        }

        .t14-mainmenu li,
        .t14-mainmenu a {
            color: #1f232c;
            font-size: 11px;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            font-weight: 600;
        }

        .t14-mainmenu>ul>li>a {
            position: relative;
            padding: 6px 0;
        }

        .t14-mainmenu>ul>li>a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 0;
            height: 1px;
            background: #b59a6b;
            transition: width 0.25s ease;
        }

        .t14-mainmenu>ul>li:hover>a::after {
            width: 100%;
        }

        .t14-mainmenu li ul {
            position: absolute;
            top: calc(100% + 12px);
            left: 0;
            min-width: 220px;
            display: block;
            padding: 10px 0;
            background: #131720;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 16px 35px rgba(0, 0, 0, 0.28);
            opacity: 0;
            visibility: hidden;
            transform: translateY(8px);
            transition: all 0.22s ease;
            pointer-events: none;
            z-index: 8;
        }

        .t14-mainmenu li:hover>ul {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            pointer-events: auto;
        }

        .t14-mainmenu li ul li,
        .t14-mainmenu li ul a {
            display: block;
            padding: 0;
            margin: 0;
            white-space: normal;
        }

        .t14-mainmenu li ul a {
            padding: 10px 14px;
            font-size: 11px;
            letter-spacing: 0.08em;
            color: #e7dfd0;
            text-transform: uppercase;
        }

        .t14-mainmenu li ul a:hover {
            background: rgba(181, 154, 107, 0.18);
            color: #fff;
        }

        .t14-mainmenu li ul ul {
            top: -1px;
            left: calc(100% + 6px);
        }

        .t14-right {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-left: auto;
            padding-left: 18px;
            border-left: 1px solid rgba(18, 21, 28, 0.2);
        }

        .t14-rez {
            height: 38px;
            padding: 0 18px;
            display: inline-flex;
            align-items: center;
            border: 1px solid #b59a6b;
            background: #b59a6b;
            color: #fff;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            transition: background 0.2s ease, color 0.2s ease;
        }

        .t14-rez:hover {
            background: #f2ece0;
            color: #222;
        }

        .t14-burger {
            display: none;
            width: 40px;
            height: 40px;
            border: 1px solid rgba(25, 27, 34, 0.34);
            background: transparent;
            color: #1f232c;
            font-size: 19px;
        }

        .t14-mobilemenu {
            position: fixed;
            inset: 0 0 0 auto;
            width: min(360px, 86vw);
            background: #12141a;
            transform: translateX(100%);
            transition: transform 0.35s ease;
            z-index: 1100;
            padding: 22px;
            overflow-y: auto;
        }

        .t14-mobilemenu.open {
            transform: translateX(0);
        }

        .t14-mobilemenu ul {
            list-style: none;
            padding: 0;
            margin: 16px 0 0;
        }

        .t14-mobilemenu ul ul {
            margin: 8px 0 12px 14px;
            border-left: 1px solid rgba(255, 255, 255, 0.15);
            padding-left: 10px;
        }

        .t14-mobilemenu a,
        .t14-mobilemenu li {
            color: #efe8db;
            font-size: 14px;
            margin-bottom: 8px;
        }

        .t14-mobilemenu ul ul a {
            font-size: 12px;
            color: #d4c7af;
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }

        .t14-mobilemenu .close {
            width: 38px;
            height: 38px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            background: transparent;
            color: #fff;
            margin-left: auto;
            display: block;
        }

        .t14-mobile-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.42);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.25s ease;
            z-index: 1090;
        }

        .t14-mobile-overlay.open {
            opacity: 1;
            visibility: visible;
        }

        @media (max-width: 1100px) {
            .t14-mainmenu {
                display: none;
            }

            .t14-burger {
                display: inline-flex;
                align-items: center;
                justify-content: center;
            }
        }

        @media (max-width: 760px) {
            .t14-topline {
                display: none;
            }

            .t14-navbar .inner {
                min-height: 68px;
            }

            .t14-logo img {
                max-height: 46px;
            }

            .t14-rez {
                display: none;
            }
        }
    

/* footer.php */
    .t14-site-footer {
        background: linear-gradient(180deg, #181a20 0%, #111318 100%);
        color: #e4dac9;
        padding: 68px 0 22px;
        margin-top: 0;
    }

    .t14-site-footer .container {
        width: min(1180px, 92%);
        margin: 0 auto;
    }

    .t14-footer-grid {
        display: grid;
        grid-template-columns: 1.1fr 1fr 1.2fr;
        gap: 30px;
        align-items: start;
    }

    .t14-footer-logo {
        max-width: 180px;
        margin-bottom: 16px;
    }

    .t14-footer-title {
        font-family: "Playfair Display", serif;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #f5efe2;
        margin: 0 0 14px;
        font-size: 1.05rem;
    }

    .t14-footer-social {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 0;
        list-style: none;
    }

    .t14-footer-social li,
    .t14-footer-social a,
    .t14-footer-links a,
    .t14-footer-contact a {
        color: #d8ccb8;
    }

    .t14-footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        gap: 8px;
    }

    .t14-footer-contact {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        gap: 10px;
        color: #d8ccb8;
    }

    .t14-newsletter {
        margin-top: 16px;
        display: grid;
        gap: 9px;
    }

    .t14-newsletter .row {
        display: grid;
        grid-template-columns: 1fr 88px;
        gap: 10px;
    }

    .t14-newsletter input,
    .t14-newsletter button {
        height: 38px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        background: rgba(255, 255, 255, 0.03);
        color: #f7f3ec;
        font-size: 12px;
        padding: 0 11px;
    }

    .t14-newsletter button {
        background: #b59a6b;
        border-color: #b59a6b;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-size: 11px;
    }

    .t14-footer-bottom {
        margin-top: 34px;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        font-size: 11px;
        color: #a99d8a;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
    }

    .t14-rez,
    .t14-btn,
    .mobile-cta-btn {
        touch-action: manipulation;
    }

    @media (max-width: 980px) {
        .t14-footer-grid {
            grid-template-columns: 1fr 1fr;
        }
    }

    @media (max-width: 700px) {
        .t14-site-footer {
            padding-top: 44px;
        }

        .t14-footer-grid {
            grid-template-columns: 1fr;
        }

        .t14-newsletter .row {
            grid-template-columns: 1fr;
        }

        .t14-footer-bottom {
            flex-direction: column;
            align-items: flex-start;
        }
    }

/* category.php */
    .offersWrap {
        padding: 50px 0;
    }

    .offerCard {
        display: flex;
        background: #fff;
        border-radius: 18px;
        overflow: hidden;
        border: 1px solid rgba(0, 0, 0, .06);
        box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
        transition: transform .18s ease, box-shadow .18s ease;
        min-height: 200px;
        margin-bottom: 15px;
    }

    .offerCard:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 36px rgba(0, 0, 0, .10);
    }

    .offerImg {
        flex: 0 0 360px;
        max-width: 360px;
        position: relative;
        background: #f6f6f6;
    }

    .offerImg a {
        display: block;
        height: 100%;
    }

    .offerImg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 4/3;
        display: block;
    }

    .offerDetail {
        flex: 1 1 auto;
        padding: 18px 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        min-width: 0;
        /* important for clamp */
    }

    .offerTitle a {
        color: #111;
        text-decoration: none;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.2;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .offerTitle a:hover {
        text-decoration: underline;
    }

    .offerText {
        color: #444;
        line-height: 1.55;
        font-size: 15px;

        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .offerActions {
        margin-top: auto;
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .offerBtn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 14px;
        border-radius: 12px;
        text-decoration: none;
        font-weight: 600;
        border: 1px solid rgba(0, 0, 0, .10);
        background: #fff;
        color: #111;
        transition: background .15s ease, transform .15s ease;
        width: fit-content;
    }

    .offerBtn:hover {
        background: #f7f7f7;
        transform: translateY(-1px);
    }

    @media (max-width: 991.98px) {
        .offerCard {
            flex-direction: column;
        }

        .offerImg {
            flex: 0 0 auto;
            max-width: 100%;
        }

        .offerImg img {
            aspect-ratio: 16/9;
        }

        .offerDetail {
            padding: 16px;
        }
    }

/* contact.php */
    .contact-layout {
        align-items: stretch;
        row-gap: 28px;
    }

    .contact-panel {
        padding: 34px 28px;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 18px 40px rgba(18, 18, 18, 0.08);
    }

    .contact-hero-icon {
        max-width: 88px;
        width: 100%;
        margin-bottom: 14px;
    }

    .contact-middle {
        margin: 30px auto 0;
        width: 100%;
    }

    .contact-info-grid {
        text-align: left;
        row-gap: 18px;
    }

    .contact-info-box {
        padding-right: 14px;
    }

    .contact-info-box h1 {
        margin-bottom: 10px;
        color: var(--brand--b);
    }

    .contact-info-link {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .contact-info-link i {
        width: 20px;
        text-align: center;
        color: var(--colorone);
        flex-shrink: 0;
    }

    .contact-info-link a {
        color: #121212;
        word-break: break-word;
    }

    .contact-info-whatsapp {
        flex-wrap: nowrap;
    }

    .contact-info-whatsapp a {
        white-space: nowrap;
    }

    .book-appointment {
        height: 100%;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .formCon label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 6px;
        color: #121212;
    }

    .formCon input,
    .formCon textarea {
        width: 100%;
        padding: 12px 14px;
        border-radius: 10px;
        border: 1px solid #ece6e2;
        font-size: 14px;
        transition: all 0.2s ease;
        background: #f8f5f3;
    }

    .formCon textarea {
        min-height: 120px;
        resize: vertical;
    }

    .formCon input:focus,
    .formCon textarea:focus {
        outline: none;
        border-color: var(--colorone, #be8f68);
        box-shadow: 0 0 0 3px rgba(190, 143, 104, 0.2);
        background: #fff;
    }

    .formCon .form-group {
        margin-bottom: 18px;
    }

    .submitForm {
        width: 100%;
        padding: 14px;
        border-radius: 12px;
        border: 2px solid var(--colorone, #be8f68);
        background: var(--colorone, #be8f68);
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0.02em;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .submitForm:hover {
        background: var(--brand--b, #121212);
        border-color: var(--brand--b, #121212);
        transform: translateY(-2px);
    }

    .customMessage {
        padding: 12px;
        margin-bottom: 20px;
        border-radius: 10px;
        font-size: 14px;
    }

    .customMessage.success {
        display: block;
        background: #e9f7ef;
        color: #1e7e34;
    }

    .customMessage.error {
        display: block;
        background: #fdecea;
        color: #842029;
    }

    @media (max-width: 767px) {
        .contact-panel {
            padding: 26px 18px;
        }

        .contact-info-box {
            padding-right: 0;
        }

        .contact-info-whatsapp {
            flex-wrap: wrap;
        }

        .contact-info-whatsapp a {
            white-space: normal;
        }
    }

/* cv.php */
    .date-picker-wrapper {
        position: relative;
        display: inline-block;
        width: 100%;
    }

    .nationality-list {
        overflow-y: scroll;
        height: 400px;
    }

    .resume-form .nice-select {
        float: none;
        height: 42px;
        width: 100%;
    }

    .resume-form textarea {
        width: 100%;
    }

    .resume-form #military {
        width: 13px;
        margin-left: 10px;
    }

    .resume-form div {
        margin-bottom: 20px;
    }

    .resume-form #addExperience,
    #addLanguage {
        width: 10%;
        background: #785757;
        color: white;
        border: 1px solid #00000036;
        border-radius: 8px;
        padding: 4px;
        font-size: 18px;
    }

    .resume-form .removeExperience,
    .removeLanguage {
        width: 10%;
        background: #785757;
        color: white;
        border: 1px solid #00000036;
        border-radius: 8px;
        padding: 4px;
        font-size: 18px;
    }

/* widget.php */
        .rez {
            font-size: 16px;
            font-weight: 700;
            font-style: normal;
            font-stretch: normal;
            line-height: 1.5;
            letter-spacing: 1px;
            color: #fff;
            background-color: var(--primary);
            border: none;
            padding: 10px 20px;
            border-radius: 25px;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }

        .rez:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }

        .rez a {
            color: #fff;
            text-decoration: none;
        }
    