/*
---------------------------------------------------------
Loeblcom Services Homepage
---------------------------------------------------------
*/


.lcs-homepage {
    font-family: Arial, Helvetica, sans-serif;
    color: #172033;
    line-height: 1.6;
}


.lcs-container {
    width: min(1280px, calc(100% - 30px));
    margin: 0 auto;
}


.lcs-section {
    padding: 70px 0;
}


/*
---------------------------------------------------------
Hero
---------------------------------------------------------
*/

.lcs-hero {
    padding: 55px 0;
    background:
        linear-gradient(
            120deg,
            #071c33 0%,
            #0d2e52 60%,
            #154879 100%
        );
    color: #ffffff;
}


.lcs-hero-grid {
    display: grid;
    grid-template-columns: 1.55fr 0.75fr;
    gap: 40px;
    align-items: center;
}


.lcs-eyebrow {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.3px;
    color: #7fc4ff;
}


.lcs-hero h1 {
    margin: 0 0 22px;
    max-width: 760px;
    font-size: clamp(38px, 4vw, 52px);
    line-height: 1.08;
    color: #ffffff;
}


.lcs-hero-intro {
    max-width: 760px;
    margin-bottom: 30px;
    font-size: 20px;
    line-height: 1.6;
    color: #e4edf7;
}


/*
---------------------------------------------------------
Trust items
---------------------------------------------------------
*/

.lcs-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin: 24px 0;
}


.lcs-trust-item {
    min-width: 130px;
}


.lcs-trust-item strong {
    display: block;
    font-size: 16px;
    color: #ffffff;
}


.lcs-trust-item span {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: #bed0e2;
}


/*
---------------------------------------------------------
Buttons
---------------------------------------------------------
*/

.lcs-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}


.lcs-button {
    display: inline-block;
    padding: 14px 24px;
    border: 2px solid #1673d1;
    border-radius: 6px;
    background: #1673d1;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.lcs-button:hover {
    background: #0f5eae;
    border-color: #0f5eae;
    transform: translateY(-1px);
}


.lcs-button-outline {
    background: transparent;
    border-color: #8cb5dc;
}


.lcs-button-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffffff;
}


/*
---------------------------------------------------------
Hero visual
---------------------------------------------------------
*/

.lcs-code-card {
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 18px 40px rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
}


.lcs-code-card-title {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
}


.lcs-code-item {
    margin-top: 10px;
    padding: 12px 15px;
    border-radius: 6px;
    background: rgba(255,255,255,0.09);
}


/*
---------------------------------------------------------
Section headings
---------------------------------------------------------
*/

.lcs-section-heading {
    max-width: 780px;
    margin-bottom: 35px;
}


.lcs-section-heading h2 {
    margin: 0 0 8px;
    font-size: 36px;
    line-height: 1.2;
    color: #102d50;
}


.lcs-section-heading p {
    margin: 0;
    font-size: 18px;
    color: #566275;
}


/*
---------------------------------------------------------
Problems
---------------------------------------------------------
*/

.lcs-problems {
    background: #ffffff;
    padding-top: 50px;
}


.lcs-problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


.lcs-problem-card {
    padding: 26px 22px;
    border: 1px solid #dce5ee;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(17,52,91,0.05);
}


.lcs-card-icon {
    margin-bottom: 14px;
    font-size: 32px;
}


.lcs-problem-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #11345b;
}


.lcs-problem-card p {
    margin: 0;
    font-size: 15px;
    color: #586574;
}


/*
---------------------------------------------------------
Services
---------------------------------------------------------
*/

.lcs-services {
    background: #f4f8fc;
}


.lcs-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


.lcs-service-card {
    padding: 30px;
    border: 1px solid #dbe5ef;
    border-radius: 9px;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(17,52,91,0.05);
}


.lcs-service-icon {
    margin-bottom: 15px;
    font-size: 36px;
}


.lcs-service-card h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.3;
    color: #10345c;
}


.lcs-service-card p {
    margin: 0;
    color: #5a6675;
}


/*
---------------------------------------------------------
Tablet
---------------------------------------------------------
*/

@media (max-width: 1000px) {

    .lcs-hero-grid {
        grid-template-columns: 1fr;
    }


    .lcs-hero-visual {
        max-width: 650px;
    }


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


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

}


/*
---------------------------------------------------------
Mobile
---------------------------------------------------------
*/

@media (max-width: 650px) {

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


    .lcs-section {
        padding: 45px 0;
    }


    .lcs-hero {
        padding: 50px 0;
    }


    .lcs-hero h1 {
        font-size: 38px;
    }


    .lcs-hero-intro {
        font-size: 18px;
    }


    .lcs-trust-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }


    .lcs-hero-buttons {
        flex-direction: column;
    }


    .lcs-button {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }


    .lcs-section-heading h2 {
        font-size: 30px;
    }


    .lcs-problem-grid {
        grid-template-columns: 1fr;
    }


    .lcs-service-grid {
        grid-template-columns: 1fr;
    }

}
/* Hide WordPress page title on the homepage test page */
.page .entry-title {
    display: none;
}

.lcs-service-card {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.lcs-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17,52,91,0.10);
}

/*
---------------------------------------------------------
Contact / Consultation
---------------------------------------------------------
*/

.lcs-contact {
    background:
        linear-gradient(
            120deg,
            #071c33 0%,
            #0d3158 100%
        );
    color: #ffffff;
}


.lcs-contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: start;
}


.lcs-contact h2 {
    margin: 8px 0 18px;
    font-size: 40px;
    line-height: 1.15;
    color: #ffffff;
}


.lcs-contact-lead {
    max-width: 520px;
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.7;
    color: #dce8f4;
}


.lcs-contact-points {
    display: grid;
    gap: 10px;
    color: #ffffff;
}


/*
---------------------------------------------------------
Contact form box
---------------------------------------------------------
*/

.lcs-contact-form-wrap {
    padding: 32px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}


.lcs-contact-form {
    color: #172033;
}


.lcs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}


.lcs-form-field {
    margin-bottom: 20px;
}


.lcs-form-field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    color: #17385c;
}


.lcs-form-field input,
.lcs-form-field select,
.lcs-form-field textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 13px;
    border: 1px solid #cbd7e3;
    border-radius: 5px;
    background: #ffffff;
    color: #172033;
    font-family: inherit;
    font-size: 16px;
}


.lcs-form-field textarea {
    resize: vertical;
}


.lcs-form-field input:focus,
.lcs-form-field select:focus,
.lcs-form-field textarea:focus {
    outline: none;
    border-color: #1673d1;
    box-shadow: 0 0 0 2px rgba(22,115,209,0.12);
}


.lcs-optional {
    font-weight: 400;
    color: #6d7784;
}


.lcs-submit-button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
}


.lcs-form-note {
    margin: 14px 0 0;
    font-size: 13px;
    color: #6b7683;
}


/*
---------------------------------------------------------
Contact form status messages
---------------------------------------------------------
*/

.lcs-form-message {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 5px;
    font-weight: 600;
}


.lcs-form-success {
    border: 1px solid #9ecfaa;
    background: #eaf7ed;
    color: #245d31;
}


.lcs-form-error {
    border: 1px solid #e1aaaa;
    background: #fff0f0;
    color: #812c2c;
}


/*
---------------------------------------------------------
Honeypot anti-spam field
---------------------------------------------------------
*/

.lcs-hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


/*
---------------------------------------------------------
Contact mobile
---------------------------------------------------------
*/

@media (max-width: 850px) {

    .lcs-contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}


@media (max-width: 650px) {

    .lcs-contact h2 {
        font-size: 32px;
    }


    .lcs-contact-form-wrap {
        padding: 22px;
    }


    .lcs-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }


    .lcs-submit-button {
        width: 100%;
    }

}