* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lm-body {
    margin: 0;
    font-family: Figtree, sans-serif;
    color: #263542;
    background:
        radial-gradient(1100px 460px at 85% -12%, rgba(18, 124, 113, 0.06), transparent 60%),
        linear-gradient(180deg, #fbfdfd 0%, #f5f8f9 60%, #fbfdfd 100%);
    line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.lm-container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ---- Thin, light header ---- */
.lm-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #263542;
    border-bottom: 1px solid #e7edee;
    box-shadow: 0 1px 0 rgba(20, 45, 48, 0.02);
}
.lm-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    gap: 16px;
}
.lm-brand { display: inline-flex; align-items: center; font-family: Outfit, sans-serif; font-weight: 700; font-size: 1.15rem; color: #16323a; }
.lm-brand img { max-height: 32px; }
.lm-brand-mark {
    letter-spacing: 0.01em;
    background: linear-gradient(90deg, var(--theme-primary, #127c71), #1fa89a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lm-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.lm-nav a {
    color: #55697a;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 7px 12px;
    border-radius: 999px;
    transition: color 0.15s ease, background 0.15s ease;
}
.lm-nav a:hover { background: #eef4f3; color: #16323a; }
.lm-nav-cta {
    background: var(--theme-primary, #127c71) !important;
    color: var(--theme-text-on-primary, #fff) !important;
    font-weight: 600 !important;
    margin-left: 8px;
}
.lm-nav-cta:hover { filter: brightness(1.05); }
.lm-nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid #e2e9ea;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    flex-direction: column;
    justify-content: space-between;
}
.lm-nav-toggle span {
    display: block;
    height: 2px;
    background: #46596a;
    border-radius: 2px;
}

/* ---- Flash ---- */
.lm-flash { padding: 12px 0; font-weight: 600; }
.lm-flash-success { background: #dcfce7; color: #166534; }
.lm-flash-error { background: #fee2e2; color: #991b1b; }

/* ---- Hero (light) ---- */
.lm-hero {
    position: relative;
    overflow: hidden;
    color: #16323a;
    background:
        radial-gradient(760px 340px at 88% 6%, rgba(31, 168, 154, 0.12), transparent 62%),
        linear-gradient(180deg, #ffffff 0%, #f2f8f7 100%);
    border-bottom: 1px solid #eaf1f0;
    padding: 60px 0 66px;
}
.lm-hero-glow {
    position: absolute;
    inset: auto -8% -46% auto;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(18, 124, 113, 0.14), transparent 66%);
    pointer-events: none;
}
.lm-hero-inner { position: relative; max-width: 830px; }
.lm-eyebrow, .lm-kicker {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--theme-primary, #127c71);
    margin: 0 0 12px;
}
.lm-hero h1 {
    font-family: Outfit, sans-serif;
    font-size: clamp(2.1rem, 5vw, 3.3rem);
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 14px;
    color: #14303a;
}
.lm-hero-lead {
    font-size: 1.06rem;
    color: #4d6270;
    max-width: 620px;
    margin: 0 0 28px;
}
.lm-search {
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 0.7fr auto;
    gap: 10px;
    background: #ffffff;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid #e6edee;
    box-shadow: 0 20px 44px rgba(20, 48, 58, 0.08);
}
.lm-search-input, .lm-input {
    width: 100%;
    border: 1px solid #dbe4e5;
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
    color: #263542;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lm-search-input:focus, .lm-input:focus {
    outline: none;
    border-color: var(--theme-primary, #127c71);
    box-shadow: 0 0 0 3px rgba(18, 124, 113, 0.12);
}
.lm-search-sm { min-width: 0; }
.lm-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
    max-width: 520px;
}
.lm-hero-stats strong {
    display: block;
    font-family: Outfit, sans-serif;
    font-size: 1.5rem;
    color: #14303a;
}
.lm-hero-stats span { font-size: 0.84rem; color: #5a6e7b; }

/* ---- Buttons ---- */
.lm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    background: var(--theme-primary, #127c71);
    color: var(--theme-text-on-primary, #fff);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.lm-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(18, 124, 113, 0.22); }
.lm-btn-sm { padding: 8px 14px; font-size: 0.86rem; }
.lm-btn-block { width: 100%; }
.lm-btn-outline {
    background: #fff;
    color: var(--theme-primary, #127c71);
    border: 1.5px solid var(--theme-primary, #127c71);
}
.lm-btn-outline:hover { box-shadow: 0 8px 18px rgba(18, 124, 113, 0.14); }
.lm-btn-ghost {
    background: #eef5f4;
    color: var(--theme-primary, #127c71);
}
.lm-btn-ghost:hover { background: #e4efee; box-shadow: none; }
.lm-btn-light { background: var(--theme-primary, #127c71); color: var(--theme-text-on-primary, #fff); }
.lm-btn-whatsapp { background: var(--theme-whatsapp, #25d366); color: #053b1d; }

/* ---- Sections ---- */
.lm-section { padding: 62px 0; }
.lm-section-muted { background: #f4f8f7; border-top: 1px solid #eaf1f0; border-bottom: 1px solid #eaf1f0; }
.lm-section-head { max-width: 660px; margin-bottom: 28px; }
.lm-section-head h2,
.lm-page-hero h1,
.lm-product-info h1,
.lm-enquiry h2 {
    font-family: Outfit, sans-serif;
    margin: 0 0 10px;
    line-height: 1.15;
    color: #14303a;
}
.lm-section-head p { margin: 0; color: #55697a; }

.lm-page-hero {
    padding: 44px 0 20px;
    background: linear-gradient(180deg, #f2f8f7, transparent);
    border-bottom: 1px solid #eef3f2;
}
.lm-page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.lm-page-hero p { color: #55697a; margin: 0; }

/* ---- Partner sites ---- */
.lm-site-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.lm-site-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 10px 14px;
    align-items: center;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e7eeee;
    box-shadow: 0 8px 22px rgba(20, 45, 48, 0.04);
}
.lm-site-card-self { grid-template-columns: auto 1fr auto; }
.lm-site-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-family: Outfit, sans-serif;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(145deg, var(--theme-primary, #127c71), #1fa89a);
}
.lm-site-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
    background: #f3f7f6;
}
.lm-site-meta h3 { margin: 0; font-size: 1.05rem; font-family: Outfit, sans-serif; color: #14303a; }
.lm-site-meta p { margin: 2px 0; color: #55697a; font-size: 0.9rem; }
.lm-site-host { font-size: 0.78rem; color: #8194a0; word-break: break-all; }
.lm-site-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ---- Listings ---- */
.lm-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.lm-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e7eeee;
    box-shadow: 0 10px 24px rgba(20, 45, 48, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lm-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20, 45, 48, 0.09); }
.lm-card-media {
    position: relative;
    display: block;
    min-height: 180px;
    background: #e5edec center/cover no-repeat;
}
.lm-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--theme-primary, #127c71);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
}
.lm-site-chip {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(255,255,255,0.95);
    color: var(--theme-primary, #127c71);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 9px;
    border-radius: 999px;
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(20, 45, 48, 0.12);
}
.lm-site-chip-static {
    position: static;
    display: inline-flex;
    max-width: none;
}
.lm-card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lm-card-price { font-family: Outfit, sans-serif; font-size: 1.2rem; font-weight: 700; color: #14303a; }
.lm-card-body h3 { margin: 0; font-size: 1rem; line-height: 1.35; color: #22333f; }
.lm-card-location { margin: 0; color: #55697a; font-size: 0.9rem; }
.lm-card-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.lm-card-facts span {
    background: #eef5f4;
    color: #35595a;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.78rem;
    font-weight: 600;
}
.lm-card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.lm-center { text-align: center; margin-top: 28px; }
.lm-empty { color: #55697a; padding: 24px; background: #fff; border: 1px solid #e7eeee; border-radius: 14px; }

/* ---- CTA band ---- */
.lm-cta {
    background: linear-gradient(120deg, var(--theme-primary, #127c71), #1fa89a);
    color: #fff;
    padding: 46px 0;
}
.lm-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.lm-cta h2 { font-family: Outfit, sans-serif; margin: 0 0 8px; }
.lm-cta p { margin: 0; opacity: 0.92; }
.lm-cta .lm-btn-light { background: #fff; color: var(--theme-primary, #127c71); }

/* ---- Listing page layout ---- */
.lm-listing-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
}
.lm-filters {
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    border: 1px solid #e7eeee;
    box-shadow: 0 8px 22px rgba(20, 45, 48, 0.04);
    position: sticky;
    top: 74px;
}
.lm-filters h4 {
    margin: 14px 0 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6a7d89;
}
.lm-filters h4:first-child { margin-top: 0; }
.lm-filters .lm-input { margin-bottom: 8px; }
.lm-filter-list { list-style: none; margin: 0 0 8px; padding: 0; }
.lm-filter-list li a {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    color: #46596a;
    font-size: 0.92rem;
}
.lm-filter-list li.is-active a,
.lm-filter-list li a:hover {
    background: #eaf4f2;
    color: var(--theme-primary, #127c71);
    font-weight: 600;
}

/* ---- Pagination ---- */
.lm-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}
.lm-page-link {
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dbe4e5;
}
.lm-page-link:hover { border-color: var(--theme-primary, #127c71); color: var(--theme-primary, #127c71); }
.lm-page-link.is-disabled { opacity: 0.45; pointer-events: none; }
.lm-page-current { color: #55697a; font-size: 0.9rem; }

/* ---- Product page ---- */
.lm-product-page { padding-top: 28px; }
.lm-breadcrumb { color: #6a7d89; font-size: 0.9rem; margin-bottom: 18px; }
.lm-breadcrumb a { text-decoration: underline; text-underline-offset: 2px; }
.lm-product-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
}
.lm-gallery-main {
    display: block;
    width: 100%;
    min-height: 360px;
    border: 1px solid #e7eeee;
    border-radius: 18px;
    background: #e5edec center/cover no-repeat;
    cursor: zoom-in;
    padding: 0;
}
.lm-gallery-placeholder {
    display: grid;
    place-items: center;
    color: #6a7d89;
    font-weight: 600;
    cursor: default;
}
.lm-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
}
.lm-gallery-thumb {
    min-height: 72px;
    border-radius: 10px;
    border: 2px solid transparent;
    background: #e5edec center/cover no-repeat;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.lm-gallery-thumb:hover { transform: translateY(-1px); }
.lm-gallery-thumb.is-active {
    border-color: var(--theme-primary, #127c71);
    box-shadow: 0 0 0 1px var(--theme-primary, #127c71);
}
.lm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 34, 38, 0.9);
    padding: 48px 64px;
}
.lm-lightbox[hidden] { display: none !important; }
.lm-lightbox img {
    max-width: min(1100px, 100%);
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.lm-lightbox-close,
.lm-lightbox-nav {
    position: absolute;
    border: 0;
    background: rgba(255,255,255,0.14);
    color: #fff;
    cursor: pointer;
    border-radius: 999px;
}
.lm-lightbox-close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
    line-height: 1;
}
.lm-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
}
.lm-lightbox-prev { left: 18px; }
.lm-lightbox-next { right: 18px; }
.lm-lightbox-close:hover,
.lm-lightbox-nav:hover { background: rgba(255,255,255,0.26); }
body.lm-lightbox-open { overflow: hidden; }
.lm-product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.lm-product-tags .lm-badge { position: static; }
.lm-product-price {
    font-family: Outfit, sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #14303a;
    margin: 12px 0 18px;
}
.lm-price-strike {
    margin-left: 8px;
    font-size: 1rem;
    color: #90a2ad;
    text-decoration: line-through;
    font-weight: 500;
}
.lm-key-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}
.lm-key-facts div {
    background: #f2f8f7;
    border: 1px solid #e6efee;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}
.lm-key-facts strong { display: block; font-family: Outfit, sans-serif; font-size: 1.05rem; color: #14303a; }
.lm-key-facts span { font-size: 0.75rem; color: #6a7d89; }
.lm-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.lm-product-desc { color: #45596a; margin: 0 0 12px; }

.lm-enquiry {
    margin-top: 24px;
    padding: 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e7eeee;
    box-shadow: 0 8px 22px rgba(20, 45, 48, 0.04);
}
.lm-enquiry p { color: #55697a; font-size: 0.92rem; }
.lm-enquiry code {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.78rem;
    word-break: break-all;
    background: #eef5f4;
    padding: 2px 6px;
    border-radius: 6px;
}
.lm-enquiry-form { display: grid; gap: 10px; }
.lm-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.lm-textarea { resize: vertical; min-height: 110px; }
.lm-captcha {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.lm-captcha img { height: 48px; border-radius: 8px; background: #fff; }
.lm-contact-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 22px;
    align-items: start;
}
.lm-contact-aside {
    background: linear-gradient(160deg, var(--theme-primary, #127c71), #1fa89a);
    color: #fff;
    border-radius: 16px;
    padding: 22px;
}
.lm-contact-aside h3 { font-family: Outfit, sans-serif; margin: 0 0 8px; }
.lm-contact-aside p { opacity: 0.92; }
.lm-aside-line { margin: 14px 0 0; }
.lm-aside-line a { text-decoration: underline; text-underline-offset: 2px; }

/* ---- Footer (light) ---- */
.lm-footer {
    background: #f4f8f7;
    color: #4d6270;
    padding: 46px 0 24px;
    margin-top: 20px;
    border-top: 1px solid #e7eeee;
}
.lm-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
}
.lm-footer-brand { font-family: Outfit, sans-serif; font-size: 1.15rem; display: block; margin-bottom: 8px; color: #14303a; }
.lm-footer h4 { margin: 0 0 10px; color: var(--theme-primary, #127c71); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.lm-footer a, .lm-footer p { display: block; margin: 0 0 8px; color: inherit; }
.lm-footer a:hover { color: var(--theme-primary, #127c71); }
.lm-copyright {
    text-align: center;
    margin: 28px 0 0;
    font-size: 0.82rem;
    color: #8194a0;
    border-top: 1px solid #e7eeee;
    padding-top: 18px;
}

/* ---- WhatsApp FAB ---- */
.lm-whatsapp-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--theme-whatsapp, #25d366);
    color: #fff;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
    z-index: 60;
    transition: transform 0.15s ease;
}
.lm-whatsapp-fab:hover { transform: scale(1.06); }

@media (max-width: 960px) {
    .lm-search { grid-template-columns: 1fr 1fr; }
    .lm-search button { grid-column: 1 / -1; }
    .lm-listing-layout,
    .lm-product-layout,
    .lm-contact-layout,
    .lm-footer-grid { grid-template-columns: 1fr; }
    .lm-filters { position: static; }
    .lm-key-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lm-form-grid { grid-template-columns: 1fr; }
    .lm-nav-toggle { display: flex; }
    .lm-nav {
        display: none;
        position: absolute;
        left: 22px;
        right: 22px;
        top: 56px;
        background: #fff;
        border: 1px solid #e7eeee;
        border-radius: 14px;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        box-shadow: 0 18px 40px rgba(20, 45, 48, 0.14);
    }
    .lm-nav.is-open { display: flex; }
    .lm-nav-cta { margin-left: 0; text-align: center; }
    .lm-header { position: relative; }
    .lm-header-inner { position: relative; }
}

@media (max-width: 640px) {
    .lm-hero { padding: 44px 0 52px; }
    .lm-hero-stats { grid-template-columns: 1fr; }
    .lm-search { grid-template-columns: 1fr; }
}
