/* ===================================================================
   JK Jádrové vrtání – style.css
   Paleta: modrá (akcent) · bílá · šedá. Mobile-first, bez frameworků.
   =================================================================== */

:root {
  --blue: #1e5fbf;
  --blue-dark: #154794;
  --blue-darker: #0f3a7a;
  --blue-soft: #e8f0fc;
  --ink: #0f172a;
  --text: #1f2937;
  --muted: #5b6473;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --bg-dark: #0c1828;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, .05);
  --shadow: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, .18);
  --max: 1240px;
  --header-h: 108px;
  --header-h-scrolled: 88px;
  --ease: cubic-bezier(.4, .2, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: hidden;
  width: 100%;
}
html.menu-open,
body.menu-open { overflow: hidden; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-dark); }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 65ch; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 1rem;
}
.eyebrow-blue { color: var(--blue); }
.subhead {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 3rem 0 1.2rem;
  color: var(--ink);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head .lead { margin: 0 auto; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .98rem;
  border: 2px solid transparent;
  transition: all .25s var(--ease);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(30, 95, 191, .35);
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(30, 95, 191, .45);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .55);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border-color: var(--white);
}
.section .btn-ghost { color: var(--blue); border-color: var(--blue); }
.section .btn-ghost:hover { background: var(--blue-soft); color: var(--blue-dark); }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), min-height .25s var(--ease);
}
/* backdrop-filter aktivní jen od desktopu, kde mobilní fixed-nav neexistuje;
   na mobilu by udělal z hlavičky containing block pro fixed potomky a rozbil menu */
@media (min-width: 900px) {
  .site-header {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
  }
}
.site-header.scrolled {
  box-shadow: 0 6px 20px rgba(15, 23, 42, .07);
  border-bottom-color: transparent;
}
.site-header.scrolled .header-inner { min-height: var(--header-h-scrolled); }
.site-header.scrolled .logo img { height: 66px; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 6px 0;
  transition: opacity .2s var(--ease);
}
.logo:hover { opacity: .85; }
.logo img {
  height: 82px;
  width: auto;
  display: block;
  transition: height .25s var(--ease);
}
@media (max-width: 480px) {
  .logo img { height: 64px; }
  .site-header.scrolled .logo img { height: 52px; }
}
.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.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); }

.primary-nav {
  position: fixed;
  top: var(--header-h);
  left: 100%;
  width: 100%;
  bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 24px 20px 32px;
  transition: left .3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}
.primary-nav.open { left: 0; }
.primary-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.primary-nav a {
  display: block;
  padding: 12px 8px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.primary-nav a:hover { color: var(--blue); }
.primary-nav a.btn-primary,
.primary-nav a.btn-primary:hover { color: var(--white); }
.header-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--blue);
  font-size: 1.05rem;
}
.phone-link:hover { color: var(--blue-dark); }

/* ---------- HERO (split layout, světlé pozadí) ---------- */
.hero {
  position: relative;
  padding: 56px 0 80px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(30, 95, 191, .10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  overflow: hidden;
  contain: layout style;
  width: 100%;
}
.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-decor-circle {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1.5px dashed rgba(30, 95, 191, .25);
  top: -180px;
  right: -180px;
}
.hero-decor-circle::before {
  content: "";
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(30, 95, 191, .18);
}
.hero-decor-circle::after {
  content: "";
  position: absolute;
  inset: 130px;
  border-radius: 50%;
  background: rgba(30, 95, 191, .04);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.hero-decor-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.dot-a { top: 20%; left: 6%; opacity: .25; }
.dot-b { top: 70%; left: 3%; opacity: .15; width: 14px; height: 14px; }
.dot-c { top: 8%; left: 45%; opacity: .18; width: 6px; height: 6px; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

/* ----- Levý sloupec ----- */
.hero-text {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-text > * { width: 100%; }
.hero-text .eyebrow,
.hero-text .hero-meta { justify-content: center; }
.hero .hero-sub { margin-left: auto; margin-right: auto; }
@media (min-width: 900px) {
  .hero-text {
    text-align: left;
    align-items: flex-start;
    margin: 0;
  }
  .hero .hero-sub { margin-left: 0; margin-right: 0; }
}
.hero .eyebrow-blue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .1em;
}
.hero .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  position: relative;
}
.hero .pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--blue);
  opacity: .4;
  animation: pulseRing 1.8s ease-out infinite;
}
@keyframes pulseRing {
  0%   { transform: scale(.6); opacity: .55; }
  100% { transform: scale(2.4); opacity: 0; }
}
.hero h1 {
  color: var(--ink);
  margin: 22px 0 18px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
}
.hero h1 .accent { color: var(--blue); }
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 30px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 auto 36px;
  width: 100%;
  max-width: 360px;
}
.hero-actions .btn { width: 100%; }
@media (min-width: 900px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 0 36px;
    max-width: none;
    width: auto;
  }
  .hero-actions .btn { width: auto; }
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin: 0;
}
.hero-meta li {
  padding: 0 16px;
  border-right: 1px solid var(--line);
}
.hero-meta li:first-child { padding-left: 0; }
.hero-meta li:last-child { border-right: 0; }
.hero-meta strong {
  display: block;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.01em;
}
.hero-meta span {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* ----- Pravý sloupec: vizuál ----- */
.hero-visual {
  position: relative;
}
.hero-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15, 23, 42, .25), 0 4px 12px rgba(15, 23, 42, .08);
  background: var(--bg-dark);
  aspect-ratio: 4/3;
}
.hero-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-card-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  color: var(--ink);
  padding: 12px 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  max-width: 260px;
}
.hero-card-tag svg { color: var(--blue); flex-shrink: 0; }
.hero-card-tag strong { font-size: .85rem; line-height: 1.3; font-weight: 700; color: var(--ink); }
.hero-card-photo-strip {
  position: absolute;
  bottom: 18px;
  right: 18px;
  display: flex;
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, .96);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.hero-card-photo-strip img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.scroll-cue {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--blue);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  animation: bob 2.2s ease-in-out infinite;
}
.scroll-cue:hover { color: var(--blue-dark); }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}

/* Tlačítka v hero – outline varianta pro tmavé pozadí */
.btn-outline {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- O nás / Služby ---------- */
.about-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 16px;
}
.about-text p { color: var(--text); }
.about-image {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.about-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.about-image figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(12, 24, 40, .85));
  color: var(--white);
  padding: 28px 18px 14px;
  font-size: .9rem;
}

/* Karty parametrů */
.features {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 14px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h4 { margin-bottom: .35rem; color: var(--ink); }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Cenová nabídka ---------- */
.quote-grid {
  display: grid;
  gap: 36px;
  align-items: start;
}
.quote-text .lead { margin-bottom: 1.6rem; }
.quote-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.quote-list-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--blue);
}
.quote-list-wrap h3 { margin-bottom: 1rem; color: var(--blue-dark); }
.check-list li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-bottom: 1px dashed var(--line);
  color: var(--text);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 20px; height: 20px;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / contain no-repeat;
}

/* ---------- Reference (loga firem) ---------- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.ref-grid li { list-style: none; }
.ref-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  overflow: hidden;
}
.ref-card svg,
.ref-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(.15);
  transition: filter .25s var(--ease), transform .25s var(--ease);
}
.ref-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(30, 95, 191, .35);
}
.ref-card:hover img,
.ref-card:hover svg { filter: grayscale(0); }

/* "A řada obcí a měst" karta */
.ref-cities-card .ref-card {
  flex-direction: column;
  gap: 8px;
  text-align: center;
  background: var(--bg-alt);
  border-style: dashed;
  color: var(--muted);
}
.ref-cities-card .ref-card svg { width: 80px; height: 36px; }
.ref-cities-card .ref-card span {
  font-size: .9rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- Galerie ---------- */
/* Mobil: vodorovný swipe carousel (jedna fotka v zobrazení, plynulé scroll-snap) */
.gallery {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 20px;
  padding: 4px 20px 16px;
  margin: 0 -20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gal-item {
  border: 0;
  padding: 0;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  flex: 0 0 88%;
  aspect-ratio: 4 / 3;
  scroll-snap-align: center;
  cursor: zoom-in;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.gal-item:hover {
  box-shadow: var(--shadow);
}
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gal-item:hover img { transform: scale(1.05); }
.gal-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(12, 24, 40, .8));
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gal-item:hover::after { opacity: 1; }

/* zoom indikátor */
.gal-item::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5fbf' stroke-width='2.4' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M21 21l-4.3-4.3M8 11h6M11 8v6'/></svg>");
  background-position: center;
  background-size: 18px;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 2;
}
.gal-item:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  gap: 32px;
}
.contact-form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.field { margin-bottom: 18px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.field-row .field { margin-bottom: 0; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.field label span { color: var(--blue); }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--bg-alt);
  color: var(--text);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30, 95, 191, .15);
}
.field input.invalid,
.field textarea.invalid {
  border-color: #d12c2c;
  background: #fff5f5;
}
.field textarea { resize: vertical; min-height: 140px; }
.field-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  color: var(--muted);
}
.field-check input { width: auto; margin-top: 4px; }
.field-check label { font-weight: 500; margin: 0; color: var(--muted); }
.form-note {
  margin: 14px 0 0;
  font-size: .92rem;
  min-height: 1.2em;
}
.form-note.ok { color: #2a8a47; }
.form-note.err { color: #d12c2c; }

.contact-info {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, .92);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info h3 { color: var(--white); margin-bottom: 1.2rem; }
.contact-info a { color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .25); }
.contact-info a:hover { color: var(--white); border-bottom-color: var(--white); }
.contact-name { margin-bottom: .4rem; font-size: 1.1rem; }
.contact-name strong { color: var(--white); }
.contact-address { color: rgba(255, 255, 255, .75); margin-bottom: 1.6rem; }
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 1.8rem;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .9);
}
.contact-list svg { color: var(--blue); flex-shrink: 0; }
.bank-box {
  background: rgba(255, 255, 255, .06);
  border-left: 3px solid var(--blue);
  padding: 14px 16px;
  border-radius: 6px;
  font-size: .95rem;
  line-height: 1.7;
}
.bank-box .iban { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* ---------- Patička ---------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, .8);
  padding-top: 56px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 36px;
}
.footer-brand p { color: rgba(255, 255, 255, .65); max-width: 320px; }
.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 14px;
  background: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-col p { color: rgba(255, 255, 255, .65); margin-bottom: .8rem; }
.footer-col a { color: rgba(255, 255, 255, .85); }
.footer-col a:hover { color: var(--white); }
.footer-col ul li { padding: 4px 0; }
.fb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .08);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background .2s var(--ease);
}
.fb-link:hover { background: var(--blue); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 0;
  font-size: .88rem;
  color: rgba(255, 255, 255, .55);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.to-top {
  color: rgba(255, 255, 255, .8);
  font-weight: 600;
}
.to-top:hover { color: var(--white); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 26, .92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  animation: lbIn .25s var(--ease);
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .25); transform: scale(1.05); }
.lb-close { top: 18px; right: 18px; font-size: 1.8rem; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.05); }

/* ---------- Scroll reveal ----------
   Progressive enhancement: bez JS se obsah ukáže rovnou.
   JS přidá na <html> třídu .js-ready a teprve pak začne animace. */
.reveal { opacity: 1; transform: none; }
.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.js-ready .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   Responsive breakpoints
   =================================================================== */

/* Tablet ≥ 640 */
@media (min-width: 640px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .ref-grid { grid-template-columns: repeat(3, 1fr); }
  /* tablet a víc: galerie zpět na grid, žádný carousel */
  .gallery {
    display: grid;
    flex-wrap: initial;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    margin: 0;
  }
  .gal-item {
    flex: initial;
    scroll-snap-align: none;
  }
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* Desktop ≥ 900 */
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .about-image img { height: 380px; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .quote-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .contact-grid { grid-template-columns: 1.4fr 1fr; }
  .ref-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
  .section { padding: 96px 0; }

  /* Hero split: text vlevo, foto vpravo */
  .hero { padding: 64px 0 80px; }
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
  }
  .hero-decor-circle {
    width: 720px;
    height: 720px;
    top: -260px;
    right: -260px;
  }
}

/* Velký desktop ≥ 1100 */
@media (min-width: 1100px) {
  .ref-grid { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 80px 0 100px; }
}

/* Desktopová navigace ≥ 900 */
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static;
    left: auto;
    width: auto;
    background: transparent;
    border: 0;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    overflow: visible;
  }
  .primary-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }
  .primary-nav a {
    padding: 8px 14px;
    border-bottom: 0;
    font-size: .95rem;
    border-radius: 8px;
    position: relative;
  }
  .primary-nav a::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 4px;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:hover::after { transform: scaleX(1); }
  .header-cta {
    flex-direction: row;
    align-items: center;
    margin-top: 0;
    gap: 16px;
  }
  .phone-link { font-size: .98rem; }
}

/* ===================================================================
   Accessibility – respekt k preferencím uživatele
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-bg { animation: none; transform: none; }
}

/* Tisk – jednoduchá pravidla */
@media print {
  .site-header, .scroll-cue, .nav-toggle, .lightbox, .hero-bg, .hero-overlay { display: none !important; }
  .hero { min-height: auto; color: var(--ink); padding: 20px 0; }
  .hero h1, .hero-sub { color: var(--ink); }
  .section { padding: 24px 0; }
}
