/* Servis MAR — sdílené styly, responzivita a tisk; bez externích závislostí. */
:root { --navy: #142d46;
  --navy-deep: #10263b;
  --blue: #264b6c;
  --paper: #f5f5f1;
  --white: #fff;
  --ink: #20364a;
  --muted: #65717b;
  --line: #d9deda;
  --gold: #806837;
  --gold-light: #d6bd87;
  --wrap: 1280px;
  --header: 100px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: var(--ink); background: var(--paper); font: 16px/1.7 Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:not([hidden]), summary { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.22; letter-spacing: -.035em; }
h1 { font-size: 46px; color: var(--navy); }
h2 { font-size: 31px; }
p + p { margin-top: 16px; }
.wrap { width: min(var(--wrap), calc(100% - 96px)); margin-inline: auto; }
.eyebrow { font-size: 11px; line-height: 1.5; letter-spacing: .14em; font-weight: 700; }
.section-label { display: flex; align-items: center; gap: 17px; margin-bottom: 22px; }
.section-number { font-size: 11px; line-height: 1.5; letter-spacing: .05em; color: var(--gold); border-top: 1px solid var(--gold); padding-top: 5px; margin-top: -5px; }
.skip-link { position: fixed; top: 12px; left: 20px; transform: translateY(-160%); z-index: 100; background: var(--white); padding: 10px 18px; }
.skip-link:focus { transform: translateY(0); }
::selection { background: var(--gold-light); color: var(--navy-deep); }
.site-header { position: sticky; top: 0; z-index: 20; flex-shrink: 0; height: var(--header); background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 100%; }
.brand { display: flex; align-items: center; flex-shrink: 0; color: var(--navy); }
.brand-type { font-size: 24px; line-height: 1; letter-spacing: .035em; white-space: nowrap; }
.brand-type strong { font-weight: 800; }
.brand-type > span { display: block; font-size: 8px; letter-spacing: .13em; font-weight: 600; margin-top: 9px; }
.main-nav { display: flex; align-items: center; gap: 25px; height: 100%; font-size: 15px; font-weight: 600; line-height: 1.4; }
.main-nav > a { position: relative; display: flex; flex-direction: column; justify-content: center; height: 100%; min-height: 48px; white-space: nowrap; }
.main-nav > a::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .18s; }
.main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav > a:hover { color: var(--blue); }
.nav-context { font-size: 11px; color: var(--muted); font-weight: 400; margin-bottom: 4px; }
.main-nav .nav-contact { flex-direction: row; align-items: center; gap: 13px; }
.menu-toggle { border: 0; background: none; color: var(--navy); align-items: center; gap: 12px; padding: 12px 0 12px 12px; font-size: 15px; }
.menu-toggle[hidden] { display: none; }
main { flex: 1 0 auto; display: flex; flex-direction: column; min-height: 760px; }
.page { flex: 1; display: flex; flex-direction: column; }
.page-intro { padding: 48px 0 34px; border-bottom: 1px solid var(--line); }
.page-summary { margin-top: 16px; max-width: 850px; min-height: 54px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.page-content { flex: 1; padding-block: 42px 56px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; padding: 13px 19px; background: var(--navy); color: var(--white); font-size: 13px; font-weight: 600; line-height: 1.6; transition: background .18s; }
.button:hover { background: var(--blue); }
.gallery-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 20px; margin-bottom: 25px; font-size: 14px; }
.gallery-heading > p + p { margin: 0; color: var(--muted); font-size: 13px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.gallery-item { min-width: 0; background: var(--white); border: 1px solid var(--line); }
.gallery-link { position: relative; display: block; background: #e7e9e6; overflow: hidden; }
.gallery-link picture { display: block; }
.gallery-link img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: filter .18s; }
.gallery-link:hover img { filter: brightness(.92); }
.gallery-enlarge { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 32px; height: 32px; background: var(--white); color: var(--navy); font-size: 19px; }
.gallery-item figcaption { padding: 15px 17px 18px; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.gallery-open { overflow: hidden; }
.lightbox { width: min(1180px, calc(100% - 48px)); max-width: none; max-height: calc(100svh - 40px); padding: 0; border: 0; background: transparent; color: var(--ink); overflow: auto; overscroll-behavior: contain; }
.lightbox::backdrop { background: #0b1b2be8; }
.lightbox-panel { background: var(--white); }
.lightbox-toolbar { display: flex; align-items: center; gap: 24px; padding: 10px 18px; min-height: 60px; border-bottom: 1px solid var(--line); font-size: 13px; }
.lightbox-count { font-weight: 600; min-width: 60px; }
.lightbox-hint { color: var(--muted); }
.lightbox-close { margin-left: auto; display: flex; align-items: center; justify-content: center; gap: 15px; min-height: 42px; padding: 6px 10px; border: 0; background: transparent; color: var(--navy); font-size: 14px; }
.lightbox-close > span { font-size: 28px; line-height: 1; }
.lightbox-media { position: relative; display: grid; place-items: center; height: min(68svh, 740px); min-height: 180px; background: var(--navy-deep); touch-action: pan-y pinch-zoom; }
.lightbox-media picture { display: block; width: 100%; height: 100%; min-height: 0; }
.lightbox-image { display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.lightbox-image.is-loaded { opacity: 1; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 46px; height: 50px; padding: 0; border: 1px solid #ffffff65; background: #10263bda; color: var(--white); font-size: 25px; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--blue); }
.lightbox-status { position: absolute; left: 65px; right: 65px; top: 50%; transform: translateY(-50%); text-align: center; font-size: 14px; color: var(--white); pointer-events: none; }
.lightbox-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px 30px; padding: 18px 22px; }
.lightbox-caption #gallery-caption { font-size: 15px; line-height: 1.6; }
.lightbox-direct { flex-shrink: 0; font-size: 12px; line-height: 2; text-decoration: underline; text-underline-offset: 4px; }
.contact-details { margin: 0; border-top: 1px solid var(--line); }
.contact-details > div { display: grid; grid-template-columns: 135px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-details dt { font-size: 12px; color: var(--muted); padding-top: 3px; }
.contact-details dd { margin: 0; font-size: 15px; }
.content-section { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.section-heading-copy { margin-bottom: 27px; max-width: 850px; }
.section-heading-copy h2 { margin-top: 15px; }
.scope-note { margin: 0 0 30px; padding: 17px 22px; border-left: 3px solid var(--gold); background: var(--white); font-size: 14px; line-height: 1.8; }
.scope-note strong { font-weight: 600; }
.service-details + .scope-note { margin-top: 26px; margin-bottom: 0; }
.service-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-detail { min-width: 0; padding: 26px 28px; border: 1px solid var(--line); background: var(--white); }
.service-detail h2, .service-detail h3 { font-size: 24px; }
.service-detail > p { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.inspection-services { border-top: 1px solid var(--line); }
.inspection-services > article { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.inspection-services h2 { font-size: 24px; }
.inspection-services p { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 880px; }
.contact-phone { font-size: clamp(21px, 2.2vw, 30px); letter-spacing: -.03em; line-height: 1.5; font-weight: 500; }
.contact-phone a:hover, .contact-card-links a:hover { color: var(--blue); }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.contact-card { min-width: 0; padding: 30px; border: 1px solid var(--line); border-top: 3px solid var(--gold); background: var(--white); }
.contact-card h2 { margin-top: 20px; }
.contact-card > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 15px; }
.contact-card-links { display: grid; gap: 8px; justify-items: start; margin-top: 24px; }
.contact-card-links > a:not(.contact-phone) { text-decoration: underline; text-underline-offset: 4px; }
.contact-card-links a, .contact-details dd { overflow-wrap: anywhere; }
.company-details { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.contact-details address { font-style: normal; }
.privacy a { text-decoration: underline; text-underline-offset: 3px; }
.source-lead { max-width: 1050px; margin-bottom: 32px; font-size: 19px; line-height: 1.8; }
.source-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.source-block h2 { font-size: 25px; }
.source-list { padding-left: 19px; margin: 18px 0 0; color: var(--ink); font-size: 15px; line-height: 1.85; }
.source-list li { padding-left: 3px; }
.source-list li + li { margin-top: 9px; }
.source-list li::marker { color: var(--gold); }
.source-paragraph { max-width: 1000px; margin-top: 28px; font-size: 15px; line-height: 1.85; }
.source-scope { margin-top: 25px; margin-bottom: 0; }
.source-followup { margin-top: 30px; }
.source-block > p { margin-top: 16px; font-size: 15px; line-height: 1.85; }
.source-copy { max-width: 1000px; }
.source-copy > .source-list { margin-top: 0; }
.compact-services .service-detail { padding-block: 25px; }
.compact-inspections > article { display: block; padding-block: 18px; }
.compact-contacts h2 { margin-top: 0; }
.source-company { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.source-company address { margin-top: 16px; font-style: normal; font-size: 15px; line-height: 1.8; }
@media (max-width: 760px) {
  .source-columns { grid-template-columns: 1fr; gap: 28px; }
  .source-lead { font-size: 17px; margin-bottom: 28px; }
  .source-block h2 { font-size: 24px; }
}
.site-footer { flex-shrink: 0; background: var(--navy-deep); color: #c4d0da; padding: 24px 0; font-size: 12px; }
.footer-main { display: flex; align-items: center; gap: 32px; }
.footer-main p { margin-right: auto; }
.footer-main p > span { margin-left: 20px; color: #a4b3bf; }
.footer-main a:hover { color: var(--gold-light); }
.footer-main > a { min-height: 24px; display: inline-flex; align-items: center; }
.privacy { font-size: 11px; color: #b4c1cc; }
.privacy details { margin-top: 20px; padding-top: 14px; border-top: 1px solid #ffffff26; }
.privacy summary { width: fit-content; min-height: 24px; }
.privacy details p { max-width: 850px; margin-top: 14px; line-height: 1.8; }
.privacy details:target { scroll-margin-top: 124px; }
@media (max-width: 1250px) {
  .wrap { width: calc(100% - 64px); }
  .header-inner { gap: 24px; }
  .main-nav { gap: 20px; }
  .contact-details > div { grid-template-columns: 110px 1fr; gap: 16px; }
  .company-details { gap: 44px; }
}
@media (max-width: 1100px) {
  :root { --header: 84px; }
  .site-header { height: auto; min-height: var(--header); position: static; }
  .header-inner { flex-wrap: wrap; }
  .brand { margin-block: 22px; }
  .menu-toggle:not([hidden]) { display: flex; }
  .main-nav { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; height: auto; gap: 0; padding-bottom: 18px; }
  .main-nav > a { padding: 15px 8px; min-height: 72px; white-space: normal; }
  .main-nav > a::after { left: 8px; right: 25px; }
  .main-nav .nav-contact { justify-content: flex-start; }
  .js-ready .site-header { height: var(--header); position: sticky; }
  .js-ready .header-inner { flex-wrap: nowrap; }
  .js-ready .main-nav { position: absolute; top: 100%; left: 0; padding: 12px 32px 22px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px #10263b12; }
  .js-ready .main-nav[hidden] { display: none; }
  .page-content { padding-bottom: 48px; }
  .contact-details > div { grid-template-columns: 1fr; gap: 6px; }
  .contact-card { padding: 26px; }
  .company-details { gap: 32px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .brand { margin-block: 21px; }
  .brand-type { font-size: 23px; }
  .brand-type > span { font-size: 7px; }
  .main-nav { grid-template-columns: 1fr 1fr; font-size: 16px; }
  .js-ready .main-nav { padding: 10px 20px 20px; max-height: calc(100svh - var(--header)); overflow-y: auto; }
  .main-nav > a { min-height: 76px; padding-inline: 8px; }
  .nav-context { font-size: 11px; }
  main { min-height: 0; flex: 1; }
  .page-intro { padding: 34px 0 27px; }
  .section-label { margin-bottom: 19px; gap: 13px; }
  .eyebrow, .section-number { font-size: 10px; }
  h1 { font-size: 35px; }
  h2 { font-size: 27px; }
  .page-summary { font-size: 15px; margin-top: 15px; min-height: 0; line-height: 1.7; }
  .page-content { padding-block: 30px 42px; }
  .contact-details > div { grid-template-columns: 105px 1fr; gap: 12px; }
  .contact-details dd { font-size: 14px; }
  .site-footer { padding-block: 25px; }
  .footer-main { flex-wrap: wrap; justify-content: space-between; gap: 18px; font-size: 11px; }
  .footer-main p { width: 100%; margin: 0; }
  .footer-main p > span { margin-left: 14px; }
  .service-details, .contact-cards, .company-details { grid-template-columns: 1fr; gap: 24px; }
  .content-section { margin-top: 34px; padding-top: 28px; }
  .section-heading-copy { margin-bottom: 23px; }
  .service-detail, .contact-card { padding: 24px; }
  .service-detail h2, .service-detail h3 { font-size: 23px; }
  .scope-note { padding: 16px 18px; font-size: 13px; }
  .inspection-services > article { grid-template-columns: 24px 1fr; gap: 14px; padding-block: 20px; }
  .inspection-services h2 { font-size: 23px; }
  .contact-card .eyebrow { font-size: 10px; }
  .contact-card-links > a:not(.contact-phone) { font-size: 15px; }
}
@media (max-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 24px; }
  .gallery-item figcaption { font-size: 14px; }
  .lightbox { width: calc(100% - 24px); max-height: calc(100svh - 24px); }
  .lightbox-toolbar { padding: 8px 12px; min-height: 55px; gap: 12px; }
  .lightbox-hint { display: none; }
  .lightbox-media { height: 60svh; }
  .lightbox-prev, .lightbox-next { width: 42px; height: 48px; }
  .lightbox-prev { left: 5px; }
  .lightbox-next { right: 5px; }
  .lightbox-caption { flex-direction: column; gap: 10px; padding: 16px; }
  .lightbox-caption #gallery-caption { font-size: 14px; }
}
@media (max-height: 600px) {
  .lightbox-media { height: calc(100svh - 200px); min-height: 90px; }
}
@media (max-width: 370px) {
  .brand-type { font-size: 21px; }
  .brand-type > span { font-size: 6.5px; }
  .header-inner { gap: 14px; }
  h1 { font-size: 32px; }
  .contact-details > div { grid-template-columns: 1fr; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  body { display: block; min-height: 0; background: white; }
  .wrap { width: 100%; }
  .site-header { position: static; height: auto; border: 0; }
  .header-inner { display: block; }
  .brand { margin: 0 0 20px; }
  .main-nav, .menu-toggle, .skip-link, .privacy, .footer-main > a { display: none !important; }
  main { display: block; min-height: 0; }
  .page { display: block; }
  .page-intro { padding: 15px 0 20px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .page-summary { min-height: 0; }
  .page-content { padding: 25px 0; }
  .gallery-item { break-inside: avoid; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-enlarge, .lightbox { display: none !important; }
  .site-footer { background: white; color: var(--ink); border-top: 1px solid var(--line); }
  .footer-main p > span { color: var(--muted); }
}
