/*
Theme Name: Listados.NET Root Promo
Theme URI: https://listados.net/
Author: Listados.NET
Description: Root promotional landing theme for Listados.NET CRM and regional Listados.NET portals.
Version: 1.1.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: listados-root-promo
*/

:root {
    --ink: #101923;
    --muted: #5f6f7d;
    --soft: #f5f7f4;
    --panel: #ffffff;
    --line: #d8e0dc;
    --blue: #063f68;
    --blue-deep: #0a2235;
    --green: #138a61;
    --red: #b43d3d;
    --gold: #c8902e;
    --shadow: 0 18px 55px rgba(16, 25, 35, 0.14);
}

html.dark {
    --ink: #f8fafc;
    --muted: #cbd5e1;
    --soft: #06110d;
    --panel: #111827;
    --line: #243244;
    --blue: #7dd3fc;
    --blue-deep: #0f172a;
    --green: #25d366;
    --red: #f87171;
    --gold: #fbbf24;
    --shadow: 0 18px 55px rgba(0, 0, 0, 0.36);
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        repeating-linear-gradient(0deg, rgba(6, 63, 104, 0.04), rgba(6, 63, 104, 0.04) 1px, transparent 1px, transparent 74px),
        repeating-linear-gradient(90deg, rgba(19, 138, 97, 0.035), rgba(19, 138, 97, 0.035) 1px, transparent 1px, transparent 74px),
        var(--soft);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
    margin: 0;
}

a {
    color: inherit;
}

.lrp-page {
    min-height: 100vh;
}

.lrp-header {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(216, 224, 220, 0.78);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    left: 0;
    padding: 14px clamp(20px, 4vw, 56px);
    position: sticky;
    right: 0;
    top: 0;
    z-index: 10;
}

html.dark .lrp-header {
    background: rgba(15, 23, 42, 0.96);
    border-bottom-color: rgba(36, 50, 68, 0.9);
}

.lrp-brand {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
}

.lrp-brand-logo {
    display: block;
    height: auto;
    max-height: 44px;
    width: 198px;
}

.lrp-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.lrp-nav a {
    align-items: center;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(16, 25, 35, 0.08);
    color: var(--ink);
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    height: 44px;
    justify-content: center;
    padding: 7px 10px;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.lrp-nav a:hover,
.lrp-nav a:focus {
    background: color-mix(in srgb, var(--panel) 84%, var(--green) 16%);
    border-color: rgba(19, 138, 97, 0.35);
    box-shadow: 0 12px 28px rgba(16, 25, 35, 0.12);
    outline: none;
    transform: translateY(-1px);
}

.lrp-nav .lrp-nav-crm {
    background: var(--blue-deep);
    border-color: var(--blue-deep);
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    min-width: 72px;
    padding: 7px 12px;
}

html.dark .lrp-nav .lrp-nav-crm {
    background: #0b3147;
    border-color: #155475;
    color: #e0f2fe;
}

.lrp-nav .lrp-nav-crm:hover,
.lrp-nav .lrp-nav-crm:focus {
    background: var(--blue);
    border-color: var(--blue);
}

.lrp-nav .lrp-nav-market {
    min-width: 64px;
    padding: 6px 9px;
}

.lrp-header-controls {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    justify-content: flex-end;
}

.lrp-translate {
    align-items: center;
    display: flex;
    min-height: 32px;
}

.lrp-translate .gtranslate_wrapper {
    align-items: center;
    display: flex;
}

.lrp-translate select {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    min-height: 36px;
    padding: 6px 9px;
}

.lrp-control-button {
    align-items: center;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
}

.lrp-control-button:hover,
.lrp-control-button:focus {
    border-color: rgba(19, 138, 97, 0.45);
    outline: none;
}

.lrp-control-button svg {
    display: block;
    height: 19px;
    width: 19px;
}

.lrp-theme-toggle .lrp-theme-toggle__day {
    display: none;
}

html.dark .lrp-theme-toggle .lrp-theme-toggle__day {
    display: block;
}

html.dark .lrp-theme-toggle .lrp-theme-toggle__night {
    display: none;
}

.lrp-site-initial {
    align-items: center;
    display: inline-flex;
    gap: 7px;
    white-space: nowrap;
}

.lrp-flag {
    border-radius: 2px;
    display: inline-block;
    flex: 0 0 auto;
    height: 15px;
    object-fit: cover;
    width: 22px;
}

.lrp-hero {
    background-image: linear-gradient(90deg, rgba(7, 29, 44, 0.9) 0%, rgba(7, 29, 44, 0.7) 42%, rgba(7, 29, 44, 0.14) 78%), var(--lrp-hero-image);
    background-position: center;
    background-size: cover;
    color: #fff;
    min-height: 76vh;
    padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 72px) clamp(56px, 6vw, 88px);
}

.lrp-hero-inner {
    max-width: 820px;
}

.lrp-eyebrow {
    color: #bce6d5;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.lrp-hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    letter-spacing: 0;
    line-height: 0.96;
    margin: 0 0 20px;
    max-width: 650px;
}

.lrp-hero-copy {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    line-height: 1.55;
    margin: 0;
    max-width: 600px;
}

.lrp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.lrp-hero-status {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
    max-width: 820px;
}

.lrp-status-card {
    background: rgba(6, 17, 29, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    padding: 16px;
}

.lrp-status-card span {
    color: rgba(255, 255, 255, 0.82);
    display: block;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.lrp-status-card strong {
    color: #fff;
    display: block;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.2;
}

:focus-visible {
    outline: 3px solid #c8902e;
    outline-offset: 4px;
}

[id] {
    scroll-margin-top: 180px;
}

.lrp-button {
    align-items: center;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 800;
    justify-content: center;
    min-height: 48px;
    padding: 13px 18px;
    text-decoration: none;
}

.lrp-button-primary {
    background: #ffffff;
    color: var(--blue-deep);
}

html.dark .lrp-button-primary {
    background: #e0f2fe;
    color: #082f49;
}

.lrp-button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.52);
    color: #ffffff;
}

.lrp-button-dark {
    background: var(--blue);
    color: #ffffff;
}

html.dark .lrp-button-dark {
    color: #082f49;
}

.lrp-button-accent {
    background: #25d366;
    color: #06110d;
}

.lrp-button-accent:hover,
.lrp-button-accent:focus {
    background: #9be8bb;
    outline: none;
}

.lrp-section {
    padding: clamp(48px, 7vw, 86px) clamp(20px, 5vw, 72px);
}

.lrp-section-alt {
    background: var(--panel);
}

.lrp-section-inner {
    margin: 0 auto;
    max-width: 1160px;
}

.lrp-section-heading {
    align-items: end;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    margin-bottom: 28px;
}

.lrp-section-heading h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.04;
    margin: 0;
}

.lrp-section-heading p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
    margin: 0;
}

.lrp-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lrp-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 34px rgba(16, 25, 35, 0.06);
    padding: 24px;
}

.lrp-card-accent {
    border-top: 4px solid var(--green);
}

.lrp-card h3 {
    font-size: 22px;
    margin: 0 0 10px;
}

.lrp-card p {
    color: var(--muted);
    line-height: 1.55;
    margin: 0 0 18px;
}

.lrp-card a {
    color: var(--blue);
    font-weight: 800;
    text-decoration: none;
}

html.dark .lrp-card a {
    color: #7dd3fc;
}

.lrp-card a:hover,
.lrp-card a:focus {
    text-decoration: underline;
}

.lrp-region-list {
    display: grid;
    gap: 18px;
    margin: 0 auto;
    max-width: 960px;
}

.lrp-region-banner {
    background: var(--panel);
    border: 1px solid var(--line);
    display: block;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.lrp-region-banner:hover,
.lrp-region-banner:focus {
    box-shadow: 0 16px 38px rgba(16, 25, 35, 0.14);
    outline: none;
    transform: translateY(-2px);
}

.lrp-region-banner img {
    aspect-ratio: 1413 / 300;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.lrp-crm-panel {
    align-items: center;
    background: var(--blue-deep);
    border-radius: 8px;
    box-shadow: var(--shadow);
    color: #fff;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    overflow: hidden;
    padding: clamp(28px, 5vw, 52px);
}

html.dark .lrp-crm-panel {
    background: #0b1220;
    border: 1px solid var(--line);
}

.lrp-crm-panel h2 {
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.02;
    margin: 0 0 18px;
}

.lrp-crm-panel p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

.lrp-signal-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.lrp-signal {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    display: flex;
    gap: 12px;
    padding: 12px;
}

.lrp-signal-dot {
    border-radius: 999px;
    flex: 0 0 10px;
    height: 10px;
    width: 10px;
}

.lrp-green {
    background: var(--green);
}

.lrp-red {
    background: var(--red);
}

.lrp-gold {
    background: var(--gold);
}

.lrp-region-name {
    color: var(--blue-deep);
    display: block;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 6px;
    text-transform: uppercase;
}

html.dark .lrp-region-name {
    color: #7dd3fc;
}

.lrp-region-card {
    min-height: 250px;
}

.lrp-footer {
    background: #111b22;
    color: rgba(255, 255, 255, 0.78);
    padding: 26px clamp(20px, 5vw, 72px);
}

html.dark .lrp-footer {
    background: #020617;
    border-top: 1px solid var(--line);
}

.lrp-footer-inner {
    display: grid;
    gap: 16px;
    justify-items: center;
    margin: 0 auto;
    max-width: 1160px;
    text-align: center;
}

.lrp-footer a {
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 900px) {
    .lrp-header {
        align-items: center;
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        padding-bottom: 16px;
    }

    .lrp-brand {
        width: 100%;
    }

    .lrp-nav {
        justify-content: center;
        order: 2;
        width: 100%;
    }

    .lrp-translate {
        justify-content: center;
        position: static;
    }

    .lrp-header-controls {
        justify-content: center;
        order: 3;
        width: 100%;
    }

    .lrp-section-heading,
    .lrp-crm-panel,
    .lrp-grid {
        grid-template-columns: 1fr;
    }

    .lrp-hero {
        background-image: linear-gradient(180deg, rgba(7, 29, 44, 0.94) 0%, rgba(7, 29, 44, 0.75) 62%, rgba(7, 29, 44, 0.42) 100%), var(--lrp-hero-image);
        min-height: 72vh;
    }

    .lrp-hero-status {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }


}

@media (max-width: 560px) {
    .lrp-header {
        position: relative;
    }

    .lrp-brand-logo {
        max-height: 38px;
        width: 172px;
    }

    .lrp-nav {
        width: 100%;
    }

    .lrp-nav .lrp-nav-crm {
        min-width: 92px;
    }

    .lrp-nav .lrp-nav-market {
        min-width: 62px;
    }

    .lrp-hero h1 {
        font-size: 38px;
    }

    .lrp-hero-copy {
        font-size: 18px;
    }

    .lrp-button {
        width: 100%;
    }

    .lrp-hero-status {
        grid-template-columns: 1fr;
        margin-top: 22px;
    }

    .lrp-status-card {
        padding-left: 44px;
    }

    .lrp-region-list {
        gap: 12px;
    }
}

.site-footer__credit {
    line-height: 1.7;
    margin: 0 auto;
    text-align: center;
}

.lrp-content {
    min-height: 55vh;
    overflow-wrap: anywhere;
}

.lrp-content h1 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.15;
}

.lrp-content p,
.lrp-content li {
    line-height: 1.7;
}

.lrp-content img {
    height: auto;
    max-width: 100%;
}
