/* ==========================================================================
   Kaštieľ Burg — štýly
   Vychádza z pôvodného WordPress webu (Astra + Elementor), od 10/2026
   so zjednotenou typografiou, formulármi a pätou.
   Breakpointy: 1024 (tablet), 921 (mobilné menu), 767 (mobil), 600 (úzky mobil)
   ========================================================================== */

:root {
  --c-red: #db3d3d;
  --c-yellow: #ffd014;
  --c-navy: #11202a;
  --c-blue: #1d394b;
  --c-light: #f6f6f9;
  --c-line: #e3e6ea;
  --c-muted: #5b6b77;
  --ff-body: 'Open Sans', sans-serif;
  --ff-head: 'Quicksand', sans-serif;
  --ff-serif: 'Noto Serif', Georgia, serif;
  --radius: 8px;
  --shadow: 0 18px 40px -18px rgba(17, 32, 42, .28);
  --section-y: 100px;
  --gutter: 24px;
}
@media (max-width: 1024px) { :root { --section-y: 72px; } }
@media (max-width: 767px)  { :root { --section-y: 56px; --gutter: 20px; } }

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--c-blue);
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typografia -------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--c-navy); font-weight: 500; }
h1 {
  font-family: var(--ff-serif);
  font-size: clamp(42px, 6.2vw, 80px);
  line-height: 1.2;
  letter-spacing: 2px;
}
h2 {
  font-family: var(--ff-head);
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.25;
}
h3 { font-family: var(--ff-serif); font-size: 24px; line-height: 1.3; }
.h-serif {
  font-family: var(--ff-serif);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.3;
}

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
a { color: var(--c-red); }
img { max-width: 100%; height: auto; border: 0; }
figure, blockquote { margin: 0; }
address { font-style: normal; }
main > section { position: relative; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin: 14px 0 0; color: var(--c-muted); font-size: 17px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  z-index: 100001;
  top: 10px; left: 10px;
  width: auto; height: auto;
  padding: 10px 16px;
  clip: auto;
  background: #fff;
  color: var(--c-navy);
}

.ico { display: inline-block; flex-shrink: 0; height: 1em; fill: currentColor; vertical-align: middle; }

:focus-visible { outline: 2px solid var(--c-yellow); outline-offset: 2px; }

/* Tlačidlá ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 18px 32px;
  border: 0;
  border-radius: 7px;
  background: var(--c-red);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 2px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .3s, color .3s, transform .3s;
}
.btn:hover, .btn:focus-visible { background: var(--c-yellow); color: var(--c-navy); }
.btn .btn__icon { width: 1em !important; transition: transform .3s; }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn--small { padding: 14px 22px; font-size: 13px; letter-spacing: 1.5px; }
.btn[disabled] { opacity: .7; cursor: wait; }

@media (max-width: 767px) {
  .btn { padding: 17px 26px; font-size: 14px; letter-spacing: 1.5px; }
}

/* Hlavička + mobilné menu ------------------------------------------------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 99; }
.site-header ul, .drawer ul { margin: 0; padding: 0; list-style: none; }

.nav-desktop { padding-top: 30px; }
.nav-desktop ul { display: flex; justify-content: center; }
.nav-desktop a {
  display: block;
  padding: 0 16px;
  color: var(--c-light);
  line-height: 60px;
  text-decoration: none;
  transition: color .2s linear;
}
.nav-desktop a:hover { color: #fff; }
.nav-desktop a.is-active { color: var(--c-red); }

.nav-mobile-bar { display: none; }
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: var(--c-red);
  color: #fff;
  cursor: pointer;
}
.menu-toggle .ico { width: 20px !important; height: 20px; }

@media (max-width: 921px) {
  .nav-desktop { display: none; }
  .nav-mobile-bar { display: flex; align-items: center; justify-content: flex-end; padding: 15px 20px; }
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 100000;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s ease-out, visibility 0s linear .25s;
}
.drawer.is-open { visibility: visible; opacity: 1; transition: opacity .25s ease-out; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(17, 32, 42, .55); }
.drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(90%, 380px);
  overflow-y: auto;
  background: #fff;
  color: var(--c-navy);
  transform: translateX(100%);
  transition: transform .25s ease-in;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: flex-end; padding: 8px; }
.drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-navy);
  cursor: pointer;
}
.drawer__close .ico { width: 18px !important; height: 18px; }
.drawer a {
  display: block;
  padding: 0 24px;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-navy);
  font-family: var(--ff-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 54px;
  text-decoration: none;
}
.drawer a:hover { color: var(--c-red); }
.drawer a.is-active { color: var(--c-red); }

/* Hero -------------------------------------------------------------------- */
.hero {
  display: flex;
  min-height: 75vh;
  background-image: var(--hero-bg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero::before { content: ""; position: absolute; inset: 0; background: var(--c-navy); opacity: .7; }
.hero__inner { position: relative; display: flex; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-top: 70px;
  text-align: center;
}
.hero h1 { color: #fff; }
.hero__sub {
  margin: 0;
  color: #fff;
  font-family: var(--ff-head);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  line-height: 1.4;
}
.hero__cta { margin-top: 28px; }

.hero--sub { min-height: 55vh; background-position: bottom center; }
.hero--sub .hero__content { padding-top: 40px; }

@media (min-width: 1025px) {
  .hero { background-attachment: fixed; }
}
@media (max-width: 1024px) {
  .hero { min-height: 520px; }
  .hero--sub { min-height: 420px; }
}
@media (max-width: 767px) {
  .hero { min-height: 560px; }
  .hero--sub { min-height: 360px; }
  .hero__content { margin-top: 74px; }
  .hero--sub .hero__content { padding-top: 0; }
  .hero h1 { letter-spacing: 0; }
}

/* Domov — Miesto, kde sa začína váš príbeh -------------------------------- */
.about { padding: var(--section-y) var(--gutter); background: #fff; }
.about__row { display: flex; align-items: stretch; gap: 70px; max-width: 1200px; margin: 30px auto 0; }
.about__media { display: flex; flex-direction: column; justify-content: center; width: 40%; }
.about__img { margin-top: -45%; text-align: center; }
.about__img img {
  display: inline-block;
  vertical-align: middle;
  border-radius: 6px;
  box-shadow: 0 40px 50px -20px rgba(0, 0, 0, .35);
}
.about__text { display: flex; flex-direction: column; justify-content: center; gap: 0; width: 50%; padding: 20px 0 40px; }
.about__text h2 { margin-bottom: 20px; }
.about__lead { color: var(--c-navy); font-size: 17px; font-weight: 600; }
.about__btn { margin-top: 12px; }

@media (max-width: 1024px) {
  .about__row { flex-direction: column; gap: 0; margin-top: 0; }
  .about__media, .about__text { width: 100%; }
  .about__img { margin-top: -110px; }
  .about__img img { max-width: 460px; width: 100%; }
  .about__text { max-width: 640px; margin: 0 auto; padding: 48px 0 0; text-align: center; }
}
@media (max-width: 767px) {
  .about__img { margin-top: -90px; }
  .about__text { padding-top: 36px; }
}

/* Domov — Ponuka ---------------------------------------------------------- */
.offer { padding: var(--section-y) var(--gutter); background: var(--c-light); }
.offer__inner { max-width: 1200px; margin: 0 auto; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-navy);
  text-decoration: none;
  isolation: isolate;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--tile-bg) center / cover no-repeat;
  transition: transform .6s ease;
}
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-navy); opacity: .45; transition: opacity .3s; }
.tile:hover::before { transform: scale(1.06); }
.tile:hover::after { opacity: .3; }
.tile h3 { color: #fff; font-size: 26px; text-align: center; }

@media (max-width: 1024px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile { min-height: 230px; }
}
@media (max-width: 600px) {
  .tiles { grid-template-columns: 1fr; gap: 16px; }
  .tile { min-height: 200px; }
}

/* Domov — CTA pás --------------------------------------------------------- */
.cta { padding: 80px var(--gutter); background: var(--cta-bg) center / cover no-repeat; }
.cta::before { content: ""; position: absolute; inset: 0; background: var(--c-navy); opacity: .72; }
.cta__row { position: relative; display: flex; align-items: center; gap: 60px; max-width: 1200px; margin: 0 auto; }
.cta__text { flex: 1 1 auto; max-width: 820px; }
.cta__text h2 { margin-bottom: 18px; color: #fff; }
.cta__text p { color: rgba(255, 255, 255, .88); font-size: 17px; }
.cta__action { flex: 0 0 auto; }

@media (min-width: 1025px) {
  .cta { background-attachment: fixed; }
}
@media (max-width: 1024px) {
  .cta { padding: 64px var(--gutter); }
  .cta__row { flex-direction: column; gap: 32px; text-align: center; }
}

/* Domov — Galéria (karusel) ----------------------------------------------- */
.gallery-sec { padding: var(--section-y) var(--gutter); background: #fff; }
.gallery-sec__inner { max-width: 1200px; margin: 0 auto; }

.carousel { --per: 4; --space: 30px; position: relative; margin-bottom: 48px; }
.carousel__viewport { overflow: hidden; border-radius: 6px; touch-action: pan-y; }
.carousel__track {
  position: relative;
  display: flex;
  transition-property: transform;
  transition-timing-function: ease;
  will-change: transform;
}
.carousel__slide {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--space)) / var(--per));
  margin-right: var(--space);
}
.carousel__slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
  user-select: none;
  -webkit-user-drag: none;
}
.carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 32, 42, .6);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color .2s;
}
.carousel__nav:hover { background: var(--c-red); }
.carousel__nav .ico { width: 1em !important; }
.carousel__nav--prev { left: 12px; }
.carousel__nav--next { right: 12px; }

@media (max-width: 1024px) { .carousel { --per: 3; --space: 20px; } }
@media (max-width: 767px)  { .carousel { --per: 1; } }

/* Domov — Recenzie -------------------------------------------------------- */
.reviews { padding: var(--section-y) var(--gutter) 200px; background: var(--c-light); }
.reviews__inner { max-width: 1160px; margin: 0 auto; }
.reviews__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 30px 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}
.review__img img { display: block; width: 96px; height: 96px; border: 4px solid var(--c-light); border-radius: 50%; }
.stars { display: flex; gap: 2px; margin: 18px 0 16px; color: #f0ad4e; font-size: 18px; line-height: 1; }
.stars .ico { width: 1em !important; }
.review__text { flex: 1 1 auto; }
.review__text p { color: var(--c-navy); font-family: var(--ff-serif); font-size: 17px; font-style: italic; line-height: 1.7; }
.review__author { margin-top: 20px; color: var(--c-muted); font-size: 14px; }
.review__author strong { color: var(--c-navy); font-family: var(--ff-head); font-size: 16px; font-weight: 700; }

@media (max-width: 1024px) {
  .reviews { padding-bottom: 140px; }
  .reviews__row { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 24px; }
}
@media (max-width: 767px) { .reviews { padding-bottom: 110px; } }

/* Box s formulárom (Domov + Kontakt) -------------------------------------- */
.form-box {
  position: relative;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--c-navy);
  box-shadow: var(--shadow);
  color: #fff;
}
.form-box h2 { color: #fff; font-size: clamp(28px, 3vw, 36px); }
.form-box__intro { margin: 10px 0 28px; color: rgba(255, 255, 255, .72); font-size: 15px; }
@media (max-width: 767px) { .form-box { padding: 30px 20px; } }

/* Formulár */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .02em;
}
.req { color: var(--c-yellow); }
.form input,
.form select,
.form textarea {
  display: block;
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  outline: none;
  background: #fff;
  box-shadow: none;
  color: var(--c-navy);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.form textarea { height: auto; min-height: 112px; padding: 12px 15px; line-height: 1.55; resize: vertical; }
.form select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cpath fill='%2311202a' d='M533 696C521 708 504 713 487 713 471 713 458 708 446 696L150 400C138 388 133 375 133 354 133 338 138 325 150 313 163 300 175 296 196 296 213 296 225 300 238 313L488 563 738 313C750 300 767 296 783 296 800 296 817 300 829 313 842 325 846 338 846 354 846 371 842 388 829 400L533 696Z'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 14px;
  cursor: pointer;
}
.form select:invalid { color: #8a96a0; }
.form option { color: var(--c-navy); }
.form ::placeholder { color: #8a96a0; opacity: 1; }
.form input:focus,
.form select:focus,
.form textarea:focus { border-color: var(--c-yellow); box-shadow: 0 0 0 3px rgba(255, 208, 20, .35); }
.form input:user-invalid,
.form select:user-invalid { border-color: #ff7a7a; box-shadow: 0 0 0 3px rgba(255, 122, 122, .25); }
.form__footer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.form__note { margin: 0; color: rgba(255, 255, 255, .6); font-size: 13px; }

@media (max-width: 600px) {
  .form { grid-template-columns: 1fr; }
  .form .btn--submit { width: 100%; }
}

/* Domov — Rezervujte si termín -------------------------------------------- */
.booking { padding: 0 var(--gutter) var(--section-y); background: #fff; }
#rezervacia-termin { scroll-margin-top: 24px; }
.booking__row { display: flex; gap: 70px; max-width: 1160px; margin: 0 auto; }
.booking .form-box { flex: 0 1 560px; margin-top: -100px; }
.booking__info { display: flex; flex: 1 1 0; flex-direction: column; justify-content: center; padding: 40px 0; text-align: center; }
.booking__info h2 { margin-bottom: 16px; }
.booking__info a { color: var(--c-navy); font-weight: 600; text-decoration: none; }
.booking__info a:hover { color: var(--c-red); }
.booking__info .btn { color: #fff; font-weight: 600; }
.booking__info .btn:hover { color: var(--c-navy); }

.divider { display: flex; align-items: center; gap: 14px; width: 70%; margin: 26px auto; color: var(--c-muted); font-size: 14px; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--c-line); }

@media (max-width: 1024px) {
  .booking__row { flex-direction: column; gap: 0; max-width: 640px; }
  .booking .form-box { flex: none; margin-top: -60px; }
  .booking__info { padding: 56px 0 0; }
}

/* Päta -------------------------------------------------------------------- */
.site-footer {
  padding: 72px var(--gutter) 0;
  border-top: 4px solid var(--c-red);
  background: var(--c-navy);
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: 1.7;
}
.footer__grid { display: grid; grid-template-columns: 1.35fr 1fr 1.35fr 1.3fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer__col p { margin: 0 0 18px; }
.footer__brand { color: #fff; font-family: var(--ff-serif); font-size: 26px; font-weight: 500; line-height: 1.2; }
.footer__title {
  color: #fff;
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--c-yellow); }
.site-footer .btn { color: #fff; }
.site-footer .btn:hover { color: var(--c-navy); }
.footer__menu { margin: 0; padding: 0; list-style: none; }
.footer__menu li + li { margin-top: 6px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  max-width: 1200px;
  margin: 56px auto 0;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
}
.footer__bottom p { margin: 0; }

@media (max-width: 1024px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; } }
@media (max-width: 600px)  {
  .site-footer { padding-top: 56px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Kontaktné údaje */
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; }
.contact-list__icon { display: flex; flex-shrink: 0; justify-content: center; }
.contact-list__body { display: flex; flex-direction: column; min-width: 0; }
.contact-list__value { overflow-wrap: anywhere; }

.contact-list--footer li + li { margin-top: 10px; }
.contact-list--footer .contact-list__icon { width: 18px; margin-top: 5px; color: var(--c-red); font-size: 15px; }
.contact-list--footer .contact-list__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.contact-list--cards li { align-items: center; gap: 18px; }
.contact-list--cards li + li { margin-top: 22px; }
.contact-list--cards .contact-list__icon {
  align-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(219, 61, 61, .1);
  color: var(--c-red);
  font-size: 20px;
}
.contact-list--cards .contact-list__label { color: var(--c-muted); font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }
.contact-list--cards .contact-list__value { color: var(--c-navy); font-size: 18px; font-weight: 600; line-height: 1.45; }
.contact-list--cards a { color: inherit; text-decoration: none; }
.contact-list--cards a:hover { color: var(--c-red); }

/* Pás s výzvou (podstránky) ----------------------------------------------- */
.band { padding: 72px var(--gutter); background: var(--c-light); }
.band__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; max-width: 760px; margin: 0 auto; text-align: center; }
.band__text { margin: 0; color: var(--c-navy); font-family: var(--ff-serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; }

/* O kaštieli -------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 60px;
  max-width: calc(1200px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 50px var(--gutter);
}
.hero + .split { padding-top: var(--section-y); }
.split--full { padding-bottom: var(--section-y); }
.split__text h2 { margin-bottom: 18px; }
.split__text--center { align-self: center; }
.split__media img { display: block; width: 100%; border-radius: 6px; box-shadow: var(--shadow); }
.split--rev .split__media { order: -1; }
.split--full { grid-template-columns: 1fr; max-width: calc(860px + 2 * var(--gutter)); }

@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 32px; max-width: calc(720px + 2 * var(--gutter)); padding: 36px var(--gutter); }
  .split__media { order: -1; }
}

/* Galéria (stránka) + lightbox -------------------------------------------- */
.gallery-page { padding: var(--section-y) var(--gutter); }
.page-intro { max-width: 680px; margin: 0 auto 48px; color: var(--c-muted); font-size: 17px; text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1200px; margin: 0 auto; }
.gallery__item a { display: block; overflow: hidden; border-radius: 6px; cursor: zoom-in; }
.gallery__item img { display: block; width: 100%; height: auto; transition: transform .5s ease; }
.gallery__item a:hover img { transform: scale(1.04); }

@media (max-width: 767px) { .gallery { grid-template-columns: 1fr; gap: 16px; } }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 32, 42, .92);
  color: hsla(0, 0%, 93%, .9);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s linear .3s;
  user-select: none;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.lightbox__img {
  display: block;
  max-width: calc(100vw - 140px);
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  border-radius: 4px;
  object-fit: contain;
}
.lightbox.is-open .lightbox__img { animation: lb-zoom .3s ease; }
@keyframes lb-zoom { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.lightbox__counter { position: absolute; top: 20px; left: 24px; color: #fff; font-size: 14px; letter-spacing: 1px; }
.lightbox__close {
  position: absolute;
  top: 12px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
}
.lightbox__close .ico { width: 1em !important; }
.lightbox__nav {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 26px;
  cursor: pointer;
}
.lightbox__nav .ico { width: 1em !important; }
.lightbox__nav--prev { left: 0; }
.lightbox__nav--next { right: 0; }
.lightbox__close:hover, .lightbox__nav:hover { color: var(--c-yellow); }

@media (max-width: 767px) {
  .lightbox__img { max-width: 100vw; border-radius: 0; }
  .lightbox__nav { width: 20%; }
}

/* Kontakt ----------------------------------------------------------------- */
.contact { padding: 0 var(--gutter) var(--section-y); }
.contact__row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 70px; max-width: 1200px; margin: 0 auto; }
.contact .form-box { margin-top: -80px; }
.contact__info { padding-top: 50px; }
.contact__info h2 { margin-bottom: 30px; }
.contact__company { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: 14px; line-height: 1.7; }
.contact__company-title { margin-bottom: 4px; color: var(--c-navy); font-weight: 600; }

@media (max-width: 1024px) {
  .contact__row { grid-template-columns: 1fr; gap: 0; max-width: 640px; }
  .contact .form-box { margin-top: -60px; }
}

.map-sec { padding: var(--section-y) var(--gutter); background: var(--c-light); }
.map-sec__inner { max-width: 1200px; margin: 0 auto; }
.map { overflow: hidden; margin-bottom: 36px; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--c-line); }
.map iframe { display: block; width: 100%; height: 440px; border: 0; }
@media (max-width: 767px) { .map iframe { height: 340px; } }

/* --------------------------------------------------------------------------
   Jemné animácie (pri načítaní + pri skrolovaní)
   Len opacity/transform; pri „obmedziť pohyb" sa nepoužijú vôbec.
   Trieda .js-anim sa pridáva v <head> (bez JS ostáva obsah normálne viditeľný).
   -------------------------------------------------------------------------- */
@keyframes kb-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes kb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes kb-overlay { from { opacity: .9; } to { opacity: .7; } }

@media (prefers-reduced-motion: no-preference) {
  .site-header { animation: kb-fade 1s ease .1s both; }
  .hero::before { animation: kb-overlay 1.6s ease both; }
  .hero h1 { animation: kb-fade-up 1s cubic-bezier(.2, .7, .2, 1) .2s both; }
  .hero__sub { animation: kb-fade-up 1s cubic-bezier(.2, .7, .2, 1) .45s both; }
  .hero__cta { animation: kb-fade-up 1s cubic-bezier(.2, .7, .2, 1) .7s both; }

  .js-anim .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0s),
                transform .9s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0s);
  }
  .js-anim .reveal--zoom { transform: scale(.97); }
  .js-anim .reveal.is-visible { opacity: 1; transform: none; }

  /* fotka v sekcii „Miesto, kde sa začína…" — jemne sa „usadí" pri načítaní */
  .about__img img { animation: kb-fade-up 1.1s cubic-bezier(.2, .7, .2, 1) .5s both; }
}
