/* Veselý pes u Veroniky - hlavný štýl
   Farby, písmo a rozmery zodpovedajú pôvodnému webu. */

/* ---------- Fonty (lokálne, Montserrat variabilný 400-700) ---------- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Farby ---------- */
:root {
  --c0: #4c8c35;                 /* tlačidlá, zelená */
  --c1: rgba(202, 27, 27, .82);  /* odkazy */
  --c2: #0f172a;
  --c3: #2f3b40;                 /* text, nadpisy */
  --c4: #edfbe2;                 /* svetlé pozadia */
  --c5: rgba(76, 140, 53, .83);  /* zelený text, ikony, pozadie stránky */
  --c6: #d5ead8;                 /* hlavička, text v pätičke */
  --c7: #0c1406;
  --c8: #222222;                 /* pätička */
  --green-text: #3f7a2b;         /* stmavená c5 pre text na svetlom pozadí (kontrast 4,5:1+) */
  --container: 1240px;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c3);
  background-color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; font-weight: 400; color: var(--c3); }
h1 { font-size: 3.375rem; line-height: 1.2em; letter-spacing: -1px; }
h2 { font-size: 2.625rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: .9375rem; }
p { margin: 0 0 1.75em; }
img { max-width: 100%; height: auto; }
a { color: var(--c1); transition: all .2s linear; }
a:hover, a:focus { color: var(--c0); }
:focus-visible { outline: 2px solid var(--c0); outline-offset: 2px; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 1000;
  width: auto; height: auto; clip: auto;
  padding: 10px 16px;
  background: #fff; color: var(--c3);
}

/* ---------- Hlavička ---------- */
.site-header { position: relative; z-index: 99; }

/* Horný riadok: menu + sociálne ikony + telefón (len desktop) */
.header-top {
  display: none;
  background: #fff;
  border-bottom: 1px solid #eaeaea;
}
.header-top .container {
  max-width: none;
  padding: 0 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 30px;
}
.header-top__right { display: flex; align-items: center; gap: 20px; }

.main-nav ul { display: flex; flex-wrap: wrap; }
.main-nav a {
  display: inline-block;
  padding: 0 1em;
  font-weight: 600;
  font-size: 1rem;
  line-height: 5em;
  color: var(--green-text);
  text-decoration: none;
}
.main-nav li:last-child a { margin-right: 0; }
.main-nav a:hover { transition: all .3s ease; transform: scale(1.2); color: var(--green-text); }

.social { display: flex; align-items: center; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 12.5px;
  line-height: 1;
}
.social a:first-child { margin-left: 0; }
.social a:last-child { margin-right: 0; }
.social svg { width: 18px; height: 18px; fill: var(--c5); }

.btn-phone {
  display: inline-block;
  padding: 12px 25px;
  border: 2px solid var(--c0);
  border-radius: 100px;
  background: transparent;
  color: var(--c0);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1em;
  text-decoration: none;
  white-space: nowrap;
}
.btn-phone:hover, .btn-phone:focus { background: var(--c0); color: var(--c6); }

/* Hlavný riadok: citát - logo - citát */
.header-main { background-color: var(--c6); }
.header-main__inner {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 20px;
  padding: 10px 20px;
  min-height: 30px;
}
.header-quote {
  display: none;
  margin: 0;
  font-size: 1.875rem;
  line-height: 1.6;
  color: var(--c5);
}
.site-logo {
  display: block;
  padding: 1em 0;
  line-height: 1;
  justify-self: start;
  text-align: center;
  text-decoration: none;
}
.site-logo img { display: block; width: 160px; height: 160px; margin: 0 auto; }
.site-title { /* na mobile skrytý, čítačky ho prečítajú */
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Tlačidlo mobilného menu */
.menu-toggle {
  justify-self: end;
  display: flex;
  align-items: center;
  padding: .5em;
  border: 0;
  border-radius: 2px;
  background: var(--c0);
  color: var(--c6);
  font-size: 1.5em;
  line-height: 1;
  cursor: pointer;
}
.menu-toggle svg { width: 18px; height: 18px; fill: var(--c6); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Rozbaľovacie mobilné menu */
.mobile-menu {
  padding: 8px 0 16px;
  background-color: var(--c5);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  display: block;
  padding: 5px 22px;
  line-height: 3;
  font-weight: 600;
  color: var(--c3);
  text-decoration: none;
}
.mobile-menu .social { padding: 15px 20px; }

/* Desktop od 922 px: horný riadok, citáty, logo v strede */
@media (min-width: 922px) {
  .header-top { display: block; }
  .header-main__inner {
    grid-template-columns: 1fr auto 1fr;
    padding: 0 35px;
  }
  .header-quote { display: block; }
  .header-quote--right { justify-self: end; }
  .site-logo { justify-self: center; }
  .site-title {
    position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal;
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.2;
    color: #222;
  }
  .btn-phone { font-size: 1.125rem; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Obsah ---------- */
.site-main { background-color: var(--c5); min-height: 50vh; }
.site-main:focus { outline: none; }

/* Úvod: dva psy v kruhoch a nadpis */
.hero__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1311px;
  min-height: 256px;
  margin: 0 auto;
  padding: 10px 10px 30px;
}
.hero__col { width: 100%; padding: 10px; }
/* Kruh je štvorec so zaoblením, pes je v ňom vycentrovaný */
.hero-dog {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 0 50px 50px rgb(0 0 0 / .5) inset;
  line-height: 0;
  transition: background 1.5s;
}
.hero-dog:hover { background-color: var(--c0); }
.hero-dog--left { transform: rotate(22deg); }
/* Fotka je v kruhu pootočená, posun vyrovná psa opticky do stredu */
.hero-dog--left img { width: 70%; height: auto; transform: translate(-8%, -3%); }
.hero-dog--right img { width: auto; height: 82%; }
.hero h1 {
  margin: 10px;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: 1px;
  word-spacing: 3px;
  text-align: center;
  color: var(--c4);
}
@media (min-width: 768px) {
  .hero__inner { flex-wrap: nowrap; }
  .hero__col--left { width: 30%; flex-shrink: 0; }
  .hero__col--text { width: 38%; flex-shrink: 0; }
  .hero__col--right { width: 30%; flex-shrink: 0; }
}

/* O nás */
.about { background-color: var(--c4); }
.about__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 10px;
}
.about__text, .about__photos { flex: 1 1 0; padding: 10px; }
.about__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 20px;
  padding: 10px 20px 20px;
  font-weight: 600;
  line-height: 56px;
  word-spacing: 10px;
  text-align: center;
  color: var(--green-text);
}
.about__text p:last-child { margin-bottom: 0; }
.about__photos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  order: -1;
}
.about__photo {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}
.about__photo--2 {
  filter: brightness(110%) contrast(104%) saturate(102%);
  box-shadow: 0 0 10px 0 rgb(0 0 0 / .5);
}
@media (min-width: 768px) {
  .about__inner { flex-direction: row; padding: 120px 20px; }
  .about__text { padding: 10px 10px 20px; }
  .about__photos { order: 0; }
  .about__photo--1 { height: 278px; }
  .about__photo--2 { height: 364px; }
}
@media (min-width: 1025px) {
  .about__inner { gap: 50px; }
}

/* Pás s nadpisom "hotel pre psov u Veroniky" */
.title-band { padding: 10px; }
.title-band h2 {
  max-width: 1120px;
  margin: 0 auto;
  font-size: 3.125rem;
  font-weight: 600;
  line-height: 56px;
  word-spacing: 10px;
  text-align: center;
  color: var(--c4);
}

/* Veľké fotky */
.photo-wide, .photo-boxed { padding: 10px; background-color: var(--c4); }
.photo-wide img, .photo-boxed img { display: block; width: 100%; border-radius: 20px; }
.photo-boxed img {
  max-width: 1140px;
  margin: 0 auto;
  filter: brightness(115%) contrast(132%) saturate(109%);
}

/* Karusel (recenzie, galéria): posúvanie prstom, šípkami aj klávesnicou */
.carousel { position: relative; }
.carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > li { flex: 0 0 auto; scroll-snap-align: start; }
.carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform: translateY(-50%);
}
.carousel__btn[disabled] { opacity: .3; cursor: default; }
.carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.carousel__dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #000;
  opacity: .2;
  cursor: pointer;
}
.carousel__dots button[aria-current="true"] { opacity: 1; }

/* Hviezdičky */
.stars { line-height: 0; }
.stars svg { width: 90px; height: 18px; fill: #f6bb06; }

/* Recenzie */
.reviews__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 15px 10px;
}
.reviews__summary {
  display: flex;
  justify-content: center;
  gap: 15px;
  color: #000;
}
.reviews__photo { width: 65px; height: 65px; object-fit: cover; }
.reviews__title { margin: 0 0 4px; font-size: 1rem; font-weight: 600; line-height: 1.4; color: #000; }
.reviews__label { margin: 4px 0 12px; font-size: .875rem; }
.reviews__btn {
  display: inline-block;
  padding: 6px 17px;
  border: 1px solid rgb(0 0 0 / .3);
  border-radius: 4px;
  font-size: .875rem;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}
.reviews__btn:hover, .reviews__btn:focus { background: rgb(0 0 0 / .08); color: #000; }
.reviews__all {
  display: block;
  margin-top: 10px;
  font-size: .875rem;
  font-weight: 600;
  color: #000;
}
.reviews__all:hover, .reviews__all:focus { color: var(--c4); }
.reviews__carousel { min-width: 0; padding: 0 16px; }
.reviews__list { gap: 16px; padding: 0; }
.review {
  width: 100%;
  padding: 20px;
  border-radius: 8px;
  background: linear-gradient(#f4f4f4 60%, #e5e5e5);
  color: #000;
  font-size: .9375rem;
}
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  background: #5c6bc0;
  font-size: 1.25rem;
  color: #fff;
}
.review:nth-child(4n+1) .review__avatar { background: #b23c17; }
.review:nth-child(4n+2) .review__avatar { background: #5d4037; }
.review:nth-child(4n+4) .review__avatar { background: #00796b; }
.review__name { flex: 1; font-weight: 600; line-height: 1.3; }
.review__g { flex: 0 0 20px; width: 20px; height: 20px; align-self: flex-start; }
.review .stars { margin-bottom: 10px; }
.review__text {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  line-height: 1.45;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.review.is-open .review__text { display: block; }
.review__more {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: .875rem;
  color: #555;
  cursor: pointer;
}
.review__more:hover { text-decoration: underline; }
.reviews .carousel__btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgb(0 0 0 / .3);
}
.reviews .carousel__btn svg { width: 22px; height: 22px; fill: #222; }
.reviews .carousel__btn--prev { left: 0; }
.reviews .carousel__btn--next { right: 0; }
@media (min-width: 600px) {
  .review { width: calc((100% - 16px) / 2); }
}
@media (min-width: 1025px) {
  .reviews__inner { flex-direction: row; align-items: center; }
  .reviews__summary { flex: 0 0 260px; justify-content: flex-start; }
  .reviews__carousel { flex: 1; }
  .review { width: calc((100% - 32px) / 3); }
}

/* Galéria */
.gallery {
  position: relative;
  padding: 20px 10px 30px;
  background-color: var(--c4);
  box-shadow: 0 0 60px 0 rgb(0 0 0 / .5);
}
.gallery__carousel { max-width: 1300px; margin: 0 auto; padding: 0 35px; }
.gallery__list { align-items: center; padding: 0; }
/* Pevná výška položky, aby sa pás pri listovaní nenaťahoval podľa fotiek */
.gallery__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 230px;
}
.gallery__item a { display: block; max-width: 100%; }
.gallery__item img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 230px; /* fotky na výšku nezväčšujú celý pás */
  margin: 0 auto;
  border: 5px solid var(--c5);
  border-radius: 10px;
}
.gallery .carousel__btn { width: 30px; height: 30px; margin-top: -30px; }
.gallery .carousel__btn svg { width: 30px; height: 30px; fill: var(--c5); }
.gallery .carousel__btn--prev { left: 0; }
.gallery .carousel__btn--next { right: 0; }
@media (min-width: 600px) {
  .gallery { padding: 50px 10px 40px; }
  .gallery__carousel { max-width: 90%; }
  .gallery__item { width: calc((100% - 40px) / 3); }
}
@media (min-width: 1025px) {
  .gallery__item { width: calc((100% - 80px) / 5); }
}

/* Zväčšená fotka (lightbox) */
.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(0 0 0 / .9);
}
.lightbox::backdrop { background: rgb(0 0 0 / .6); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__img { max-width: calc(100% - 100px); max-height: calc(100% - 110px); object-fit: contain; }
.lightbox__btn, .lightbox__close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.lightbox__btn svg, .lightbox__close svg { width: 36px; height: 36px; fill: #eee; }
.lightbox__btn--prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 4px; top: 50%; transform: translateY(-50%); }
.lightbox__close { top: 8px; right: 8px; }
.lightbox__count { position: absolute; top: 18px; left: 18px; margin: 0; font-size: .875rem; color: #eee; }
@media (max-width: 599px) {
  .lightbox__img { max-width: 100%; }
  .lightbox__btn { top: auto; bottom: 10px; transform: none; }
}

/* Čo ponúkame */
.offer { padding: 10px; }
.offer__box {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.5rem 10px;
  border-radius: 15px;
  background-color: var(--c4);
}
.offer h2 { margin-bottom: .5rem; font-size: 1.6rem; text-align: center; color: var(--c7); }
.offer__lead { max-width: 800px; margin: 0 auto 2rem; text-align: center; color: #4f5a54; }
.offer__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}
.offer__list li {
  flex: 1;
  min-width: 200px;
  padding: 1.1rem 1.4rem;
  border: 1px solid rgb(0 0 0 / .12);
  border-radius: 10px;
  background: rgb(0 0 0 / .05);
}
/* Posledné dve položky vždy v samostatnom riadku, spolu na celú šírku bloku */
.offer__list .offer__wide { flex: 1 1 calc(50% - .5rem); }
.offer__list strong { font-weight: 700; color: var(--c7); }
.offer__list p { margin: .4rem 0 0; font-size: .9rem; }

/* Často kladené otázky */
.faq { padding: 10px; }
.faq__title {
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 75px;
  letter-spacing: 3.6px;
  word-spacing: 22px;
  text-align: center;
  color: var(--c4);
}
.faq__box {
  max-width: 1140px;
  margin: 0 auto 50px;
  overflow: hidden;
  border-radius: 16px;
  background-color: var(--c4);
  box-shadow: 0 0 10px 0 rgb(0 0 0 / .5);
}
.faq__q {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c5);
  list-style: none;
  cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__item[open] > .faq__q { color: var(--c8); }
.faq__icon { flex: 0 0 17px; width: 17px; height: 17px; fill: currentColor; }
.faq__icon--open, .faq__item[open] .faq__icon--closed { display: none; }
.faq__item[open] .faq__icon--open { display: block; }
.faq__a { margin: 0; padding: 20px 20px 50px; font-size: 1.0625rem; line-height: 1.6; color: var(--c3); }
.faq__a p { margin: 0 0 .5em; }
.faq__list { margin: 0 0 1em; padding-left: 1.5em; list-style: disc; }
.faq__list:last-child { margin-bottom: 0; }
@media (min-width: 545px) {
  .faq__title { font-size: 2rem; }
  .faq__a { font-size: 1.125rem; }
}
@media (min-width: 922px) {
  .faq__title { font-size: 2.625rem; }
  .faq__q { gap: 54px; font-size: 1.4375rem; }
  .faq__a { font-size: 1.25rem; }
}

/* Kontakt */
.contact__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1168px;
  margin: 0 auto;
  padding: 50px 10px 60px;
}
.contact__card {
  border-radius: 30px;
  background-color: var(--c6);
  box-shadow: 0 0 30px 10px rgb(0 0 0 / .5);
}
.contact__info {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 30px;
}
.contact__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 1px;
  color: var(--green-text);
}
.contact__list li + li { margin-top: 30px; }
.contact__list svg { flex: 0 0 30px; width: 30px; height: 30px; fill: var(--green-text); }
.contact__list a { color: inherit; text-decoration: none; }
.contact__list a:hover, .contact__list a:focus { text-decoration: underline; }
.contact__phone, .contact__email { font-size: 1.25rem; word-spacing: 5px; }
.contact__email { letter-spacing: 0; }
.contact__gps { word-spacing: 10px; }
/* Poznámka pod telefónom: menšie písmo, zarovnaná s textom vedľa ikon */
.contact__list .contact__note {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-left: 42px;
  font-size: .9375rem;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: 0;
}
.contact__list .contact__note span { font-style: normal; }
.contact__form-card { padding: 25px; }

/* Formulár */
.contact-form .field { margin-bottom: 20px; }
.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-size: .875rem;
  font-weight: 600;
  line-height: 17px;
  color: var(--c2);
}
.contact-form .req { color: #d63637; }
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  padding: 6px 9px;
  border: 1px solid #f1f2f8;
  border-radius: 8px;
  background-color: var(--c4);
  font: 400 .875rem/17px 'Montserrat', sans-serif;
  color: var(--c2);
}
.contact-form input { height: 31px; }
.contact-form textarea { height: 158px; resize: vertical; }
.contact-form ::placeholder { color: #6b7069; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--c0); outline: 2px solid var(--c0); outline-offset: 0; }
/* iPhone pri písme menšom ako 16 px stránku po kliknutí do poľa priblíži */
@media (max-width: 599px) {
  .contact-form input, .contact-form textarea { font-size: 1rem; }
  .contact-form input { height: 36px; }
}
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__gdpr { margin: 0 0 12px; font-size: .8125rem; line-height: 1.4; color: var(--c2); }
.contact-form__gdpr a { color: var(--c2); }
.contact-form__submit {
  height: 37px;
  padding: 0 15px;
  border: 0;
  border-radius: 100px;
  background-color: var(--green-text);
  font: 600 .875rem 'Montserrat', sans-serif;
  color: #fff;
  cursor: pointer;
}
.contact-form__submit:hover, .contact-form__submit:focus { background-color: #2f5e20; }
.contact-form__submit[disabled] { opacity: .6; cursor: wait; }
.contact-form__status { margin: 12px 0 0; font-size: .9375rem; font-weight: 600; }
.contact-form__status:empty { display: none; }
.contact-form__status.is-ok { color: var(--green-text); }
.contact-form__status.is-error { color: #a4161a; }
@media (min-width: 1025px) {
  /* Oba bloky rovnako vysoké, položky vľavo bez prázdneho miesta hore a dole */
  .contact__inner { flex-direction: row; align-items: stretch; gap: 50px; padding: 50px; }
  .contact__card { flex: 1 1 0; }
  .contact__list { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
  .contact__list li + li { margin-top: 0; }
  .contact__form-card { padding: 30px 10px 10px; }
}

/* ---------- Textové podstránky (návod, GDPR, cookies) ---------- */
/* Pri krátkom texte zostane pätička dole */
body:has(.site-main--page) { display: flex; flex-direction: column; min-height: 100vh; }
.site-main--page { flex: 1 0 auto; padding: 10px 30px 40px; background-color: var(--c5); }
.page-box {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5em 1em;
  border-radius: 15px;
  background-color: var(--c4);
  font-size: .9375rem;
}
/* Text v čitateľnej šírke riadku (cca 70 znakov) */
.page-content { max-width: 720px; margin: 0 auto; font-size: 1rem; line-height: 1.6; }
.page-content > :last-child { margin-bottom: 0; }
.page-content h1, .page-content h2, .page-content h3 { color: var(--c2); }
.page-content h1, .page-content h2 { text-align: center; }
.page-content h1 { font-size: 2rem; }
.page-content h2 { margin-top: 40px; font-size: 1.75rem; line-height: 1.2em; scroll-margin-top: 20px; }
.page-content h3 { margin: 1.25em 0 .5em; font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.page-content .lead { font-size: 1.125rem; }
/* Hlavný nadpis môže byť širší ako text, aby sa zmestil do jedného riadku */
.page-box { container-type: inline-size; }
.page-content h1 { margin-inline: min(0px, (720px - 100cqi) / 2); font-size: clamp(1.75rem, 4.4cqi, 3rem); }
/* Úvodná veta s dvojbodkou patrí k zoznamu pod ňou */
.page-content p:has(+ ul, + ol), .page-content .callout p:has(+ ul, + ol) { margin-bottom: .5em; }

/* Obsah sprievodcu */
.toc { margin: 0 0 1.5em; padding: 1em 1.25em; border-radius: 8px; background: rgb(0 0 0 / .05); }
.page-content .toc__title { margin: 0 0 .5em; font-weight: 700; color: var(--c2); }
.page-content .toc ul { margin: 0; padding: 0; list-style: none; }
.toc li + li { margin-top: .25em; }

/* Zvýraznené boxy: tip, dôležité, kontakt */
.callout {
  margin: 0 0 1.5em;
  padding: 1em 1.25em;
  border-left: 4px solid var(--green-text);
  border-radius: 8px;
  background: rgb(0 0 0 / .05);
}
.callout--warn { border-left-color: #b7791f; background: #fdf3dc; }
.callout--contact { background: #e3f1d9; }
.callout--center { text-align: center; border-left: 0; }
.page-content .callout > :last-child { margin-bottom: 0; }
.page-content .callout p, .page-content .callout ul { margin-bottom: .75em; }
.page-content .callout h3 { margin-top: 0; text-align: center; }

/* Zhrnutie so zelenými fajkami */
.page-content .checklist { padding-left: 0; list-style: none; }
.checklist li { position: relative; padding-left: 1.75em; }
.checklist li + li { margin-top: .25em; }
.checklist li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--green-text); }

/* Tlačidlá Zavolať / Napísať */
.page-content .page-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.page-content .page-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--green-text);
  border-radius: 100px;
  background-color: var(--green-text);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.page-content .page-btn--outline { background-color: transparent; color: var(--green-text); }
.page-content .page-btn:hover, .page-content .page-btn:focus { background-color: #2f5e20; border-color: #2f5e20; color: #fff; }

/* O autorovi */
.page-author { margin-top: 2em; padding-top: 1em; border-top: 1px solid rgb(0 0 0 / .15); font-size: .875rem; }
.page-content p { margin: 0 0 1.5em; }
.page-content ul, .page-content ol { margin: 0 0 1.5em; padding-left: 20px; }
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content a { color: var(--green-text); }
.page-content code { font-size: .875em; }
.page-content .cookie-manage {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--green-text);
  border-radius: 6px;
  background-color: var(--green-text);
  font: 600 .875rem 'Montserrat', sans-serif;
  color: #fff;
}
.page-content .cookie-manage:hover, .page-content .cookie-manage:focus { background-color: #2f5e20; color: #fff; }
@media (min-width: 545px) {
  .page-content h2 { font-size: 2rem; }
  .page-content h3 { font-size: 1.25rem; }
}
@media (min-width: 922px) {
  .site-main--page { padding: 70px 20px; }
  .page-box { padding: 3em; }
  .page-content h2 { font-size: 2.25rem; }
  .page-content h3 { font-size: 1.25rem; }
}

/* ---------- Mapa ---------- */
.map { padding: 0 0 50px; }
.map__frame {
  width: 72%;
  height: 500px;
  margin: 0 auto;
  background-color: var(--c4);
}
.map__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.map__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  padding: 20px;
  text-align: center;
  color: var(--c3);
}
.map__placeholder[hidden] { display: none; }
.map__placeholder svg { width: 40px; height: 54px; fill: var(--green-text); }
.map__placeholder p { max-width: 420px; margin: 0; }
.map__placeholder a { color: var(--green-text); font-weight: 600; }

/* Tlačidlá mapy a cookie lišty */
.map__btn, .cookie-bar__btn {
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--green-text);
  border-radius: 6px;
  background-color: #fff;
  font: 600 .875rem 'Montserrat', sans-serif;
  color: var(--green-text);
  cursor: pointer;
}
.map__btn, .cookie-bar__btn--accept { background-color: var(--green-text); color: #fff; }
.map__btn:hover, .map__btn:focus, .cookie-bar__btn--accept:hover, .cookie-bar__btn--accept:focus { background-color: #2f5e20; }
.cookie-bar__btn:not(.cookie-bar__btn--accept):hover, .cookie-bar__btn:not(.cookie-bar__btn--accept):focus { background-color: var(--c4); }

/* ---------- Cookie lišta ---------- */
.cookie-bar {
  position: fixed;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 1000;
  max-height: calc(100vh - 20px);
  overflow-y: auto;
  padding: 20px;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 0 20px rgb(0 0 0 / .35);
  font-size: .875rem;
  color: var(--c3);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar__title { margin: 0 0 10px; font-size: 1.125rem; font-weight: 600; text-align: center; }
.cookie-bar__text { margin: 0 0 15px; line-height: 1.6; }
.cookie-bar__text a { color: var(--green-text); }
.cookie-bar__prefs { margin: 0 0 15px; padding: 0; border: 0; }
.cookie-bar__prefs label { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 600; }
.cookie-bar__prefs input { width: 18px; height: 18px; accent-color: var(--green-text); }
.cookie-bar__buttons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.cookie-bar__btn[data-consent="prefs"], .cookie-bar__btn[data-consent="save"] { grid-column: 1 / -1; }
.cookie-bar__btn[hidden] { display: none; }
@media (min-width: 600px) {
  .cookie-bar { left: auto; bottom: 20px; right: 20px; width: 560px; }
  .cookie-bar__buttons { grid-template-columns: repeat(3, 1fr); }
  .cookie-bar__btn[data-consent="prefs"], .cookie-bar__btn[data-consent="save"] { grid-column: auto; }
}

/* ---------- Pätička ---------- */
.site-footer { background-color: var(--c6); }
.footer-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  min-height: 32px;
  padding: 10px 50px 10px 35px;
  background-color: var(--c8);
}
.footer-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-start; }
.footer-nav a, .cookie-manage {
  display: inline-block;
  padding: 0 .5em;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--c6);
  text-decoration: none;
}
.footer-nav li:first-child a { padding-left: 0; }
.footer-nav li:last-child a { padding-right: 0; }
.footer-nav a:hover, .footer-nav a:focus, .cookie-manage:hover, .cookie-manage:focus { color: var(--c0); }
.cookie-manage { border: 0; background: none; font-family: inherit; cursor: pointer; }
.copyright {
  margin: 0;
  font-size: 1.125rem;
  text-align: right;
  color: var(--c6);
}
/* Hlavné menu na celý riadok, pod ním právne odkazy menším písmom a copyright */
.footer-row { row-gap: 6px; }
.footer-row > .footer-nav:first-child { grid-column: 1 / -1; }
.footer-nav--legal li { display: flex; align-items: center; }
.footer-nav--legal li + li::before { content: "|"; color: var(--c6); opacity: .6; }
.footer-nav--legal a, .footer-nav--legal .cookie-manage { font-size: .875rem; }
.footer-nav--legal .cookie-manage { padding-right: 0; }
.footer-row .copyright { font-size: .875rem; }

@media (max-width: 921px) {
  .footer-row { column-gap: 20px; row-gap: 20px; }
  .footer-nav ul { justify-content: center; }
  .copyright { text-align: center; margin-top: 5px; }
}
@media (max-width: 544px) {
  .footer-row { grid-template-columns: 1fr; padding-bottom: 45px; }
  .footer-nav ul { display: grid; justify-content: center; text-align: center; }
  .footer-nav a, .footer-nav li:first-child a, .footer-nav li:last-child a, .cookie-manage {
    padding: 12px 15px;
    font-size: 1rem;
  }
  .footer-nav--legal li { justify-content: center; }
  .footer-nav--legal li + li::before { content: none; }
  .footer-nav--legal a, .footer-nav--legal li:first-child a, .footer-nav--legal .cookie-manage {
    padding: 8px 15px;
    font-size: .875rem;
  }
  .footer-row .copyright { font-size: .875rem; }
}

/* ---------- Tlačidlo "na začiatok" ---------- */
.scroll-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1em;
  height: 2.1em;
  border: 0;
  border-radius: 2px;
  background-color: var(--c5);
  color: var(--c6);
  font-size: 17px;
  cursor: pointer;
}
.scroll-top[hidden] { display: none; }
.scroll-top svg { width: 1.6em; height: 1.6em; fill: currentColor; }
@media (max-width: 921px) {
  .scroll-top svg { width: 1em; height: 1em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
