/*
Lismah Care Main Stylesheet
===========================

Design direction:
    - Minimal
    - Editorial
    - Calm
    - High contrast
    - White space
    - Few visual effects
    - One primary accent
    - Accessible without relying on color alone

Bootstrap is retained for:
    - responsive navigation collapse
    - basic container behavior

Lismah Care owns the visible presentation.
*/


/* ============================================================
   DESIGN SYSTEM
   ============================================================ */

:root {
    --lc-white: #ffffff;
    --lc-background: #f8f8f6;
    --lc-text: #202522;
    --lc-heading: #101512;
    --lc-muted: #626b66;
    --lc-border: #d9dedb;
    --lc-border-dark: #aeb8b2;
    --lc-primary: #1f5945;
    --lc-primary-dark: #153d30;
    --lc-primary-soft: #edf3f0;
    --lc-danger: #7a2e2a;
    --lc-danger-soft: #fff4f3;
    --lc-success: #1f5945;
    --lc-success-soft: #eff6f2;
    --lc-container: 1180px;
    --lc-reading-width: 720px;
}


/* ============================================================
   RESET
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}


body {
    margin: 0;
    background: var(--lc-background);
    color: var(--lc-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}


img {
    display: block;
    max-width: 100%;
}


button,
input,
select,
textarea {
    font: inherit;
}


/* ============================================================
   CONTAINER
   ============================================================ */

.container {
    width: min( calc(100% - 40px), var(--lc-container) );
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--lc-heading);
    line-height: 1.12;
    font-weight: 700;
}


h1 {
    font-size: clamp( 2.8rem, 7vw, 5.7rem );
    letter-spacing: -0.05em;
}


h2 {
    font-size: clamp( 2rem, 4vw, 3.3rem );
    letter-spacing: -0.04em;
}


h3 {
    font-size: 1.15rem;
}


p {
    margin-top: 0;
    margin-bottom: 1rem;
}


a {
    color: var(--lc-primary-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}


    a:hover {
        color: var(--lc-primary);
    }


    /* ============================================================
   ACCESSIBILITY
   ============================================================ */

    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
        outline: 3px solid rgba(31, 89, 69, 0.22);
        outline-offset: 3px;
    }


/* ============================================================
   NAVIGATION
   ============================================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 72px;
    background: var(--lc-white) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--lc-border) !important;
}


    .navbar .container {
        width: min( calc(100% - 40px), var(--lc-container) );
    }


.navbar-brand {
    color: var(--lc-heading) !important;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
}


    .navbar-brand:hover {
        color: var(--lc-primary) !important;
    }


.navbar-nav {
    gap: 0.3rem;
}


.nav-link {
    padding: 0.55rem 0.7rem !important;
    color: var(--lc-text) !important;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}


    .nav-link:hover,
    .nav-link:focus {
        color: var(--lc-primary) !important;
    }


.navbar-toggler {
    padding: 0.35rem 0.5rem;
    border: 1px solid var(--lc-border-dark);
    border-radius: 2px;
}


    .navbar-toggler:focus {
        box-shadow: none;
    }


/* ============================================================
   SHARED SECTION
   ============================================================ */

.lc-section {
    padding: 100px 0;
}


.lc-section-soft {
    background: var(--lc-white);
    border-top: 1px solid var(--lc-border);
    border-bottom: 1px solid var(--lc-border);
}


.lc-section-heading {
    max-width: 760px;
    margin-bottom: 52px;
}


    .lc-section-heading h2 {
        margin-bottom: 20px;
    }


    .lc-section-heading > p:last-child {
        max-width: 660px;
        color: var(--lc-muted);
        font-size: 1.04rem;
    }


.lc-eyebrow {
    margin-bottom: 14px;
    color: var(--lc-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}


.lc-muted {
    color: var(--lc-muted);
}


/* ============================================================
   HERO
   ============================================================ */

.lc-hero {
    padding: 120px 0;
    background: var(--lc-white);
    border-bottom: 1px solid var(--lc-border);
}


.lc-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.6fr);
    gap: 100px;
    align-items: end;
}


.lc-hero-content {
    max-width: 820px;
}


.lc-hero-title {
    margin-bottom: 30px;
}


.lc-hero-description {
    max-width: 630px;
    margin-bottom: 34px;
    color: var(--lc-muted);
    font-size: clamp( 1.1rem, 2vw, 1.3rem );
    line-height: 1.7;
}


.lc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.lc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.2rem;
    border: 1px solid;
    border-radius: 2px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}


.lc-button-primary {
    background: var(--lc-primary);
    border-color: var(--lc-primary);
    color: var(--lc-white);
}


    .lc-button-primary:hover,
    .lc-button-primary:focus {
        background: var(--lc-primary-dark);
        border-color: var(--lc-primary-dark);
        color: var(--lc-white);
    }


.lc-button-secondary {
    background: transparent;
    border-color: var(--lc-border-dark);
    color: var(--lc-heading);
}


    .lc-button-secondary:hover,
    .lc-button-secondary:focus {
        background: var(--lc-background);
        border-color: var(--lc-heading);
        color: var(--lc-heading);
    }


/* ============================================================
   HERO SIDE PANEL
   ============================================================ */

.lc-hero-panel {
    padding-top: 20px;
    border-top: 3px solid var(--lc-primary);
}


.lc-panel-label {
    margin-bottom: 8px !important;
    color: var(--lc-primary) !important;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}


.lc-hero-panel h2 {
    margin-bottom: 14px;
    font-size: 1.45rem;
    letter-spacing: -0.02em;
}


.lc-hero-panel p {
    color: var(--lc-muted);
}


.lc-panel-divider {
    height: 1px;
    margin: 24px 0;
    background: var(--lc-border);
}


.lc-panel-small {
    font-size: 0.9rem;
}


/* ============================================================
   PRIVATE CARE FEATURES
   ============================================================ */

.lc-three-column {
    display: grid;
    grid-template-columns: repeat( 3, minmax(0, 1fr) );
    gap: 48px;
}


.lc-feature {
    padding-top: 20px;
    border-top: 1px solid var(--lc-border-dark);
}


.lc-feature-number {
    display: block;
    margin-bottom: 28px;
    color: var(--lc-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}


.lc-feature h3 {
    margin-bottom: 12px;
}


.lc-feature p {
    color: var(--lc-muted);
}


/* ============================================================
   SERVICES
   ============================================================ */

.lc-service-grid {
    display: grid;
    grid-template-columns: repeat( 3, minmax(0, 1fr) );
    border-top: 1px solid var(--lc-border);
    border-left: 1px solid var(--lc-border);
}


.lc-service {
    min-height: 190px;
    padding: 30px;
    background: var(--lc-white);
    border-right: 1px solid var(--lc-border);
    border-bottom: 1px solid var(--lc-border);
}


    .lc-service h3 {
        margin-bottom: 14px;
    }


    .lc-service p {
        margin-bottom: 0;
        color: var(--lc-muted);
    }


/* ============================================================
   HOW IT WORKS
   ============================================================ */

.lc-process {
    max-width: 860px;
}


.lc-process-step {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 26px;
    padding: 30px 0;
    border-top: 1px solid var(--lc-border);
}


    .lc-process-step:last-child {
        border-bottom: 1px solid var(--lc-border);
    }


.lc-process-marker {
    color: var(--lc-primary);
    font-size: 0.82rem;
    font-weight: 700;
}


.lc-process-step h3 {
    margin-bottom: 8px;
}


.lc-process-step p {
    max-width: 620px;
    margin-bottom: 0;
    color: var(--lc-muted);
}


/* ============================================================
   ANDROID APP
   ============================================================ */

.lc-app-section {
    background: var(--lc-heading);
    color: var(--lc-white);
}


    .lc-app-section h2 {
        color: var(--lc-white);
    }


    .lc-app-section p {
        max-width: 620px;
        color: #d0d8d3;
    }


    .lc-app-section .lc-eyebrow {
        color: #99b9ac;
    }


.lc-app-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.5fr);
    gap: 100px;
    align-items: end;
}


.lc-app-status {
    padding-top: 20px;
    border-top: 2px solid #6e9585;
}


.lc-app-status {
    display: flex;
    flex-direction: column;
    gap: 6px;
}


    .lc-app-status strong {
        color: var(--lc-white);
        font-size: 1.25rem;
    }


    .lc-app-status span {
        color: #c1cdc7;
    }


.lc-status-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}


/* ============================================================
   ABOUT
   ============================================================ */

.lc-about-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 100px;
}


    .lc-about-layout p {
        max-width: 640px;
        color: var(--lc-muted);
        font-size: 1.05rem;
    }


/* ============================================================
   INQUIRY
   ============================================================ */

.lc-inquiry-section {
    background: var(--lc-white);
    border-top: 1px solid var(--lc-border);
}


.lc-inquiry-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
    gap: 90px;
    align-items: start;
}


.lc-inquiry-intro {
    position: sticky;
    top: 110px;
}


    .lc-inquiry-intro > p {
        color: var(--lc-muted);
    }


.lc-contact-details {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--lc-border);
}


    .lc-contact-details h3 {
        margin-bottom: 18px;
    }


    .lc-contact-details p {
        display: flex;
        flex-direction: column;
        gap: 3px;
        margin-bottom: 16px;
    }


        .lc-contact-details p span {
            color: var(--lc-muted);
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }


/* ============================================================
   FORM CONTAINER
   ============================================================ */

.lc-inquiry-form {
    padding: 0;
    background: transparent;
    border: 0;
}


    /* ============================================================
   FORM GROUPS
   ============================================================ */

    .lc-inquiry-form fieldset {
        margin: 0;
        margin-bottom: 54px;
        padding: 0;
        border: 0;
    }


    .lc-inquiry-form legend {
        width: 100%;
        margin-bottom: 26px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--lc-border);
        color: var(--lc-heading);
        font-size: 1rem;
        font-weight: 700;
    }


/* ============================================================
   FORM GRID
   ============================================================ */

.lc-form-grid {
    display: grid;
    grid-template-columns: repeat( 2, minmax(0, 1fr) );
    gap: 24px 20px;
}


.lc-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}


.lc-field-full {
    grid-column: 1 / -1;
}


.lc-field label {
    color: var(--lc-heading);
    font-size: 0.88rem;
    font-weight: 700;
}


/* ============================================================
   INPUTS
   ============================================================ */

.lc-field input,
.lc-field select,
.lc-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 0.8rem;
    background: var(--lc-white);
    border: 1px solid var(--lc-border-dark);
    border-radius: 0;
    color: var(--lc-text);
    font: inherit;
    transition: border-color 0.15s ease;
}


.lc-field textarea {
    min-height: 160px;
    resize: vertical;
}


    .lc-field input:hover,
    .lc-field select:hover,
    .lc-field textarea:hover {
        border-color: var(--lc-heading);
    }


    .lc-field input:focus,
    .lc-field select:focus,
    .lc-field textarea:focus {
        border-color: var(--lc-primary);
        outline: 2px solid rgba(31, 89, 69, 0.12);
        outline-offset: 0;
    }


/* ============================================================
   CHECKBOXES
   ============================================================ */

.lc-checkbox-grid {
    display: grid;
    grid-template-columns: repeat( 2, minmax(0, 1fr) );
    border-top: 1px solid var(--lc-border);
    border-left: 1px solid var(--lc-border);
}


.lc-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px;
    border-right: 1px solid var(--lc-border);
    border-bottom: 1px solid var(--lc-border);
    cursor: pointer;
}


    .lc-checkbox:hover {
        background: var(--lc-primary-soft);
    }


    .lc-checkbox input {
        margin-top: 4px;
        accent-color: var(--lc-primary);
    }


    .lc-checkbox span {
        font-size: 0.9rem;
        font-weight: 600;
    }


/* ============================================================
   CONSENT
   ============================================================ */

.lc-consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 30px;
    color: var(--lc-muted);
}


    .lc-consent input {
        margin-top: 5px;
        accent-color: var(--lc-primary);
    }


/* ============================================================
   SUBMIT
   ============================================================ */

.lc-submit {
    width: 100%;
    min-height: 52px;
}


/* ============================================================
   MESSAGES
   ============================================================ */

.lc-message {
    margin-bottom: 36px;
    padding: 18px 20px;
    border-left: 4px solid;
}


    .lc-message strong {
        display: block;
        margin-bottom: 6px;
    }


    .lc-message p {
        margin-bottom: 8px;
    }


    .lc-message ul {
        margin-bottom: 0;
    }


.lc-message-success {
    background: var(--lc-success-soft);
    border-color: var(--lc-success);
}


.lc-message-error {
    background: var(--lc-danger-soft);
    border-color: var(--lc-danger);
}


/* ============================================================
   HONEYPOT
   ============================================================ */

.lc-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect( 0, 0, 0, 0 ) !important;
    white-space: nowrap !important;
}


/* ============================================================
   CONTENT PAGES
   ============================================================ */

.lc-content-page {
    max-width: var(--lc-reading-width);
    margin: 0 auto;
}


.lc-content-header {
    margin-bottom: 46px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--lc-border);
}


    .lc-content-header h1 {
        margin-bottom: 18px;
        font-size: clamp( 2.4rem, 5vw, 4rem );
    }


.lc-content-description {
    color: var(--lc-muted);
    font-size: 1.08rem;
}


/* ============================================================
   ARTICLE LIST
   ============================================================ */

.lc-article-list {
    max-width: 820px;
    border-top: 1px solid var(--lc-border);
}


.lc-article-list-item {
    padding: 38px 0;
    border-bottom: 1px solid var(--lc-border);
}


    .lc-article-list-item h2 {
        margin-bottom: 12px;
        font-size: clamp( 1.5rem, 3vw, 2rem );
    }


        .lc-article-list-item h2 a {
            color: var(--lc-heading);
            text-decoration: none;
        }


            .lc-article-list-item h2 a:hover {
                color: var(--lc-primary);
            }


    .lc-article-list-item > p {
        max-width: 680px;
        color: var(--lc-muted);
    }


.lc-article-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 10px;
    color: var(--lc-muted);
    font-size: 0.8rem;
}


/* ============================================================
   ARTICLE
   ============================================================ */

.lc-article {
    max-width: var(--lc-reading-width);
    margin: 0 auto;
}


.lc-article-header {
    margin-bottom: 48px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--lc-border);
}


.lc-article-description {
    color: var(--lc-muted);
    font-size: 1.08rem;
}


.lc-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 22px;
    color: var(--lc-muted);
    font-size: 0.8rem;
}


/* ============================================================
   MARKDOWN
   ============================================================ */

.lc-markdown-content {
    max-width: var(--lc-reading-width);
    font-size: 1.02rem;
    line-height: 1.75;
}


    .lc-markdown-content h1 {
        margin-top: 0;
        margin-bottom: 24px;
        font-size: 2.2rem;
    }


    .lc-markdown-content h2 {
        margin-top: 48px;
        margin-bottom: 18px;
        font-size: 1.6rem;
    }


    .lc-markdown-content h3 {
        margin-top: 36px;
        margin-bottom: 14px;
        font-size: 1.2rem;
    }


    .lc-markdown-content p {
        margin-bottom: 22px;
    }


    .lc-markdown-content ul,
    .lc-markdown-content ol {
        margin-bottom: 24px;
        padding-left: 24px;
    }


    .lc-markdown-content li {
        margin-bottom: 7px;
    }


    .lc-markdown-content code {
        padding: 2px 4px;
        background: var(--lc-primary-soft);
        border: 1px solid var(--lc-border);
        font-size: 0.9em;
    }


/* ============================================================
   ARTICLE FOOTER
   ============================================================ */

.lc-article-footer {
    margin-top: 54px;
    padding-top: 24px;
    background: transparent;
    border-top: 1px solid var(--lc-border);
    color: var(--lc-text);
}


/* ============================================================
   EMPTY STATE
   ============================================================ */

.lc-empty-state {
    max-width: 680px;
    padding: 36px 0;
    border-top: 1px solid var(--lc-border);
    border-bottom: 1px solid var(--lc-border);
}


    .lc-empty-state p {
        color: var(--lc-muted);
    }


/* ============================================================
   FOOTER
   ============================================================ */

footer {
    margin-top: 0 !important;
    padding: 48px 0;
    background: #111613;
    border: 0 !important;
    color: var(--lc-white);
}


    footer .container {
        width: min( calc(100% - 40px), var(--lc-container) );
    }


    footer strong {
        color: var(--lc-white);
    }


    footer .text-body-secondary {
        color: #a9b4ae !important;
    }


    footer a {
        color: var(--lc-white);
    }


        footer a:hover {
            color: #d7ded9;
        }


/* ============================================================
   TABLET
   ============================================================ */

@media ( max-width: 980px ) {

    .lc-hero-grid,
    .lc-app-layout,
    .lc-about-layout,
    .lc-inquiry-layout {
        grid-template-columns: 1fr;
        gap: 52px;
    }


    .lc-hero {
        padding: 90px 0;
    }


    .lc-three-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    .lc-service-grid {
        grid-template-columns: repeat( 2, minmax(0, 1fr) );
    }


    .lc-inquiry-intro {
        position: static;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media ( max-width: 700px ) {

    .container,
    .navbar .container,
    footer .container {
        width: min( calc(100% - 28px), var(--lc-container) );
    }


    .lc-section {
        padding: 64px 0;
    }


    .lc-hero {
        padding: 70px 0;
    }


    .lc-hero-grid {
        gap: 42px;
    }


    .lc-hero-actions {
        flex-direction: column;
    }


    .lc-button {
        width: 100%;
    }


    .lc-service-grid {
        grid-template-columns: 1fr;
    }


    .lc-form-grid {
        grid-template-columns: 1fr;
    }


    .lc-field-full {
        grid-column: auto;
    }


    .lc-checkbox-grid {
        grid-template-columns: 1fr;
    }


    .lc-about-layout {
        gap: 34px;
    }


    .lc-inquiry-layout {
        gap: 48px;
    }
}


/* ============================================================
   VERY SMALL MOBILE
   ============================================================ */

@media ( max-width: 420px ) {

    h1 {
        font-size: 2.5rem;
    }


    h2 {
        font-size: 2rem;
    }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media ( prefers-reduced-motion: reduce ) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ============================================================
   PRINT
   ============================================================ */

@media print {

    .navbar,
    footer,
    .lc-hero-actions,
    .lc-submit {
        display: none !important;
    }


    body {
        background: #ffffff;
        color: #000000;
    }


    .lc-section,
    .lc-hero {
        padding: 30px 0;
    }
}
