/* =========================================================
   DDDental – návrh novej webstránky 2026
   ========================================================= */

:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --primary: #1a9bd7;
  --primary-dark: #137fb3;
  --aqua: #5fd0df;
  --coral: #f07a8a;
  --ink: #1a2433;
  --muted: #5d6b7e;
  --line: #e3eaf1;
  --bg: #ffffff;
  --bg-soft: #f3f8fb;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 40px -12px rgba(11, 37, 69, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 37, 69, .30);
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --topbar-h: 42px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.02em; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.text-accent { color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all .3s var(--ease); white-space: nowrap;
}
.btn svg { font-size: 18px; }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 17px 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -8px rgba(26, 155, 215, .6); }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(26, 155, 215, .7); }
.btn--outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.22); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.35); }

/* ---------- Eyebrow & section ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--aqua); }
.eyebrow .dot { display: none; }

.section { padding: 120px 0; }
.section__title { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
.section__head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section__head .eyebrow::before { display: none; }
.section__head p { color: var(--muted); font-size: 18px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; text-align: left; }
.section__head--row .eyebrow::before { display: block; }
.section__head--row p { max-width: 420px; margin: 0; }
.lead { font-size: 19px; color: var(--ink); font-weight: 500; }

/* ---------- Top bar ---------- */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--topbar-h); font-size: 13.5px; color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.topbar__info { display: flex; gap: 28px; }
.topbar__info a, .topbar__info span { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar__info a:hover { color: #fff; }
.topbar__info svg { color: var(--aqua); font-size: 15px; }
.topbar__social { display: flex; gap: 14px; }
.topbar__social a { opacity: .8; transition: opacity .2s; font-size: 16px; display: flex; }
.topbar__social a:hover { opacity: 1; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  transition: top .35s var(--ease), background .35s, box-shadow .35s, height .35s;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 50px; width: auto; transition: height .35s; }
.header__logo .logo-dark { display: none; }
.header.is-scrolled { top: 0; height: 72px; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); box-shadow: 0 6px 30px -12px rgba(11,37,69,.18); }
.header.is-scrolled .header__logo img { height: 42px; }
.header.is-scrolled .logo-dark { display: block; }
.header.is-scrolled .logo-light { display: none; }

.nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav__list > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 13px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: #fff;
  transition: background .2s, color .2s;
}
.nav__list > li > a:hover { background: rgba(255,255,255,.14); }
.header.is-scrolled .nav__list > li > a { color: var(--navy); }
.header.is-scrolled .nav__list > li > a:hover { background: var(--bg-soft); color: var(--primary); }
.chev { font-size: 14px; transition: transform .25s; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px);
  width: 340px; padding: 10px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: all .25s var(--ease);
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14.5px; color: var(--ink); font-weight: 500; transition: background .2s, color .2s, padding .2s; }
.dropdown a:hover { background: var(--bg-soft); color: var(--primary); padding-left: 18px; }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown:hover .chev { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.nav__cta-mobile { display: none; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.header.is-scrolled .burger { background: var(--bg-soft); }
.header.is-scrolled .burger span { background: var(--navy); }
.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; overflow: hidden; background: var(--navy);
  padding: calc(var(--topbar-h) + var(--header-h) + 40px) 0 0;
}
.hero__media { position: absolute; inset: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 28, 54, .88) 0%, rgba(8, 28, 54, .62) 45%, rgba(8, 28, 54, .25) 100%),
    linear-gradient(0deg, rgba(8, 28, 54, .7) 0%, transparent 40%);
}
.hero__content { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-bottom: 60px; }
.hero__title { color: #fff; font-size: clamp(40px, 6.4vw, 82px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; max-width: 820px; margin-bottom: 24px; }
.hero__title em { font-style: normal; background: linear-gradient(90deg, var(--aqua), #9fe7f0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 580px; color: rgba(255,255,255,.85); margin-bottom: 36px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__bar {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero__stat { padding: 28px 24px 34px 0; display: flex; flex-direction: column; gap: 2px; }
.hero__stat + .hero__stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.16); }
.hero__stat strong { font-family: var(--font-head); font-size: 22px; font-weight: 800; }
.hero__stat span { font-size: 14px; color: rgba(255,255,255,.7); }

.hero__scroll { position: absolute; z-index: 3; right: 32px; bottom: 120px; width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 4px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.about__media { position: relative; padding: 0 60px 80px 0; }
.about__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { aspect-ratio: 4 / 3.6; }
.about__img--small { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 8px solid #fff; }
.about__badge {
  position: absolute; left: -24px; bottom: 120px;
  background: var(--primary); color: #fff; border-radius: 18px;
  padding: 20px 24px; box-shadow: 0 20px 40px -14px rgba(26,155,215,.7);
  display: flex; flex-direction: column;
}
.about__badge strong { font-family: var(--font-head); font-size: 40px; font-weight: 800; line-height: 1; }
.about__badge span { font-size: 14px; opacity: .9; }
.about__text p { color: var(--muted); }
.about__text .lead { color: var(--ink); }
.checklist { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.checklist li { position: relative; padding-left: 34px; font-weight: 600; color: var(--navy); font-size: 15px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a9bd7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.about__sign { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.about__sign strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 17px; }
.about__sign span { color: var(--muted); font-size: 14px; }

/* ---------- Services ---------- */
.services { background: var(--bg-soft); position: relative; }
.services__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); padding: 32px 28px 28px;
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.service-card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--aqua));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon {
  width: 64px; height: 64px; border-radius: 18px; margin-bottom: 22px;
  display: grid; place-items: center; background: var(--bg-soft); color: var(--primary);
  transition: background .3s, color .3s;
}
.service-card__icon svg { font-size: 34px; stroke-width: 2.2; }
.service-card:hover .service-card__icon { background: var(--primary); color: #fff; }
.service-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 15px; flex: 1; }
.service-card__more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--primary); }
.service-card__more svg { transition: transform .3s; }
.service-card:hover .service-card__more svg { transform: translateX(4px); }
.service-card--featured { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); border-color: transparent; }
.service-card--featured h3 { color: #fff; }
.service-card--featured p { color: rgba(255,255,255,.72); }
.service-card--featured .service-card__icon { background: rgba(255,255,255,.1); color: var(--aqua); }
.service-card--featured .service-card__more { color: var(--aqua); }
.service-card__tag { position: absolute; top: 28px; right: 24px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--coral); color: #fff; font-family: var(--font-head); }
.services__footer { text-align: center; margin-top: 50px; }

/* ---------- Tech ---------- */
.tech { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.tech::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,155,215,.35) 0%, transparent 65%);
}
.tech__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.tech .section__title { color: #fff; }
.tech__text > p { color: rgba(255,255,255,.7); font-size: 18px; margin-bottom: 40px; }
.tech__items { display: grid; gap: 14px; }
.tech__item {
  display: flex; gap: 22px; padding: 22px 24px; border-radius: 18px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  transition: background .3s, border-color .3s, transform .3s;
}
.tech__item:hover { background: rgba(255,255,255,.08); border-color: rgba(95,208,223,.35); transform: translateX(6px); }
.tech__num { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--aqua); padding-top: 3px; }
.tech__item h3 { color: #fff; font-size: 19px; margin-bottom: 6px; }
.tech__item p { color: rgba(255,255,255,.65); font-size: 15px; margin: 0; }
.tech__media { position: relative; }
.tech__media img { border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.tech__float {
  position: absolute; left: -36px; bottom: 48px;
  display: flex; align-items: center; gap: 14px;
  background: #fff; color: var(--navy); padding: 18px 22px; border-radius: 18px; box-shadow: var(--shadow-lg);
}
.tech__float svg { font-size: 34px; color: var(--primary); }
.tech__float strong { display: block; font-family: var(--font-head); }
.tech__float span { font-size: 13px; color: var(--muted); }

/* ---------- Team ---------- */
.team__hero { border-radius: 28px; overflow: hidden; margin-bottom: 60px; background: linear-gradient(180deg, #eef4f8, #fff); }
.team__hero img { width: 100%; height: auto; }
.team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 22px; }
.member { text-align: center; }
.member__photo {
  position: relative; aspect-ratio: 1; border-radius: 24px; margin-bottom: 16px; overflow: hidden;
  background: linear-gradient(145deg, #e8f3f9, #d5eaf4);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.member__photo::before {
  content: attr(data-initials); position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 44px; color: rgba(26,155,215,.55); letter-spacing: -.02em;
}
.member__photo img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.member:hover .member__photo { transform: translateY(-6px); box-shadow: var(--shadow); }
.member h3 { font-size: 16.5px; margin-bottom: 4px; }
.member span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 0; }
.cta-band__inner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 64px 64px; border-radius: 32px;
  background: linear-gradient(120deg, var(--primary) 0%, #22b3d6 60%, var(--aqua) 100%);
  color: #fff;
}
.cta-band__inner::after {
  content: ""; position: absolute; right: -80px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(255,255,255,.1);
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.cta-band p { margin: 0; color: rgba(255,255,255,.9); font-size: 18px; max-width: 520px; }
.cta-band__buttons { display: flex; gap: 14px; position: relative; z-index: 1; flex-wrap: wrap; }

/* ---------- Gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; }
.gallery__item { position: relative; border-radius: 18px; overflow: hidden; cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,37,69,.45), transparent 55%); opacity: 0; transition: opacity .4s; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }

/* ---------- News ---------- */
.news { background: var(--bg-soft); }
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.news-card:hover .news-card__img img { transform: scale(1.05); }
.news-card__tag { position: absolute; top: 16px; left: 16px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--primary); font-family: var(--font-head); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.news-card__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.news-card time { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.news-card h3 { font-size: 21px; }
.news-card p { color: var(--muted); font-size: 15px; flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--primary); }
.link-arrow svg { transition: transform .3s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Certs ---------- */
.certs { padding: 70px 0; border-bottom: 1px solid var(--line); }
.certs__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.certs h2 { font-size: 30px; font-weight: 800; }
.certs p { color: var(--muted); max-width: 620px; margin: 0; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: start; margin-bottom: 60px; }
.contact__info > p { color: var(--muted); font-size: 18px; }
.contact__cards { display: grid; gap: 14px; margin: 34px 0 24px; }
.contact-card {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px;
  border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s, box-shadow .3s, transform .3s;
}
.contact-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-soft); color: var(--primary); display: grid; place-items: center; font-size: 22px; }
.contact-card span { display: block; font-size: 13px; color: var(--muted); }
.contact-card strong { font-family: var(--font-head); font-size: 18px; color: var(--navy); }
.contact__company { color: var(--muted); font-size: 14px; }

.contact__form { background: #fff; border-radius: 28px; padding: 44px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.contact__form h3 { font-size: 26px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft);
  transition: border-color .2s, background .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(26,155,215,.12); }
.field.is-invalid input { border-color: var(--coral); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 24px; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--primary); width: 16px; height: 16px; }
.check a { color: var(--primary); text-decoration: underline; }
.form-note { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: #e9f8ef; color: #1b7a43; font-weight: 600; font-size: 14px; text-align: center; }

.map { border-radius: 28px; overflow: hidden; height: 420px; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 90px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 50px; padding-bottom: 60px; }
.footer__logo { height: 56px; width: auto; margin-bottom: 22px; }
.footer__brand p { max-width: 320px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.footer a { transition: color .2s; }
.footer ul a:hover { color: var(--aqua); }
.footer__contact strong { color: #fff; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); font-size: 18px; color: #fff; transition: background .3s; }
.footer__social a:hover { background: var(--primary); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 18, 36, .94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 84vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 54px; height: 54px; font-size: 34px; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }

/* ---------- Mobile call ---------- */
.mobile-call { display: none; opacity: 0; transform: scale(.6); pointer-events: none; transition: opacity .3s, transform .3s; position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--primary); color: #fff; place-items: center; font-size: 24px; box-shadow: 0 14px 30px -8px rgba(26,155,215,.8); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__video { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav__list > li > a { padding: 10px 9px; font-size: 14.5px; }
  .header__cta { display: none; }
}

@media (max-width: 1024px) {
  .section { padding: 90px 0; }
  .burger { display: block; }
  .header__cta { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 100%);
    background: #fff; padding: 100px 28px 32px; overflow-y: auto;
    transform: translateX(100%); transition: transform .45s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.2); z-index: -1;
    display: flex; flex-direction: column; gap: 24px;
  }
  .nav-open .nav { transform: none; }
  .nav-open .header { background: #fff; top: 0; }
  .nav-open .header .logo-dark { display: block; }
  .nav-open .header .logo-light { display: none; }
  .nav-open .burger { background: var(--bg-soft); }
  .nav-open .burger span { background: var(--navy); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list > li > a, .header.is-scrolled .nav__list > li > a { color: var(--navy); font-size: 17px; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .nav__list > li > a:hover { background: none; color: var(--primary); }
  .dropdown { position: static; transform: none; width: auto; box-shadow: none; padding: 0 0 0 8px; max-height: 0; overflow: hidden; opacity: 1; visibility: visible; transition: max-height .4s var(--ease); }
  .has-dropdown:hover .dropdown { transform: none; }
  .has-dropdown.is-open .dropdown { max-height: 600px; padding: 8px 0 8px 8px; }
  .has-dropdown.is-open .chev { transform: rotate(180deg); }
  .nav__cta-mobile { display: inline-flex; }
  body.nav-open { overflow: hidden; }

  .about__grid, .tech__grid, .contact__grid { grid-template-columns: 1fr; gap: 60px; }
  .about__media { max-width: 640px; }
  .tech__media { max-width: 520px; }
  .tech__media img { aspect-ratio: 4 / 3; }
  .tech__float { left: 20px; }
  .news__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; padding: 50px 40px; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .topbar { display: none; }
  .header { top: 0; }
  .header__logo img { height: 40px; }
  .header__cta { display: none; }
  .hero { padding-top: calc(var(--header-h) + 30px); }
  .hero__bar { grid-template-columns: 1fr 1fr; }
  .hero__stat { padding: 20px 12px 22px 0; }
  .hero__stat + .hero__stat { padding-left: 16px; }
  .hero__stat:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .hero__stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.16); }
  .hero__stat strong { font-size: 18px; }
  .hero__stat span { font-size: 13px; }
  .hero__scroll { display: none; }
  .hero__buttons .btn { width: 100%; }
  .section__head--row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .about__media { padding: 0 30px 60px 0; }
  .about__badge { left: -8px; bottom: 90px; padding: 14px 18px; }
  .about__badge strong { font-size: 30px; }
  .checklist { grid-template-columns: 1fr; }
  .news__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .member h3 { font-size: 15px; }
  .member span { font-size: 11.5px; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 10px; }
  .gallery__item--wide { grid-column: span 2; }
  .cta-band__inner { padding: 40px 26px; border-radius: 24px; }
  .cta-band__buttons, .cta-band__buttons .btn { width: 100%; }
  .certs__inner { flex-direction: column; align-items: flex-start; }
  .contact__form { padding: 28px 22px; border-radius: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-card strong { font-size: 16px; }
  .map { height: 320px; border-radius: 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; }
  .mobile-call { display: grid; }
  .past-hero .mobile-call { opacity: 1; transform: none; pointer-events: auto; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 24px; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
}

/* =========================================================
   Podstránky (minimalistický layout)
   ========================================================= */
.page-sub .topbar { display: none; }
.page-sub .header { top: 0; }
.page-sub main { padding-top: 72px; }
.nav__list > li > a.is-active, .header.is-scrolled .nav__list > li > a.is-active { color: var(--primary); }
.dropdown a.is-active { color: var(--primary); background: var(--bg-soft); }

/* Hlavička stránky */
.page-head { padding: 90px 0 56px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 36px; }
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span[aria-current] { color: var(--navy); font-weight: 500; }
.breadcrumb > span:not([aria-current]) { opacity: .4; }
.page-head__title { font-size: clamp(42px, 6.5vw, 84px); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 28px; max-width: 900px; }
.page-head__lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); max-width: 620px; margin: 0; }

.facts { display: flex; flex-wrap: wrap; margin: 48px 0 0; border-top: 1px solid var(--line); }
.facts > div { padding: 22px 48px 0 0; }
.facts > div + div { padding-left: 48px; border-left: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 4px; }
.facts dd { margin: 0; font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--navy); }

.page-cover { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 9; }
.page-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }

/* Obsah + sidebar */
.article-wrap { padding: 90px 0 110px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 100px; align-items: start; }
.prose { max-width: 700px; font-size: 17.5px; line-height: 1.8; color: #3a4757; }
.prose__intro { font-size: 22px; line-height: 1.6; color: var(--navy); font-weight: 500; margin-bottom: 1.4em; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 2.2em 0 .7em; }
.prose h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }

.pull-quote {
  margin: 2em 0; padding: 0 0 0 28px; border-left: 3px solid var(--primary);
  font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.35; color: var(--navy); letter-spacing: -.02em;
}

.steps { list-style: none; padding: 0; margin: 2em 0; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding: 0 0 30px 68px; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--primary);
}
.steps li::after { content: ""; position: absolute; left: 22px; top: 50px; bottom: 6px; width: 1.5px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps p { margin: 0; font-size: 16px; }

.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin: 1.6em 0 2.4em; }
.tool { background: #fff; padding: 26px 24px; }
.tool p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

.mini-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; height: 220px; }
.mini-gallery .gallery__item { border-radius: 14px; }

.sidebar { position: sticky; top: 104px; display: grid; gap: 18px; }
.side-card { border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.side-card h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.side-card--accent { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.75); }
.side-card--accent h3 { color: #fff; font-size: 22px; }
.side-card--accent p { font-size: 15px; margin-bottom: 22px; }
.side-card__phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: #fff; font-family: var(--font-head); font-weight: 700; }
.side-card__phone svg { color: var(--aqua); }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; justify-content: space-between; padding: 9px 0; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--line); transition: color .2s; }
.side-links li:last-child a { border-bottom: 0; }
.side-links a::after { content: "\2192"; opacity: 0; transition: opacity .2s; color: var(--primary); }
.side-links a:hover, .side-links a.is-active { color: var(--primary); }
.side-links a:hover::after, .side-links a.is-active::after { opacity: 1; }
.side-download { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 18px; background: var(--bg-soft); transition: background .2s; }
.side-download:hover { background: #e6f1f7; }
.side-download svg { font-size: 26px; color: var(--primary); }
.side-download strong { display: block; font-family: var(--font-head); color: var(--navy); }
.side-download small { color: var(--muted); }

/* Jednoduchá CTA */
.sub-cta { border-top: 1px solid var(--line); padding: 80px 0; }
.sub-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.sub-cta h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; margin: 0; }

/* Slim footer */
.footer--slim { padding-top: 56px; }
.footer__slim { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 44px; }
.footer__slim .footer__logo { height: 44px; margin: 0; }
.footer__slim .footer__social { margin: 0; }
.footer ul.footer__inline { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; }

/* Kontakt */
.contact-lines { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-lines__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.contact-line { display: block; padding: 44px 32px 44px 0; }
.contact-line + .contact-line { padding-left: 32px; border-left: 1px solid var(--line); }
.contact-line__label { display: flex; align-items: center; gap: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.contact-line__label svg { color: var(--primary); font-size: 16px; }
.contact-line strong { font-family: var(--font-head); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; color: var(--navy); letter-spacing: -.02em; line-height: 1.25; transition: color .2s; }
.contact-line:hover strong { color: var(--primary); }

.contact-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
.contact__form--flat { box-shadow: none; border: 0; padding: 0; border-radius: 0; }
.contact__form--flat h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; margin-bottom: 6px; }
.form-intro { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.map--tall { height: 380px; border-radius: 22px; box-shadow: none; border: 1px solid var(--line); }
.company { margin: 28px 0 0; }
.company > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.company dt { color: var(--muted); }
.company dd { margin: 0; color: var(--navy); font-weight: 500; }
.company a { color: var(--primary); }

@media (max-width: 1024px) {
  .article-grid, .contact-split { grid-template-columns: 1fr; gap: 60px; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .sidebar .side-download { grid-column: span 2; }
}
@media (max-width: 760px) {
  .page-head { padding: 50px 0 40px; }
  .breadcrumb { margin-bottom: 24px; }
  .facts > div, .facts > div + div { padding: 18px 16px 0 0; border-left: 0; }
  .page-cover { aspect-ratio: 4 / 3; border-radius: 20px; }
  .article-wrap { padding: 60px 0 70px; }
  .prose { font-size: 16.5px; }
  .prose__intro { font-size: 19px; }
  .steps li { padding-left: 58px; }
  .tools { grid-template-columns: 1fr; }
  .mini-gallery { grid-template-columns: 1fr 1fr; height: auto; grid-auto-rows: 140px; }
  .mini-gallery .gallery__item:first-child { grid-column: span 2; }
  .sidebar { grid-template-columns: 1fr; }
  .sidebar .side-download { grid-column: auto; }
  .sub-cta { padding: 56px 0; }
  .contact-lines__grid { grid-template-columns: 1fr; }
  .contact-line, .contact-line + .contact-line { padding: 26px 0; border-left: 0; }
  .contact-line + .contact-line { border-top: 1px solid var(--line); }
  .company > div { grid-template-columns: 1fr; gap: 2px; }
  .footer__slim { flex-direction: column; align-items: flex-start; }
  .footer ul.footer__inline { flex-direction: column; }
}

/* Hlavička podstránky so svetlým videom */
.page-head--video { position: relative; overflow: hidden; padding: 110px 0 80px; }
.page-head--video .container { position: relative; z-index: 2; }
.page-head__media { position: absolute; inset: 0; z-index: 0; }
.page-head__media video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(1.08); }
.page-head__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 30%, rgba(255,255,255,.72) 58%, rgba(243,248,251,.35) 100%),
    linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 35%);
}
.page-head--video .facts { border-top-color: rgba(11,37,69,.12); }
.page-head--video .facts > div + div { border-left-color: rgba(11,37,69,.12); }
@media (max-width: 760px) {
  .page-head--video { padding: 56px 0 44px; }
  .page-head__media::after { background: linear-gradient(180deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.9) 60%, #fff 100%); }
}

/* =========================================================
   CMS (GetSimple) – typografia obsahu z administrácie
   ========================================================= */
.article-wrap--text { padding: 70px 0 90px; }
.article-wrap--text + .article-wrap--text { padding-top: 0; }
.prose > p:first-child { font-size: 22px; line-height: 1.6; color: var(--navy); font-weight: 500; margin-bottom: 1.4em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose img { border-radius: 18px; height: auto; margin: 1.6em 0; }

/* blockquote = zvýraznený citát */
.prose blockquote {
  margin: 2em 0; padding: 0 0 0 28px; border-left: 3px solid var(--primary);
  font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.35; color: var(--navy); letter-spacing: -.02em;
}
.prose blockquote p { margin: 0; }

/* číslovaný zoznam = kroky */
.prose ol { list-style: none; padding: 0; margin: 2em 0; counter-reset: step; }
.prose ol > li { position: relative; counter-increment: step; padding: 8px 0 26px 68px; font-size: 16.5px; }
.prose ol > li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--primary);
}
.prose ol > li::after { content: ""; position: absolute; left: 22px; top: 50px; bottom: 4px; width: 1.5px; background: var(--line); }
.prose ol > li:last-child { padding-bottom: 0; }
.prose ol > li:last-child::after { display: none; }
.prose ol > li strong:first-child { display: block; font-family: var(--font-head); font-size: 18px; margin-bottom: 4px; }

/* odrážky */
.prose ul { list-style: none; padding: 0; margin: 1.4em 0 1.8em; }
.prose ul > li { position: relative; padding: 0 0 12px 30px; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px rgba(26,155,215,.12); }

/* technológie na úvode sú odkazy */
a.tech__item { color: inherit; }

/* formulár */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0 0 22px; text-align: left; }
.form-note--error { background: #fdecee; color: #b4233a; }
.contact-split--single { grid-template-columns: minmax(0, 760px); }
.sub-form { border-top: 1px solid var(--line); background: var(--bg-soft); }
.sub-form .field input, .sub-form .field select, .sub-form .field textarea { background: #fff; }
.field.is-invalid input, .check.is-invalid { border-color: var(--coral); color: #b4233a; }

/* nadpis sekcie s odkazom */
.section__head--row .link-arrow { margin-top: 10px; }
.team { padding-top: 90px; }
.page-sub .team { padding-top: 70px; }
.page-sub .gallery { padding-top: 70px; }

@media (max-width: 760px) {
  .prose > p:first-child { font-size: 19px; }
  .prose ol > li { padding-left: 58px; }
  .article-wrap--text { padding: 50px 0 60px; }
}
.member__photo { aspect-ratio: 4 / 5; }
.member__photo img { object-position: center 20%; }

/* =========================================================
   Fotky k službám – prípady pred / po a fotky (inc/photo-group.php)
   ========================================================= */
.photo-group { margin: 2.4em 0; max-width: 760px; }
.photo-group__title { font-size: 20px; font-weight: 700; margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.photo-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.cases { display: grid; gap: 14px; }
.case { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.case--3 { grid-template-columns: repeat(3, 1fr); }
.case__img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 13px; overflow: hidden; cursor: zoom-in; background: var(--bg-soft); }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case__img:hover img { transform: scale(1.05); }
.case__label {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 11px; border-radius: 999px;
  font-family: var(--font-head); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255,255,255,.92); color: var(--navy); backdrop-filter: blur(6px);
}
.case__label--po { background: var(--primary); color: #fff; }
.case__label--pocas { background: var(--aqua); color: var(--navy); }

.photos { display: grid; gap: 12px; }
.photos--2 { grid-template-columns: repeat(2, 1fr); }
.photos--3 { grid-template-columns: repeat(3, 1fr); }
.photos--4 { grid-template-columns: repeat(2, 1fr); }
.photos__item { margin: 0; }
.photos__item a { display: block; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--bg-soft); }
.photos--2 .photos__item a, .photos--3 .photos__item a, .photos--4 .photos__item a { aspect-ratio: 4 / 3; }
.photos__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photos--1 .photos__item img { height: auto; }
.photos__item a:hover img { transform: scale(1.04); }
.photos--1 .photos__item a:hover img { transform: none; }
.photos__item figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.45; }

/* lightbox – popis pod fotkou */
.lightbox__caption { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); max-width: 80vw; text-align: center; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 15px; padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.1); }
.lightbox__caption:empty { display: none; }

@media (max-width: 760px) {
  .case { gap: 4px; padding: 4px; border-radius: 14px; }
  .case__img { border-radius: 10px; }
  .case__label { left: 6px; bottom: 6px; font-size: 10px; padding: 3px 8px; }
  .photos--3 { grid-template-columns: repeat(2, 1fr); }
  .photos--3 .photos__item:first-child { grid-column: span 2; }
  .lightbox__caption { bottom: 90px; }
}

.case.is-more { display: none; }
.cases.is-open .case.is-more { display: grid; }
.cases__more { margin-top: 16px; }

/* =========================================================
   Bloky ostatných podstránok (značky [[fakty]], [[zameranie]], [[priestory]],
   [[tim-foto]], [[certifikaty]], [[kongresy]], [[tim]])
   ========================================================= */
.page-sub .cta-band { padding-bottom: 100px; }
.page-sub .article-wrap--text + .stats-band,
.page-sub .article-wrap--text + .certs-list,
.page-sub .article-wrap--text + .congress { margin-top: -30px; }

/* čísla */
.stats-band { padding: 0 0 80px; }
.stats-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 28px 34px 0; display: flex; flex-direction: column; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat strong { font-family: var(--font-head); font-size: clamp(38px, 4.4vw, 56px); font-weight: 800; color: var(--primary); line-height: 1; letter-spacing: -.03em; margin-bottom: 10px; }
.stat span { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 17px; }
.stat small { color: var(--muted); font-size: 14px; }

/* zameranie */
.focus { padding: 0 0 90px; }
.focus__title, .spaces__head h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; margin-bottom: 24px; }
.focus__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.focus__item { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s, box-shadow .3s, transform .3s; }
.focus__item:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.focus__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-soft); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; transition: background .3s, color .3s; }
.focus__icon svg { font-size: 28px; stroke-width: 2.2; }
.focus__item:hover .focus__icon { background: var(--primary); color: #fff; }
.focus__label { flex: 1; font-family: var(--font-head); font-weight: 700; color: var(--navy); line-height: 1.3; }
.focus__item > svg { color: var(--primary); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.focus__item:hover > svg { opacity: 1; transform: none; }

/* fotka tímu s odkazom */
.team-teaser { padding: 0 0 90px; }
.team-teaser__inner { position: relative; display: block; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, #eef4f8, #fff); }
.team-teaser__inner img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.team-teaser__inner:hover img { transform: scale(1.02); }
.team-teaser__text { position: absolute; left: 36px; bottom: 32px; display: flex; flex-direction: column; gap: 4px; padding: 20px 26px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); }
.team-teaser__text strong { font-family: var(--font-head); font-size: 22px; color: var(--navy); }
.team-teaser__text span { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 600; font-size: 15px; }

/* priestory */
.spaces { padding: 0 0 100px; }
.spaces__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.spaces__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; }
.spaces__item { border-radius: 18px; overflow: hidden; }
.spaces__item:first-child { grid-row: span 2; }
.spaces__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.spaces__item:hover img { transform: scale(1.05); }

/* tím po skupinách */
.team__group { display: flex; align-items: center; gap: 12px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; margin: 56px 0 24px; }
.team__group:first-of-type { margin-top: 0; }
.team__hero + .team__group { margin-top: 0; }
.team__group span { font-size: 13px; font-weight: 700; color: var(--primary); background: var(--bg-soft); border-radius: 999px; padding: 3px 11px; }

/* certifikáty */
.certs-list { padding: 0 0 70px; }
.certs-list__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; }
.cert { display: flex; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.cert--main { grid-column: 1 / -1; background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.78); padding: 34px; }
.cert--main h3 { color: #fff; font-size: 22px; }
.cert__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--bg-soft); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; font-size: 24px; }
.cert--main .cert__icon { background: rgba(255,255,255,.1); color: var(--aqua); }
.cert h3 { font-size: 17px; margin: 4px 0 6px; }
.cert p { margin: 0 0 8px; font-size: 15.5px; line-height: 1.6; }

/* kongresy – časová os */
.congress { padding: 0 0 100px; }
.timeline { list-style: none; margin: 0; padding: 0; max-width: 820px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 70px; top: 10px; bottom: 10px; width: 1.5px; background: var(--line); }
.timeline__item { display: grid; grid-template-columns: 70px 1fr; gap: 34px; position: relative; padding-bottom: 18px; }
.timeline__item::before { content: ""; position: absolute; left: 65px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); }
.timeline__item--latest::before { background: var(--primary); box-shadow: 0 0 0 6px rgba(26,155,215,.15); }
.timeline__year { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--navy); padding-top: 16px; }
.timeline__card { border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; background: #fff; }
.timeline__item--latest .timeline__card { border-color: transparent; box-shadow: var(--shadow); }
.timeline__card h3 { font-size: 18px; margin: 0 0 4px; }
.timeline__card p { margin: 0; color: var(--muted); font-size: 15px; }
.timeline__tag { display: inline-block; margin-bottom: 8px; font-family: var(--font-head); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--primary); border-radius: 999px; padding: 4px 11px; }
.timeline__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; }

@media (max-width: 1024px) {
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .focus__grid, .certs-list__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .stat { padding: 24px 12px 24px 0; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat span { font-size: 15px; }
  .focus__grid, .certs-list__grid { grid-template-columns: 1fr; }
  .team-teaser__text { position: static; border-radius: 0; box-shadow: none; padding: 18px 4px 0; background: none; }
  .team-teaser__inner { background: none; border-radius: 20px; }
  .team-teaser__inner img { border-radius: 20px; }
  .spaces__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 130px; }
  .spaces__item:first-child { grid-column: span 2; grid-row: auto; }
  .spaces__item:nth-child(n+4) { display: none; }
  .cert--main { padding: 26px; }
  .timeline::before { left: 50px; }
  .timeline__item { grid-template-columns: 50px 1fr; gap: 22px; }
  .timeline__item::before { left: 45px; }
  .timeline__year { font-size: 16px; }
  .page-sub .cta-band { padding-bottom: 70px; }
}

/* =========================================================
   Kongres IKEDENT ([[kongres]], [[kongres-prednasajuci]], [[kongres-galeria]], [[kongresy]])
   + ikony sociálnych sietí v hlavičke
   ========================================================= */
.header__social { display: flex; gap: 6px; }
.header__social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(255,255,255,.12); font-size: 17px; transition: background .25s, color .25s;
}
.header__social a:hover { background: rgba(255,255,255,.25); }
.header.is-scrolled .header__social a, .nav-open .header__social a { color: var(--navy); background: var(--bg-soft); }
.header.is-scrolled .header__social a:hover { color: #fff; background: var(--primary); }
@media (max-width: 1320px) and (min-width: 1181px) { .nav__list > li > a { padding: 10px 9px; font-size: 14.5px; } }
@media (max-width: 420px) { .header__social { display: none; } }

/* najbližší ročník */
.ike { padding: 0 0 80px; }
.ike__card {
  display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 28px; overflow: hidden;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 100%); color: rgba(255,255,255,.8);
  box-shadow: var(--shadow-lg);
}
.ike__body { padding: 48px 48px 44px; display: flex; flex-direction: column; align-items: flex-start; }
.ike__tag { font-family: var(--font-head); font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: var(--aqua); border-radius: 999px; padding: 6px 14px; margin-bottom: 20px; }
.ike__body h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 800; margin-bottom: 24px; }
.ike__body h2 span { display: block; color: var(--aqua); }
.ike__meta { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.ike__meta li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.ike__meta svg { font-size: 20px; color: var(--aqua); margin-top: 2px; }
.ike__meta strong { color: #fff; font-family: var(--font-head); font-size: 17px; }
.ike__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.ike__media { position: relative; min-height: 340px; }
.ike__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.countdown { display: flex; gap: 10px; margin-bottom: 28px; }
.countdown[hidden] { display: none; }
.countdown div { min-width: 78px; padding: 12px 10px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); text-align: center; }
.countdown strong { display: block; font-family: var(--font-head); font-size: 28px; font-weight: 800; color: #fff; line-height: 1.1; }
.countdown span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

.ike__days { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 18px; }
.ike__day { border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px; background: #fff; }
.ike__day h3 { font-size: 17px; margin-bottom: 12px; }
.ike__day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ike__day li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.ike__day li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.ike__day--link { background: var(--bg-soft); border-color: transparent; display: flex; flex-direction: column; justify-content: center; transition: background .3s; }
.ike__day--link:hover { background: #e4f0f7; }
.ike__day--link span { display: inline-flex; gap: 8px; align-items: center; color: var(--primary); font-weight: 600; font-size: 15px; }

.ike__stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ike__stats div { padding: 26px 20px; text-align: center; display: flex; flex-direction: column; }
.ike__stats div + div { border-left: 1px solid var(--line); }
.ike__stats strong { font-family: var(--font-head); font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; color: var(--primary); line-height: 1.05; letter-spacing: -.03em; }
.ike__stats span { color: var(--navy); font-weight: 600; font-size: 15px; }

/* prednášajúci */
.speakers { padding: 10px 0 90px; }
.speakers__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 26px 18px; }
.speaker__photo { aspect-ratio: 10 / 13; border-radius: 20px; overflow: hidden; background: var(--bg-soft); margin-bottom: 12px; }
.speaker__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.speaker:hover .speaker__photo img { transform: scale(1.04); }
.speaker h3 { font-size: 15px; margin-bottom: 2px; line-height: 1.3; }
.speaker span { font-size: 13px; color: var(--muted); }

/* galéria kongresu */
.ike-gallery { padding: 0 0 90px; }

/* časová os ročníkov s fotkou */
.timeline__card--img { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center; padding: 12px 22px 12px 12px; }
.timeline__card--img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.timeline__item::before { top: 50%; margin-top: -6px; }
.timeline__year { padding-top: 0; align-self: center; }

.programs { margin-top: 40px; max-width: 820px; padding: 28px 30px; border-radius: 20px; background: var(--bg-soft); }
.programs h3 { font-size: 17px; margin-bottom: 14px; }
.programs__list { display: flex; flex-wrap: wrap; gap: 8px; }
.programs__list a { padding: 7px 14px; border-radius: 999px; background: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--navy); transition: background .2s, color .2s; }
.programs__list a:hover { background: var(--primary); color: #fff; }

@media (max-width: 1024px) {
  .ike__card { grid-template-columns: 1fr; }
  .ike__media { min-height: 260px; order: -1; }
  .ike__days { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .ike__body { padding: 30px 24px; }
  .countdown div { min-width: 0; flex: 1; }
  .ike__days { grid-template-columns: 1fr; }
  .ike__stats { grid-template-columns: 1fr 1fr; }
  .ike__stats div:nth-child(3) { border-left: 0; }
  .ike__stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .speakers__grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .timeline__card--img { grid-template-columns: 1fr; padding: 10px 10px 16px; gap: 12px; }
  .timeline__card--img > div { padding: 0 8px; }
  .timeline__item::before { top: 20px; margin-top: 0; }
  .timeline__year { align-self: start; padding-top: 12px; }
}

/* =========================================================
   Tím – karta s detailom v modálnom okne, GDPR tabuľka, text na plnú šírku
   ========================================================= */
.member { display: block; color: inherit; cursor: pointer; }
.member__more {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--primary); font-size: 22px; font-weight: 600; line-height: 1;
  box-shadow: 0 6px 16px -6px rgba(11,37,69,.35); transform: scale(.85); opacity: .9; transition: transform .3s var(--ease), background .3s, color .3s;
}
.member:hover .member__more, .member:focus-visible .member__more { transform: scale(1); background: var(--primary); color: #fff; }
.member:hover h3 { color: var(--primary); }
.member h3 { transition: color .2s; }

.member-modal {
  width: min(880px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 28px;
  background: #fff; color: var(--ink); box-shadow: 0 40px 100px -20px rgba(6,18,36,.5); overflow: auto;
}
.member-modal::backdrop { background: rgba(6,18,36,.6); backdrop-filter: blur(4px); }
.member-modal[open] { animation: modalIn .35s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.member-modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.9); color: var(--navy); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.member-modal__close:hover { background: var(--primary); color: #fff; }
.member-modal__inner { display: grid; grid-template-columns: 320px 1fr; }
.member-modal__photo { position: relative; background: linear-gradient(145deg, #e8f3f9, #d5eaf4); min-height: 100%; }
.member-modal__photo::before { content: attr(data-initials); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 72px; color: rgba(26,155,215,.5); }
.member-modal__photo img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.member-modal__body { padding: 44px 44px 40px; }
.member-modal__role { font-family: var(--font-head); font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.member-modal__body h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; margin: 8px 0 22px; padding-right: 30px; }
.member-modal__facts { display: grid; gap: 0; margin: 0 0 22px; border-top: 1px solid var(--line); }
.member-modal__facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.member-modal__facts dt { color: var(--muted); }
.member-modal__facts dd { margin: 0; color: var(--navy); font-weight: 600; }
.member-modal__bio p { color: #3a4757; font-size: 15.5px; line-height: 1.75; margin-bottom: .9em; }
.member-modal__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.member-modal__btns .btn--outline { text-transform: none; }

/* GDPR / obsah – tabuľka, údaje o firme, text na plnú šírku */
.prose--wide { max-width: none; }
.prose--wide > p:first-of-type { max-width: 900px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0 2em; font-size: 14.5px; line-height: 1.55; }
.prose th { text-align: left; font-family: var(--font-head); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 0 14px 10px 0; border-bottom: 2px solid var(--line); }
.prose td { vertical-align: top; padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); color: #3a4757; }
.prose td:first-child { width: 22%; }
.prose .company--prose { margin: 1em 0 1.4em; padding: 6px 24px; border-radius: 18px; background: var(--bg-soft); font-size: 15.5px; }
.prose .company--prose > div:last-child { border-bottom: 0; }
.prose .company--prose a { text-decoration: none; }

@media (max-width: 760px) {
  .member-modal { border-radius: 22px; max-height: calc(100vh - 24px); }
  .member-modal__inner { grid-template-columns: 1fr; }
  .member-modal__photo { aspect-ratio: 4 / 3; min-height: 0; }
  .member-modal__body { padding: 26px 22px 28px; }
  .member-modal__facts > div { grid-template-columns: 1fr; gap: 2px; }
  .member__more { width: 32px; height: 32px; font-size: 19px; right: 8px; bottom: 8px; }
  /* tabuľka → karty pod sebou */
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100% !important; }
  .prose thead { display: none; }
  .prose tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .prose td { border: 0; padding: 3px 0; }
  .prose td:first-child { font-size: 16px; }
  .prose .company--prose { padding: 4px 16px; }
}
@media (max-width: 760px) {
  .prose td:nth-child(n+2)::before { display: block; font-family: var(--font-head); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
  .prose td:nth-child(2)::before { content: "Údaje"; }
  .prose td:nth-child(3)::before { content: "Právny základ"; }
  .prose td:nth-child(4)::before { content: "Ako dlho"; }
}

/* modálne okno pracovníka – fotka si drží pomer 4:5 a ostáva hore, zvyšok stĺpca v tóne pozadia fotiek */
.member-modal__inner { align-items: start; background: linear-gradient(90deg, #e3e9e6 320px, #fff 320px); }
.member-modal__photo { min-height: 0; aspect-ratio: 4 / 5; position: sticky; top: 0; }
.member-modal__photo img { object-position: center top; }
.member-modal__photo:has(img)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, rgba(227,233,230,0), #e3e9e6); }
.member-modal__body { background: #fff; min-height: 100%; }
@media (max-width: 760px) {
  .member-modal__inner { background: #fff; }
  .member-modal__photo { position: relative; aspect-ratio: 4 / 3; }
  .member-modal__photo img { object-position: center 15%; }
  .member-modal__photo::after { display: none; }
}

/* Objednanie termínu (inc/contact-info.php) – namiesto rezervačného formulára */
.booking-info h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; margin-bottom: 6px; }
.booking-info__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 30px; }
.booking-info__btns .btn--outline { text-transform: none; }
.booking-info .company { margin-top: 0; }
.contact-split > .map--tall { height: 100%; min-height: 380px; }
@media (max-width: 760px) {
  .booking-info__btns .btn { width: 100%; }
  .contact-split > .map--tall { min-height: 300px; }
}
