/* Polish copy uses sentence case: neutralise every text-transform: capitalize rule from the template (generated list). */
.xs-sidebar-group .content-inner h4,
.search-popup .form-group input[type="text"],
.search-popup .form-group input[type="search"],
.section-title__tagline,
.section-title__title,
.main-menu__top-welcome-text,
.main-menu__call-sub-title,
.main-menu .main-menu__list>li>a,
.stricky-header .main-menu__list>li>a,
.main-menu .main-menu__list>li>ul>li>a,
.main-menu .main-menu__list>li>ul>li>ul>li>a,
.stricky-header .main-menu__list>li>ul>li>a,
.stricky-header .main-menu__list>li>ul>li>ul>li>a,
.home-showcase__title,
.main-menu-two__call-sub-title,
.main-slider__sub-title,
.main-slider__title,
.main-slider-two__sub-title,
.main-slider-two__title,
.main-slider-three__sub-title,
.main-slider-three__title,
.about-one__satisfied-count-text,
.about-one__points-content h4,
.about-one__high-quality-service h5,
.about-two__img-content .text-box h4,
.about-two__tab-box .tab-buttons .tab-btn span,
.about-two__founder-text-box h4,
.about-three__satisfied-count-text,
.about-three__high-quality-service h5,
.about-three__progress-text-box h4,
.blog-one__tags span,
.blog-one__title,
.blog-two__tags span,
.blog-two__user-name,
.blog-two__title,
.blog-three__tags span,
.blog-three__title,
.blog-details__content-text1 h2,
.blog-details__content-text2 h2,
.blog-details__content-text5-tag .title-box h2,
.blog-details__content-text5-tag ul li a,
.blog-details__content-text6 .content-box h2,
.comment-one .title-box h2,
.comment-one__content-title h2,
.comment-one__content .btn-box a,
.comment-form .title-box h2,
.sidebar__title,
.sidebar__tags-list li a,
.blog-page__single-content-inner .meta-box li .text-box p,
.blog-page__single-content-inner h3,
.case-one__content-box h3,
.case-two__content-box h3,
.case-three__filter.style1 li .filter-text,
.case-three__content-box h3,
.case-details__title-1,
.case-details__title-2,
.case-details__title-3,
.case-details__information-list li h4,
.case-details__previous-next ul li .text-box a,
.contact-info__single h3,
.counter-one__text,
.counter-two__text,
.counter-three__text,
.error-page__content h2,
.faq-one-accrodion .accrodion-title h4,
.feature-one__title,
.footer-widget__title,
.footer-widget__link li a,
.footer-widget-two__title,
.footer-widget-two__link li a,
.newsletter-one__title,
.pricing-one__price-title,
.pricing-one__price,
.process-one__title,
.services-one__title,
.services-two__title,
.services-three__title,
.service-details__services-list li a,
.service-details__sidebar-single-download ul li .content-box .text-box h2,
.service-details__sidebar-single-download ul li .content-box .text-box p,
.service-details__sidebar-contact-content h3,
.shop-category ul li,
.shop-category ul li a,
.shop-product-recent-products ul li .content .title h5,
.product-details__main-tab-box .tab-buttons .tab-btn span,
.review-one__title h3,
.review-one__content-top .info h2,
.review-one__content-top .info h2 span,
.review-form-one__title,
.related-products__title h3,
.cart-page__shipping-title,
.cart-page__coupon-code-title,
.sidebar-order-summary .title-box h3,
.sign-up-one__form .inner-title h2,
.login-one__form .inner-title h2,
.skill-one__progress-title,
.skill-one__progress-box .progress-box .bar-title,
.skill-one__video-content p,
.sliding-text-one__title,
.team-one__name,
.team-details__client-name,
.team-details__practice-area-title,
.testimonial-one__client-name,
.testimonial-two__client-name,
.testimonial-three__client-name,
.why-choose-one__points li .content h3,
.why-choose-one__curved-circle,
.why-choose-two__points li .content h3 {
    text-transform: none;
}

/*--------------------------------------------------------------
# LegalClarity: brand, accessibility and motion overrides
# Loaded after style.css and responsive.css.
--------------------------------------------------------------*/
:root {
    /* Template #888 has 3.5:1 contrast on white; #6e6e6e reaches 5.1:1. */
    --judges-gray: #6e6e6e;
    --judges-gray-rgb: 110, 110, 110;
    /* Gold used as text on light backgrounds (the brand gold #c1b79a stays for shapes, lines and dark sections). */
    --lc-gold-text: #857449;
    --lc-gold-heading: #9a8a5f;
    --lc-error: #b3261e;
    --lc-success: #1e6b3a;
}

html {
    scroll-padding-top: 90px;
}

/* ---------- Motion: about 30% faster than the template ---------- */
.animated {
    -webkit-animation-duration: .75s;
    animation-duration: .75s;
}

a {
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

.thm-btn {
    transition: .35s ease-in-out;
}

.thm-btn::before,
.thm-btn::after {
    transition-duration: .55s;
}

.thm-btn:hover::before {
    transition-duration: 2.6s;
    transition-delay: 150ms;
}

.thm-btn:hover:after {
    transition-duration: 2.6s;
}

.thm-btn .thm-btn-icon-box {
    transition-duration: 350ms;
}

.thm-btn:hover .thm-btn-icon-box {
    transition-delay: 120ms;
}

/* Slider copy is fully visible after ~1.75 s instead of ~2.9 s */
.main-slider__sub-title-box,
.main-slider__title,
.main-slider__text,
.main-slider__btn-box {
    transition-duration: 1000ms;
}

.active .main-slider__title {
    transition-delay: 450ms;
}

.active .main-slider__sub-title-box,
.active .main-slider__text {
    transition-delay: 600ms;
}

.active .main-slider__btn-box {
    transition-delay: 750ms;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
    }

    .main-slider__bg,
    .active .main-slider__bg {
        transform: none;
    }
}

/* ---------- Accessibility helpers ---------- */
.lc-skip {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 100000;
    padding: 12px 20px;
    border-radius: 0 0 8px 8px;
    background: var(--judges-black);
    color: var(--judges-white);
    font-weight: 700;
}

.lc-skip:focus {
    top: 0;
    color: var(--judges-white);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--lc-gold-text) !important;
    outline-offset: 3px;
}

.thm-btn:focus-visible {
    box-shadow: 0 0 0 3px var(--judges-white), 0 0 0 5px var(--lc-gold-text);
}

.section-title__tagline {
    color: var(--lc-gold-text);
}

.section-title__title span {
    color: var(--lc-gold-heading);
}

.counter-one .section-title__tagline,
.counter-one .section-title__title span,
.video-one__inner > .section-title .section-title__tagline,
.video-one__inner > .section-title .section-title__title span {
    color: var(--judges-base);
}

/* ---------- Header ---------- */
.main-menu__top-inner {
    padding-top: 7px;
    padding-bottom: 7px;
}

.main-menu__top .main-menu__contact-list li .text p,
.main-menu__top .main-menu__contact-list li .text p a,
.main-menu__top .main-menu__contact-list li .icon i,
.main-menu__top-welcome-text {
    color: var(--judges-black);
}

.main-menu__top .main-menu__contact-list li .text p a:hover {
    color: var(--judges-white);
}

.lc-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--judges-black);
    font-family: var(--judges-font-two);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.lc-logo:hover {
    color: var(--judges-black);
}

.lc-logo__mark {
    flex: none;
    width: 44px;
    height: 44px;
    color: var(--judges-base);
}

.lc-logo__text span {
    color: var(--lc-gold-heading);
}

.lc-logo--light,
.lc-logo--light:hover {
    color: var(--judges-white);
}

.lc-logo--light .lc-logo__text span {
    color: var(--judges-base);
}

.main-menu__logo {
    padding: 22px 0;
}

.mobile-nav__toggler {
    border: 0;
    background: none;
}

.mobile-nav__contact li {
    word-break: break-word;
}

/* ---------- Hero ---------- */
.main-slider__text {
    max-width: 620px;
    color: rgba(var(--judges-white-rgb), .82);
}

@media only screen and (min-width: 1200px) {
    .main-slider__title {
        font-size: 58px;
        line-height: 1.22em;
    }

    .main-slider__text {
        font-size: 18px;
        line-height: 30px;
    }
}

@media only screen and (max-width: 767px) {
    .main-slider__title {
        font-size: 36px;
        line-height: 1.2em;
    }

    .main-slider__text {
        font-size: 16px;
        line-height: 27px;
    }
}

.main-slider__sub-title {
    letter-spacing: 0.02em;
}

.main-slider__video-icon .fa-phone {
    transform: scaleX(-1);
}

.main-slider__bg--left {
    background-position: 30% center;
}

/* ---------- About ---------- */
.about-one__satisfied-count h3 {
    min-width: 1ch;
}

/* ---------- Services (specialisations) ---------- */
.services-one__carousel.owl-theme .owl-dots {
    margin-top: 40px;
}

.services-one__carousel.owl-theme .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: rgba(var(--judges-base-rgb), .35);
    transition: background-color 300ms ease;
}

.services-one__carousel.owl-theme .owl-dots .owl-dot.active span,
.services-one__carousel.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--judges-base);
}

.services-one__img img {
    aspect-ratio: 37 / 28;
    object-fit: cover;
}

/* ---------- Audience (template testimonial layout without reviews) ---------- */
.lc-profile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--judges-base);
    border: 5px solid var(--judges-white);
}

.lc-profile-icon span {
    font-size: 40px;
    line-height: 1;
    color: var(--judges-white);
}

.testimonial-one__client-info {
    padding-right: 110px;
}

/* ---------- Facts ---------- */
.counter-one__bg,
.video-one__bg {
    opacity: .22;
}

/* ---------- Application form ---------- */
.lc-form-intro {
    max-width: 720px;
    margin: 0 auto 60px;
}

.lc-form {
    text-align: left;
}

.lc-form .row {
    --bs-gutter-x: 24px;
}

.lc-field {
    margin-bottom: 22px;
}

.lc-label,
.lc-legend {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    color: var(--judges-black);
    float: none;
    padding: 0;
}

.lc-req {
    color: var(--lc-gold-text);
}

.lc-optional {
    font-weight: 400;
    color: var(--judges-gray);
}

.lc-form .video-one-contact__input-box {
    margin-bottom: 0;
}

.lc-form .video-one-contact__input-box input[type="text"],
.lc-form .video-one-contact__input-box input[type="email"],
.lc-form .video-one-contact__input-box input[type="tel"],
.lc-form .video-one-contact__input-box select,
.lc-form .video-one-contact__input-box textarea {
    width: 100%;
    height: 56px;
    padding: 0 20px;
    border: 1px solid #d9d9d9;
    border-radius: var(--judges-bdr-radius);
    background-color: var(--judges-white);
    color: var(--judges-black);
    font-size: 16px;
    line-height: 24px;
    outline: none;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.lc-form .video-one-contact__input-box textarea {
    height: 130px;
    padding: 14px 20px;
    resize: vertical;
}

.lc-form .video-one-contact__input-box select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 48px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23857449' stroke-width='1.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px 8px;
    cursor: pointer;
}

.lc-form .video-one-contact__input-box select:invalid {
    color: #757575;
}

.lc-form .video-one-contact__input-box select option {
    color: var(--judges-black);
}

.lc-form ::placeholder {
    color: #8a8a8a;
    opacity: 1;
}

.lc-form .video-one-contact__input-box input:focus,
.lc-form .video-one-contact__input-box select:focus,
.lc-form .video-one-contact__input-box textarea:focus {
    border-color: var(--lc-gold-heading);
    box-shadow: 0 0 0 3px rgba(var(--judges-base-rgb), .25);
}

.lc-form [aria-invalid="true"],
.lc-form .video-one-contact__input-box [aria-invalid="true"] {
    border-color: var(--lc-error) !important;
}

.lc-fieldset {
    margin: 4px 0 22px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.lc-hint {
    margin: -2px 0 12px;
    font-size: 14px;
    line-height: 20px;
    color: var(--judges-gray);
}

.lc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-radius: var(--judges-bdr-radius);
}

.lc-chips[aria-invalid="true"] {
    outline: 1px dashed var(--lc-error);
    outline-offset: 6px;
}

.lc-chip {
    position: relative;
    display: inline-flex;
    margin: 0;
    cursor: pointer;
}

.lc-chip input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.lc-chip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 30px;
    background: var(--judges-white);
    color: var(--judges-black);
    font-size: 14px;
    line-height: 20px;
    transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.lc-chip span::before {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    border: 1px solid #bdbdbd;
    border-radius: 50%;
    transition: inherit;
}

.lc-chip:hover span {
    border-color: var(--judges-base);
}

.lc-chip input:checked + span {
    border-color: var(--lc-gold-heading);
    background: rgba(var(--judges-base-rgb), .18);
}

.lc-chip input:checked + span::before {
    border-color: var(--lc-gold-text);
    background: var(--lc-gold-text) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / 9px 7px;
}

.lc-chip input:focus-visible + span {
    outline: 2px solid var(--lc-gold-text);
    outline-offset: 2px;
}

.lc-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 23px;
    color: var(--judges-gray);
    cursor: pointer;
}

.lc-check input {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--lc-gold-text);
    cursor: pointer;
}

.lc-check a {
    color: var(--lc-gold-text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lc-check a:hover {
    color: var(--judges-black);
}

.lc-error {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--lc-error);
}

.lc-error[hidden] {
    display: none;
}

.lc-form .video-one-contact__btn-box {
    margin-top: 8px;
}

.lc-form button[type="submit"]:disabled {
    cursor: progress;
    opacity: .75;
}

.lc-status {
    margin-top: 20px;
    font-size: 15px;
    line-height: 24px;
    outline: none;
}

.lc-status:empty {
    display: none;
}

.lc-status--info,
.lc-status--success,
.lc-status--error {
    padding: 14px 18px;
    border-radius: var(--judges-bdr-radius);
}

.lc-status--info {
    background: #f5f3ee;
    color: #4d4d4d;
}

.lc-status--success {
    background: #eaf5ee;
    color: var(--lc-success);
    border-left: 4px solid var(--lc-success);
}

.lc-status--error {
    background: #fdecea;
    color: var(--lc-error);
    border-left: 4px solid var(--lc-error);
}

.lc-hp {
    position: absolute !important;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.video-one-contact__info-box .content p,
.video-one-contact__info-box .content p a {
    word-break: break-word;
}

.lc-info-text {
    margin: -6px 0 22px;
    font-size: 15px;
    line-height: 24px;
    color: rgba(var(--judges-white-rgb), .78);
}

/* ---------- FAQ ---------- */
.faq-one-accrodion .accrodion-title {
    cursor: pointer;
}

/* ---------- Footer ---------- */
.lc-company-data li p span {
    text-align: right;
}

.site-footer__bottom-menu a {
    white-space: nowrap;
}

/* ---------- Counters rendered as paragraphs (template used headings) ---------- */
.about-one__satisfied-count .lc-count {
    font-size: 40px;
    font-weight: 700;
    line-height: 40px !important;
    font-family: var(--judges-font) !important;
    color: var(--judges-black);
}

.about-one__high-quality-service .lc-card-title {
    font-family: var(--judges-font-two);
    font-size: 25px;
    font-weight: 700;
    line-height: 35px;
    color: var(--judges-black);
}

.counter-one__count-box .lc-count {
    color: var(--judges-black);
    font-size: 60px;
    line-height: 60px !important;
    font-weight: 700;
    font-family: var(--judges-font) !important;
}

.footer-widget__working-title,
.footer-widget__title,
.footer-widget__newsletter-title {
    margin: 0;
}

.footer-widget__working-title {
    margin-bottom: 15px;
}

.lc-footer-cta {
    flex: none;
}

.lc-footer-cta .thm-btn {
    background-color: var(--judges-white);
}

.lc-mobile-cta {
    margin-top: 30px;
}

.lc-mobile-cta .thm-btn {
    color: var(--judges-white);
}

/* ---------- Layout fixes for longer Polish copy ---------- */
.about-one__points li,
.why-choose-one__points li {
    flex-wrap: nowrap;
}

.about-one__points-content,
.why-choose-one__points li .content {
    min-width: 0;
}

@media only screen and (min-width: 1320px) {
    .about-one__points-box,
    .why-choose-one__points-box {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 36px;
        align-items: start;
    }

    .why-choose-one__points--two {
        margin-top: 0;
    }
}

.about-one__satisfied-count-text {
    font-size: 18px;
    line-height: 23px;
}

.lc-form .lc-field {
    margin-bottom: 22px;
}

.lc-form .video-one-contact__input-box.text-message-box {
    height: auto;
}

.video-one-contact__info-box {
    padding: 32px 26px 27px;
}

.testimonial-one__carousel.owl-theme .owl-nav {
    position: relative;
    left: auto;
    bottom: auto;
    justify-content: flex-start;
    margin-top: 34px !important;
}

.testimonial-one__carousel.owl-theme .owl-nav .owl-prev,
.testimonial-one__carousel.owl-theme .owl-nav .owl-next {
    border: 0;
}

.faq-one-accrodion .accrodion-title h4 {
    padding-right: 56px;
}

.counter-one__bottom .row > [class*="col-"] {
    display: flex;
}

.counter-one__single {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.counter-one__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.counter-one__text {
    line-height: 26px;
    text-align: center;
}

.footer-widget__working-hour li + li {
    margin-top: 12px;
    padding-top: 12px;
}

.lc-legal-note {
    margin: 0;
    padding: 0 0 26px;
    font-size: 13px;
    line-height: 21px;
    color: rgba(var(--judges-white-rgb), .6);
}

.lc-hint--after {
    margin: 8px 0 0;
}

/* Template bug: at 1511-1640 px the hexagon card touches or crosses the left screen edge. */
@media only screen and (min-width: 1511px) and (max-width: 1640px) {
    .about-one__high-quality-service-box {
        left: -70px;
    }
}


/* Below 992 px the vertical "Do góry" label overlapped body text; use a compact round button instead. */
@media only screen and (max-width: 991px) {
    .scroll-to-top {
        right: 16px;
        width: 44px;
        height: 44px;
        justify-content: center;
        border-radius: 50%;
        transform: none;
        background: var(--judges-black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 8l6-6 6 6' fill='none' stroke='%23c1b79a' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / 14px 9px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
    }

    .scroll-to-top.show {
        bottom: 20px;
    }

    .scroll-to-top__wrapper,
    .scroll-to-top__text {
        display: none;
    }
}

/* Tablet header: the template left the menu button floating between logo and CTA. */
@media only screen and (max-width: 1199px) {
    .main-menu__right {
        margin-left: auto;
    }

    .main-menu__main-menu-box {
        order: 3;
        margin-left: 24px;
    }
}

@media only screen and (max-width: 767px) {
    .main-menu__main-menu-box {
        margin-left: auto;
    }
}

/* The template forces capitalize with !important on the curved badge text. */
.why-choose-one__curved-circle {
    text-transform: none !important;
}

/* Equal label boxes under the counters, whatever the label length. */
.counter-one__text {
    display: flex;
    width: 100%;
    min-height: 72px;
    padding: 10px 16px;
}

/* Breathing room under the company data in the footer. */
.footer-widget__about {
    padding-bottom: 40px;
}

@media only screen and (max-width: 991px) {
    .lc-footer-cta {
        margin-top: 20px;
    }

    .footer-widget__contact-box {
        padding-bottom: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .lc-legal-note {
        text-align: center;
    }
}
