/* =========================================================
   SERVICE SOFTWARE PRO
   Main Website Styles
   ========================================================= */


/* =========================================================
   BRAND COLORS
   ========================================================= */

:root {
    --primary-blue: #2596be;
    --dark-blue: #176b8a;

    --background: #fefdfd;
    --light-blue: #eaf6fa;

    --text-dark: #263238;
    --text-muted: #60717a;

    --border: #d7e9ef;
    --white: #ffffff;

    --max-width: 1180px;
}


/* =========================================================
   BASIC RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   GENERAL LAYOUT
   ========================================================= */

header,
main,
footer {
    width: 100%;
}


/* =========================================================
   HEADER
   ========================================================= */

header {
    position: relative;

    min-height: 82px;
    padding: 18px 30px;

    border-bottom: 1px solid var(--border);
    background: rgba(254, 253, 253, 0.96);

    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.site-logo {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    display: block;

    width: 190px;
    height: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    color: var(--text-dark);

    font-size: 0.95rem;
    font-weight: 600;

    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--primary-blue);
}

nav a:last-child {
    background: var(--primary-blue);
    color: var(--white);

    padding: 11px 18px;

    border-radius: 6px;
}

nav a:last-child:hover {
    background: var(--dark-blue);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    max-width: none !important;

    padding: 95px 30px 105px !important;

    background:
        linear-gradient(
            135deg,
            var(--background) 0%,
            var(--light-blue) 100%
        );
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.15fr 0.85fr;

    gap: 70px;

    align-items: center;
}

.hero-copy {
    max-width: 700px;
}

.eyebrow {
    color: var(--primary-blue) !important;

    font-size: 0.82rem !important;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 18px !important;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.8rem);

    line-height: 1.03;
    letter-spacing: -2.5px;

    margin-bottom: 28px;
}

.hero-description {
    max-width: 650px;

    color: var(--text-muted);

    font-size: 1.25rem !important;

    margin-bottom: 20px !important;
}

.hero-positioning {
    max-width: 620px;

    color: var(--text-dark) !important;

    font-size: 1.08rem !important;
    font-weight: 600;

    margin-bottom: 35px !important;
}

.hero-actions {
    display: flex;
    align-items: center;

    gap: 22px;

    flex-wrap: wrap;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.primary-button {
    display: inline-flex;

    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    min-width: 285px;
    min-height: 72px;

    padding: 14px 24px;

    background: var(--primary-blue);
    color: var(--white);

    border-radius: 6px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.primary-button:hover {
    background: var(--dark-blue);

    transform: translateY(-2px);
}

.button-message {
    font-size: 0.82rem;

    font-weight: 400;

    line-height: 1.3;

    margin-bottom: 4px;
}

.button-action {
    font-size: 0.92rem;

    font-weight: 800;

    letter-spacing: 0.5px;

    line-height: 1.3;
}

.secondary-button {
    color: var(--text-dark);

    font-size: 0.95rem;
    font-weight: 700;
}

.secondary-button:hover {
    color: var(--primary-blue);
}


/* =========================================================
   HERO VISUAL
   ========================================================= */

.hero-visual {
    position: relative;

    padding: 20px 0;
}

.process-card {
    display: flex;
    align-items: center;

    gap: 20px;

    padding: 25px;

    background: rgba(255, 255, 255, 0.9);

    border: 1px solid var(--border);
    border-radius: 10px;

    box-shadow:
        0 12px 35px rgba(38, 50, 56, 0.07);
}

.process-number {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 45px;
    height: 45px;

    border-radius: 50%;

    background: var(--light-blue);
    color: var(--primary-blue);

    font-size: 0.8rem;
    font-weight: 700;
}

.process-card strong {
    display: block;

    font-size: 1.15rem;

    margin-bottom: 3px;
}

.process-card p {
    margin: 0 !important;

    color: var(--text-muted);

    font-size: 0.9rem !important;
}

.process-line {
    width: 2px;
    height: 35px;

    margin-left: 46px;

    background: var(--primary-blue);

    opacity: 0.35;
}

.problem-card {
    transform: translateX(25px);
}

.solution-card {
    transform: translateX(50px);

    border-color: var(--primary-blue);
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

main > section:not(:first-child) {
    padding: 100px 30px;
}

main section h2 {
    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.15;
    letter-spacing: -1px;

    margin-bottom: 25px;
}

main section p {
    max-width: 760px;

    color: var(--text-muted);

    font-size: 1.1rem;

    margin-bottom: 20px;
}


/* =========================================================
   OUR APPROACH
   ========================================================= */

.approach-section {
    background: var(--background) !important;
}

.approach-intro {
    max-width: var(--max-width);

    margin: 0 auto 55px;
}

.approach-intro h2 {
    max-width: 850px;

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.15;
    letter-spacing: -1px;

    margin-bottom: 25px;
}

.approach-intro > p:last-child {
    max-width: 760px;

    color: var(--text-muted);

    font-size: 1.1rem;
}


/* ---------- Approach Cards ---------- */

.approach-grid {
    max-width: var(--max-width);

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.approach-card {
    min-height: 235px;

    padding: 34px 30px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 10px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.approach-card:hover {
    transform: translateY(-4px);

    border-color: var(--primary-blue);

    box-shadow:
        0 12px 30px rgba(38, 50, 56, 0.08);
}

.approach-number {
    display: block;

    color: var(--primary-blue);

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 25px;
}

.approach-card h3 {
    color: var(--text-dark);

    font-size: 1.25rem;
    font-weight: 800;

    letter-spacing: 0.5px;

    margin-bottom: 14px;
}

.approach-card p {
    color: var(--text-muted);

    font-size: 1rem;

    margin: 0;
}


/* =========================================================
   POSSIBILITIES
   ========================================================= */

.possibilities-section {
    background: var(--light-blue) !important;
}

.possibilities-section .section-intro {
    max-width: var(--max-width);

    margin: 0 auto;
}

.possibilities-section .section-intro h2 {
    max-width: 850px;
}

.possibilities-section .section-intro p {
    max-width: 760px;
}


/* ---------- Possibility Grid ---------- */

.possibilities-grid {
    max-width: var(--max-width);

    margin: 50px auto 0;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 1px;

    background: var(--border);

    border: 1px solid var(--border);
}

.possibility {
    min-height: 230px;

    padding: 35px;

    background: var(--white);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.possibility:hover {
    background: var(--background);
}

.possibility-number {
    display: block;

    color: var(--primary-blue);

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 25px;
}

.possibility h3 {
    color: var(--text-dark);

    font-size: 1.25rem;
    font-weight: 800;

    margin-bottom: 12px;
}

.possibility p {
    max-width: 600px;

    color: var(--text-muted);

    font-size: 0.98rem;

    margin: 0;
}


/* ---------- Featured Possibility ---------- */

.possibility-featured {
    grid-column: 1 / 3;

    min-height: 190px;

    border-top: 1px solid var(--border);
}

.possibility-featured h3 {
    font-size: 1.4rem;
}


/* ---------- Possibilities Footer ---------- */

.possibilities-footer {
    max-width: var(--max-width);

    margin: 45px auto 0;
}

.possibilities-footer p {
    max-width: none;

    color: var(--text-dark);

    font-size: 1.15rem;
}

.possibilities-footer strong {
    font-weight: 700;
}


/* =========================================================
   ABOUT / POSITIONING
   ========================================================= */

.about-section {
    background: var(--white);
}

.about-content {
    max-width: var(--max-width);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 90px;

    align-items: start;
}

.about-heading {
    position: sticky;

    top: 40px;
}

.about-heading h2 {
    max-width: 500px;

    font-size: clamp(2.5rem, 4vw, 3.6rem);

    line-height: 1.08;
    letter-spacing: -1.5px;
}

.about-copy {
    max-width: 650px;
}

.about-copy p {
    max-width: none;

    color: var(--text-muted);

    font-size: 1.08rem;

    margin-bottom: 24px;
}

.about-copy .about-lead {
    color: var(--text-dark);

    font-size: 1.35rem;
    font-weight: 600;

    line-height: 1.5;

    margin-bottom: 30px;
}

.about-copy p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    background:
        linear-gradient(
            135deg,
            var(--light-blue) 0%,
            var(--background) 100%
        );

    text-align: center;

    padding-top: 110px !important;
    padding-bottom: 115px !important;
}

.contact-content {
    max-width: 850px;

    margin: 0 auto;
}

.contact-section .eyebrow {
    margin-bottom: 20px !important;
}

.contact-section h2 {
    max-width: none;

    font-size: clamp(3rem, 5vw, 4.5rem);

    line-height: 1.05;
    letter-spacing: -2px;

    margin-bottom: 25px;
}

.contact-lead {
    max-width: none !important;

    color: var(--text-dark) !important;

    font-size: 1.5rem !important;
    font-weight: 600;

    margin-bottom: 18px !important;
}

.contact-description {
    max-width: 650px !important;

    margin: 0 auto 35px !important;

    color: var(--text-muted);

    font-size: 1.08rem !important;
}

.contact-button {
    display: inline-block;

    background: var(--primary-blue);
    color: var(--white);

    padding: 16px 28px;

    border-radius: 6px;

    font-size: 0.92rem;
    font-weight: 700;

    letter-spacing: 0.4px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.contact-button:hover {
    background: var(--dark-blue);

    transform: translateY(-2px);
}

.contact-email {
    max-width: none !important;

    margin: 18px 0 0 !important;

    color: var(--text-muted) !important;

    font-size: 0.9rem !important;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 35px 30px;

    background: var(--text-dark);
    color: var(--white);

    text-align: center;
}

footer p {
    max-width: none;

    font-size: 0.9rem;

    opacity: 0.8;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    /* ---------- Header ---------- */

    header {
        min-height: auto;

        padding: 20px 25px 25px;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 20px;
    }

    .site-logo {
        position: static;

        transform: none;

        width: 180px;
        height: auto;
    }

    nav {
        width: 100%;

        display: flex;

        justify-content: center;

        flex-wrap: wrap;

        gap: 14px 18px;
    }

    nav a {
        font-size: 0.9rem;
    }


    /* ---------- General Sections ---------- */

    main > section:not(:first-child) {
        padding: 75px 25px;
    }


    /* ---------- Hero ---------- */

    .hero {
        padding: 70px 25px 80px !important;
    }

    .hero-content {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .hero h2 {
        font-size: 3rem;
    }

    .problem-card {
        transform: translateX(15px);
    }

    .solution-card {
        transform: translateX(30px);
    }

    .hero-actions {
        align-items: flex-start;

        flex-direction: column;
    }

    .primary-button {
        width: 100%;

        max-width: 340px;
    }


    /* ---------- Our Approach ---------- */

    .approach-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .approach-card {
        min-height: auto;
    }


    /* ---------- Possibilities ---------- */

    .possibilities-grid {
        grid-template-columns: 1fr;
    }

    .possibility {
        min-height: auto;
    }

    .possibility-featured {
        grid-column: auto;
    }


    /* ---------- About ---------- */

    .about-content {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .about-heading {
        position: static;
    }

    .about-heading h2 {
        font-size: 2.7rem;
    }

    .about-copy .about-lead {
        font-size: 1.2rem;
    }


    /* ---------- Contact ---------- */

    .contact-section {
        padding-top: 80px !important;
        padding-bottom: 85px !important;
    }

    .contact-section h2 {
        font-size: 3rem;

        letter-spacing: -1.5px;
    }

    .contact-lead {
        font-size: 1.3rem !important;
    }

    .contact-button {
        width: 100%;

        max-width: 320px;
    }
}