:root {
    --text: #24414a;
    --muted: #607981;
    --primary: #0f766e;
    --primary-strong: #155e75;
    --accent: #d95d39;
    --accent-soft: #fff1ed;
    --surface: #ffffff;
    --surface-soft: #f4faf9;
    --surface-blue: #edf7fa;
    --line: #d6e6e4;
    --shadow: 0 18px 60px rgba(36, 65, 74, 0.12);
    --radius: 0;
    --wrap: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.wrap {
    width: min(calc(100% - 48px), var(--wrap));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(214, 230, 228, 0.95);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
}

.topbar-inner {
    min-height: 78px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 34px;
    align-items: center;
}

.brand {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
}

.brand-mark {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 0;
    background: var(--surface-blue);
}

.brand-mark::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 12px;
    width: 20px;
    height: 17px;
    border: 3px solid var(--primary);
    border-top: 0;
    border-radius: 0;
}

.brand-mark::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 7px;
    width: 16px;
    height: 16px;
    border-top: 3px solid var(--primary);
    border-left: 3px solid var(--primary);
    transform: rotate(45deg);
    border-radius: 0;
}

.brand strong,
.brand span {
    display: block;
}

.brand strong {
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.brand span span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
}

.main-nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--primary);
}

.top-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    min-height: 46px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 0;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-phone {
    border-color: var(--line);
    background: var(--surface);
    color: var(--primary-strong);
}

.btn-phone:hover {
    border-color: #abd3cf;
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.1);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 118, 110, 0.2);
}

.btn-primary:hover {
    background: #11857c;
    box-shadow: 0 12px 34px rgba(15, 118, 110, 0.25);
}

.btn-accent {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(217, 93, 57, 0.2);
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fcfb 0%, #edf8f7 58%, #edf7fa 100%);
    border-bottom: 1px solid var(--line);
}

.hero::before {
    content: "";
    position: absolute;
    right: -140px;
    top: -120px;
    width: 460px;
    height: 460px;
    border: 1px solid #c6e3df;
    border-radius: 0;
}

.hero::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -30px;
    width: 300px;
    height: 300px;
    border: 1px solid #c6e3df;
    border-radius: 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
    gap: 72px;
    align-items: center;
    padding: 72px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--accent);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.08;
    letter-spacing: -0.035em;
}

h1 {
    max-width: 760px;
    margin-bottom: 26px;
    font-size: 40px;
    font-weight: 850;
}

h2 {
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 820;
}

h3 {
    margin-bottom: 10px;
    font-size: 21px;
    font-weight: 800;
}

.hero-lead {
    max-width: 700px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 20px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.hero-points span {
    display: inline-flex;
    gap: 7px;
    align-items: center;
}

.hero-points span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 0;
    background: var(--accent);
}

.hero-visual {
    position: relative;
    min-height: 500px;
}

.building-card {
    position: absolute;
    inset: 28px 0 36px 44px;
    overflow: hidden;
    border-radius: 0;
    background: linear-gradient(155deg, #1a7d79 0%, #2c8e87 55%, #66b6ad 100%);
    box-shadow: var(--shadow);
}

.building-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
}

.building-sky {
    position: absolute;
    top: 42px;
    left: 42px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.building-shape {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 86%;
    height: 74%;
    border-radius: 0;
    background: #f6fbfa;
}

.building-shape::before {
    content: "";
    position: absolute;
    left: 16%;
    top: -92px;
    width: 56%;
    height: 92px;
    background: #d9efec;
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.window-grid {
    position: absolute;
    inset: 54px 44px 56px 46px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.window-grid span {
    border-radius: 0;
    background: linear-gradient(145deg, #cae8e5, #ffffff);
    border: 1px solid #c9e2df;
}

.window-grid span:nth-child(8) {
    grid-row: span 2;
    background: #d4ebe8;
}

.valuation-card {
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(330px, 78%);
    padding: 24px 25px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
}

.valuation-card small {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-weight: 700;
}

.valuation-card strong {
    display: block;
    margin-bottom: 7px;
    color: var(--primary-strong);
    font-size: 22px;
    line-height: 1.2;
}

.valuation-card span {
    color: var(--muted);
    font-size: 13px;
}

.section {
    padding: 92px 0;
}

.section-soft {
    background: var(--surface-soft);
}

.section-blue {
    background: var(--surface-blue);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1.15fr);
    gap: 70px;
    align-items: end;
    margin-bottom: 46px;
}

.section-heading p {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 16px;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.property-card {
    min-height: 225px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.property-card:hover {
    transform: translateY(-4px);
    border-color: #a9d2cd;
    box-shadow: var(--shadow);
}

.property-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 0;
    background: var(--surface-blue);
    color: var(--primary);
    font-size: 21px;
    font-weight: 900;
}

.property-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 16px;
}

.valuation-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: center;
    padding: 38px 42px;
    border-radius: 0;
    background: var(--primary-strong);
    color: #ffffff;
}

.valuation-strip h2 {
    margin-bottom: 12px;
    color: #ffffff;
}

.valuation-strip p {
    max-width: 760px;
    margin-bottom: 0;
    color: #d7eff2;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    counter-reset: step;
}

.process-card {
    position: relative;
    min-height: 265px;
    padding: 30px 26px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
    counter-increment: step;
}

.process-card::before {
    content: "0" counter(step);
    display: block;
    margin-bottom: 44px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.process-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 16px;
}

.split-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
    box-shadow: 0 18px 50px rgba(36, 65, 74, 0.08);
}

.split-copy {
    padding: 52px;
}

.split-copy p {
    max-width: 690px;
    color: var(--muted);
}

.split-copy .btn {
    margin-top: 10px;
}

.split-aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    background: linear-gradient(150deg, #e6f5f2, #edf7fa);
}

.split-aside strong {
    display: block;
    margin-bottom: 12px;
    color: var(--primary-strong);
    font-size: 26px;
    line-height: 1.2;
}

.split-aside p {
    margin-bottom: 0;
    color: var(--muted);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.feature {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
}

.feature strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-strong);
    font-size: 16px;
}

.feature p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 16px;
}

.cta-section {
    padding: 84px 0;
    background: linear-gradient(135deg, #0f766e 0%, #176f7d 100%);
    color: #ffffff;
}

.cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 44px;
    align-items: center;
}

.cta-grid h2 {
    max-width: 760px;
    margin-bottom: 14px;
    color: #ffffff;
}

.cta-grid p {
    margin-bottom: 0;
    color: #d9f0ee;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 240px;
}

.cta-actions .btn-phone {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.site-footer {
    padding: 36px 0;
    border-top: 1px solid var(--line);
    background: #f7fbfa;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}

.footer-title strong,
.footer-title span {
    display: block;
}

.footer-title strong {
    font-size: 15px;
}

.footer-title span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.page-hero {
    padding: 84px 0 72px;
    background: linear-gradient(135deg, #f7fcfb, #edf7fa);
    border-bottom: 1px solid var(--line);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 70px;
    align-items: end;
}

.page-hero h1 {
    margin-bottom: 20px;
    font-size: 40px;
}

.page-hero p {
    max-width: 780px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 16px;
}

.page-hero-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.page-hero-card small,
.page-hero-card strong,
.page-hero-card span {
    display: block;
}

.page-hero-card small {
    margin-bottom: 9px;
    color: var(--muted);
    font-weight: 700;
}

.page-hero-card strong {
    color: var(--primary-strong);
    font-size: 25px;
}

.page-hero-card span {
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.service-card {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
}

.service-card .num {
    display: block;
    margin-bottom: 38px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.service-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.check-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 70px;
    align-items: start;
}

.check-grid > div > p {
    color: var(--muted);
}

.check-list {
    display: grid;
    gap: 12px;
}

.check-item {
    position: relative;
    padding: 20px 20px 20px 54px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
}

.check-item::before {
    content: "✓";
    position: absolute;
    left: 20px;
    top: 18px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 0;
    background: #dff2ef;
    color: var(--primary);
    font-weight: 900;
}

.check-item strong {
    display: block;
    margin-bottom: 4px;
}

.check-item span {
    color: var(--muted);
    font-size: 14px;
}

.privacy-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 44px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
}

.privacy-card h2 {
    margin-top: 34px;
    font-size: 28px;
}

.privacy-card h2:first-child {
    margin-top: 0;
}

.privacy-card p {
    color: var(--muted);
}

@media (max-width: 980px) {
    .main-nav {
        display: none;
    }

    .topbar-inner {
        grid-template-columns: 1fr auto;
    }

    .hero-grid,
    .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-grid {
        min-height: 0;
    }

    .hero-visual {
        min-height: 430px;
    }

    .section-heading,
    .check-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-panel {
        grid-template-columns: 1fr;
    }

    .cta-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: row;
        min-width: 0;
    }
}

@media (max-width: 700px) {
    .wrap {
        width: min(calc(100% - 30px), var(--wrap));
    }

    .topbar-inner {
        min-height: 68px;
        gap: 12px;
    }

    .brand span span,
    .top-actions .btn-primary {
        display: none;
    }

    .top-actions .btn {
        min-height: 40px;
        padding: 9px 12px;
        font-size: 13px;
    }

    .hero-grid {
        padding: 52px 0 58px;
    }

    .hero-actions,
    .cta-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 360px;
    }

    .building-card {
        inset: 10px 0 48px 20px;
    }

    .building-sky {
        left: 26px;
        top: 26px;
    }

    .window-grid {
        inset: 42px 24px 40px 30px;
        gap: 10px;
    }

    .valuation-card {
        padding: 19px;
    }

    .section,
    .cta-section {
        padding: 64px 0;
    }

    .property-grid,
    .process-grid,
    .feature-list,
    .service-grid {
        grid-template-columns: 1fr;
    }


    .valuation-strip {
        grid-template-columns: 1fr;
        padding: 30px 24px;
    }

    .split-copy,
    .split-aside,
    .privacy-card {
        padding: 28px 22px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 58px 0 48px;
    }
}

/* Mokotów */
.page-actions {
    margin-top: 28px;
    margin-bottom: 0;
}

.local-grid .property-card {
    min-height: 300px;
}

.compact-heading {
    margin-bottom: 34px;
}

@media (max-width: 980px) {
    .local-grid .property-card {
        min-height: 0;
    }
}
