*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#202c28;background:#f8f7f2;font-family:Arial,sans-serif}a{color:inherit;text-decoration:none}.wrap{max-width:1200px;margin:auto;padding:0 28px}header{background:#f8f7f2}nav{height:92px;display:flex;align-items:center;justify-content:space-between}.logo{font-size:22px;font-weight:800;letter-spacing:-1px}.logo{display:flex;align-items:center;gap:10px}.logo img{width:52px;height:42px;object-fit:contain}.navlinks{display:flex;gap:34px;align-items:center;font-size:14px}.button{display:inline-block;background:#263e35;color:white;padding:16px 24px;font-size:14px;font-weight:bold;border-radius:3px}.button.light{background:#fff;color:#263e35}.hero{background:#e8e7df}.hero-grid{display:grid;grid-template-columns:1fr 1fr;min-height:585px}.hero-copy{padding:105px 60px 95px 0}.eyebrow{text-transform:uppercase;letter-spacing:3px;font-size:11px;font-weight:bold;color:#a46848}.hero h1{font-family:Georgia,serif;font-size:clamp(44px,5.5vw,72px);font-weight:normal;line-height:1.07;letter-spacing:-2px;margin:22px 0}.hero p{font-size:17px;line-height:1.8;color:#59635e;max-width:450px;margin-bottom:32px}.hero-image{background:linear-gradient(140deg,rgba(32,44,40,.05),rgba(32,44,40,.1)),url('/titulni-domy.webp') center/cover;min-height:450px;position:relative}.caption{position:absolute;bottom:14px;right:18px;background:#f8f7f2dd;padding:8px 10px;font-size:10px;color:#53605a}.section{padding:105px 0}.social-links{display:flex;gap:12px;margin-top:18px;flex-wrap:wrap}.social-links a{border:1px solid #aab9ae;padding:11px 16px;color:#263e35;font-size:13px;font-weight:bold;border-radius:3px}.social-links a:hover{background:#263e35;color:#fff}.section-head{display:flex;align-items:end;justify-content:space-between;gap:35px;margin-bottom:40px}.section h2{font:normal 46px/1.1 Georgia,serif;letter-spacing:-1px;margin:14px 0}.intro{line-height:1.8;color:#65716a;max-width:520px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:white;border:1px solid #ebece6}.card-visual{height:190px;background:#e5e9e2;display:flex;align-items:center;justify-content:center;color:#aebeb1;font:normal 88px Georgia,serif}.card:nth-child(2) .card-visual{background:#e9e1d8;color:#c8b5a4}.card:nth-child(3) .card-visual{background:#e1e5e0}.card-body{padding:25px}.tag{font-size:11px;text-transform:uppercase;letter-spacing:2px;color:#a46848}.card h3{font:normal 25px Georgia,serif;margin:14px 0}.card p{font-size:14px;line-height:1.7;color:#6b746e}.textlink{font-size:13px;font-weight:bold;color:#36584a}.about{background:#263e35;color:#fff}.about .grid{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}.about .eyebrow{color:#d4a78c}.about p{color:#d2ddd6;line-height:1.85}.steps{display:grid;gap:22px}.step{border-bottom:1px solid #597166;padding-bottom:22px;display:flex;gap:20px;line-height:1.5}.step span{color:#d4a78c}.contact{background:#eee9df}.contact-grid{display:flex;justify-content:space-between;align-items:center;gap:35px}.contact p{line-height:1.8;color:#647069}.contacts{display:flex;gap:12px;flex-wrap:wrap}footer{background:#1b3028;color:#d2dcd6;padding:42px 0;font-size:13px}footer .wrap{display:flex;justify-content:space-between;gap:20px;line-height:1.8}@media(max-width:760px){nav{height:75px}.navlinks{gap:10px 16px;justify-content:flex-end;flex-wrap:wrap;font-size:12px}.logo{font-size:17px;white-space:nowrap}.logo i{font-size:22px}nav{gap:18px}.hero-grid{grid-template-columns:1fr}.hero-copy{padding:65px 0}.hero-image{min-height:310px}.section{padding:70px 0}.section-head,.contact-grid{display:block}.cards{grid-template-columns:1fr}.about .grid{grid-template-columns:1fr;gap:35px}.contact .contacts{margin-top:25px}footer .wrap{display:block}} .listings{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px;margin:30px 0}.listing{background:#fff;border:1px solid #e5e8e2;overflow:hidden}.listing img{width:100%;height:210px;object-fit:cover}.listing.sold img{filter:grayscale(1)}.listing .info{padding:22px}.listing h3{font:25px Georgia;margin:12px 0}.badge{display:inline-block;background:#29463a;color:#fff;padding:6px 10px;font-size:11px;text-transform:uppercase}.sold .badge{background:#555}.listing button{border:0;background:transparent;color:#29463a;padding:0;font-weight:bold;cursor:pointer}.listing p{line-height:1.6;color:#606b64}dialog{max-width:800px;width:90%;border:0;padding:28px}dialog::backdrop{background:#0009}dialog img{max-width:100%;max-height:350px;object-fit:contain}dialog .gallery{display:flex;gap:8px;overflow:auto}dialog .gallery img{max-width:100%;width:auto}dialog .close{float:right;cursor:pointer} 
.about p{margin:18px 0}.estate-shell{font-family:Arial,sans-serif;color:#202c28;background:#f8f7f2;min-height:100vh}.estate-main{padding:48px 28px 70px}.estate-main h1{font:normal clamp(31px,4vw,49px)/1.18 Georgia,serif;letter-spacing:-1px;margin:15px 0 22px}.estate-main h2{font:normal 30px/1.2 Georgia,serif;margin:30px 0 18px}.estate-main h3{font:normal 25px/1.25 Georgia,serif;margin:12px 0}.estate-main p{line-height:1.8;margin:12px 0}.estate-intro{max-width:780px;color:#56655d}.estate-breadcrumb{font-size:12px;color:#526b5d;display:flex;gap:9px;flex-wrap:wrap}.estate-breadcrumb a{text-decoration:underline}.estate-main .listings{margin:32px 0}.estate-main .listing img{width:100%;aspect-ratio:4/3;height:auto;object-fit:cover}.estate-detail-photo{width:100%;max-height:640px;object-fit:contain;background:#e7e9e2;margin:25px 0}.estate-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px 0}.estate-gallery figure{margin:0}.estate-gallery img{width:100%;height:200px;object-fit:contain;background:#e7e9e2}.estate-gallery figcaption{font-size:11px;line-height:1.6;margin-top:5px;color:#627267}.estate-description{white-space:pre-wrap;max-width:850px;line-height:1.85;margin:25px 0}.estate-detail-price{background:#edf0e7;border:1px solid #d7dfd3;border-radius:5px;padding:24px;margin:25px 0}.estate-detail-price ul{list-style:disc;padding-left:22px}.estate-contact{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}.estate-guide{padding:24px;border:1px solid #d8dfd1;margin:30px 0;max-width:850px}.estate-guide h2{margin-top:0}.estate-guide ul{list-style:disc;padding-left:20px;line-height:1.9}.estate-main a.textlink{text-decoration:underline;text-underline-offset:3px}.estate-footer{background:#1b3028;color:white;padding:35px 28px}.estate-footer .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px}.estate-footer a{text-decoration:underline}.estate-main .sold img{filter:grayscale(1)}@media(max-width:760px){.estate-gallery{grid-template-columns:repeat(2,1fr)}.estate-gallery img{height:150px}.estate-main{padding:35px 20px}.estate-main h1{letter-spacing:-.5px}.estate-detail-price{padding:16px}.estate-footer .wrap{display:block}}
.estate-main .estate-image-caption{font-size:11px;line-height:1.5;padding:0 18px;color:#617264;margin-top:8px}.estate-main .listing h2{font-size:25px;margin:12px 0}.estate-main .listing h2 a:hover{text-decoration:underline}

nav.estate-breadcrumb{height:auto;justify-content:flex-start;margin-bottom:24px}figure{margin:0}.estate-main img{max-width:100%} .estate-main{overflow-wrap:anywhere}
/* Keep original photo proportions on phones and desktop. */
.estate-main .estate-detail-photo{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:transparent;margin:24px 0 8px}
.estate-main .estate-gallery{align-items:start}
.estate-main .estate-gallery img{display:block;width:100%;height:auto;object-fit:contain;background:transparent}
.estate-main figure>figcaption{font-size:12px;line-height:1.6;color:#627267;margin-bottom:16px}
@media(max-width:600px){.estate-main .estate-gallery{grid-template-columns:1fr;gap:20px}.estate-main .estate-detail-photo{margin-top:18px}.estate-main .estate-gallery img{height:auto}}
