/* =========================================================
   GLOWSOURCE — MARKETING AGENCIES LANDING PAGE
   Version 1.0.0
   ========================================================= */

.gs-ma-page,
.gs-ma-page * {
    box-sizing: border-box;
}

.gs-ma-page {
    --gs-ma-navy: #14233f;
    --gs-ma-green: #17683a;
    --gs-ma-green-dark: #0e552d;
    --gs-ma-blue: #1463f3;
    --gs-ma-muted: #4a5a6c;
    --gs-ma-border: #d9e7de;
    --gs-ma-pale: #f2f8f3;

    width: 100%;
    max-width: 1200px;
    margin: 34px auto 64px;
    padding: 0 22px;
    color: var(--gs-ma-navy);
    font-family: inherit;
}

.gs-ma-page h1,
.gs-ma-page h2,
.gs-ma-page h3,
.gs-ma-page p {
    margin-top: 0;
}

.gs-ma-page h1,
.gs-ma-page h2,
.gs-ma-page h3 {
    color: var(--gs-ma-navy);
    font-family: inherit;
    font-weight: 750;
}

.gs-ma-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-rows: auto auto;
    column-gap: 34px;
    row-gap: 30px;
    align-items: start;
}

.gs-ma-intro {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 26px;
    align-items: start;
}

.gs-ma-intro-copy h1 {
    margin: 8px 0 12px;
    font-size: clamp(27px, 2.4vw, 34px);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.gs-ma-lead {
    margin: 0 0 20px;
    color: var(--gs-ma-muted);
    font-size: 14px;
    line-height: 1.65;
}

.gs-ma-benefits {
    display: grid;
    gap: 15px;
}

.gs-ma-benefit {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.gs-ma-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #edf6ee;
    color: var(--gs-ma-green);
}

.gs-ma-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gs-ma-benefit h2 {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.3;
}

.gs-ma-benefit p {
    margin: 0;
    color: var(--gs-ma-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.gs-ma-feature-image {
    display: block;
    width: 100%;
    height: 320px;
    margin-top: 8px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

.gs-ma-form-card {
    grid-column: 2;
    grid-row: 1 / span 2;
    padding: 20px 19px 18px;
    border: 1px solid #cfe2d5;
    border-radius: 15px;
    background: linear-gradient(145deg, #fbfefb 0%, #f5faf6 100%);
    box-shadow: 0 9px 26px rgba(22, 67, 42, 0.07);
}

.gs-ma-form-card > h2 {
    margin: 0 0 8px;
    font-size: 23px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gs-ma-form-intro {
    margin: 0 0 16px;
    color: var(--gs-ma-muted);
    font-size: 13px;
    line-height: 1.55;
}

.gs-ma-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 13px;
}

.gs-ma-field {
    min-width: 0;
}

.gs-ma-field-full {
    grid-column: 1 / -1;
}

.gs-ma-field label {
    display: block;
    margin: 0 0 5px;
    color: var(--gs-ma-navy);
    font-size: 12px;
    font-weight: 700;
}

.gs-ma-field label span {
    color: #c63b36;
}

.gs-ma-field input,
.gs-ma-field textarea {
    display: block;
    width: 100%;
    min-height: 40px;
    padding: 9px 10px;
    border: 1px solid #cbd7d5;
    border-radius: 6px;
    background: #fff;
    color: var(--gs-ma-navy);
    font: inherit;
    font-size: 13px;
    line-height: 1.4;
}

.gs-ma-field textarea {
    min-height: 88px;
    resize: vertical;
}

.gs-ma-field input:focus,
.gs-ma-field textarea:focus {
    outline: none;
    border-color: var(--gs-ma-green);
    box-shadow: 0 0 0 3px rgba(23, 104, 58, 0.10);
}

.gs-ma-field input::placeholder,
.gs-ma-field textarea::placeholder {
    color: #82909a;
}

.gs-ma-form-card .cf-turnstile {
    margin: 13px 0 9px;
    min-height: 0;
}

.gs-ma-submit {
    display: block;
    width: 100%;
    min-height: 43px;
    padding: 11px 14px;
    border: 0;
    border-radius: 7px;
    background: var(--gs-ma-blue);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.gs-ma-submit:hover {
    background: #0d53d5;
    transform: translateY(-1px);
}

.gs-ma-submit:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

.gs-ma-form-message {
    display: none;
    margin-top: 12px;
    padding: 11px 12px;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.5;
}

.gs-ma-form-message.is-success {
    display: block;
    border: 1px solid #a8d9b8;
    background: #edf9f0;
    color: #17683a;
}

.gs-ma-form-message.is-error {
    display: block;
    border: 1px solid #e7b7b5;
    background: #fff3f2;
    color: #9b2925;
}

.gs-ma-privacy-note {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin: 14px 0 0;
    color: var(--gs-ma-muted);
    font-size: 11.5px;
    line-height: 1.5;
}

.gs-ma-privacy-note a {
    color: var(--gs-ma-green);
    text-decoration: underline;
}

.gs-ma-lock {
    color: var(--gs-ma-green);
    font-size: 18px;
    line-height: 1;
}

.gs-ma-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.gs-ma-products {
    grid-column: 1;
    grid-row: 2;
}

.gs-ma-products > h2 {
    margin: 0 0 7px;
    font-size: 22px;
    line-height: 1.25;
}

.gs-ma-products > p {
    margin: 0 0 15px;
    color: var(--gs-ma-muted);
    font-size: 13px;
    line-height: 1.55;
}

.gs-ma-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.gs-ma-product-card {
    overflow: hidden;
    margin: 0;
    border: 1px solid #e0e9e3;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(22, 67, 42, 0.055);
}

.gs-ma-product-card img {
    display: block;
    width: 100%;
    height: 112px;
    object-fit: cover;
    background: #f6f8f6;
}

.gs-ma-product-card h3 {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 8px 7px;
    border-top: 1px solid #edf1ee;
    color: var(--gs-ma-navy);
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
}

.gs-ma-process {
    display: grid;
    grid-template-columns: 1.2fr 1fr 26px 1fr 26px 1fr;
    gap: 16px;
    align-items: center;
    margin-top: 30px;
    padding: 20px 22px;
    border-radius: 15px;
    background: linear-gradient(110deg, #f0f7f1 0%, #f7fbf7 100%);
}

.gs-ma-process-intro h2 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.2;
}

.gs-ma-process-intro p,
.gs-ma-process-step p {
    margin: 0;
    color: var(--gs-ma-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.gs-ma-step-number {
    display: inline-flex;
    width: 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    margin-bottom: 7px;
    border-radius: 50%;
    background: var(--gs-ma-green);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.gs-ma-process-step h3 {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.3;
}

.gs-ma-process-arrow {
    color: #268344;
    font-size: 25px;
    text-align: center;
}

.gs-ma-cta {
    position: relative;
    display: flex;
    min-height: 155px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 32px;
    padding: 25px 28px;
    border: 1.5px solid var(--gs-ma-green);
    border-radius: 15px;
    background: linear-gradient(110deg, #f5faf5 0%, #fbfdfb 100%);
    box-shadow: 0 7px 22px rgba(22, 67, 42, 0.055);
    text-align: center;
}

.gs-ma-cta-leaf {
    position: absolute;
    bottom: -5px;
    left: 22px;
    width: 80px;
    height: 125px;
    fill: #9ccdb0;
    opacity: .6;
}

.gs-ma-cta-leaf path:last-child {
    fill: none;
    stroke: #76b38d;
    stroke-width: 2;
}

.gs-ma-cta-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.gs-ma-cta h2 {
    margin: 0 0 8px;
    font-size: 23px;
    line-height: 1.25;
}

.gs-ma-cta p {
    margin: 0 auto 15px;
    color: var(--gs-ma-green-dark);
    font-size: 12.5px;
    line-height: 1.55;
}

.gs-ma-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.gs-ma-cta-primary,
.gs-ma-cta-secondary {
    display: inline-flex;
    min-height: 41px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid var(--gs-ma-blue);
    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .18s ease, color .18s ease;
}

.gs-ma-cta-primary {
    background: var(--gs-ma-blue);
    color: #fff !important;
}

.gs-ma-cta-primary:hover {
    background: #0d53d5;
}

.gs-ma-cta-secondary {
    background: #fff;
    color: var(--gs-ma-navy) !important;
}

.gs-ma-cta-secondary:hover {
    background: #edf4ff;
}

/* Tablet */
@media (max-width: 1024px) {
    .gs-ma-top-grid {
        grid-template-columns: minmax(0, 1fr) 330px;
        column-gap: 22px;
    }

    .gs-ma-intro {
        grid-template-columns: minmax(0, 1fr) 160px;
        gap: 16px;
    }

    .gs-ma-feature-image {
        height: 260px;
    }

    .gs-ma-process {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gs-ma-process-intro {
        grid-column: 1 / -1;
    }

    .gs-ma-process-arrow {
        display: none;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .gs-ma-page {
        width: 100%;
        margin: 22px auto 42px;
        padding: 0 16px;
    }

    .gs-ma-top-grid {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .gs-ma-intro {
        display: flex;
        flex-direction: column;
        gap: 17px;
        width: 100%;
    }

    .gs-ma-intro-copy h1 {
        margin-top: 0;
        font-size: 27px;
        line-height: 1.17;
    }

    .gs-ma-lead {
        font-size: 14px;
        margin-bottom: 17px;
    }

    .gs-ma-benefits {
        gap: 13px;
    }

    .gs-ma-benefit {
        grid-template-columns: 43px minmax(0, 1fr);
        gap: 10px;
    }

    .gs-ma-icon {
        width: 40px;
        height: 40px;
    }

    .gs-ma-benefit h2 {
        font-size: 14px;
    }

    .gs-ma-benefit p {
        font-size: 12px;
    }

    .gs-ma-feature-image {
        width: 100%;
        height: 230px;
        margin: 0;
        object-position: center 54%;
    }

    .gs-ma-form-card {
        order: 2;
        width: 100%;
        padding: 19px 16px;
    }

    .gs-ma-form-card > h2 {
        font-size: 21px;
    }

    .gs-ma-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gs-ma-field-full {
        grid-column: auto;
    }

    .gs-ma-products {
        order: 3;
        width: 100%;
    }

    .gs-ma-products > h2 {
        font-size: 20px;
    }

    .gs-ma-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .gs-ma-product-card img {
        height: 125px;
    }

    .gs-ma-product-card h3 {
        min-height: 46px;
        font-size: 12px;
    }

    .gs-ma-process {
        display: grid;
        grid-template-columns: 1fr;
        gap: 17px;
        margin-top: 24px;
        padding: 20px;
    }

    .gs-ma-process-intro {
        grid-column: auto;
    }

    .gs-ma-process-intro h2 {
        font-size: 20px;
    }

    .gs-ma-process-step {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        column-gap: 10px;
        align-items: start;
    }

    .gs-ma-step-number {
        grid-row: 1 / span 2;
        margin: 0;
    }

    .gs-ma-process-step h3 {
        margin: 1px 0 4px;
    }

    .gs-ma-process-step p {
        grid-column: 2;
    }

    .gs-ma-cta {
        min-height: 0;
        margin-top: 24px;
        padding: 26px 18px;
    }

    .gs-ma-cta-leaf {
        left: -8px;
        width: 55px;
        opacity: .28;
    }

    .gs-ma-cta h2 {
        font-size: 21px;
    }

    .gs-ma-cta p {
        font-size: 13px;
    }

    .gs-ma-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .gs-ma-cta-primary,
    .gs-ma-cta-secondary {
        width: 100%;
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gs-ma-page *,
    .gs-ma-page *::before,
    .gs-ma-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
