﻿/*
Theme Name: Lackservice24 Child
Template: polestar
Version: 1.0.0
*/

:root {
    --ls24-red: #d9232e;
    --ls24-dark: #050505;
    --ls24-text: #1f2933;
    --ls24-muted: #667085;
    --ls24-container: 1280px;
    --ls24-header-offset: 96px;
}

.home .masthead-sentinel {
    display: none !important;
    height: 0 !important;
}

.home #content > .polestar-container > .breadcrumbs {
    display: none !important;
}

.home #content,
.home .site-content,
.home #content > .polestar-container,
.home .content-area,
.home .site-main,
.home .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
}

.home .entry-title {
    display: none !important;
}

.ls24-home {
    width: 100%;
    margin: 0;
    overflow-x: clip;
}

.ls24-hero {
    position: relative;
    width: 100vw;
    min-height: 720px;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    color: #fff;
    background-color: var(--ls24-dark);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: var(--ls24-header-offset) 0 70px;
}

.ls24-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .82) 34%, rgba(0, 0, 0, .45) 62%, rgba(0, 0, 0, .16) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .62) 100%);
}

.ls24-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--ls24-container);
    margin: 0 auto;
    padding: 55px 70px 0;
    box-sizing: border-box;
}

.ls24-hero-content {
    width: min(100%, 620px);
}

.ls24-rating-box {
    position: absolute;
    right: max(30px, calc((100vw - var(--ls24-container)) / 2 + -360px));
    bottom: 20px;
    z-index: 4;

    width: 220px;
    min-height: 165px;
    padding: 22px 20px;

    border-radius: 14px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.15);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow: 0 10px 30px rgba(0,0,0,.25);

    color: #fff;
    text-align: center;
}

.ls24-rating-google-logo {
    width: 42px;
    height: auto;
    margin: 0 auto 10px;
    display: block;
}

.ls24-rating-main strong {
    display: block;
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 8px;
}

.ls24-rating-stars {
    display: block;
    color: #ffc107;
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.ls24-rating-main span:last-child {
    display: block;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

.ls24-hero h1 {
    max-width: 620px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(46px, 4.2vw, 68px);
    line-height: 1.08;
    font-weight: 800;
}

.ls24-hero-text {
    max-width: 560px;
    margin: 0 0 25px;
    color: rgba(255, 255, 255, .92);
    font-size: 18px;
    line-height: 1.6;
}

.ls24-hero-benefits {
    display: grid;
    gap: 10px;
    max-width: 560px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.ls24-hero-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, .95);
    font-size: 16px;
    line-height: 1.45;
}

.ls24-hero-benefits li::before {
    content: "\2713";
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--ls24-red);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
}

.ls24-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.ls24-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.ls24-btn:hover,
.ls24-btn:focus {
    transform: translateY(-1px);
    text-decoration: none;
}

.ls24-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--ls24-red);
    color: #fff;
}

.ls24-btn-primary img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.ls24-btn-primary,
.ls24-btn-primary:visited,
.ls24-btn-primary:hover,
.ls24-btn-primary:focus {
    color: #fff !important;
}

.ls24-btn-primary:hover,
.ls24-btn-primary:focus {
    background: #bd1d27;
    color: #fff;
}

.ls24-btn-secondary {
    border: 1px solid rgba(255, 255, 255, .82);
    color: #fff;
    background: rgba(255, 255, 255, .04);
}

.ls24-btn-secondary:hover,
.ls24-btn-secondary:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.ls24-breadcrumb-after-hero {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--ls24-container);
    margin: 0 auto;
    padding: 18px 70px 0;
    box-sizing: border-box;
    color: var(--ls24-muted);
    font-size: 13px;
    line-height: 1.5;
    background: #fff;
}

.ls24-breadcrumb-after-hero .breadcrumbs {
    margin: 0;
    padding: 0;
    color: inherit;
}

.ls24-breadcrumb-after-hero a {
    color: var(--ls24-muted);
    text-decoration: none;
}

.ls24-breadcrumb-after-hero a:hover,
.ls24-breadcrumb-after-hero a:focus {
    color: var(--ls24-text);
    text-decoration: underline;
}

@media (max-width: 1024px) {
    :root {
        --ls24-header-offset: 88px;
    }

    .ls24-hero {
        min-height: 660px;
        padding-bottom: 56px;
    }

    .ls24-hero-inner {
        padding: 0 40px;
    }

    .ls24-breadcrumb-after-hero {
        padding-right: 40px;
        padding-left: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --ls24-header-offset: 76px;
    }

    .ls24-hero {
        width: 100%;
        min-height: 560px;
        margin-left: 0;
        align-items: flex-end;
        background-position: 62% top;
        padding: calc(var(--ls24-header-offset) + 70px) 0 34px;
    }

    .ls24-hero-overlay {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .52) 34%, rgba(0, 0, 0, .9) 70%, rgba(0, 0, 0, .98) 100%),
            linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .28) 100%);
    }

    .ls24-hero-inner {
        padding: 0 22px;
    }

    .ls24-hero-content {
        width: 100%;
    }

    .ls24-rating-box {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        min-height: auto;
        margin: 0 0 18px;
        padding: 12px 14px;
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
        border-radius: 16px;
        background: rgba(255,255,255,.14);
        color: #fff;
    }   

    .ls24-rating-google-logo {
        width: 30px;
        flex: 0 0 30px;
        margin: 0;
    }

    .ls24-rating-main {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .ls24-rating-main strong {
        display: none;
    }

    .ls24-rating-main span:last-child {
        font-size: 13px;
        line-height: 1.3;
        font-weight: 500;
    }

    .ls24-rating-google {
        grid-area: google;
        margin: 0;
        font-size: 28px;
    }

    .ls24-rating-number {
        grid-area: number;
        margin: 0;
        font-size: 22px;
        align-self: center;
    }

    .ls24-rating-stars {
        margin: 0;
        font-size: 14px;
        line-height: 1;
    }

    .ls24-rating-text {
        grid-area: text;
        font-size: 13px;
        line-height: 1.3;
    }

    .ls24-rating-stars {
        font-size: 13px;
        letter-spacing: 0;
    }

    .ls24-hero h1 {
        margin-bottom: 16px;
        font-size: 38px;
        line-height: 1.08;
    }

    .ls24-hero-text {
        margin-bottom: 22px;
        font-size: 16px;
        line-height: 1.5;
    }

    .ls24-hero-benefits {
        display: none;
    }

    .ls24-hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .ls24-btn {
        width: 100%;
        min-height: 52px;
        padding: 0 18px;
        box-sizing: border-box;
    }

    .ls24-breadcrumb-after-hero {
        padding: 14px 22px 0;
    }
}

@media (max-width: 420px) {
    :root {
        --ls24-header-offset: 70px;
    }

    .ls24-hero {
        min-height: 540px;
        padding-top: calc(var(--ls24-header-offset) + 80px);
    }

    .ls24-hero h1 {
        font-size: 36px;
    }
}




.ls24-services {
    background: #fff;
    padding: 52px 0 28px;
}

.ls24-section-inner {
    max-width: var(--ls24-container);
    margin: 0 auto;
    padding: 0 70px;
    box-sizing: border-box;
}

.ls24-section-heading {
    text-align: center;
    margin-bottom: 28px;
}

.ls24-section-heading span {
    display: block;
    margin-bottom: 8px;
    color: var(--ls24-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ls24-section-heading h2 {
    margin: 0;
    color: #111;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.15;
    font-weight: 800;
}

.ls24-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.ls24-service-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.ls24-service-image {
    display: block;
    height: 150px;
    overflow: hidden;
    background: #eee;
}

.ls24-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.ls24-service-card:hover .ls24-service-image img {
    transform: scale(1.04);
}

.ls24-service-icon {
    position: absolute;
    top: 118px;
    left: 22px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--ls24-red);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.ls24-service-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.ls24-service-content {
    padding: 34px 22px 22px;
}

.ls24-service-content h3 {
    margin: 0 0 10px;
    color: #111;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
}

.ls24-service-content p {
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.5;
}

.ls24-service-link {
    color: var(--ls24-red);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.ls24-service-link:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .ls24-section-inner {
        padding: 0 40px;
    }

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

@media (max-width: 640px) {
    .ls24-services {
        padding: 40px 0 20px;
    }

    .ls24-section-inner {
        padding: 0 22px;
    }

    .ls24-services-grid {
        grid-template-columns: 1fr;
    }

    .ls24-service-image {
        height: 170px;
    }

    .ls24-service-icon {
        top: 138px;
    }
}


.ls24-benefits {
    background: linear-gradient(180deg, #fff 0%, #f6f7f9 100%);
    padding: 34px 0 44px;
}

.ls24-benefits .ls24-section-heading {
    margin-bottom: 30px;
}

.ls24-benefits-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px;
}

.ls24-benefit-item {
    text-align: center;
}

.ls24-benefit-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ls24-benefit-icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.ls24-benefit-item h3 {
    margin: 0 0 8px;
    color: #111;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
}

.ls24-benefit-item p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.45;
}

@media (max-width: 1024px) {
    .ls24-benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 24px;
    }
}

@media (max-width: 640px) {
    .ls24-benefits {
        padding: 34px 0 36px;
    }

    .ls24-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 18px;
    }

    .ls24-benefit-item h3 {
        font-size: 15px;
    }

    .ls24-benefit-item p {
        font-size: 13px;
    }
}