/* =========================================================
   LOCAL SEO WORK - ABOUT US PAGE
   Scoped to .lsw-about-page
   ========================================================= */

/* =========================================================
   ASTRA SAFE FULL-WIDTH BREAKOUT
   Backgrounds span the complete browser width.
   Inner content remains 1120px.
   ========================================================= */

/* =========================================================
   ABOUT US - ASTRA DEFAULT SPACING RESET
   ========================================================= */

/* Break template out of Astra content container */
.lsw-template-rendered {
    display: block !important;

    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;

    padding: 0 !important;

    position: relative !important;
    left: 0 !important;

    box-sizing: border-box !important;
}


/* About Us page wrapper */
.lsw-template-rendered .lsw-about-page {

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    padding: 0 !important;

    box-sizing: border-box !important;
}


/* Prevent Astra entry-content spacing */
.lsw-template-rendered
.entry-content
.lsw-about-page {

    width: 100% !important;
    max-width: none !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* Prevent Gutenberg constrained layout */
.lsw-template-rendered
.lsw-about-page
.is-layout-constrained {

    max-width: none !important;
}


/* Remove margin from first About section */
.lsw-template-rendered
.lsw-about-page
> section:first-child {

    margin-top: 0 !important;
}


/* Remove Astra paragraph/heading top margins
   only where they interfere with template */
.lsw-template-rendered
.lsw-about-page
> section:first-child h1,
.lsw-template-rendered
.lsw-about-page
> section:first-child h2,
.lsw-template-rendered
.lsw-about-page
> section:first-child p {

    margin-top: 0 !important;
}

.lsw-template-rendered {
    width: 100vw !important;
    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;

    padding-left: 0 !important;
    padding-right: 0 !important;

    position: relative !important;
    left: auto !important;

    box-sizing: border-box !important;
}

.lsw-template-rendered .lsw-about-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* Keep actual content nicely contained */

.lsw-template-rendered .lsw-about-container {
    width: min(1120px, calc(100% - 40px)) !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* Every major section owns its full-width background */

.lsw-template-rendered .lsw-about-hero,
.lsw-template-rendered .lsw-about-intro,
.lsw-template-rendered .lsw-about-services,
.lsw-template-rendered .lsw-about-why,
.lsw-template-rendered .lsw-about-process,
.lsw-template-rendered .lsw-about-numbers,
.lsw-template-rendered .lsw-about-mission,
.lsw-template-rendered .lsw-about-final-cta {
    width: 100% !important;
    max-width: none !important;
}


/* Prevent Astra/Gutenberg layout constraints
   from limiting our sections */

.lsw-template-rendered .lsw-about-page,
.lsw-template-rendered .lsw-about-page > section {
    max-width: none !important;
}


/* Gutenberg constrained layout protection */

.lsw-template-rendered .is-layout-constrained,
.lsw-template-rendered .wp-block-group,
.lsw-template-rendered .wp-block-columns {
    max-width: none;
}


/* Mobile */

@media (max-width: 600px) {

    .lsw-template-rendered {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
    }

    .lsw-template-rendered .lsw-about-container {
        width: calc(100% - 28px) !important;
        max-width: 1120px !important;
    }

}

.lsw-about-page {
    --lsw-navy: #111a2e;
    --lsw-blue: #2563eb;
    --lsw-blue-light: #edf4ff;
    --lsw-green: #10a957;
    --lsw-green-light: #eaf9f0;
    --lsw-text: #334155;
    --lsw-muted: #64748b;
    --lsw-border: #dce4ee;
    --lsw-soft: #f6f9fc;
    --lsw-white: #ffffff;

    width: 100%;
    color: var(--lsw-navy);
    background: #fff;
    font-family: inherit;
    line-height: 1.55;
}

.lsw-about-page *,
.lsw-about-page *::before,
.lsw-about-page *::after {
    box-sizing: border-box;
}

.lsw-about-page h1,
.lsw-about-page h2,
.lsw-about-page h3,
.lsw-about-page p {
    margin-top: 0;
}

.lsw-about-page a {
    text-decoration: none !important;
}

.lsw-about-container {
    width: min(1120px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.lsw-about-page h1 {
    font-size: clamp(42px, 5vw, 67px);
    line-height: 1.03;
    letter-spacing: -2.8px;
    font-weight: 700;
    margin-bottom: 24px;
}

.lsw-about-page h2 {
    font-size: clamp(32px, 4vw, 47px);
    line-height: 1.08;
    letter-spacing: -1.8px;
    font-weight: 700;
    margin-bottom: 20px;
}

.lsw-about-page h3 {
    font-size: 19px;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 9px;
}

.lsw-about-page p {
    color: var(--lsw-muted);
    font-size: 15px;
    line-height: 1.65;
}

.lsw-about-page h1 span,
.lsw-about-page h2 span {
    color: var(--lsw-blue);
}

.lsw-about-label {
    display: inline-block;
    color: var(--lsw-blue);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 1.6px;
    margin-bottom: 13px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.lsw-about-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.lsw-about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: all .2s ease;
}

.lsw-about-btn-primary {
    background: var(--lsw-green);
    color: #fff !important;
}

.lsw-about-btn-primary:hover {
    transform: translateY(-2px);
    background: #0b934a;
}

.lsw-about-btn-outline {
    background: #fff;
    border: 1px solid var(--lsw-blue);
    color: var(--lsw-blue) !important;
}

.lsw-about-btn-outline:hover {
    background: var(--lsw-blue-light);
}

.lsw-about-btn-white {
    background: #fff;
    color: var(--lsw-blue) !important;
}


/* =========================================================
   HERO
   ========================================================= */

.lsw-about-hero {
    padding: 78px 0 75px;
    background:
        linear-gradient(
            180deg,
            #f5f8fc 0%,
            #ffffff 100%
        );
    overflow: hidden;
}

.lsw-about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.lsw-about-hero-content p {
    max-width: 570px;
    font-size: 16px;
}

.lsw-about-hero-visual {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Browser */

.lsw-about-browser {
    width: min(500px, 100%);
    height: 295px;
    padding: 12px;
    border-radius: 15px;
    background: #172033;
    box-shadow: 0 35px 75px rgba(15, 23, 42, .22);

    transform:
        perspective(1000px)
        rotateY(-7deg)
        rotateX(3deg);
}

.lsw-browser-top {
    height: 23px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lsw-browser-top span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    opacity: .7;
}

.lsw-browser-content {
    display: flex;
    height: calc(100% - 23px);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.lsw-browser-sidebar {
    width: 23%;
    background: #eef3f8;
    padding: 25px 13px;
}

.lsw-browser-sidebar i {
    display: block;
    height: 9px;
    background: #d3deeb;
    border-radius: 5px;
    margin-bottom: 18px;
}

.lsw-browser-sidebar i:first-child {
    background: var(--lsw-blue);
}

.lsw-browser-main {
    flex: 1;
    padding: 24px;
}

.lsw-dashboard-title {
    height: 17px;
    width: 65%;
    border-radius: 5px;
    background: var(--lsw-blue);
}

.lsw-dashboard-line {
    width: 45%;
    height: 7px;
    margin-top: 10px;
    background: #dce5ef;
    border-radius: 5px;
}

.lsw-dashboard-cards {
    display: flex;
    gap: 9px;
    margin-top: 25px;
}

.lsw-dashboard-cards div {
    height: 45px;
    flex: 1;
    background: #f0f5fa;
    border-radius: 7px;
}

.lsw-dashboard-chart {
    height: 110px;
    margin-top: 20px;
    display: flex;
    align-items: flex-end;
    gap: 9px;
    border-bottom: 1px solid #dbe3ed;
}

.lsw-dashboard-chart span {
    display: block;
    flex: 1;
    background: var(--lsw-blue);
    border-radius: 5px 5px 0 0;
}


/* Floating Cards */

.lsw-floating-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--lsw-border);
    border-radius: 10px;
    padding: 11px 14px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, .12);
}

.lsw-floating-card small {
    display: block;
    color: var(--lsw-muted);
    font-size: 10px;
}

.lsw-floating-card strong {
    display: block;
    margin-top: 2px;
    color: var(--lsw-green);
    font-size: 20px;
}

.lsw-floating-seo {
    top: 28px;
    right: 2%;
}

.lsw-floating-leads {
    bottom: 34px;
    left: 2%;
}

.lsw-floating-badge {
    position: absolute;
    right: 0;
    bottom: 85px;
    background: var(--lsw-blue);
    color: #fff;
    border-radius: 30px;
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 12px 25px rgba(37, 99, 235, .25);
}

.lsw-floating-badge span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    margin-right: 5px;
    border-radius: 50%;
    background: #fff;
    color: var(--lsw-blue);
}


/* =========================================================
   INTRO
   ========================================================= */

.lsw-about-intro {
    padding: 100px 0;
}

.lsw-about-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: center;
}

.lsw-about-intro-content > p {
    max-width: 610px;
}

.lsw-about-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 25px;
}

.lsw-about-checks div {
    color: var(--lsw-text);
    font-size: 14px;
    font-weight: 600;
}

.lsw-about-checks span {
    color: var(--lsw-green);
    margin-right: 7px;
}


/* Growth Card */

.lsw-about-growth-card {
    padding: 33px;
    min-height: 350px;
    border: 1px solid var(--lsw-border);
    border-radius: 22px;
    background: linear-gradient(
        145deg,
        #edf5ff,
        #ffffff
    );
    box-shadow: 0 25px 60px rgba(37, 99, 235, .08);
}

.lsw-growth-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--lsw-muted);
    font-size: 13px;
}

.lsw-growth-card-header strong {
    color: var(--lsw-green);
    font-size: 23px;
}

.lsw-growth-number {
    margin-top: 40px;
    color: var(--lsw-navy);
    font-size: 70px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -4px;
}

.lsw-about-growth-card p {
    font-size: 13px;
    max-width: 350px;
}

.lsw-growth-graph {
    height: 85px;
    display: flex;
    align-items: flex-end;
    gap: 9px;
    border-bottom: 1px solid var(--lsw-border);
}

.lsw-growth-graph span {
    display: block;
    flex: 1;
    background: var(--lsw-blue);
    border-radius: 5px 5px 0 0;
}

.lsw-growth-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 15px;
}

.lsw-growth-bottom small,
.lsw-growth-bottom strong {
    display: block;
}

.lsw-growth-bottom small {
    color: var(--lsw-muted);
    font-size: 10px;
}

.lsw-growth-bottom strong {
    font-size: 12px;
}


/* =========================================================
   SERVICES
   ========================================================= */

.lsw-about-services {
    padding: 90px 0;
    background: var(--lsw-soft);
}

.lsw-about-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 35px;
}

.lsw-about-section-heading > p {
    max-width: 350px;
    margin-bottom: 5px;
}

.lsw-about-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.lsw-about-service-card {
    min-height: 270px;
    padding: 27px;
    background: #fff;
    border: 1px solid var(--lsw-border);
    border-radius: 15px;
    transition: all .25s ease;
}

.lsw-about-service-card:hover {
    transform: translateY(-5px);
    border-color: #c5d6ef;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}

.lsw-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-bottom: 27px;

    color: var(--lsw-green);
    border: 1px solid #bce7cc;
    border-radius: 11px;

    font-size: 20px;
    font-weight: 700;
}

.lsw-about-service-card p {
    font-size: 13px;
}

.lsw-about-service-card a {
    display: inline-block;
    margin-top: 10px;
    color: var(--lsw-green);
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   WHY US
   ========================================================= */

.lsw-about-why {
    padding: 100px 0;
}

.lsw-about-features {
    display: grid;
    gap: 26px;
    margin-top: 35px;
}

.lsw-about-feature {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 17px;
}

.lsw-feature-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 1px solid #bce7cc;
    border-radius: 10px;

    color: var(--lsw-green);
    font-size: 11px;
    font-weight: 800;
}

.lsw-about-feature p {
    margin-bottom: 0;
}


/* Team visual */

.lsw-about-team-visual {
    min-height: 450px;
    position: relative;
    overflow: hidden;

    border: 1px solid var(--lsw-border);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #edf5ff,
            #ffffff
        );
}


/* Dashboard */

.lsw-team-dashboard {
    position: absolute;
    z-index: 4;
    top: 30px;
    right: 10%;
    width: 250px;
    padding: 18px;

    background: #fff;
    border: 1px solid var(--lsw-border);
    border-radius: 12px;

    box-shadow: 0 20px 40px rgba(15, 23, 42, .13);
}

.lsw-team-dashboard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 10px;
    color: var(--lsw-muted);
}

.lsw-team-dashboard-top strong {
    color: var(--lsw-green);
    font-size: 9px;
}

.lsw-team-metric {
    margin-top: 18px;
}

.lsw-team-metric strong {
    display: block;
    font-size: 29px;
}

.lsw-team-metric span {
    font-size: 10px;
    color: var(--lsw-green);
}

.lsw-team-bars {
    height: 80px;
    margin-top: 10px;

    display: flex;
    align-items: flex-end;
    gap: 7px;

    border-bottom: 1px solid var(--lsw-border);
}

.lsw-team-bars i {
    flex: 1;
    display: block;
    background: var(--lsw-blue);
    border-radius: 4px 4px 0 0;
}


/* People */

.lsw-team-person {
    position: absolute;
    bottom: 25px;

    width: 95px;
    height: 160px;

    border-radius: 45% 45% 15% 15%;
}

.lsw-team-person span {
    position: absolute;

    top: -45px;
    left: 50%;

    width: 52px;
    height: 52px;

    border-radius: 50%;

    transform: translateX(-50%);

    background: #edc19f;
}

.lsw-person-one {
    left: 12%;
    background: #f2b72e;
}

.lsw-person-two {
    left: 39%;
    width: 112px;
    height: 185px;
    background: var(--lsw-blue);
    z-index: 3;
}

.lsw-person-three {
    right: 11%;
    width: 100px;
    height: 170px;
    background: #6549bd;
    z-index: 2;
}


/* Laptop */

.lsw-team-laptop {
    position: absolute;
    z-index: 6;

    left: 35%;
    bottom: 24px;

    width: 190px;
    height: 105px;

    background: #182236;

    border-radius: 8px 8px 4px 4px;

    transform: perspective(500px) rotateX(7deg);
}

.lsw-team-laptop div {
    position: absolute;

    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;

    background:
        linear-gradient(
            135deg,
            #eaf2ff,
            #ffffff
        );

    border-radius: 3px;
}

.lsw-team-laptop::after {
    content: "";

    position: absolute;

    left: -18px;
    right: -18px;
    bottom: -8px;

    height: 8px;

    background: #27344b;
    border-radius: 5px;
}


/* =========================================================
   PROCESS
   ========================================================= */

.lsw-about-process {
    padding: 95px 0;
    background: var(--lsw-soft);
}

.lsw-about-centered-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.lsw-about-centered-heading p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.lsw-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 60px;
}

.lsw-process-item {
    position: relative;
    padding: 0 25px 0 0;
}

.lsw-process-item > span {
    display: block;
    color: var(--lsw-blue);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 16px;
}

.lsw-process-line {
    height: 2px;
    margin-bottom: 23px;
    background: var(--lsw-blue);
    position: relative;
}

.lsw-process-item:not(:last-child) .lsw-process-line::after {
    content: "→";

    position: absolute;

    right: -14px;
    top: -14px;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--lsw-border);
    border-radius: 50%;

    background: #fff;
    color: var(--lsw-blue);
    font-size: 13px;
}


/* =========================================================
   NUMBERS
   ========================================================= */

.lsw-about-numbers {
    padding: 58px 0;
    background: var(--lsw-navy);
    color: #fff;
}

.lsw-about-numbers .lsw-about-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.lsw-about-numbers strong {
    display: block;
    font-size: 48px;
    line-height: 1;
    letter-spacing: -2px;
}

.lsw-about-numbers span {
    display: block;
    margin-top: 8px;
    color: #cbd5e1;
    font-size: 12px;
}


/* =========================================================
   MISSION
   ========================================================= */

.lsw-about-mission {
    padding: 105px 0;
    background: #fff;
}

.lsw-about-mission h2 {
    max-width: 950px;
    font-size: clamp(38px, 5vw, 65px);
    letter-spacing: -2.8px;
}

.lsw-about-mission p {
    max-width: 650px;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.lsw-about-final-cta {
    padding: 85px 0;
}

.lsw-about-cta-box {
    padding: 55px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 45px;

    border: 1px solid var(--lsw-border);
    border-radius: 24px;

    background:
        linear-gradient(
            120deg,
            #edf5ff,
            #f8fbff
        );
}

.lsw-about-cta-box h2 {
    max-width: 700px;
    margin-bottom: 13px;
}

.lsw-about-cta-box p {
    max-width: 650px;
    margin-bottom: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .lsw-about-hero-grid,
    .lsw-about-two-column {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .lsw-about-hero {
        padding: 60px 0;
    }

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

    .lsw-process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px 20px;
    }

    .lsw-process-item:not(:last-child) .lsw-process-line::after {
        display: none;
    }

    .lsw-about-cta-box {
        display: block;
    }

    .lsw-about-cta-box .lsw-about-buttons {
        margin-top: 30px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .lsw-about-container {
        width: calc(100% - 28px);
    }

    .lsw-about-page h1 {
        font-size: 42px;
        letter-spacing: -1.8px;
    }

    .lsw-about-page h2 {
        font-size: 33px;
        letter-spacing: -1px;
    }

    .lsw-about-hero {
        padding: 50px 0;
    }

    .lsw-about-hero-visual {
        min-height: 280px;
    }

    .lsw-about-browser {
        height: 215px;
    }

    .lsw-floating-card,
    .lsw-floating-badge {
        display: none;
    }

    .lsw-about-intro,
    .lsw-about-why,
    .lsw-about-process {
        padding: 70px 0;
    }

    .lsw-about-checks {
        grid-template-columns: 1fr;
    }

    .lsw-about-growth-card {
        min-height: 300px;
        padding: 25px;
    }

    .lsw-growth-number {
        font-size: 57px;
    }

    .lsw-about-services {
        padding: 70px 0;
    }

    .lsw-about-section-heading {
        display: block;
    }

    .lsw-about-section-heading > p {
        margin-top: 15px;
    }

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

    .lsw-about-service-card {
        min-height: auto;
    }

    .lsw-about-team-visual {
        min-height: 350px;
    }

    .lsw-team-dashboard {
        width: 210px;
        right: 5%;
    }

    .lsw-team-person {
        transform: scale(.8);
        transform-origin: bottom center;
    }

    .lsw-team-laptop {
        left: 25%;
        width: 160px;
    }

    .lsw-process-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .lsw-about-numbers .lsw-about-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 10px;
    }

    .lsw-about-numbers strong {
        font-size: 38px;
    }

    .lsw-about-mission {
        padding: 75px 0;
    }

    .lsw-about-mission h2 {
        font-size: 39px;
        letter-spacing: -1.5px;
    }

    .lsw-about-final-cta {
        padding: 55px 0;
    }

    .lsw-about-cta-box {
        padding: 30px 23px;
    }

    .lsw-about-buttons {
        width: 100%;
    }

    .lsw-about-btn {
        width: 100%;
    }

}