
/* =========================================================
   LMAK GLOBAL — SHARED VISUAL POLISH
   Consistent spacing, alignment, colour and form hierarchy.
   ========================================================= */

:root {
    --gutter: clamp(22px, 3.1vw, 44px);
    --container: 1220px;
    --section-space: clamp(78px, 7vw, 118px);

    --brand-green: #38C86A;
    --brand-green-bright: #59E37D;
    --brand-yellow: #F2CB20;
    --brand-yellow-light: #FFD92F;
    --brand-bg: #030806;
    --brand-surface: #0A1810;
}

body {
    background:
        radial-gradient(circle at 84% 6%, rgba(56,200,106,.045), transparent 25%),
        radial-gradient(circle at 8% 48%, rgba(242,203,32,.025), transparent 22%),
        var(--brand-bg);
}

/* Keep all major page content on one visual grid. */
main > section > .container,
main > .section > .container {
    width: min(calc(100% - (var(--gutter) * 2)), var(--container));
}

/* More consistent vertical rhythm across inner pages. */
.page-about .section,
.page-services .section,
.page-pricing .section,
.page-insights .section,
.page-contact .section,
.page-service .section {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

/* Unify page-specific brand colours with the main logo palette. */
.page-contact,
.page-insights {
    --contact-green: var(--brand-green);
    --contact-yellow: var(--brand-yellow);
    --insights-green: var(--brand-green);
    --insights-yellow: var(--brand-yellow);
}

/* Section headings should share a common reading width. */
.section-header,
.contact-form-intro,
.insights-hero-content,
.contact-hero-content {
    max-width: 760px;
}

.section-description {
    max-width: 680px;
}

/* Cards and panels use one restrained surface treatment. */
.contact-form-card,
.insights-final-cta-inner,
.contact-final-cta-inner,
.it-project-cta-card {
    background:
        linear-gradient(145deg, rgba(13,32,21,.94), rgba(7,18,12,.90));
    border-color: rgba(255,255,255,.09);
    box-shadow: 0 28px 80px rgba(0,0,0,.22);
}

/* Prevent accent colours from drifting into unrelated hues. */
.insights-hero {
    background:
        radial-gradient(circle at 78% 24%, rgba(56,200,106,.08), transparent 30%),
        radial-gradient(circle at 18% 74%, rgba(242,203,32,.035), transparent 25%);
}

.btn-primary {
    background: var(--brand-yellow);
    color: #071008;
}

.btn-primary:hover {
    background: var(--brand-yellow-light);
}

/* Contact form: cleaner fields, spacing and focus states. */
.contact-form-section {
    padding-block: clamp(72px, 7vw, 112px);
}

.contact-form-layout {
    align-items: start;
    gap: clamp(42px, 6vw, 82px);
}

.contact-form-card {
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 24px;
    padding: clamp(26px, 3vw, 42px);
}

.form-field {
    margin-bottom: 22px;
}

.form-field input,
.form-field textarea,
.form-field select {
    border-color: rgba(255,255,255,.10);
    background: rgba(255,255,255,.025);
    color: var(--text);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: rgba(242,203,32,.55);
    box-shadow: 0 0 0 3px rgba(242,203,32,.07);
    outline: none;
}

/* Service pages: keep content columns visually balanced. */
.it-hero-grid,
.platforms-grid,
.service-detail-grid {
    align-items: center;
}

/* IT page no longer needs an embedded form. */
.it-project-cta {
    padding-block: clamp(74px, 7vw, 112px);
}

.it-project-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    padding: clamp(32px, 5vw, 62px);
    border: 1px solid rgba(56,200,106,.16);
    border-radius: 28px;
}

.it-project-cta-copy {
    max-width: 720px;
}

.it-project-cta-copy h2 {
    margin-top: 18px;
    font-size: clamp(38px, 4.5vw, 62px);
    line-height: 1;
    letter-spacing: -.055em;
}

.it-project-cta-copy h2 span {
    color: var(--brand-green);
}

.it-project-cta-copy p {
    max-width: 640px;
    margin-top: 20px;
    color: var(--text-soft);
}

.it-project-cta .section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-yellow);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.it-project-cta .section-label span {
    opacity: .72;
}

/* Insights: after removing the newsletter form, keep the page ending intentional. */
.insights-final-cta {
    padding-block: clamp(74px, 8vw, 120px);
}

/* Footer stays aligned to the same container as page content. */
.site-footer .container {
    width: min(calc(100% - (var(--gutter) * 2)), var(--container));
}

@media (max-width: 900px) {
    .it-project-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .it-project-cta .btn {
        width: auto;
    }
}

@media (max-width: 680px) {
    :root {
        --gutter: 20px;
    }

    .contact-form-card {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .it-project-cta-card {
        padding: 28px 22px;
        border-radius: 22px;
    }
}

/* Footer contact refinement */
.site-footer .footer-column h3 {
    color: var(--brand-yellow, var(--yellow));
    margin-bottom: 18px;
}

.site-footer .footer-column a,
.site-footer .footer-contact-location {
    display: block;
    margin: 0;
    padding: 5px 0;
    color: rgba(255,255,255,.66);
    font-size: 14px;
    line-height: 1.55;
    text-decoration: none;
}

.site-footer .footer-column a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.site-footer .footer-contact-location {
    color: rgba(255,255,255,.78);
    margin-top: 2px;
    margin-bottom: 10px;
}

.site-footer .footer-column a[href^="mailto:"],
.site-footer .footer-column a[href^="tel:"] {
    color: rgba(255,255,255,.72);
}

@media (max-width: 680px) {
    .site-footer .footer-column h3 { margin-bottom: 14px; }
    .site-footer .footer-column a,
    .site-footer .footer-contact-location { font-size: 14px; }
}


/* Final site-wide spacing + form polish */
main > section {
    position: relative;
}

main > section > .container {
    margin-inline: auto;
}

.section-header,
.contact-hero-content,
.contact-form-intro,
.direct-contact-header,
.contact-process-heading {
    overflow-wrap: anywhere;
}

.form-field-trap {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.form-status-success {
    color: var(--brand-green) !important;
}

.form-status-error {
    color: #ff8e8e !important;
}

.form-submit-button {
    cursor: pointer;
}

.form-submit-button:disabled {
    opacity: .65;
    cursor: wait;
}

@media (max-width: 900px) {
    .contact-form-layout,
    .contact-process-grid {
        gap: 48px;
    }
}

@media (max-width: 680px) {
    main > section > .container {
        width: min(calc(100% - 40px), var(--container));
    }
}
