:root {
    --gold: #e8b845;
    --ink: #24231f;
    --cream: #f7f5ef;
    --red: #bd302d;
    --muted: #67645c;
    --line: #dcd8cc;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: Arial,Helvetica,sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
}

button,a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 6px;
}

::selection {
    background: var(--gold);
    color: var(--ink);
}

.skip {
    position: absolute;
    left: 12px;
    top: -100px;
    background: white;
    padding: 15px;
    z-index: 10;
}

.skip:focus {
    top: 12px;
}

.header {
    max-width: 1440px;
    margin: auto;
    min-height: 112px;
    padding: 20px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo {
    font-size: 46px;
    font-weight: 900;
    letter-spacing: -4px;
    color: var(--red);
    line-height: 1;
}

.brand-caption {
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 700;
}

.header nav {
    display: flex;
    gap: 34px;
    font-size: 13px;
}

.header nav a:hover,.text-link:hover {
    color: var(--red);
}

.header-phone {
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 9px;
}

.header-phone span {
    margin-left: 25px;
}

.hero {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 48% 52%;
    background: var(--gold);
    min-height: 640px;
    overflow: hidden;
}

.hero-copy {
    padding: 64px 9% 32px 10.4%;
}

.eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.8;
    margin: 0 0 26px;
}

.eyebrow>span {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ink);
    margin-right: 9px;
}

h1 {
    font-size: clamp(44px,4.6vw,68px);
    line-height: 1.06;
    letter-spacing: -3px;
    margin: 0 0 25px;
    font-weight: 500;
}

em {
    font-family: Georgia,'Times New Roman',serif;
    font-weight: 400;
}

.hero-intro {
    font-size: 16px;
    line-height: 1.75;
    max-width: 340px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
    margin: 28px 0 39px;
}

.button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 19px 24px;
    font-size: 12px;
    font-weight: 700;
    transition: background .2s;
}

.dark {
    background: var(--ink);
    color: white;
}

.dark:hover {
    background: var(--red);
}

.text-link {
    font-size: 12px;
    border-bottom: 1px solid;
    padding-bottom: 5px;
}

.text-link span {
    margin-left: 15px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    line-height: 1.6;
}

.stitch {
    font-size: 32px;
}

.hero-visual {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.hero-visual>img {
    height: 100%;
    min-height: 580px;
    object-fit: cover;
    object-position: 58% center;
}

.photo-caption {
    background: #e9e4d9;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 25px;
    font-size: 10px;
}

.photo-caption span:first-child {
    font-family: Georgia,serif;
    font-style: italic;
    font-size: 15px;
}

.round-mark {
    position: absolute;
    right: 27px;
    top: 28px;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(10deg);
    font: italic 14px/1.4 Georgia,serif;
}

.round-mark strong {
    font-size: 20px;
    font-weight: 400;
}

.intro-strip {
    max-width: 1296px;
    margin: auto;
    padding: 32px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    border-bottom: 1px solid var(--line);
}

.intro-strip>span {
    font: italic 24px Georgia,serif;
}

.intro-strip p {
    font-size: 12px;
    line-height: 1.8;
    max-width: 410px;
    margin: 0;
    color: var(--muted);
}

.section {
    max-width: 1296px;
    margin: auto;
    padding: 88px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    margin-bottom: 38px;
}

.section-heading .eyebrow {
    margin-bottom: 15px;
}

h2 {
    font-size: clamp(32px,3.1vw,46px);
    font-weight: 400;
    letter-spacing: -1.7px;
    line-height: 1.12;
    margin: 0;
}

.section-heading>p {
    font-size: 13px;
    line-height: 1.9;
    max-width: 300px;
    color: var(--muted);
    margin: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    margin-top: 45px;
    border-top: 1px solid var(--line);
}

.service-grid article {
    padding: 30px 32px 0 0;
}

.service-grid article+article {
    border-left: 1px solid var(--line);
    padding-left: 32px;
}

.service-no {
    font-size: 11px;
    color: #897444;
}

.service-grid h3 {
    font-size: 22px;
    letter-spacing: -.6px;
    font-weight: 500;
    margin: 28px 0 15px;
}

.service-grid p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.85;
    max-width: 310px;
}

.service-grid a {
    font-size: 11px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    padding: 20px 0 10px;
}

.work {
    padding-top: 25px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 28px 22px;
}

figure {
    margin: 0;
    min-width: 0;
}

.photo-link {
    display: block;
    position: relative;
    overflow: hidden;
    background: #e8e3da;
}

.production img {
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform .4s;
}

.photo-link:hover img {
    transform: scale(1.025);
}

.zoom {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--cream);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    font-size: 16px;
}

figcaption {
    font-size: 11px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    line-height: 1.5;
}

.renovation {
    border-top: 1px solid var(--line);
}

.process {
    border-top: 1px solid var(--line);
    padding-top: 60px;
}

.process .eyebrow {
    margin-bottom: 16px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px;
    margin-top: 38px;
}

.process-grid article>span {
    font: italic 35px Georgia,serif;
    color: #aa7b1e;
}

.process-grid h3 {
    font-size: 17px;
    font-weight: 500;
}

.process-grid p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.9;
}

.contact {
    background: var(--gold);
    padding: 70px max(5%,calc((100% - 1296px)/2));
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 65px;
}

.contact .eyebrow {
    margin-bottom: 20px;
}

.contact h2 {
    font-size: clamp(35px,3.6vw,52px);
}

.contact-details {
    font-style: normal;
    display: grid;
    gap: 24px;
}

.contact-details>div {
    display: flex;
    flex-direction: column;
    gap: 7px;
    border-bottom: 1px solid #bc9436;
    padding-bottom: 20px;
    font-size: 12px;
    line-height: 1.6;
}

.contact-label {
    font-size: 9px;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.contact-details strong {
    font-size: 17px;
    font-weight: 500;
}

.contact-details a {
    width: fit-content;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.email {
    overflow-wrap: anywhere;
}

footer {
    max-width: 1296px;
    margin: auto;
    padding: 32px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

footer .logo {
    font-size: 34px;
}

footer>span,footer>a:last-child {
    font-size: 10px;
    color: var(--muted);
}

@media(min-width:1450px) {
    .hero {
        border-radius: 3px;
    }
}

@media(max-width:1439px) {
    .section,.intro-strip,footer {
        margin-left: 5%;
        margin-right: 5%;
    }
}

@media(max-width:1000px) {
    .hero-copy {
        padding-top: 45px;
    }
    h1 {
        font-size: 49px;
    }
    .hero {
        min-height: 600px;
    }
    .hero-visual>img {
        min-height: 560px;
    }
    .hero-note {
        font-size: 9px;
    }
    .header nav {
        gap: 20px;
    }
    .photo-caption {
        flex-direction: column;
        gap: 5px;
    }
    .gallery {
        grid-template-columns: repeat(2,1fr);
    }
    .contact {
        gap: 35px;
    }
    .section {
        padding-top: 65px;
        padding-bottom: 65px;
    }
}

@media(max-width:700px) {
    .header {
        padding: 20px 6%;
        min-height: 110px;
        flex-wrap: wrap;
        gap: 18px;
    }
    .logo {
        font-size: 38px;
    }
    .header nav {
        order: 3;
        justify-content: space-between;
        width: 100%;
        font-size: 11px;
        border-top: 1px solid var(--line);
        padding-top: 15px;
        gap: 10px;
    }
    .header-phone {
        font-size: 12px;
    }
    .header-phone span {
        margin-left: 10px;
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-copy {
        padding: 38px 7% 25px;
    }
    h1 {
        font-size: clamp(43px,10.5vw,64px);
        letter-spacing: -2px;
    }
    .hero-intro {
        font-size: 15px;
        max-width: 360px;
    }
    .eyebrow {
        font-size: 9px;
        margin-bottom: 22px;
    }
    .hero-actions {
        margin: 25px 0;
        gap: 20px;
    }
    .hero-note {
        font-size: 10px;
    }
    .hero-visual>img {
        min-height: 0;
        height: auto;
        aspect-ratio: 4/3;
        object-position: center;
    }
    .round-mark {
        width: 86px;
        height: 86px;
        top: 16px;
        right: 16px;
        font-size: 11px;
    }
    .round-mark strong {
        font-size: 16px;
    }
    .photo-caption {
        flex-direction: row;
        align-items: center;
        padding: 15px 6%;
        font-size: 9px;
    }
    .photo-caption span:first-child {
        font-size: 13px;
    }
    .intro-strip {
        grid-template-columns: 1fr;
        gap: 13px;
        padding: 28px 0;
    }
    .intro-strip>span {
        font-size: 22px;
    }
    .section,.intro-strip,footer {
        margin-left: 6%;
        margin-right: 6%;
    }
    .section {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 28px;
    }
    .section-heading>p {
        max-width: 100%;
        font-size: 13px;
    }
    h2 {
        font-size: 34px;
        letter-spacing: -1.2px;
    }
    .service-grid {
        grid-template-columns: 1fr;
        margin-top: 28px;
    }
    .service-grid article,.service-grid article+article {
        padding: 23px 0;
        border-left: 0;
        border-bottom: 1px solid var(--line);
    }
    .service-grid h3 {
        margin: 14px 0 10px;
    }
    .service-grid p {
        max-width: 100%;
    }
    .service-grid a {
        padding-top: 10px;
    }
    .gallery {
        gap: 25px 12px;
    }
    .production img {
        aspect-ratio: 1/1;
        object-fit: contain;
    }
    .gallery figcaption {
        font-size: 9px;
    }
    .comparison,.process-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 28px;
    }
    .process-grid article {
        border-bottom: 1px solid var(--line);
        padding-bottom: 15px;
    }
    .process-grid h3 {
        margin: 10px 0;
    }
    .process-grid p {
        margin: 0;
    }
    .contact {
        grid-template-columns: 1fr;
        padding: 45px 6%;
        gap: 38px;
    }
    .contact h2 {
        font-size: 36px;
    }
    .contact-details strong {
        font-size: 16px;
    }
    footer {
        flex-wrap: wrap;
        padding: 25px 0;
        gap: 22px;
    }
    footer>span {
        margin-left: auto;
    }
    footer>a:last-child {
        width: 100%;
        text-align: right;
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition: none!important;
    }
}

/* Renovace: každá realizace má stejnou dvojici před / po. */
.renovation-gallery
 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
}

.comparison-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.comparison-panel,
.comparison-collage {
    position: relative;
    min-width: 0;
}

.comparison .photo-link {
    aspect-ratio: 4 / 3;
}

.comparison img {
    height: 100%;
    object-fit: contain;
}

.comparison figcaption {
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
    font-size: 13px;
    color: var(--ink);
}

.comparison-collage .photo-link {
    aspect-ratio: 8 / 3;
}

.label {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    padding: 7px 10px;
    background: var(--cream);
    font-size: 10px;
    pointer-events: none;
}

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

/* Kontaktní mapa a kontakty. */
.contact-map
 {
    min-width: 0;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 300px;
    margin: 26px 0 15px;
    border: 1px solid #bc9436;
    background: var(--cream);
}

.map-link {
    display: inline-block;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-details {
    align-content: start;
}

.contact-phone {
    font-size: 20px;
    font-weight: 700;
}

/* Náhled fotografie zůstává nad aktuální stránkou. */
html
 {
    scrollbar-gutter: stable;
}

.preview-open {
    overflow: hidden;
}

.lightbox {
    width: min(1200px, calc(100% - 48px));
    max-width: none;
    max-height: calc(100dvh - 48px);
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: var(--cream);
    color: var(--ink);
    overflow: auto;
}

.lightbox::backdrop {
    background: rgb(20 19 16 / 88%);
}

.lightbox-content {
    padding: 16px;
}

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

.lightbox-toolbar p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.lightbox-close {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: white;
    font: 30px/1 Arial, sans-serif;
    cursor: pointer;
}

.lightbox-close:hover {
    background: var(--red);
}

.lightbox-close:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
}

.lightbox-image {
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 152px);
    object-fit: contain;
}

.lightbox-status {
    padding: 32px;
    text-align: center;
}

@media (max-width: 1000px) {
    .renovation-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .comparison figcaption {
        font-size: 12px;
    }
    .label {
        top: 7px;
        left: 7px;
        padding: 6px 8px;
        font-size: 9px;
    }
    .contact-map iframe {
        height: 280px;
    }
    .lightbox {
        width: calc(100% - 20px);
        max-height: calc(100dvh - 20px);
    }
    .lightbox-content {
        padding: 12px;
    }
    .lightbox-image {
        max-height: calc(100dvh - 136px);
    }
}

