@font-face{font-family:'Cairo';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/cairo-300.ttf') format('truetype')}
@font-face{font-family:'Cairo';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/cairo-400.ttf') format('truetype')}
@font-face{font-family:'Cairo';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/cairo-500.ttf') format('truetype')}
@font-face{font-family:'Cairo';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/cairo-600.ttf') format('truetype')}
@font-face{font-family:'Cairo';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/cairo-700.ttf') format('truetype')}

:root {
    --black: #111;
    --cream: #eeeae3;
    --muted: #898989;
    --line: #d7d2ca;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; color: var(--black); font-family: 'Cairo', Arial, sans-serif; background: #fff }
a { color: inherit; text-decoration: none }
img { display: block; width: 100%; height: 100%; object-fit: cover }
.wrap { width: min(1240px, calc(100% - 56px)); margin: auto }

/* Header */
.header { position: absolute; z-index: 50; left: 0; right: 0; top: 0; color: #fff; padding: 0 26px }
.nav { height: 96px; display: flex; align-items: center; justify-content: space-between }
.logo { display: block; width: 78px; height: auto }
.logo img { width: 100%; height: auto; object-fit: contain }
.menu { display: flex; align-items: center; gap: 28px; font-size: 12px; font-weight: 600 }
.menu a { opacity: .78; transition: .25s }
.menu a:hover { opacity: 1 }
.burger { display: none; background: none; border: 0; color: #fff; font-size: 28px }

/* Hero */
.hero { height: 100svh; min-height: 680px; position: relative; overflow: hidden; color: #fff; background: #111 }
.hero-slides, .hero-slide { position: absolute; inset: 0 }
.hero-slide { opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease, transform 7s linear; background-position: center; background-size: cover }
.hero-slide.active { opacity: 1; transform: scale(1) }
.hero-slide:nth-child(1) { background-image: url('../realizace03.jpg') }
.hero-slide:nth-child(2) { background-image: url('../realizace14.jpg') }
.hero-slide:nth-child(3) { background-image: url('../mramorova-koupelna_2.jpg') }
.hero:after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.30); z-index: 1 }
.hero-content { position: absolute; z-index: 3; left: 25.5%; top: 50%; transform: translateY(-22%); max-width: 350px }
.hero h1 { font-size: 42px; line-height: 1.05; margin: 0 0 15px; font-weight: 700 }
.hero p { font-size: 13px; line-height: 1.35; margin: 0; max-width: 340px }
.btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 24px; padding: 10px 23px; border: 1px solid rgba(255,255,255,.8); border-radius: 30px; font-size: 12px; min-width: 112px }
.btn:after { content: '›'; font-size: 17px; margin-left: 10px }
.slider-dots { position: absolute; z-index: 4; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 8px }
.slider-dot { width: 7px; height: 7px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; opacity: .7 }
.slider-dot.active { background: #fff }

/* Quote */
.quote { background: #161616; color: #fff; padding: 84px 0 }
.quote-inner { display: grid; grid-template-columns: 1fr 2.2fr; gap: 80px; align-items: center }
.quote-label { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: #9f9f9f }
.quote blockquote { font-style: italic; font-size: 31px; line-height: 1.45; margin: 0 }

/* Why section */
.why { padding: 125px 0; background: var(--cream) }
.eyebrow { text-transform: uppercase; letter-spacing: .28em; font-size: 11px; font-weight: 600 }
.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 70px }
.section-head h2 { font-size: 53px; line-height: 1.1; margin: 13px 0 0 }
.section-head p { max-width: 390px; line-height: 1.7; color: #666 }
.features { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line) }
.feature { padding: 38px 24px 25px 0; border-right: 1px solid var(--line); min-height: 190px }
.feature:not(:first-child) { padding-left: 24px }
.num { font-size: 11px; color: #999; margin-bottom: 55px }
.feature h3 { font-size: 22px; margin: 0 0 10px }
.feature p { font-size: 12px; color: #777; margin: 0; line-height: 1.6 }

/* Service sections */
.service { padding: 135px 0 }
.service.dark { background: #121212; color: #fff }
.service-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 90px; align-items: start }
.service-copy { position: sticky; top: 40px; padding-top: 20px }
.service-copy h2 { font-size: 54px; line-height: 1.08; margin: 18px 0 28px }
.service-copy p { color: #747474; line-height: 1.9 }
.dark .service-copy p { color: #aaa }
.masonry { columns: 2; column-gap: 18px }
.tile { break-inside: avoid; margin-bottom: 18px; overflow: hidden; background: #ddd; cursor: pointer }
.tile img { height: auto; transition: .5s }
.tile:hover img { transform: scale(1.025) }
.tile.tall img { aspect-ratio: 3/4 }
.tile.wide img { aspect-ratio: 4/3 }

/* Parallax */
.parallax { height: 100vh; min-height: 560px; background-size: cover; background-position: center; background-attachment: fixed }
.parallax.one { background-image: url('../realizace03.jpg'); background-position: center }
.parallax.two { background-image: url('../mramorova-koupelna_2.jpg'); background-position: center }

/* Partners */
.partners { padding: 90px 0; background: #efebe4 }
.partners-title { text-align: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 50px }
.partner-row { display: flex; justify-content: center; align-items: center }
.partner-row img { width: min(760px, 90%); height: auto; object-fit: contain;filter:invert(1) }

/* Footer */
.footer { background: #111; color: #fff; padding: 80px 0 34px }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 80px }
.footer h3 { font-size: 34px; margin: 0 0 30px }
.footer p, .footer a { color: #a9a9a9; font-size: 13px; line-height: 2 }
.copyright { border-top: 1px solid #2d2d2d; margin-top: 60px; padding-top: 25px; display: flex; justify-content: space-between; color: #777; font-size: 11px }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.94); z-index: 100; display: none; align-items: center; justify-content: center; padding: 40px }
.lightbox.open { display: flex }
.lightbox img { max-width: 90vw; max-height: 90vh; width: auto; height: auto }
.close { position: absolute; right: 25px; top: 20px; color: #fff; font-size: 35px; cursor: pointer }

/* Responsive - Tablet */
@media (max-width: 900px) {
    .wrap { width: min(100% - 32px, 1240px) }
    .header { padding: 0 16px }
    .menu { display: none }
    .burger { display: block }
    .hero-content { left: 16px; right: 16px; top: auto; bottom: 90px; transform: none; max-width: 470px }
    .hero h1 { font-size: 48px }
    .quote-inner, .service-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px }
    .section-head { display: block }
    .section-head h2, .service-copy h2 { font-size: 42px }
    .features { grid-template-columns: 1fr 1fr }
    .feature { border-bottom: 1px solid var(--line) }
    .service-copy { position: static }
    .masonry { column-gap: 12px }
    .tile { margin-bottom: 12px }
    .parallax { height: 70vh; min-height: 430px; background-attachment: scroll }
}

/* Responsive - Mobile */
@media (max-width: 560px) {
    .hero h1 { font-size: 40px }
    .hero p { font-size: 14px }
    .quote blockquote { font-size: 24px }
    .features { grid-template-columns: 1fr }
    .feature { border-right: 0 }
    .masonry { columns: 1 }
    .copyright { display: block; line-height: 2 }
    .parallax { height: 58vh; min-height: 360px }
}
