/* Propojdum – design systém. Mobil first, světlý/tmavý režim, fonty uložené na vlastním webu (Inter, licence OFL). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

:root {
  --bg: #071312;
  --bg-alt: #0b1b1a;
  --surface: #102321;
  --surface-2: #0d1d1c;
  --ink: #e8f2f0;
  --muted: #9db7b3;
  --line: #1f3532;
  --brand: #35d3c1;
  --brand-hover: #5fe0d1;
  --on-brand: #04201d;
  --accent: #f7b84b;
  --accent-soft: rgba(247, 184, 75, .14);
  --glow-1: rgba(53, 211, 193, .16);
  --glow-2: rgba(247, 184, 75, .12);
  --device: #020606;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -8px rgba(0, 0, 0, .5);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .7);
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1140px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

/* Světlý vzhled: jen na výslovnou volbu návštěvníka (tlačítko v hlavičce) */
:root[data-theme="light"] {
  --bg: #f5f8f7;
  --bg-alt: #eaf1ef;
  --surface: #ffffff;
  --surface-2: #f0f5f4;
  --ink: #0e1f1e;
  --muted: #475d5a;
  --line: #d9e4e2;
  --brand: #0b6e66;
  --brand-hover: #09594f;
  --on-brand: #ffffff;
  --accent: #f0a020;
  --accent-soft: rgba(240, 160, 32, .16);
  --glow-1: rgba(11, 110, 102, .22);
  --glow-2: rgba(240, 160, 32, .20);
  --device: #101a1c;
  --shadow: 0 1px 2px rgba(10, 30, 28, .06), 0 12px 32px -8px rgba(10, 30, 28, .14);
  --shadow-lg: 0 30px 80px -20px rgba(10, 40, 36, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--on-brand); padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 7vw, 4.2rem); font-weight: 750; }
h2 { font-size: clamp(1.8rem, 4.6vw, 2.8rem); font-weight: 720; }
h3 { font-size: 1.25rem; font-weight: 680; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 40rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .9rem; }
.grad { background: linear-gradient(100deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wrap { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }
section { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.2rem); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 760; font-size: 1.25rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.brand svg { width: 32px; height: 32px; }
.nav { display: none; gap: .25rem; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; padding: .5rem .85rem; border-radius: 999px; font-size: .94rem; font-weight: 500; letter-spacing: -.005em; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--surface-2); }
.actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--brand); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn { display: inline-grid; }
.btn.cta-top { min-height: 42px; padding: .5rem 1.1rem; }
@media (max-width: 479px) { .btn.cta-top { display: none; } }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: .5rem 0 1rem; }
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: .85rem .25rem; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
@media (min-width: 980px) {
  .nav { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 650; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; font-family: inherit; }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 24px -8px var(--brand); }
.btn-primary:hover { background: var(--brand-hover); color: var(--on-brand); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-top: clamp(2.5rem, 7vw, 5rem); padding-bottom: clamp(3rem, 8vw, 6rem); }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, var(--glow-1), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -25% -15%; width: 55vw; height: 55vw; max-width: 700px; max-height: 700px; background: radial-gradient(closest-side, var(--glow-2), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1fr 1.15fr; gap: 3.5rem; } }
.hero h1 { margin-bottom: .45em; }
.hero-note { margin-top: 1.4rem; font-size: .92rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.hero-note span::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: .4rem; }

/* Device mockups */
.stage { position: relative; }
.tablet { background: var(--device); border-radius: 26px; padding: 10px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.06); }
.tablet img { border-radius: 16px; width: 100%; aspect-ratio: 1664/974; object-fit: cover; }
.phone { background: var(--device); border-radius: 34px; padding: 8px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.06); }
.phone img { border-radius: 26px; width: 100%; }
.stage .phone-float { position: absolute; width: 27%; right: -2%; bottom: -9%; transform: rotate(4deg); }
.stage .phone-float.left { right: auto; left: -3%; bottom: -12%; transform: rotate(-5deg); width: 24%; }
@media (max-width: 640px) { .stage .phone-float { right: 0; bottom: -12%; width: 30%; } .stage .phone-float.left { display: none; } }
.chip-float { position: absolute; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 14px; padding: .55rem .9rem; font-size: .85rem; font-weight: 650; display: flex; align-items: center; gap: .55rem; }
.chip-float i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); display: block; box-shadow: 0 0 0 4px var(--accent-soft); }
.chip-float.a { top: -4%; left: 4%; }
.chip-float.b { top: 38%; right: -3%; }
@media (max-width: 640px) { .chip-float.b { display: none; } }

/* Cards */
.cards { display: grid; gap: 1.1rem; }
@media (min-width: 760px) { .cards.c3 { grid-template-columns: repeat(3, 1fr); } .cards.c2 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); }
.card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 1rem; }
.card .ico svg { width: 26px; height: 26px; }
.card p { color: var(--muted); margin: 0; }
.alt { background: var(--bg-alt); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.chip { padding: .5rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; font-weight: 560; }
.note { font-size: .92rem; color: var(--muted); margin-top: 1.2rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem 1.4rem; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: var(--on-brand); font-weight: 800; margin-bottom: 1rem; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Gallery */
.gallery { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem 1rem 2rem; margin-inline: -1rem; scrollbar-width: thin; }
.gallery figure { flex: 0 0 min(68%, 250px); margin: 0; scroll-snap-align: center; }
.gallery .phone img { aspect-ratio: 410 / 910; object-fit: cover; }
.gallery figcaption { margin-top: 1rem; font-size: .93rem; color: var(--muted); line-height: 1.5; }
.gallery figcaption strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: .15rem; }
@media (min-width: 1060px) {
  .gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; overflow: visible; padding: 1rem 0 2rem; margin-inline: 0; }
  .gallery figure { flex: none; }
}

/* Ubytování */
.dark-band { background: #071312; color: #e8f2f0; position: relative; overflow: hidden; }
.dark-band::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 60vw; height: 60vw; max-width: 800px; background: radial-gradient(closest-side, rgba(53,211,193,.18), transparent 70%); }
.dark-band .wrap { position: relative; }
.dark-band .eyebrow { color: #35d3c1; }
.dark-band .lead { color: #9db7b3; }
.auto-list { display: grid; gap: .9rem; margin-top: 2rem; }
@media (min-width: 760px) { .auto-list { grid-template-columns: repeat(2, 1fr); } }
.auto { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; }
.auto h3 { font-size: 1.05rem; margin-bottom: .35rem; color: #fff; }
.auto p { margin: 0; color: #9db7b3; font-size: .96rem; }
.auto b { color: #f7b84b; font-weight: 650; }
.dark-band .btn-ghost { background: transparent; color: #e8f2f0; border-color: rgba(255,255,255,.25); }
.dark-band .btn-primary { background: #35d3c1; color: #04201d; box-shadow: none; }

/* Analýza */
.price-card { display: grid; gap: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.6rem, 4vw, 3rem); box-shadow: var(--shadow); }
@media (min-width: 900px) { .price-card { grid-template-columns: 1fr 1.2fr; align-items: center; } }
.price { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 760; letter-spacing: -.03em; line-height: 1; }
.price small { display: block; font-size: 1rem; line-height: 1.55; font-weight: 500; color: var(--muted); margin-top: .9rem; letter-spacing: 0; }
.price small span { display: block; }
.price small span + span { margin-top: .4rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.ticks li { padding-left: 1.9rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='black' d='M8.5 14.6 4.4 10.5l1.4-1.4 2.7 2.7 5.7-5.7 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='black' d='M8.5 14.6 4.4 10.5l1.4-1.4 2.7 2.7 5.7-5.7 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; background: var(--brand); }

/* Kontakt / formulář */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .85fr 1.15fr; } }
form { display: grid; gap: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow); }
.row2 { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
label, legend { font-weight: 620; font-size: .95rem; display: block; margin-bottom: .35rem; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .8rem 1rem; min-height: 48px; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: 3px solid color-mix(in srgb, var(--brand) 25%, transparent); }
fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem; }
.checks label { display: inline-flex; align-items: center; gap: .5rem; margin: 0; padding: .5rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 520; cursor: pointer; background: var(--surface-2); font-size: .93rem; }
.checks input { accent-color: var(--brand); width: 1.05rem; height: 1.05rem; }
.checks label:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, var(--surface)); }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); font-weight: 450; }
.consent input { margin-top: .3rem; accent-color: var(--brand); width: 1.1rem; height: 1.1rem; flex: none; }
.hp { position: absolute; left: -9999px; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }

/* Footer */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line); padding-block: 2.75rem; font-size: .94rem; line-height: 1.6; color: var(--muted); }
.foot { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .foot { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--brand); }
.site-footer .foot-h { margin: 0 0 .7rem; color: var(--ink); font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.legal { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .82rem; }

/* Reveal animace */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .tablet { animation: floaty 7s ease-in-out infinite; }
  @keyframes floaty { 50% { transform: translateY(-8px); } }
}
@media print { .site-header, .hero::before, .hero::after { display: none; } }

/* Animované propojení */
.net-sec { padding-block: clamp(3rem, 8vw, 5.5rem); }
.net { max-width: 780px; margin: 1.5rem auto 0; }
.net svg { width: 100%; height: auto; display: block; overflow: visible; }
.net .link { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1 11; opacity: .85; }
.net .link.br { stroke: var(--brand); }
.net .link.acc { stroke: var(--accent); }
.net .node .bg { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; transition: stroke .2s ease; }
.net .node:hover .bg { stroke: var(--brand); }
.net .ic { fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.net .ic.br { stroke: var(--brand); }
.net .ic.acc { stroke: var(--accent); }
.net .ring { fill: none; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.net .ring.br { stroke: var(--brand); }
.net .ring.acc { stroke: var(--accent); }
.net .lab { fill: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.net .hubl { fill: var(--muted); font-weight: 500; font-size: 16px; }
.net .hub { fill: var(--brand); }
.net .hub-glow { fill: var(--glow-1); transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .net .link { animation: flow 1.4s linear infinite; }
  .net .ring { animation: ring 3.6s ease-out infinite; animation-delay: var(--d, 0s); }
  .net .hub-glow { animation: hubglow 4s ease-in-out infinite; }
  .net .node { animation: nodein .8s ease both; animation-delay: var(--d, 0s); }
  @keyframes flow { to { stroke-dashoffset: -12; } }
  @keyframes ring { 0% { transform: scale(1); opacity: .65; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
  @keyframes hubglow { 50% { transform: scale(1.18); opacity: .55; } }
  @keyframes nodein { from { opacity: 0; } to { opacity: 1; } }
  .grad { background-size: 220% auto; animation: gradmove 9s ease-in-out infinite alternate; }
  @keyframes gradmove { to { background-position: 100% 50%; } }
}

/* Ukazatel průchodu stránkou */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--brand), var(--accent)); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .progress { animation: grow linear both; animation-timeline: scroll(root block); }
    @keyframes grow { to { transform: scaleX(1); } }
  }
}

/* Zvětšení obrázků (lightbox) */
.zoom { display: block; position: relative; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; border-radius: inherit; font: inherit; color: inherit; }
.zoom::after { content: ""; position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(8, 20, 19, .72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center/18px no-repeat; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.zoom:hover::after, .zoom:focus-visible::after { opacity: 1; }
@media (hover: none) { .zoom::after { opacity: .9; } }
.tablet .zoom, .phone .zoom { border-radius: inherit; }
#lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; color: #fff; }
#lightbox::backdrop { background: rgba(3, 10, 10, .88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lb { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 3.5rem 1rem 3.5rem; }
.lb img { max-width: min(96vw, 1500px); max-height: calc(100vh - 7.5rem); width: auto; height: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); background: #101a1c; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 1rem; text-align: center; font-size: .92rem; color: #c9dcd9; padding-inline: 1rem; }
.lb-btn { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 1.4rem; line-height: 1; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: .75rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .75rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 3.4rem; transform: none; } .lb-prev { left: calc(50% - 56px); } .lb-next { right: calc(50% - 56px); } .lb { padding-bottom: 7rem; } .lb img { max-height: calc(100vh - 11rem); } }

/* Ceník */
.ptable { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .97rem; }
.ptable th, .ptable td { padding: .7rem .5rem; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.ptable tr:first-child th, .ptable tr:first-child td { border-top: 0; }
.ptable thead th { border-top: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 650; }
.ptable tbody th { font-weight: 650; color: var(--ink); }
.ptable small { display: block; font-weight: 450; color: var(--muted); font-size: .86rem; margin-top: .15rem; }
.ptable td { white-space: nowrap; }
.ptable.wide td, .ptable.wide th { padding-inline: .75rem; }
.p { display: block; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pv { display: block; font-size: .82rem; color: var(--muted); font-weight: 450; font-variant-numeric: tabular-nums; }
.big .p { font-size: 1.6rem; letter-spacing: -.02em; }
.big { margin-bottom: 0; }
.tscroll { overflow-x: auto; margin-inline: -.25rem; padding-inline: .25rem; }
.brand .wm { font-weight: inherit; }
.brand .wm i { font-style: normal; color: var(--brand); }

/* Hlášení formuláře */
.form-msg { margin: 0; min-height: 1.4em; font-size: .95rem; font-weight: 550; }
.form-msg.ok { color: var(--brand); }
.form-msg.err { color: #ff8f84; }
:root[data-theme="light"] .form-msg.err { color: #c0392b; }

/* O mně */
.about { display: grid; gap: 1.6rem; align-items: start; max-width: 940px; }
.avatar { width: 112px; height: 112px; border-radius: 28px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 760; font-size: 2.2rem; letter-spacing: -.02em; color: #fff; background: linear-gradient(135deg, #14a89b, #095a54); box-shadow: var(--shadow); }
@media (min-width: 760px) { .about { grid-template-columns: 140px 1fr; gap: 2.5rem; } .avatar { width: 128px; height: 128px; font-size: 2.6rem; } }

/* Časté otázky */
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .7rem; }
.faq-item summary { cursor: pointer; padding: 1rem 3rem 1rem 1.2rem; font-weight: 650; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s ease; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--brand); }
.faq-item p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--muted); }

/* Výraznější hlášení formuláře */
.form-msg:not(:empty) { padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1px solid; font-size: .98rem; line-height: 1.5; }
.form-msg.ok:not(:empty) { background: color-mix(in srgb, var(--brand) 12%, var(--surface)); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); color: var(--ink); }
.form-msg.err:not(:empty) { background: color-mix(in srgb, #d64535 12%, var(--surface)); border-color: color-mix(in srgb, #d64535 55%, var(--line)); color: var(--ink); }
form button[type="submit"]:disabled { opacity: .75; cursor: default; transform: none; }

/* Okno s potvrzením odeslání */
#thanks { border: 0; padding: 0; background: transparent; max-width: min(92vw, 440px); width: 100%; color: var(--ink); }
#thanks::backdrop { background: rgba(3, 10, 10, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.thanks-box { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 2.2rem 1.8rem 1.8rem; text-align: center; box-shadow: var(--shadow-lg); }
.thanks-box h3 { font-size: 1.5rem; margin: 1rem 0 .4rem; }
.thanks-box p { color: var(--muted); margin: 0 0 1.4rem; }
.thanks-check { width: 76px; height: 76px; display: block; margin: 0 auto; }
.tc-circle { stroke: var(--brand); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 0; }
.tc-tick { stroke: var(--brand); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  #thanks[open] .thanks-box { animation: thanksIn .35s cubic-bezier(.2, .8, .2, 1) both; }
  #thanks[open] .tc-circle { animation: draw .7s ease-out both; }
  #thanks[open] .tc-tick { animation: draw .45s .45s ease-out both; }
  @keyframes thanksIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
  @keyframes draw { from { stroke-dashoffset: 151; } to { stroke-dashoffset: 0; } }
  .tc-tick { stroke-dashoffset: 0; }
  #thanks[open] .tc-tick { stroke-dashoffset: 40; animation-name: drawtick; }
  @keyframes drawtick { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
}

/* Právní stránky */
.legal-page { max-width: 780px; }
.legal-page h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal-page p, .legal-page li { color: var(--ink); }
.legal-page ul { padding-left: 1.2rem; display: grid; gap: .5rem; }
.legal-page .lead { color: var(--muted); }
