/* latin-ext */
@font-face {
  font-family: 'Noticia Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/noticia-text-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Noticia Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/noticia-text-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/open-sans-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/open-sans-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/open-sans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/open-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/raleway-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/raleway-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   AK Pavelková – návrh faceliftu
   Barvy, písma a logo jsou převzaté ze současného webu.
   ========================================================================== */
:root {
  --navy: #00305b;
  --navy-deep: #002445;
  --blue: #0f4c85;
  --teal: #41b7c4;
  --teal-dark: #1b7f8c;
  --pale: #eaf4f6;
  --mist: #ceeef0;
  --white: #fff;
  --text: #22364b;
  --muted: #5b6c7e;
  --line: #d6e3ea;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(0, 48, 91, .05), 0 6px 18px rgba(0, 48, 91, .07);
  --shadow-md: 0 2px 6px rgba(0, 48, 91, .06), 0 18px 40px rgba(0, 48, 91, .14);
  --wrap: 1200px;
  --head: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Noticia Text", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 16.5px/1.75 var(--body); -webkit-font-smoothing: antialiased; }
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
::selection { background: var(--mist); color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.25; margin: 0 0 .6em; font-weight: 600; }
p { margin: 0 0 1.1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.wrap--article { width: min(800px, 100% - 48px); }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.icon { width: 24px; height: 24px; flex: none; }

/* --- Logo ------------------------------------------------------------ */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font: 400 23px/1 var(--serif); letter-spacing: .01em; white-space: nowrap; }
.logo__mark { width: 36px; height: 36px; flex: none; }
.logo__teal { fill: var(--teal); }
.logo__navy { fill: var(--navy); }
.logo--light { color: var(--white); }
.logo--light .logo__navy { fill: var(--white); }

/* --- Hlavička --------------------------------------------------------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.topbar.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(0, 48, 91, .08); }
.topbar__inner { width: min(1320px, 100% - 48px); margin-inline: auto; display: flex; align-items: center; gap: 8px; min-height: 76px; }
.topbar .logo { margin-right: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.nav a { position: relative; display: block; padding: 10px 13px; color: var(--text); text-decoration: none; font: 600 14.5px/1.2 var(--head); letter-spacing: .01em; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.topbar__phone { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; padding: 10px 18px; border: 1.5px solid var(--navy); border-radius: 999px; color: var(--navy); text-decoration: none; font: 600 14.5px/1 var(--head); white-space: nowrap; transition: background .2s, color .2s; }
.topbar__phone .icon { width: 16px; height: 16px; }
.topbar__phone:hover { background: var(--navy); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--navy); transition: transform .2s, opacity .2s; }

@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); display: none; border-top: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0, 48, 91, .14); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 6px 24px 18px; }
  .nav a { padding: 15px 2px; font-size: 16.5px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .topbar__inner { min-height: 66px; }
  .logo { font-size: 20px; }
  .logo__mark { width: 30px; height: 30px; }
  .topbar__phone { padding: 0; width: 42px; height: 42px; justify-content: center; margin-left: 0; }
  .topbar__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* --- Tlačítka --------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; background: var(--navy); color: var(--white); border: 1.5px solid var(--navy); border-radius: var(--radius); text-decoration: none; font: 600 15.5px/1.2 var(--head); letter-spacing: .02em; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--teal { background: var(--teal); border-color: var(--teal); color: var(--navy-deep); }
.btn--teal:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .6); color: var(--white); }
.btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.eyebrow { font: 600 13px/1.4 var(--head); text-transform: uppercase; letter-spacing: .22em; color: var(--teal-dark); margin: 0 0 14px; }
.eyebrow--light { color: var(--teal); }

/* --- Úvod ------------------------------------------------------------- */
/* Fotka je vidět celá, modrá se zleva plynule ztrácí. */
.hero { position: relative; display: flex; align-items: center; min-height: min(80vh, 720px); background: var(--navy); overflow: hidden; }
.hero__photo { position: absolute; inset: 0; background: url("/assets/img/hero.jpg") center 58% / cover no-repeat; }
.hero__panel { position: relative; z-index: 2; width: 100%; align-self: stretch; display: flex; align-items: center;
  background: linear-gradient(96deg, rgba(0, 40, 77, .86) 0%, rgba(0, 46, 87, .8) 22%, rgba(0, 48, 91, .64) 38%, rgba(0, 48, 91, .36) 52%, rgba(0, 48, 91, .12) 64%, rgba(0, 48, 91, 0) 76%);
  padding: 80px max(24px, calc((100vw - var(--wrap)) / 2)); }
.hero__content { max-width: 520px; color: var(--white); }
.hero h1 { color: var(--white); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.12; margin-bottom: .5em; text-shadow: 0 2px 24px rgba(0, 24, 48, .45); }
.hero__eyebrow { display: block; font: 600 14px/1.4 var(--head); text-transform: uppercase; letter-spacing: .26em; color: var(--teal); margin-bottom: 18px; text-shadow: none; }
.hero__lead { font-size: 1.16rem; line-height: 1.65; color: rgba(255, 255, 255, .94); margin-bottom: 2em; text-shadow: 0 1px 14px rgba(0, 24, 48, .5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__note { display: flex; align-items: center; gap: 10px; margin: 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .22); font-size: 14.5px; color: rgba(255, 255, 255, .88); }
.hero__note .icon { width: 20px; height: 20px; color: var(--teal); }
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__photo { background-position: 62% center; }
  .hero__panel { padding: 72px 24px 64px; background: linear-gradient(175deg, rgba(0, 36, 69, .92) 0%, rgba(0, 48, 91, .84) 55%, rgba(0, 48, 91, .62) 100%); }
}

/* --- Sekce ------------------------------------------------------------ */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--pale { background: var(--pale); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .86); }
.title { text-align: center; font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 1.5em; }
.title::after { content: ""; display: block; width: 64px; height: 4px; margin: 20px auto 0; background: linear-gradient(90deg, var(--teal) 50%, var(--navy) 50%); }
.title--left { text-align: left; margin-bottom: 1em; }
.title--left::after { margin-left: 0; }
.title--light { color: var(--white); }
.title--light::after { background: linear-gradient(90deg, var(--teal) 50%, var(--white) 50%); }

/* Služby */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px 28px; transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.service::before { content: ""; position: absolute; top: 0; right: 0; width: 44px; height: 44px; background: var(--pale); clip-path: polygon(100% 0, 0 0, 100% 100%); transition: background .25s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--mist); }
.service:hover::before { background: var(--teal); }
.service > .icon { width: 56px; height: 56px; padding: 14px; background: var(--pale); color: var(--teal-dark); border-radius: var(--radius); margin-bottom: 22px; }
.service h3 { font-size: 1.25rem; margin-bottom: .6em; }
.service p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--text); }
.insurance { display: flex; align-items: center; gap: 22px; margin-top: 24px; padding: 24px 30px; background: var(--pale); border-left: 4px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; }
.insurance .icon { width: 40px; height: 40px; color: var(--teal-dark); }
.insurance h3 { font-size: 1.1rem; margin: 0 0 2px; }
.insurance p { margin: 0; }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } .insurance { align-items: flex-start; padding: 22px; } }

/* Ceník */
.pricing { display: grid; grid-template-columns: 5fr 7fr; gap: 28px; align-items: stretch; }
.rate { position: relative; background: var(--navy); color: rgba(255, 255, 255, .86); border-radius: var(--radius); padding: 40px 36px; overflow: hidden; }
.rate::after { content: ""; position: absolute; right: 0; bottom: 0; width: 120px; height: 120px; background: var(--teal); opacity: .9; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.rate__label { font: 600 13px/1.4 var(--head); text-transform: uppercase; letter-spacing: .22em; color: var(--teal); margin: 0 0 10px; }
.rate__value { font: 400 clamp(2.8rem, 5vw, 3.8rem)/1 var(--serif); color: var(--white); margin: 0 0 8px; white-space: nowrap; }
.rate__unit { font: 500 1rem var(--head); color: var(--white); margin: 0 0 26px; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.rate__text { position: relative; z-index: 1; margin: 0; font-size: 15px; line-height: 1.75; }
.fixed { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 36px 20px; }
.fixed h3 { font-size: 1.15rem; margin-bottom: 8px; }
.fixed__list { list-style: none; margin: 0; padding: 0; }
.fixed__list li { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.fixed__list li:first-child { border-top: 0; }
.fixed__list p { margin: 0; font-size: 15.5px; line-height: 1.7; }
.fixed__list strong { font: 400 1.7rem/1 var(--serif); color: var(--navy); white-space: nowrap; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fixed { padding: 30px 22px 10px; } .rate { padding: 32px 24px; } .fixed__list li { grid-template-columns: 1fr; gap: 10px; } }

/* Vize */
.vision__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.vision__lead { font: 500 1.35rem/1.55 var(--head); color: var(--white); }
.vision strong { color: var(--white); }
.vision .vision__lead strong { color: var(--teal); font-weight: 600; }
.vision__photo { position: relative; margin: 0 0 24px 24px; }
.vision__photo::before { content: ""; position: absolute; inset: 24px 24px -24px -24px; background: var(--teal); border-radius: var(--radius); }
.vision__photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 900px) { .vision__grid { grid-template-columns: 1fr; } .vision__photo img { aspect-ratio: 16 / 10; } }

/* Dokument ke stažení */
.doc { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); text-decoration: none; font: 600 15.5px/1.45 var(--head); transition: border-color .2s, box-shadow .2s, transform .2s; }
.doc > .icon:first-child { width: 30px; height: 30px; color: var(--teal-dark); }
.doc > .icon:last-child { width: 22px; height: 22px; margin-left: auto; color: var(--teal-dark); transition: transform .2s; }
.doc span { display: block; }
.doc small { display: block; margin-top: 3px; font: 400 13px var(--body); color: var(--muted); }
.doc:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--navy); }
.doc:hover > .icon:last-child { transform: translateY(3px); }
.doc--dark { margin-top: 10px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); color: var(--white); }
.doc--dark > .icon { color: var(--teal) !important; }
.doc--dark small { color: rgba(255, 255, 255, .65); }
.doc--dark:hover { background: rgba(255, 255, 255, .1); border-color: var(--teal); color: var(--white); }

/* Advokát */
.attorney { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; max-width: 940px; margin-inline: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.attorney__photo { width: 100%; height: 100%; min-height: 340px; object-fit: cover; object-position: center 20%; }
.attorney__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.attorney__body h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 500; margin-bottom: 4px; }
.attorney__role { font: 600 13px/1.4 var(--head); text-transform: uppercase; letter-spacing: .22em; color: var(--teal-dark); margin-bottom: 24px; }
.attorney__list { list-style: none; margin: 0 0 28px; padding: 0; }
.attorney__list li { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.attorney__list li:last-child { border-bottom: 1px solid var(--line); }
.attorney__list .icon { width: 20px; height: 20px; color: var(--teal-dark); }
.attorney__list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.attorney__list a:hover { text-decoration: underline; }
.attorney__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 720px) { .attorney { grid-template-columns: 1fr; } .attorney__photo { min-height: 0; aspect-ratio: 4 / 3; } }

/* Adresa */
.location { padding: clamp(64px, 9vw, 112px) 0; color: rgba(255, 255, 255, .88); background: linear-gradient(150deg, rgba(0, 36, 69, .95), rgba(15, 76, 133, .9)), url("/assets/img/budova.jpg") center / cover no-repeat; }
.location__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.location h2 { color: var(--white); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.location__facts { list-style: none; margin: 26px 0 30px; padding: 0; }
.location__facts li { display: flex; align-items: center; gap: 14px; padding: 9px 0; color: var(--white); }
.location__facts .icon { width: 22px; height: 22px; color: var(--teal); }
.location__address { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: var(--radius); color: var(--white); text-decoration: none; font: 600 15.5px/1.2 var(--head); transition: background .2s, color .2s, border-color .2s; }
.location__address .icon { width: 20px; height: 20px; }
.location__address:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); border: 6px solid var(--white); background: var(--pale); }
.map iframe { width: 100%; height: 440px; border: 0; }
@media (max-width: 900px) { .location__grid { grid-template-columns: 1fr; } .map iframe { height: 340px; } }

/* Dokumenty */
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.docs p { margin: 0; }
.docs__list { display: grid; gap: 14px; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; } }

/* --- Podstránky ------------------------------------------------------- */
.pagehead { position: relative; background: linear-gradient(140deg, var(--navy-deep), var(--navy) 55%, var(--blue)); color: var(--white); padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px); overflow: hidden; }
.pagehead::after { content: ""; position: absolute; right: 0; bottom: 0; width: clamp(140px, 22vw, 320px); aspect-ratio: 1; background: var(--teal); opacity: .9; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.pagehead .wrap { position: relative; z-index: 1; }
.pagehead h1 { color: var(--white); font-weight: 500; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.3; margin: 0; max-width: 22em; }
.pagehead--short h1 { font-size: clamp(2rem, 4vw, 3rem); }
.pagehead__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 22px 0 0; font-size: 15px; color: rgba(255, 255, 255, .82); }
.pagehead__meta span::before { content: "·"; margin-right: 22px; color: var(--teal); }

.article { font-size: 17.5px; line-height: 1.85; }
.article h2 { font-size: 1.55rem; margin: 2em 0 .7em; }
.article h2::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 12px; background: var(--teal); vertical-align: 2px; }
.article blockquote { margin: 1.8em 0; padding: 22px 28px; background: var(--pale); border-left: 4px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; font: 400 1.08em/1.75 var(--serif); color: var(--navy); }
.article blockquote p { margin: 0; }
.article sup { font-size: .7em; }
.template { margin: 3em 0 2em; padding: clamp(26px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow-sm); font: 400 16.5px/1.8 var(--serif); color: var(--text); }
.template__label { display: inline-block; margin: 0 0 14px; padding: 5px 12px; background: var(--navy); color: var(--white); font: 600 12px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; border-radius: 2px; }
.template h2 { margin: 0; text-align: center; font: 400 1.6rem/1.3 var(--serif); text-transform: uppercase; letter-spacing: .08em; }
.template h2::before { display: none; }
.template__sub { text-align: center; color: var(--navy); margin-bottom: 2em; }
.template__verdict { text-align: center; font-weight: 400; letter-spacing: .5em; text-transform: lowercase; color: var(--navy); margin: 1.6em 0; }
.template h3 { font: 600 1.05rem var(--head); margin: 2em 0 .6em; }
.template blockquote { font-size: 1em; }
.template li::marker { color: var(--teal-dark); }
.footnotes { margin: 2.4em 0 2.6em; padding: 20px 0 0 22px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.article__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 32px; padding: 30px 34px; background: var(--navy); color: rgba(255, 255, 255, .86); border-radius: var(--radius); }
.article__cta h2 { margin: 0 0 6px; color: var(--white); font-size: 1.25rem; }
.article__cta h2::before { display: none; }
.article__cta p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.article__cta > div { flex: 1 1 320px; }

.refs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.refs li { display: grid; place-items: center; min-height: 190px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, box-shadow .25s, border-color .25s; }
.refs li:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--mist); }
.refs img { max-width: min(240px, 80%); max-height: 96px; width: auto; object-fit: contain; }
.refs span { font: 600 1.3rem/1.3 var(--head); color: var(--navy); text-align: center; letter-spacing: .02em; }
@media (max-width: 860px) { .refs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .refs { grid-template-columns: 1fr; } .refs li { min-height: 150px; } }

/* --- Patička ---------------------------------------------------------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .75); padding: 56px 0 0; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer h2 { font: 600 12.5px/1 var(--head); text-transform: uppercase; letter-spacing: .22em; color: var(--teal); margin: 8px 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.footer li { margin: 0 0 9px; break-inside: avoid; }
.footer address { font-style: normal; line-height: 1.95; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { color: var(--teal); }
.footer__small { margin: 18px 0 0; line-height: 1.7; color: rgba(255, 255, 255, .65); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr; gap: 30px; } }

/* --- Jemné animace ---------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
