:root {
    --teal: #206965;
    --copper: #a6552c;
    --ink: #20282b;
    --cream: #f6eee5;
    --mint: #e6f2ef;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font: 17px/1.6 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
    background: #fff;
}

a {
    color: var(--teal);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--copper);
}

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

h1,h2,h3,p {
    margin: 0 0 .75em;
}

h1,h2,h3 {
    line-height: 1.15;
    letter-spacing: -.035em;
}

h1 {
    font-size: clamp(2.5rem,5vw,4.2rem);
    font-weight: 780;
}

h2 {
    font-size: clamp(1.65rem,2.7vw,2.3rem);
}

h3 {
    font-size: 1.3rem;
}

.wrap {
    max-width: 1220px;
    margin: auto;
    padding-left: 28px;
    padding-right: 28px;
}

header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}

.head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 94px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 24px;
    font-weight: 800;
    line-height: .98;
    text-decoration: none;
    letter-spacing: -.04em;
}

.brand img {
    width: 63px;
    height: auto;
}

.brand small {
    font-size: 11px;
    letter-spacing: 0;
    font-weight: 500;
}

nav {
    display: flex;
    gap: 27px;
    align-items: center;
}

nav a {
    font-size: 15px;
    font-weight: 650;
    color: var(--ink);
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 2px solid transparent;
}

nav a[aria-current],nav a:hover {
    color: var(--copper);
    border-color: var(--copper);
}

.menu-toggle {
    display: none;
}

.hero {
    background: linear-gradient(110deg,#f9f6f1,#fff 55%,#f4ede2);
    overflow: hidden;
    border-bottom: 9px solid #f0dfce;
    border-radius: 0 0 48% 3% / 0 0 3% 3%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    align-items: center;
    gap: 20px;
    min-height: 410px;
}

.hero-grid>div:first-child {
    padding: 42px 0;
}

.hero p {
    font-size: 1.18rem;
    max-width: 560px;
}

.hero-photo {
    height: 100%;
    min-height: 390px;
    background: linear-gradient(90deg,#f9f6f1 0%,transparent 24%),url('../images/nemovitosti.webp') center/cover no-repeat;
}

.eyebrow {
    display: inline-block;
    font-size: .75rem;
    text-transform: uppercase;
    font-weight: 750;
    letter-spacing: .15em;
    color: var(--copper);
    margin-bottom: 13px;
}

.buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn {
    display: inline-block;
    border: 2px solid var(--teal);
    border-radius: 8px;
    padding: 10px 20px;
    background: var(--teal);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.5;
}

.btn:hover {
    background: #184e4b;
    color: #fff;
}

.btn.outline {
    color: var(--copper);
    background: transparent;
    border-color: var(--copper);
}

.btn.outline:hover {
    background: #f4e9e1;
}

.btn.copper {
    background: #a6552c;
    border-color: #fff;
    color: #fff;
}

.services {
    padding-top: 46px;
    padding-bottom: 38px;
}

.center {
    text-align: center;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px;
    margin-top: 23px;
}

.cards article {
    padding: 26px 24px;
    border-radius: 18px;
    background: linear-gradient(145deg,#edf5f2,#deeeea);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 215px;
}

.cards article:nth-child(2) {
    background: linear-gradient(145deg,#faf5ef,#f3e5d7);
}

.cardhead {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.cardhead h3 {
    margin: 0;
}

.cardhead svg {
    width: 43px;
    min-width: 43px;
    height: 43px;
    fill: none;
    stroke: var(--teal);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cards article:nth-child(2) svg {
    stroke: var(--copper);
}

.cards p {
    font-size: 15px;
}

.cards article>a {
    margin-top: auto;
    color: var(--copper);
    font-size: 15px;
    font-weight: 750;
    text-decoration: none;
}

.benefits {
    background: #f8f6f2;
    padding: 27px 0;
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4,1fr);
    align-items: center;
    gap: 16px;
}

.benefit-grid h2 {
    margin: 0;
    font-size: 1.65rem;
}

.benefit-grid>div {
    text-align: center;
    border-left: 1px solid #dfded8;
    padding: 4px 12px;
    font-size: 14px;
    line-height: 1.35;
}

.benefit-grid b {
    display: block;
    color: var(--teal);
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 9px;
}

.timeline {
    display: grid;
    grid-template-columns: 1.3fr repeat(3,1fr);
    align-items: center;
    gap: 20px;
    background: #faf7f2;
    border-radius: 16px;
    margin: 32px 0;
    padding: 24px;
}

.timeline h2 {
    font-size: 1.7rem;
    margin: 0;
}

.timeline>div:not(:first-child) {
    text-align: center;
}

.timeline strong {
    display: inline-block;
    background: var(--teal);
    color: white;
    border-radius: 7px;
    padding: 2px 17px;
    font-size: 1.2rem;
}

.timeline>div:last-child strong {
    background: var(--copper);
}

.timeline p {
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 0;
}

.prose {
    padding-top: 38px;
    padding-bottom: 46px;
}

.prose>p,.prose>ul {
    max-width: 900px;
}

.prose h2:not(:first-child) {
    margin-top: 32px;
}

.prose li {
    padding: 5px 0;
}

.prose li::marker {
    color: var(--teal);
}

.subhero {
    background: linear-gradient(110deg,#e6f2ef,#faf6ef);
    padding: 56px 0 42px;
}

.subhero h1 {
    font-size: clamp(2.3rem,4vw,3.8rem);
}

.subhero p {
    font-size: 1.2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-grid article {
    background: #f5f8f6;
    border-radius: 16px;
    padding: 28px;
}

address {
    font-style: normal;
}

.contact-band {
    background: var(--teal);
    color: #fff;
    border-radius: 16px;
    padding: 24px 28px;
    display: grid;
    grid-template-columns: 1.4fr 1fr auto;
    align-items: center;
    gap: 24px;
}

.contact-band h2 {
    font-size: 1.65rem;
    margin-bottom: 6px;
}

.contact-band p {
    margin: 0;
    font-size: 15px;
}

.contact-band a {
    color: white;
}

.foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    font-size: 12px;
    color: #535d5c;
}

.foot a {
    text-decoration: none;
}

.brand.small {
    font-size: 15px;
    letter-spacing: 0;
}

.brand.small img {
    width: 37px;
}

.notice {
    padding: 16px;
    border-left: 4px solid var(--copper);
    background: #faf1e6;
}

.table-scroll {
    overflow: auto;
    max-width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

th,td {
    padding: 12px;
    border: 1px solid #dfe7e4;
    text-align: left;
}

th {
    background: #e6f2ef;
}

tr:nth-child(even) td {
    background: #fafbf9;
}

.tech article {
    min-height: 150px;
}

@media(max-width:900px) {
    nav {
        gap: 15px;
    }
    .head {
        gap: 12px;
    }
    .brand {
        font-size: 21px;
    }
    .brand img {
        width: 48px;
    }
    .cardhead {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-band {
        grid-template-columns: 1fr 1fr;
    }
    .contact-band>.btn {
        justify-self: start;
    }
    .benefit-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .benefit-grid h2 {
        grid-column: 1/-1;
    }
    .benefit-grid>div {
        border: 0;
    }
    .timeline {
        grid-template-columns: repeat(3,1fr);
    }
    .timeline>div:first-child {
        grid-column: 1/-1;
    }
}

@media(max-width:700px) {
    body {
        font-size: 16px;
    }
    .wrap {
        padding-left: 20px;
        padding-right: 20px;
    }
    .head {
        min-height: 76px;
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .menu-toggle {
        display: block;
        background: transparent;
        border: 0;
        font-size: 28px;
        color: var(--ink);
        cursor: pointer;
    }
    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    nav.open {
        display: flex;
    }
    nav a {
        padding: 10px 0;
    }
    .hero-grid {
        display: block;
        min-height: 0;
    }
    .hero-grid>div:first-child {
        padding: 32px 0 20px;
    }
    .hero h1 {
        font-size: 2.55rem;
    }
    .hero-photo {
        min-height: 200px;
        height: 200px;
        margin: 0 -20px;
        background: linear-gradient(180deg,#f9f6f1,transparent 30%),url('../images/nemovitosti.webp') center/cover;
    }
    .buttons {
        gap: 10px;
    }
    .hero .buttons>.btn {
        width: 100%;
        text-align: center;
    }
    .cards,.contact-grid {
        grid-template-columns: 1fr;
    }
    .cards article {
        min-height: 0;
        padding: 22px;
    }
    .cardhead {
        flex-direction: row;
        align-items: center;
    }
    .services {
        padding-top: 28px;
        padding-bottom: 28px;
    }
    .timeline {
        gap: 10px;
        padding: 18px 12px;
    }
    .timeline p {
        font-size: 12px;
    }
    .timeline strong {
        padding: 2px 10px;
    }
    .contact-band {
        grid-template-columns: 1fr;
        padding: 22px;
    }
    .foot {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .subhero {
        padding: 32px 0 24px;
    }
    .prose {
        padding-top: 24px;
        padding-bottom: 30px;
    }
    table {
        min-width: 540px;
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
    margin: 24px 0 32px;
}

.detail-grid article {
    padding: 22px;
    border-radius: 14px;
    background: #f5f8f6;
    border: 1px solid #e0ebe6;
}

.detail-grid article h3 {
    margin: 0 0 10px;
    color: var(--teal);
}

.detail-grid article p {
    margin: 0;
    font-size: 16px;
}

.related {
    margin: 0 0 26px;
    padding: 20px 24px;
    border: 1px solid #e3e9e5;
    border-radius: 14px;
    background: #faf9f6;
}

.related-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.related-heading h2 {
    font-size: 1.2rem;
    margin: 0;
}

.related-heading>span {
    font-size: 11px;
    color: #646b68;
}

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

.related-grid a {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    background: white;
    border: 1px solid #e2e8e4;
    border-radius: 9px;
    text-decoration: none;
}

.related-grid a:hover {
    border-color: var(--teal);
    background: #f1f8f5;
}

.related-grid a strong {
    font-size: 15px;
}

.related-grid a span {
    font-size: 13px;
    color: var(--ink);
}

.related-grid a small {
    font-size: 12px;
    overflow-wrap: anywhere;
    color: var(--copper);
}

@media(max-width:700px) {
    .detail-grid,.related-grid {
        grid-template-columns: 1fr;
    }
    .related {
        padding: 16px;
    }
    .related-grid a {
        padding: 12px;
    }
}

.map-panel {
    overflow: hidden;
    border: 1px solid #d6e3df;
    border-radius: 16px;
    margin: 24px 0;
    background: #e6f2ef;
}

.map-panel iframe {
    display: block;
    width: 100%;
    height: 440px;
    border: 0;
}

@media(max-width:600px) {
    .map-panel iframe {
        height: 320px;
    }
}

.adsense-bottom {
    margin: 0 0 26px;
    min-width: 0;
}

.contact-page .contact-grid {
    margin: 26px 0 34px;
    grid-template-columns: repeat(2,minmax(0,1fr));
}

.contact-page .contact-grid h3 {
    color: var(--teal);
    font-size: 1.55rem;
}

.contact-page h4 {
    margin: 18px 0 6px;
    font-size: 1rem;
}

.contact-method {
    margin: 12px 0;
}

.contact-method span {
    display: block;
    color: #54615e;
    font-size: 13px;
    font-weight: 650;
}

.contact-method a {
    font-size: 1.1rem;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.contact-page .contact-services {
    margin-bottom: 34px;
}

.contact-services article {
    min-height: 0;
}

.contact-page #mapa {
    scroll-margin-top: 24px;
}

@media(max-width:700px) {
    .contact-page .contact-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .contact-page .contact-grid article {
        padding: 22px;
    }
    .contact-page .contact-method a {
        font-size: 1rem;
    }
}

.related-grid a.vizitka {
    padding: 14px 16px;
    gap: 6px;
    border-radius: 9px;
    min-width: 0;
    transition: box-shadow .15s,border-color .15s;
    box-shadow: 0 1px 3px #0000000a;
}

.related-grid a.vizitka:hover,.related-grid a.vizitka:focus-visible {
    border-color: currentColor;
    box-shadow: 0 3px 12px #00000018;
}

.vizitka-znacka {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 60px;
    margin-bottom: 4px;
    line-height: 1.12;
}

.vizitka-znacka img {
    display: block;
    width: 60px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

.vizitka-znacka b {
    font-size: clamp(15px,1.5vw,20px);
    font-weight: 800;
}

.related-grid a.vizitka strong {
    font-size: 16px;
    line-height: 1.3;
}

.related-grid a.vizitka span {
    line-height: 1.4;
    color: inherit;
}

.related-grid a.vizitka small {
    color: inherit;
    margin-top: auto;
    padding-top: 5px;
    font-weight: 650;
}

.related-grid a.vizitka-ucetnictvi {
    background: #fffafa;
    color: #830d1b;
    border-color: #e4c8cb;
    border-top: 4px solid #b0081c;
}

.vizitka-ucetnictvi .vizitka-znacka img {
    width: 100%;
    max-width: 230px;
    height: 60px;
    object-position: left center;
}

.related-grid a.vizitka-udrzbar {
    background: #f8f3e7;
    color: #233d38;
    border-color: #e6d5b0;
    border-top: 4px solid #e6ab49;
}

.vizitka-udrzbar .vizitka-znacka img {
    width: 72px;
    height: 60px;
}

.related-grid a.vizitka-solax {
    background: #edf6fc;
    color: #123650;
    border-color: #c6ddeb;
    border-top: 4px solid #176aaf;
}

@media(max-width:700px) {
    .related-grid a.vizitka {
        padding: 12px 14px;
    }
    .vizitka-znacka b {
        font-size: 20px;
    }
}

.head .brand {
    flex: 0 1 415px;
    min-width: 0;
}

.head .brand img {
    display: block;
    width: 100%;
    height: auto;
}

.foot .brand.small {
    flex: 0 1 225px;
    min-width: 0;
}

.foot .brand.small img {
    width: 100%;
    height: auto;
}

@media(max-width:1100px) {
    .head {
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .head .brand {
        flex: 0 1 375px;
    }
    .menu-toggle {
        display: block;
        background: transparent;
        border: 0;
        font-size: 28px;
        color: var(--ink);
        cursor: pointer;
    }
    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    nav.open {
        display: flex;
    }
    nav a {
        padding: 10px 0;
    }
}

@media(max-width:700px) {
    .head .brand {
        flex: 0 1 min(78%,350px);
    }
    .foot .brand.small {
        flex: none;
        width: min(225px,100%);
    }
}

.technik-kontakt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin: 28px 0 20px;
    padding: 24px 28px;
    border: 1px solid #d6e3df;
    border-left: 4px solid var(--teal);
    border-radius: 14px;
    background: var(--mint);
}

.technik-kontakt>div:first-child {
    flex: 1 1 270px;
}

.technik-kontakt .eyebrow {
    margin-bottom: 8px;
}

.prose .technik-kontakt h2 {
    margin: 0 0 8px;
    color: var(--teal);
}

.technik-kontakt p {
    margin: 0 0 8px;
}

.technik-kontakt p:last-child {
    margin: 0;
}

.technik-telefon {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.technik-cislo {
    font-size: clamp(1.25rem,2.4vw,1.65rem);
    font-weight: 750;
    white-space: nowrap;
}

.related-grid {
    grid-template-columns: repeat(var(--related-cols,3),minmax(0,1fr));
}

.vizitka-znacka {
    min-width: 0;
}

.vizitka-znacka b {
    min-width: 0;
    overflow-wrap: anywhere;
}

.vizitka-znacka-logo img {
    width: 100%;
    height: 60px;
    max-width: 230px;
    object-position: left center;
    flex-shrink: 1;
}

.related-grid a.vizitka-soucek {
    background: #fff;
    color: #233c6d;
    border-color: #d4deed;
    border-top: 4px solid #274c91;
}

.related-grid a.vizitka-jelinek {
    background: #f2fafb;
    color: #173c60;
    border-color: #c5e5e9;
    border-top: 4px solid #08a3c6;
}

.vizitka-soucek .vizitka-znacka img {
    max-width: 160px;
}

.vizitka-jelinek .vizitka-znacka img {
    max-width: 100%;
}

.related-text-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    padding-top: 12px;
    font-size: 13px;
}

.related-grid+.related-text-links {
    margin-top: 14px;
    border-top: 1px solid #e3e9e5;
}

.related-text-links a {
    overflow-wrap: anywhere;
}

@media(max-width:1180px) {
    .related-grid {
        grid-template-columns: repeat(min(var(--related-cols,3),3),minmax(0,1fr));
    }
}

@media(max-width:850px) {
    .related-grid {
        grid-template-columns: repeat(min(var(--related-cols,3),2),minmax(0,1fr));
    }
}

@media(max-width:600px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
    .technik-kontakt {
        padding: 20px;
        gap: 15px;
    }
    .technik-telefon {
        width: 100%;
    }
}

@media(min-width:1181px) {
    .related-grid[data-cols="5"] .vizitka-znacka:not(.vizitka-znacka-logo) {
        gap: 8px;
    }
    .related-grid[data-cols="5"] .vizitka-znacka:not(.vizitka-znacka-logo) img {
        width: 45px;
        height: 48px;
    }
    .related-grid[data-cols="5"] .vizitka-znacka b {
        font-size: 15px;
        overflow-wrap: normal;
    }
}

.tech-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 32px;
}

.tech-hero>div:first-child {
    flex: 1 1 540px;
    min-width: 0;
}

.tech-hero-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding-left: 22px;
    border-left: 3px solid var(--copper);
}

.tech-hero-contact span {
    font-size: 15px;
    font-weight: 650;
    color: var(--ink);
}

.tech-hero-contact .technik-cislo {
    line-height: 1.35;
}

@media(max-width:700px) {
    .tech-hero>div:first-child {
        flex-basis: 100%;
    }
    .tech-hero-contact {
        padding-left: 14px;
    }
}
