/* =========================================================
   Dog's Planet — T-E-A CENTRUM, s.r.o.
   Redizajn dogsplanet.sk — vlastná paleta a typografia
   ========================================================= */

:root {
  /* Paleta: tmavá námornícka modrá + zlato-jantárová, na teplom svetlom podklade
     (podľa vizuálnej identity Dog's Planet – bannery a logo) */
  --forest-900: #060f1a;   /* najtmavšia navy */
  --forest-800: #0a1826;   /* navy – bannery, pätička */
  --forest-700: #0f2334;   /* navy tmavá */
  --forest-600: #163247;   /* navy – odkazy na svetlom */
  --forest-500: #24455f;   /* navy svetlejšia – ilustrácie, čiary */
  --moss-300: #8aa3b5;
  --ochre-600: #b47512;    /* tmavé zlato – text na svetlom (kontrast) */
  --ochre-500: #f4a83a;    /* jantárová – tlačidlá, akcenty (ako logo) */
  --ochre-400: #ffc36a;    /* svetlé zlato – akcenty na navy */
  --paper: #ffffff;
  --paper-2: #fdf4e6;      /* teplá krémová */
  --card: #ffffff;
  --ink: #13202e;
  --ink-soft: #465a6d;
  --line: #ecdfca;
  --focus: #1f5cff;

  --maxw: 1160px;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(10, 24, 38, .08);
  --shadow-md: 0 14px 40px -18px rgba(10, 24, 38, .45);

  --font-head: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--forest-600); text-underline-offset: 3px; }
a:hover { color: var(--ochre-600); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.005em;
  color: var(--forest-800);
  margin: 0 0 .4em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }

p { margin: 0 0 1rem; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

section { padding: clamp(3.6rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2rem, 4vw, 3rem) 0; }

.eyebrow + h2, .eyebrow + h1 { margin-top: .1em; margin-bottom: .7em; }
h2 + .lead, h2 + p { margin-top: .3rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest-800);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; color:#fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .01em;
  padding: .72rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ochre-500); color: var(--forest-900); }
.btn-primary:hover { background: var(--ochre-400); color: var(--forest-900); }
.btn-ghost { border-color: var(--forest-600); color: var(--forest-700); background: transparent; }
.btn-ghost:hover { background: var(--forest-700); color: #fff; }
.btn-light { background: #fff; color: var(--forest-800); }
.btn-light:hover { background: var(--paper-2); color: var(--forest-900); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 20px;
  max-width: var(--maxw);
  margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.brand img { height: clamp(64px, 13vw, 100px); width: auto; max-width: none; flex: none; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 101;
  background: var(--forest-700);
  border: 0;
  border-radius: 10px;
  width: 46px;
  height: 42px;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { content: ""; position: absolute; top: -7px; width: 100%; }
.nav-toggle span::after { content: ""; position: absolute; top: 7px; width: 100%; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  color: var(--forest-800);
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--ochre-600); }
.main-nav a[aria-current="page"] {
  color: var(--forest-700);
  border-bottom-color: var(--ochre-500);
}
/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 0;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(244, 168, 58, .16), transparent 60%),
    linear-gradient(160deg, var(--forest-700), var(--forest-900) 85%);
  color: #eaf1f8;
  overflow: hidden;
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--ochre-400); }
.hero .container {
  position: relative;
  z-index: 2;
  padding-block: clamp(2.8rem, 6vw, 4.2rem);
  padding-bottom: clamp(5.2rem, 11vw, 7.5rem);
}
.hero p { color: #c4d3e0; max-width: 54ch; font-size: 1.2rem; }
.hero .eyebrow { color: var(--ochre-400); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero .btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--forest-800); }
.hero-grass {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: clamp(36px, 6vw, 72px);
  z-index: 1;
  opacity: 1;
  color: var(--paper);
  pointer-events: none;
}
.hero-paw {
  position: absolute;
  right: clamp(8px, 3vw, 32px);
  top: clamp(-10px, -2vw, 10px);
  width: clamp(180px, 26vw, 340px);
  opacity: .22;
  color: var(--ochre-400);
  z-index: 1;
  filter: drop-shadow(0 10px 30px rgba(244, 168, 58, .25));
}

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ochre-600);
  display: block;
  margin-bottom: .7rem;
}

/* ---------- Big numbers ---------- */
.bignum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.1rem;
}
.bignum {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.4rem;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.bignum:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bignum b {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 4.2vw, 3.2rem);
  color: var(--forest-600);
  line-height: 1.1;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.bignum b.is-long { font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
.bignum span {
  display: block;
  margin-top: .55rem;
  font-size: .92rem;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
.bignum.accent { background: var(--forest-700); border-color: var(--forest-700); }
.bignum.accent b { color: var(--ochre-400); }
.bignum.accent span { color: #b9c9d6; }

/* ---------- Feature layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.split-media.photo {
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.split-media.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Fotogaléria ---------- */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 2.2rem;
}
.photo-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}
.photo-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.photo-gallery figure:hover img { transform: scale(1.04); }

.photo-gallery--masonry { display: block; columns: 3 260px; column-gap: 1.2rem; }
.photo-gallery--masonry figure { break-inside: avoid; margin: 0 0 1.2rem; aspect-ratio: auto; }
.photo-gallery--masonry img { height: auto; }
.photo-gallery--masonry a { display: block; }

.welcome { padding-block: 2rem 0; }
.welcome img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.areal-map { margin: 1.5rem 0 0; max-width: 760px; }
.areal-map img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: .7rem;
}
.feature-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: .9rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .85rem 1.1rem .85rem 1rem;
  box-shadow: var(--shadow-sm);
}
.feature-list li::before {
  content: "";
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  background-color: var(--ochre-500);
  -webkit-mask: url("paw.svg") center / contain no-repeat;
  mask: url("paw.svg") center / contain no-repeat;
}

/* ---------- Cards ---------- */
.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
  margin-top: 2.2rem;
}
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.8rem;
  padding-top: 4.3rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card::before {
  content: "";
  position: absolute;
  top: 1.6rem;
  left: 1.6rem;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.card::after {
  content: "";
  position: absolute;
  top: calc(1.6rem + .7rem);
  left: calc(1.6rem + .7rem);
  width: 1.3rem;
  height: 1.3rem;
  background-color: var(--ochre-500);
  -webkit-mask: url("paw.svg") center / contain no-repeat;
  mask: url("paw.svg") center / contain no-repeat;
}
.card h3 { color: var(--forest-700); margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 44px;
  height: 44px;
  margin-bottom: .8rem;
  color: var(--forest-600);
}

.panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 90% 0%, rgba(244, 168, 58, .18), transparent 55%),
    var(--forest-800);
  color: #dbe5ef;
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.2rem);
}
.panel h2, .panel h3 { color: #fff; }
.panel a:not(.btn) { color: var(--ochre-400); }
.panel .btn { margin-top: .6rem; }
.panel .btn-primary { background: var(--ochre-500); color: var(--forest-900); }
.panel .btn-primary:hover { background: var(--ochre-400); color: var(--forest-900); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.tag {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0;
  font-size: .98rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--forest-700);
  padding: .4rem 1.05rem;
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease;
}
.tag:hover { background: var(--ochre-500); border-color: var(--ochre-500); color: var(--forest-900); transform: translateY(-2px); }

.notice {
  position: relative;
  border-left: 4px solid var(--ochre-500);
  background: var(--paper-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.4rem 1.2rem 1.6rem;
  margin: 1.8rem 0 0;
  box-shadow: var(--shadow-sm);
}

/* ---------- Map ---------- */
.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Rezervačný systém (dogres.cz) ---------- */
.booking-embed {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.booking-embed iframe {
  display: block;
  width: 100%;
  height: 1600px;
  max-height: 85vh;
  min-height: 600px;
  border: 0;
}
.btn-lg { font-size: 1.15rem; padding: 1rem 2.2rem; }
.booking-fallback { margin-top: 1rem; color: var(--ink-soft); font-size: .95rem; }
.booking-loading {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--ink-soft);
}

/* ---------- Form ---------- */
.contact-form {
  display: grid;
  gap: 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
}
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--forest-800); }
.field input,
.field textarea {
  font: inherit;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus,
.field textarea:focus { border-color: var(--forest-500); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field .error-msg { color: #b3261e; font-size: .85rem; min-height: 1.1em; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #b3261e; }
.form-status { font-weight: 600; }
.form-status.ok { color: var(--forest-600); }

/* ---------- Info grid (contact) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.3rem;
  margin-top: 2.2rem;
}
.info-grid dt {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ochre-600);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.info-grid dt::before {
  content: "";
  width: 1rem;
  height: 1rem;
  flex: none;
  background-color: var(--ochre-500);
  -webkit-mask: url("paw.svg") center / contain no-repeat;
  mask: url("paw.svg") center / contain no-repeat;
}
.info-grid dd { margin: .5rem 0 0; font-weight: 500; line-height: 1.5; }
.info-grid > div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.info-grid > div:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-900);
  color: #bfcdda;
  padding: 3rem 0 1.5rem;
  font-size: .95rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: .8rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.site-footer a { color: #cdd9e3; text-decoration: none; }
.site-footer a:hover { color: var(--ochre-400); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-legal {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.4rem;
  color: #8a9cad;
  font-size: .85rem;
}
.footer-adresar-link { display: inline-flex; align-items: center; opacity: .85; transition: opacity .15s ease; }
.footer-adresar-link:hover { opacity: 1; }
.footer-adresar-link img { height: 32px; width: auto; display: block; }

/* ---------- Cookie modal ---------- */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.cookie-modal[hidden] { display: none; }
.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 15, 26, .72);
}
.cookie-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  overflow-y: auto;
  background:
    radial-gradient(120% 120% at 90% 0%, rgba(244, 168, 58, .16), transparent 55%),
    var(--forest-800);
  color: #c4d3e0;
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.cookie-modal-card h2 {
  color: #fff;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  margin-bottom: .7rem;
}
.cookie-modal-card p { font-size: .98rem; margin-bottom: 0; }
.cookie-inline-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--ochre-400);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.cookie-inline-link:hover { color: var(--ochre-500); }

.cookie-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.3rem;
  margin: 1.6rem 0 .4rem;
}
.cookie-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  width: 96px;
  cursor: pointer;
}
.cookie-cat input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
}
.cookie-cat-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .1s ease;
}
.cookie-cat-box::after {
  content: "";
  width: 16px;
  height: 12px;
  background-color: #fff;
  -webkit-mask: url("check.svg") center / contain no-repeat;
  mask: url("check.svg") center / contain no-repeat;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .15s ease, transform .15s ease;
}
.cookie-cat input:checked + .cookie-cat-box { background: var(--ochre-500); }
.cookie-cat input:checked + .cookie-cat-box::after { opacity: 1; transform: scale(1); }
.cookie-cat input:disabled + .cookie-cat-box { background: rgba(255, 255, 255, .18); }
.cookie-cat input:focus-visible + .cookie-cat-box { outline: 3px solid var(--focus); outline-offset: 2px; }
.cookie-cat-label {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #9fb2c4;
  line-height: 1.35;
}

.cookie-details {
  text-align: left;
  background: rgba(255, 255, 255, .05);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin: .3rem 0 0;
  display: grid;
  gap: .45rem;
}
.cookie-details[hidden] { display: none; }
.cookie-details p { margin: 0; font-size: .88rem; color: #b7c6d4; }
.cookie-details strong { color: #e4ecf3; }

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  margin-top: 1.6rem;
}
.cookie-modal-card .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.cookie-modal-card .btn-ghost:hover { background: #fff; color: var(--forest-800); }

.cookie-details-link {
  display: inline-block;
  background: none;
  border: 0;
  margin-top: 1.1rem;
  padding: .2rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #7e93a6;
  cursor: pointer;
}
.cookie-details-link:hover { color: var(--ochre-400); }

.footer-link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #cdd9e3;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}
.footer-link-btn:hover { color: var(--ochre-400); }

/* ---------- Decorative SVG blocks ---------- */
.illust {
  width: 100%;
  height: auto;
  color: var(--forest-600);
}

.dogline {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: center;
  color: var(--forest-500);
  opacity: .8;
}
.dogline svg { width: 90px; height: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Menu má 7 položiek – hamburger už pod 1200 px, aby nepretekalo */
@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    z-index: 90;
    inset: 0 0 0 auto;
    width: min(80vw, 320px);
    background: var(--paper);
    border-left: 1px solid var(--line);
    padding: 5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform .25s ease;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { transform: translateX(0) !important; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .main-nav a { font-size: 1.2rem; }
}

@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

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

/* ---------- Horná kontaktná lišta ---------- */
.topbar { background: var(--forest-900); color: #c4d3e0; font-size: .88rem; }
.topbar-inner { max-width: var(--maxw, 1160px); margin: 0 auto; padding: .45rem 20px; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; justify-content: flex-end; }
.topbar a { color: #c4d3e0; text-decoration: none; }
.topbar a:hover { color: var(--ochre-400); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.welcome-cta { text-align: center; margin-top: 1.4rem; }
a.card-link { display: block; color: inherit; text-decoration: none; }
@media (max-width: 700px) { .topbar-inner { justify-content: center; font-size: .82rem; } }

/* 6 čísel v mriežke 3×2 (úvodná stránka) */
.bignum-grid--6 { grid-template-columns: repeat(3, 1fr); }
.bignum-grid--6 .bignum b { white-space: nowrap; }
@media (max-width: 760px) { .bignum-grid--6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .bignum-grid--6 .bignum b { font-size: 1.9rem; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(6, 15, 26, .94); padding: 3.5rem 4rem; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.lb-img { max-width: 100%; max-height: calc(100vh - 9rem); width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb-caption { color: #c4d3e0; font-size: .95rem; text-align: center; }
.lb-btn { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 50%; width: 3rem; height: 3rem; font-size: 1.5rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover, .lb-btn:focus-visible { background: var(--ochre-500); color: var(--forest-900); }
.lb-btn[hidden] { display: none; }
.lb-close { top: 1rem; right: 1rem; font-size: 2rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.photo-gallery a { cursor: zoom-in; }
@media (max-width: 700px) {
  .lightbox { padding: 3.5rem .5rem 4rem; }
  .lb-prev, .lb-next { top: auto; bottom: .8rem; transform: none; }
  .lb-prev { left: calc(50% - 3.6rem); }
  .lb-next { right: calc(50% - 3.6rem); }
}

/* ---------- Formulár: doplnky ---------- */
.field .optional { font-weight: 400; color: var(--ink-soft); }
.field-consent { gap: .2rem; }
.consent-label { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400 !important; font-size: .92rem !important; line-height: 1.45; color: var(--ink-soft) !important; cursor: pointer; }
.consent-label input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; flex: none; accent-color: var(--ochre-500); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status.err { color: #b3261e; }
.contact-form button[disabled] { opacity: .7; cursor: progress; }
