
/* PRAWNIKOM PRO — HOMEPAGE */

body:has(.landing-workspace) {
    background: #f1f5f9;
}

.landing-workspace,
.landing-workspace * {
    box-sizing: border-box;
}

.landing-workspace {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 28px;
    color: #142641;
}

.landing-workspace [hidden] {
    display: none !important;
}

.landing-workspace a,
.landing-workspace a * {
    text-decoration: none !important;
}

/* KARUZELA PREMIUM */

.pp-hero {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(
        125deg,#0b1628,#142641 60%,#203d61
    );
    color: #fff;
    box-shadow: 0 12px 35px #14264118;
}

.pp-hero__stage {
    min-height: 420px;
}

.pp-hero__slide {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 30px;
    min-height: 420px;
    padding: 48px;
}

.pp-hero__copy {
    min-width: 0;
}

.pp-hero__eyebrow {
    color: #d6b77c;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.pp-hero h1,
.pp-hero h2 {
    margin: 18px 0;
    color: #fff;
    font-family: Georgia,serif;
    font-size: clamp(30px,3.2vw,52px);
    line-height: 1.16;
    letter-spacing: -.035em;
}

.pp-hero__description {
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.8;
    max-width: 650px;
}

.pp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.pp-hero__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 13px 22px;
    border: 1px solid #536780;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.pp-hero__actions a:first-child {
    background: #d6b77c;
    color: #142641;
    border-color: #d6b77c;
}

.pp-hero__actions a:hover {
    background: #ead2a0;
    color: #142641;
}

.pp-hero__visual {
    position: relative;
    min-width: 0;
}

.pp-hero__visual img {
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    margin: auto;
}

.pp-hero__graph {
    padding: 10px;
    color: #d6b77c;
}

.pp-hero__graph nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pp-hero__graph a {
    color: #fff;
}

.pp-hero__bar {
    padding: 16px 28px;
    border-top: 1px solid #ffffff20;
    background: #0b162840;
}

.pp-hero__navigation,
.pp-hero__pages {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.pp-hero__navigation button {
    min-width: 36px;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid #40536c;
    border-radius: 7px;
    background: #243650;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
}

.pp-hero__navigation button:hover,
.pp-hero__navigation [aria-current="true"] {
    background: #d6b77c;
    border-color: #d6b77c;
    color: #142641;
}

.pp-hero__count {
    color: #cbd5e1;
    font-size: 12px;
    padding-left: 12px;
}

.pp-hero__progress {
    height: 2px;
    background: #ffffff15;
    margin-bottom: 14px;
}

.pp-hero__progress i {
    display: block;
    height: 100%;
    background: #d6b77c;
}

.pp-hero__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

/* STATYSTYKI */

.pp-hero-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin: 18px 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #dce4ee;
    border-radius: 12px;
}

.pp-hero-stats a {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pp-hero-stats strong {
    color: #142641;
    font-family: Georgia,serif;
    font-size: 34px;
}

.pp-hero-stats span {
    color: #64748b;
    font-size: 13px;
}

/* SZYBKA NAWIGACJA */

.landing-api-strip,
.service-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
    padding: 18px;
    background: #fff;
    border: 1px solid #dce4ee;
    border-radius: 12px;
}

.landing-api-strip a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #f1f5f9;
    border-radius: 7px;
    color: #142641;
    font-size: 13px;
    font-weight: 600;
}

.landing-api-strip a:hover {
    background: #142641;
    color: #fff;
}

/* BANER SLUZEBNOSCI */

.landing-easement-banner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 30px;
    padding: 36px;
    margin: 28px 0;
    background: linear-gradient(120deg,#10243c,#193f48);
    color: #fff;
    border-radius: 16px;
}

.landing-easement-banner h2 {
    color: #fff;
    font-family: Georgia,serif;
    font-size: clamp(24px,2.4vw,36px);
    line-height: 1.3;
}

.landing-easement-banner p {
    color: #cbd5e1;
    line-height: 1.8;
}

.hero-kicker,
.landing-easement-banner .hero-kicker {
    color: #d6b77c;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.landing-easement-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.landing-workspace .btn.gold {
    background: #d6b77c;
    color: #142641;
    border: 1px solid #c6a46a;
}

.landing-easement-visual svg {
    display: block;
    width: 100%;
    height: auto;
}

.landing-easement-visual .parcel {
    fill: #254c52;
    stroke: #8ac4ae;
    stroke-width: 2;
}

.landing-easement-visual .parcel-alt {
    fill: #183d46;
}

.landing-easement-visual .power-line {
    fill: none;
    stroke: #f0c86f;
    stroke-width: 4;
}

.landing-easement-visual .service-strip {
    fill: none;
    stroke: #f0c86f;
    stroke-width: 28;
    opacity: .14;
}

.landing-easement-visual .towers {
    fill: #d6b77c;
    stroke: #fff;
    stroke-width: 2;
}

.landing-easement-visual .map-pins rect {
    fill: #142641;
    stroke: #d6b77c;
}

.landing-easement-visual .map-pins text {
    fill: #fff;
    font-size: 15px;
}

/* SEKCJE */

.landing-section {
    margin: 30px 0;
    padding: 32px;
    background: #fff;
    border: 1px solid #dce4ee;
    border-radius: 16px;
}

.landing-section .section-title {
    max-width: 900px;
    margin-bottom: 26px;
}

.landing-workspace .eyebrow {
    color: #96702d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.landing-section h2 {
    color: #142641;
    font-family: Georgia,serif;
    font-size: clamp(25px,2.5vw,36px);
    line-height: 1.3;
    margin: 10px 0;
}

.landing-section h3 {
    color: #142641;
    font-size: 21px;
}

.landing-section p {
    color: #64748b;
    line-height: 1.75;
}

.pro-heading-icon,
.pro-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    color: #96702d;
}

.pro-heading-icon svg {
    width: 25px;
    height: 25px;
}

/* KARTY I MODULY */

.first-start-grid,
.module-showcase-grid,
.api-record-grid,
.offer-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
}

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

.first-start-grid > a,
.module-showcase-card,
.api-record,
.offer-card,
.pricing-card,
.landing-editorial-grid > a,
.journey-step {
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #dce4ee;
    border-radius: 12px;
    color: #142641;
    transition: background .2s,border-color .2s,
                transform .2s;
}

.first-start-grid > a:hover,
.module-showcase-card:hover,
.api-record:hover,
.offer-card:hover,
.landing-editorial-grid > a:hover,
.journey-step:hover {
    background: #f8fafc;
    border-color: #c6a46a;
    transform: translateY(-2px);
}

.first-start-grid > a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.first-start-grid > a > b {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #142641;
    color: #d6b77c;
}

.first-start-grid > a > span {
    flex: 1;
    min-width: 130px;
}

.landing-workspace a small {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-top: 5px;
}

.landing-workspace a em {
    color: #96702d;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
}

.module-showcase-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.module-showcase-card header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.module-showcase-card header > span:nth-child(2) {
    flex: 1;
}

.module-icon,
.api-record-icon,
.offer-icon,
.pricing-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 9px;
    background: #eef2f7;
    color: #96702d;
}

.api-record {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.api-record > div {
    flex: 1;
    min-width: 120px;
}

.workflow-journey {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 14px;
}

.journey-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.journey-step > b {
    color: #96702d;
    font-size: 28px;
    font-family: Georgia,serif;
}

/* ZAKLADKI */

.landing-tour-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    background: #f1f5f9;
    border-radius: 10px;
    margin-bottom: 22px;
}

.landing-tour-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #dce4ee;
    color: #142641;
}

.landing-tour-tabs button.active,
.landing-tour-tabs button[aria-selected="true"] {
    background: #142641;
    border-color: #142641;
    color: #fff;
}

.landing-tour-pane {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
    padding: 24px;
}

.landing-tour-copy ul {
    padding-left: 0;
    list-style: none;
    color: #475569;
    line-height: 2;
}

.landing-tour-preview {
    min-width: 0;
}

/* PODGLADY MODULOW */

.module-shot {
    position: relative;
    min-height: 170px;
    padding: 18px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #dce4ee;
    border-radius: 10px;
    font-size: 12px;
}

.shot-bar,
.shot-law,
.shot-search,
.ai-query,
.ai-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border: 1px solid #dce4ee;
    border-radius: 7px;
}

.shot-columns {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 12px;
    margin-top: 14px;
}

.shot-timeline p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    margin: 8px 0;
}

.shot-timeline i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c6a46a;
}

.shot-score {
    display: grid;
    place-items: center;
    background: #142641;
    color: #fff;
    border-radius: 8px;
    padding: 10px;
}

.shot-score b {
    font-size: 32px;
    color: #d6b77c;
}

.shot-tabs,
.shot-stages,
.ai-bars {
    display: flex;
    gap: 7px;
    margin: 12px 0;
}

.shot-tabs i,
.shot-stages i,
.ai-bars i {
    flex: 1;
    height: 6px;
    background: #cbd5e1;
    border-radius: 5px;
}

.shot-stages i.done {
    background: #15803d;
}

.shot-list p,
.shot-source {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #dce4ee;
}

.shot-network svg {
    width: 100%;
    height: auto;
}

.shot-network .links {
    fill: none;
    stroke: #94a3b8;
    stroke-width: 1.5;
}

.shot-network .nodes {
    fill: #d6b77c;
    stroke: #142641;
    stroke-width: 1.5;
}

.shot-network .nodes .main {
    fill: #142641;
}

.network-label {
    display: block;
    text-align: center;
    color: #64748b;
}

.shot-ocr {
    display: grid;
    grid-template-columns: 35px 1fr 1fr;
    gap: 8px;
}

.shot-pages i {
    display: block;
    height: 35px;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
}

.shot-paper,
.shot-editor {
    padding: 12px;
    background: #fff;
    border-radius: 6px;
}

.shot-paper span,
.shot-editor p {
    display: block;
    height: 5px;
    background: #cbd5e1;
    margin: 10px 0;
    border-radius: 3px;
}

.shot-editor p.warn,
.shot-paper mark {
    display: block;
    height: 5px;
    background: #d6b77c;
}

/* MAPA SPRAWY */

.landing-twin-stage {
    display: grid;
    grid-template-columns: 230px minmax(0,1fr);
    gap: 20px;
}

.landing-twin-stage > aside {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.landing-twin-stage > aside button {
    justify-content: flex-start;
    text-align: left;
}

.landing-twin-stage button[aria-selected="true"] {
    background: #142641;
    color: #fff;
}

.landing-twin-stage > main {
    min-width: 0;
    background: #f8fafc;
    padding: 20px;
    border: 1px solid #dce4ee;
    border-radius: 12px;
}

.landing-twin-stage > main > header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.landing-twin-stage > main > header b {
    display: block;
}

.landing-twin-visual {
    position: relative;
    aspect-ratio: 760 / 310;
    min-height: 250px;
    margin: 20px 0;
    background: #eef2f7;
    border-radius: 10px;
}

.landing-twin-visual > svg {
    position: absolute;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #94a3b8;
    stroke-width: 2;
}

.landing-twin-visual > span {
    position: absolute;
    display: grid;
    place-items: center;
    transform: translate(-50%,-50%);
    padding: 10px;
    min-width: 85px;
    border: 1px solid #dce4ee;
    border-radius: 9px;
    background: #fff;
    color: #142641;
    font-size: 12px;
    text-align: center;
}

.landing-twin-visual > span svg {
    width: 24px;
    height: 24px;
    color: #96702d;
}

.landing-twin-visual .center {
    left: 50%;
    top: 50%;
    background: #142641;
    color: #fff;
}

.landing-twin-visual .n1 {left:21%;top:24%}
.landing-twin-visual .n2 {left:21%;top:76%}
.landing-twin-visual .n3 {left:78%;top:23%}
.landing-twin-visual .n4 {left:80%;top:74%}

.landing-twin-offer {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}

/* OFERTA I CENNIK */

.pricing-card,
.offer-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-card.recommended,
.offer-card.featured {
    border: 2px solid #c6a46a;
    background: #fffcf5;
}

.pricing-price {
    font-family: Georgia,serif;
    font-size: 32px;
    font-weight: 700;
    color: #142641;
}

.pricing-ribbon,
.offer-label {
    color: #96702d;
    font-weight: 700;
    font-size: 12px;
}

.landing-cta {
    padding: 40px;
    margin: 30px 0;
    background: #142641;
    border-radius: 16px;
    color: #fff;
}

.landing-cta h2 {
    color: #fff;
    font-family: Georgia,serif;
}

.landing-cta p {
    color: #cbd5e1;
}

.cta-actions,
.landing-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.landing-footer {
    padding: 24px;
    border-top: 1px solid #dce4ee;
    color: #64748b;
    font-size: 13px;
}

/* RESPONSYWNOSC */

@media (max-width: 1150px) {
    .landing-workspace {
        padding: 20px;
    }

    .pp-hero__slide {
        padding: 30px;
    }

    .first-start-grid,
    .module-showcase-grid,
    .api-record-grid,
    .offer-grid,
    .pricing-grid,
    .workflow-journey {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 768px) {
    .landing-workspace {
        padding: 12px;
    }

    .pp-hero__slide,
    .landing-easement-banner,
    .landing-tour-pane,
    .landing-twin-stage {
        grid-template-columns: minmax(0,1fr);
        padding: 24px;
    }

    .pp-hero__slide {
        min-height: auto;
    }

    .pp-hero__stage {
        min-height: 0;
    }

    .pp-hero__description {
        font-size: 15px;
    }

    .pp-hero__bar {
        padding: 12px;
    }

    .pp-hero__navigation button {
        min-width: 30px;
        min-height: 36px;
        padding: 5px;
    }

    .landing-section {
        padding: 20px;
    }

    .landing-twin-stage > aside {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .landing-editorial-grid {
        grid-template-columns: minmax(0,1fr);
    }
}

@media (max-width: 540px) {
    .first-start-grid,
    .module-showcase-grid,
    .api-record-grid,
    .offer-grid,
    .pricing-grid,
    .workflow-journey {
        grid-template-columns: minmax(0,1fr);
    }

    .pp-hero__actions a {
        width: 100%;
    }

    .landing-twin-visual > span {
        min-width: 65px;
        padding: 5px;
        font-size: 10px;
    }

    .landing-twin-visual > span small {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-workspace * {
        animation: none !important;
        transition: none !important;
    }
}

