/* =========================================================================
   RS Radost — page.css
   Design tokens are locked. Every color used anywhere in this file MUST be
   one of the variables declared in :root below. No other hex/rgb literal
   is allowed outside of :root (AP-45).
   ========================================================================= */

:root {
  --bg:           #FDFBF6;
  --surface:      #FFFFFF;
  --surface-sky:  #E7F1F7;
  --surface-mea:  #EFF5EA;
  --surface-sun:  #FBF0DA;
  --fg:           #2B3A33;
  --fg-muted:     #5B6B62;
  --accent:       #47876A;
  --accent-hover: #376853;
  --accent-warm:  #D98455;
  --border:       #E4E0D5;
  --shadow:       0 1px 2px rgba(43,58,51,.06), 0 8px 24px rgba(43,58,51,.07);

  --font-display: 'Bitter', Georgia, 'Times New Roman', serif;
  --font-body:    'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 76px;
}

/* ---------- Reset ---------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-optical-sizing: auto; font-weight: 700; line-height: 1.15; color: var(--fg); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--accent);
  color: var(--surface);
  padding: .75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ----------------------------------------------------- */

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container--narrow { max-width: 780px; }

.section { padding-block: 6rem; }
.section--bg { background: var(--bg); }
.section--sky { background: var(--surface-sky); }
.section--mea { background: var(--surface-mea); }
.section--sun { background: var(--surface-sun); }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head .lede { margin-top: .5rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

h2 { font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.75rem); margin-bottom: .75rem; }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.375rem); font-weight: 600; margin-bottom: .5rem; }
.lede { font-size: 1.15rem; color: var(--fg-muted); max-width: 46ch; }
p { color: var(--fg); }
p + p { margin-top: 1rem; }

.section-note {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* ---------- Reveal (AP-71) ---------------------------------------------
   Default (no JS / reduced-motion): content is fully visible.
   Only once JS adds .js-reveal to <html>, .reveal starts hidden, then
   IntersectionObserver adds .is-visible.                                */

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s ease;
}
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Buttons (Fitts's Law — generous, unmistakable targets) ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9375rem;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent); color: var(--surface); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost {
  background: rgba(255,255,255,.14);
  color: var(--surface);
  border: 1.5px solid rgba(255,255,255,.7);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255,255,255,.26); }
.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn--outline:hover { background: var(--accent); color: var(--surface); }
.btn--lg { padding: .9rem 2rem; font-size: 1rem; }
.btn--sm { padding: .55rem 1.15rem; font-size: .875rem; min-height: 44px; }

/* ---------- Icons -------------------------------------------------------*/

.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 32px; height: 32px; }

/* ---------- Header -------------------------------------------------------*/

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(43,58,51,.45), rgba(43,58,51,0));
  color: var(--surface);
  transition: background-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.site-header.is-scrolled {
  background: var(--surface);
  color: var(--fg);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -.01em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.logo span { color: var(--accent-warm); }
.site-header.is-scrolled .logo span { color: var(--accent); }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav__list a {
  font-weight: 600;
  font-size: .9375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding-inline: .5rem;
  position: relative;
}
.site-nav__list a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-nav__list a:hover::after { transform: scaleX(1); }

.site-nav__mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.header-phone {
  display: none;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .9375rem;
  min-height: 44px;
}
@media (min-width: 900px) {
  .header-phone { display: inline-flex; }
}
.header-phone--in-nav { display: inline-flex; color: var(--fg); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}
.nav-toggle__icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { display: block; }

.nav-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(43,58,51,.35);
  z-index: 90;
}

@media (max-width: 899px) {
  .site-nav__list { display: none; }
  .header-phone:not(.header-phone--in-nav) { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    color: var(--fg);
    box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 95;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .site-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1.25rem;
  }
  .site-nav__list a {
    padding-block: .75rem;
    border-bottom: 1px solid var(--border);
    color: var(--fg);
  }
  .site-nav__list a::after { display: none; }
  .site-nav__mobile-extra {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding: 1.25rem;
    border-top: 1px solid var(--border);
  }
  .site-nav__mobile-extra .btn { width: 100%; }
}

@media (min-width: 900px) {
  .nav-backdrop { display: none !important; }
}

@media (max-width: 400px) {
  /* The full-text CTA pill no longer fits next to the logo + hamburger at
     narrow phone widths (measured overflow at 375px). The same CTA is
     already the first thing inside the mobile nav dropdown
     (.site-nav__mobile-extra), so hiding it here removes the horizontal
     overflow without losing the call to action. */
  .header-actions > .btn--primary { display: none; }
}

/* ---------- Hero ---------------------------------------------------------*/

.hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  animation: kenburns 20s ease-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media__img { animation: none; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(43,58,51,.35) 0%,
    rgba(43,58,51,.15) 35%,
    rgba(43,58,51,.75) 100%
  );
}
/* 17. 8. 2026 — hero vyprázdněn na pokyn klientky ("úvodní stránka působí
   rušivě"): eyebrow a odznak "115 lůžek" padly úplně (CSS pro ně smazáno
   beze zbytku), zůstal jediný dolní pás — text vlevo, CTA vpravo, na stejné
   spodní lince. align-items:flex-end na společném flex rodiči zarovnává
   oba bloky na stejnou spodní hranu bez ohledu na rozdílnou výšku jejich
   obsahu. */
.hero-content {
  /* .hero-content is also a flex ITEM of .hero (which is display:flex,
     align-items:flex-end, for the bottom-anchoring). Without width:100%
     a flex item with no flex-grow shrinks to its content's width instead
     of filling the row — then .container's margin-inline:auto centers
     that narrower box in the viewport rather than pinning it to the same
     left/right edges every other .container on the page uses. width:100%
     makes it claim the full row first, THEN max-width:1200 + the auto
     margins center a full-width 1200px box exactly like any other
     .container, so hero-text's left edge lines up with "Vítejte v RS
     Radost" below it. */
  width: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 2.5rem 3rem;
  padding-block: 4.5rem 4rem;
  color: var(--surface);
}
.hero-text { max-width: clamp(300px, 38vw, 600px); }
.hero-title {
  font-size: clamp(2.4rem, 1.8rem + 3.2vw, 4.25rem);
  font-weight: 700;
  color: var(--surface);
  text-wrap: balance;
}
.hero-subtitle {
  margin-top: 1rem;
  font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem);
  font-weight: 400;
  color: var(--surface);
  opacity: .95;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  /* pushes the CTA pair to the right edge of its flex line even in the
     rare case it wraps onto its own line — keeps "buttons bottom-right"
     true instead of collapsing to the left. */
  margin-inline-start: auto;
}

@media (max-width: 1023px) {
  /* The hero photo is 4:3 landscape. Below this width the headline + two
     CTAs no longer fit next to each other on one calm bottom line (that
     is the whole point of the redesign — nothing should look squeezed
     into a corner), so the hero falls back to an in-flow stack instead:
     an uncropped 4:3 photo band (aspect-ratio matches the source image
     exactly, so cover produces zero crop) followed by the headline and
     full-width CTAs on a solid, high-contrast background. Only from
     1024px up is there enough room for the bottom-left/bottom-right pair
     the client asked for. */
  .hero {
    display: block;
    min-height: 0;
    margin-top: calc(var(--header-h) * -1);
  }
  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 4 / 3;
  }
  .hero-overlay { display: none; }
  .hero-content {
    display: block;
    position: static;
    background: var(--fg);
    padding: 2.5rem 1.25rem 3rem;
  }
  .hero-text { max-width: none; }
  .hero-cta {
    margin-top: 2.25rem;
    margin-inline-start: 0;
  }
  .hero-cta .btn { width: 100%; }
}

/* ---------- Split (O nás) ------------------------------------------------*/

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
.split--reverse { grid-template-columns: .9fr 1.1fr; }
.split__text p { color: var(--fg-muted); }
.split__media { align-self: start; }

@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split__media { order: -1; }
}

/* ---------- Media aspect-ratio (AP-75) ------------------------------------
   Images must never be stretched by a grid/flex parent — always pair
   align-items:start (or align-self:start) on the container with this
   class, and nikdy nenastavuj height: 100% přímo na obrázkový prvek.    */

.media-4-3 {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-sky);
  align-self: start;
}
.media-4-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Panel (stravování) --------------------------------------------*/

.panel {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel--sky { background: var(--surface-sky); }
.panel__icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-warm);
  flex: none;
}
.panel__text p { color: var(--fg-muted); }

@media (max-width: 640px) {
  .panel { grid-template-columns: 1fr; padding: 1.75rem; }
}

/* ---------- Cards ----------------------------------------------------- */

.card-grid { display: grid; gap: 1.75rem; }
.card-grid--5 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .card-grid--5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .card-grid--5, .card-grid--2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--surface-mea);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card p { color: var(--fg-muted); font-size: .9375rem; }

/* ---------- Amenity lists ------------------------------------------------*/

.amenity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}
@media (max-width: 640px) {
  .amenity-grid { grid-template-columns: 1fr; }
}
.amenity-list { margin-top: 1.25rem; }
.amenity-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding-block: .65rem;
  border-bottom: 1px solid var(--border);
  color: var(--fg-muted);
  break-inside: avoid;
}
.amenity-list li:last-child { border-bottom: none; }
.amenity-list .icon { color: var(--accent-warm); margin-top: 2px; }

/* "Sport a zábava" grew to 11 items (kulečník/stolní fotbal/air track added
   17. 8. 2026) against "Vnitřní prostory"'s 4 — a single tall column next to
   a short one reads as lopsided. From tablet up, give it more width and let
   it flow into two internal sub-columns, so its visible height comes back
   down near the shorter column's instead of towering over it. */
@media (min-width: 641px) {
  .amenity-grid { grid-template-columns: .85fr 1.5fr; }
  .amenity-list--split { column-count: 2; column-gap: 2rem; }
}

/* ---------- Gallery ----------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.gallery--mini {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin-inline: auto;
}
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery, .gallery--mini { grid-template-columns: 1fr 1fr; }
}

/* gallery--feature: for an odd photo count (5) that would otherwise leave a
   broken half-empty last row in the 3-column .gallery. Forces 2 columns at
   every breakpoint and lets the last photo span full width as a closing
   banner instead — the higher-specificity compound selector wins over the
   .gallery breakpoint rules above regardless of source order. */
.gallery.gallery--feature { grid-template-columns: repeat(2, 1fr); }
.gallery--feature .media-4-3:last-child { grid-column: 1 / -1; }

/* media-panorama (areal.webp closing banner): at 1440px a 4:3 box spanning
   both grid columns renders 1000px+ tall — one photo dwarfing the rest of
   the section, reads as an accidental stretch. This is the same deliberate
   full-bleed crop as .hero-media__img (AP-75 exception, not a bug): a fixed
   wide aspect-ratio + object-position tuned to keep the playground/cabins
   in frame instead of mostly sky and grass. Mobile keeps the normal 4:3
   crop from .media-4-3 — full width there isn't a proportion problem. */
@media (min-width: 641px) {
  .media-4-3.media-panorama {
    aspect-ratio: 21 / 9;
    max-height: 380px;
  }
  .media-panorama img { object-position: 50% 58%; }
}

/* ---------- Ubytování ------------------------------------------------- */

.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 4rem + 6vw, 9rem);
  line-height: .85;
  color: var(--accent);
  text-align: center;
  margin-block: 1rem 2.5rem;
  opacity: .92;
}

/* card-grid--2 sizing (AP-75 sibling variant): the two lodging cards hold a
   very different amount of text (a two-line blurb vs. a room-by-room table
   that used to live inside the card), so a stretched grid left a large empty
   panel under the shorter card. align-items:start lets each card take its
   own natural height; the room table itself was moved out into its own
   full-width .room-breakdown-panel below the grid, see there. */
.card-grid--2 { align-items: start; }

.lodging-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.lodging-card__body { padding: 1.75rem; }
.lodging-card__body p { color: var(--fg-muted); }

.room-breakdown-panel {
  margin-top: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 2.25rem;
}
.room-breakdown-panel .room-breakdown__heading { margin-top: 0; }

.room-breakdown__heading {
  margin-top: 1.5rem;
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.room-breakdown { margin-top: .5rem; display: flex; flex-direction: column; }
.room-breakdown li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem .75rem;
  padding-block: .5rem;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
}
.room-breakdown li:last-child { border-bottom: none; }
.room-breakdown__room { color: var(--fg); font-weight: 600; }
.room-breakdown__beds { color: var(--fg-muted); white-space: nowrap; }
.room-breakdown__bunks { color: var(--fg-muted); }

/* ---------- Pricing box ------------------------------------------------ */

.pricing-box {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3rem;
  text-align: center;
}
.pricing-box h2 { margin-top: .25rem; }
.pricing-box p { color: var(--fg-muted); max-width: 56ch; margin-inline: auto; }
.pricing-box__cta-line { color: var(--fg); margin-top: 1.5rem; }
.pricing-box .btn { margin-top: 1.75rem; }

@media (max-width: 640px) {
  .pricing-box { padding: 2rem 1.5rem; }
}

/* ---------- Kam na výlet ------------------------------------------------ */

.trip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 640px) {
  .trip-grid { grid-template-columns: 1fr; }
}
.trip-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.trip-card .icon { color: var(--accent-warm); margin-top: 2px; flex: none; }
.trip-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem .75rem;
}
.trip-card__head h3 { margin-bottom: 0; }
.trip-card__distance {
  flex: none;
  font-weight: 600;
  font-size: .8125rem;
  color: var(--accent-warm);
  background: var(--surface-mea);
  border-radius: 999px;
  padding: .2rem .65rem;
  white-space: nowrap;
}
.trip-card p { margin-top: .5rem; color: var(--fg-muted); font-size: .9375rem; }

/* 8 items in the fixed 2-column grid = an even 2×4, so no last-card stretch
   hack is needed here (that trick was only for the previous, odd count of
   7 — removed 17. 8. 2026 when Humpolec became the 8th trip card). */

/* ---------- Poptávka form ------------------------------------------------*/

.poptavka-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .poptavka-grid { grid-template-columns: 1fr; }
}

.form {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-row--split > div { display: flex; flex-direction: column; gap: .4rem; }
@media (max-width: 480px) {
  .form-row--split { grid-template-columns: 1fr; }
}
.form-row label { font-weight: 600; font-size: .875rem; }
.req { color: var(--accent-warm); }

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="date"],
.form-row input[type="number"],
.form-row select,
.form-row textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .7rem .9rem;
  min-height: 44px;
  background: var(--bg);
  color: var(--fg);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2.5px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.form-row--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: .75rem;
}
.form-row--checkbox input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  accent-color: var(--accent);
  flex: none;
}
.form-row--checkbox label { font-weight: 400; font-size: .875rem; color: var(--fg-muted); padding-block: 11px; }

.form-status {
  font-size: .875rem;
  font-weight: 600;
  min-height: 1.2em;
  color: var(--accent);
}
.form-status.is-error { color: var(--accent-warm); }

.form .btn { align-self: flex-start; }

.contact-panel {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.25rem;
}
.contact-panel p { color: var(--fg-muted); margin-top: .5rem; }
.contact-list { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-list li { display: flex; align-items: flex-start; gap: .85rem; }
.contact-list .icon { color: var(--accent-warm); margin-top: 3px; }
.contact-list a { display: inline-block; color: var(--accent); font-weight: 600; min-height: 44px; line-height: 44px; }
.contact-list strong { display: block; font-size: .875rem; color: var(--fg-muted); font-weight: 600; }

/* ---------- Kontakty ------------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-block__label {
  margin-top: 1.75rem;
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.contact-block p { color: var(--fg-muted); }
.contact-detail-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-detail-list li { color: var(--fg-muted); line-height: 1.7; }
.contact-detail-list a {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: .55rem;
  margin-block: -.55rem;
}

.map-links { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: .85rem; }

.transport-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.transport-list li { display: flex; align-items: flex-start; gap: .85rem; color: var(--fg-muted); }
.transport-list .icon { color: var(--accent-warm); margin-top: 2px; }
.transport-list strong { color: var(--fg); }

/* ---------- Footer ------------------------------------------------------*/

.site-footer {
  background: var(--fg);
  color: var(--bg);
  padding-block: 3.5rem 2.5rem;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
.footer-motto {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--bg);
}
/* Both links and the plain address span must share the same box model —
   a bare <span> has no min-height/align-items, so it drifted off the
   baseline the <a> tags sat on. Applying the rule to every direct child
   keeps phone, e-mail and address on one visual line. */
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .75rem 1.5rem; font-size: .9375rem; }
.footer-contact > * { min-height: 44px; display: inline-flex; align-items: center; }
.footer-contact a:hover { color: var(--surface-sun); }
.footer-bottom {
  display: flex;
  gap: 1.5rem;
  font-size: .8125rem;
  color: rgba(253,251,246,.6);
  border-top: 1px solid rgba(253,251,246,.15);
  padding-top: 1.5rem;
  width: 100%;
  justify-content: center;
}

/* ---------- Responsive section rhythm ----------------------------------- */

@media (max-width: 640px) {
  .section { padding-block: 3.5rem; }
  h2 { margin-bottom: .5rem; }
  .panel { margin-top: 3rem; }
  .amenity-grid { margin-top: 1.5rem; }
}
