/* Květinářství Jasmína, ukázkový web (Wac-WebDesign) */

:root {
  --bg: #fbfcf9;
  --white: #ffffff;
  --sage-50: #f2f7f0;
  --sage-100: #e4eee0;
  --sage-200: #cfdfca;
  --green: #5d7f63;
  --green-mid: #3f6248;
  --green-dark: #24392b;
  --ink: #26302a;
  --muted: #56615a;
  --accent: #a8457f;
  --accent-dark: #8a3567;
  --accent-soft: #f7e8f1;
  --line: #dfe8db;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(36, 57, 43, 0.06);
  --shadow: 0 14px 40px rgba(36, 57, 43, 0.12);
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--green-dark);
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.15rem, 5.2vw, 3.9rem);
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--green-mid);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-dark);
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--green-dark);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 0.75rem;
  color: #fff;
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-tint {
  background: var(--sage-50);
}

.section-head {
  max-width: 660px;
  margin: 0 auto clamp(2rem, 4vw, 3.25rem);
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.section-head p {
  color: var(--muted);
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
}

/* Tlačítka */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.55rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(168, 69, 127, 0.28);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 12px 28px rgba(168, 69, 127, 0.36);
}

.btn-ghost {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--sage-200);
}

.btn-ghost:hover {
  background: var(--sage-100);
  border-color: var(--green);
  color: var(--green-dark);
}

.btn-light {
  background: #fff;
  color: var(--green-dark);
}

.btn-light:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.btn-small {
  padding: 0.55rem 1.1rem;
  font-size: 0.92rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-dark);
  white-space: nowrap;
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

/* Hlavička */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 252, 249, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--green-dark);
}

.logo:hover {
  color: var(--green-dark);
}

.logo svg {
  width: 38px;
  height: 38px;
  flex: none;
  transition: transform 0.6s ease;
}

.logo:hover svg {
  transform: rotate(36deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text small {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.logo-text strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a:not(.btn) {
  position: relative;
  display: block;
  padding: 0.55rem 0.8rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"] {
  color: var(--accent-dark);
}

.site-nav .nav-cta {
  margin-left: 0.6rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1.5px solid var(--sage-200);
  border-radius: 50%;
  background: #fff;
  color: var(--green-dark);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 919px) {
  .js .nav-toggle {
    display: inline-flex;
  }

  .site-nav ul {
    flex-wrap: wrap;
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.5rem 1.25rem 1.25rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }

  .js .site-nav.open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .js .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .js .site-nav a:not(.btn) {
    padding: 0.95rem 0.25rem;
    font-size: 1.08rem;
    border-bottom: 1px solid var(--line);
  }

  .js .site-nav a:not(.btn)::after {
    display: none;
  }

  .js .site-nav .nav-cta {
    margin: 1rem 0 0;
  }

  .js .site-nav .nav-cta .btn {
    width: 100%;
  }
}

/* Úvodní sekce */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(60% 70% at 88% 10%, var(--accent-soft) 0%, rgba(247, 232, 241, 0) 70%),
    radial-gradient(55% 60% at 0% 100%, var(--sage-100) 0%, rgba(228, 238, 224, 0) 70%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-copy .lead {
  max-width: 34em;
  margin-bottom: 1.8rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.6rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-points svg {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex: none;
}

.hero-visual {
  position: relative;
  width: min(100%, 470px);
  margin-inline: auto;
}

.hero-arch {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
  box-shadow: var(--shadow);
  background: var(--sage-100);
}

.hero-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 60%;
}

.hero-round {
  position: absolute;
  left: -9%;
  bottom: 7%;
  width: 38%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}

.hero-round img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-note {
  position: absolute;
  right: -5%;
  top: 16%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  line-height: 1.3;
  color: var(--muted);
}

.hero-note strong {
  display: block;
  color: var(--green-dark);
  font-size: 0.98rem;
}

.hero-note svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  flex: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-note {
    animation: float 6s ease-in-out infinite;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Záhlaví podstránek */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.75rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(50% 90% at 100% 0%, var(--accent-soft) 0%, rgba(247, 232, 241, 0) 70%),
    var(--sage-50);
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  max-width: 17em;
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
}

.page-hero .lead {
  max-width: 40em;
  margin-bottom: 0;
}

.page-hero-deco {
  position: absolute;
  right: -30px;
  bottom: -90px;
  width: 300px;
  height: 300px;
  color: var(--sage-200);
  opacity: 0.7;
  pointer-events: none;
}

.photo-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(78vh, 640px);
  padding: clamp(3.5rem, 9vw, 6rem) 0;
  color: #fff;
  background: var(--green-dark);
  overflow: hidden;
}

.photo-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}

.photo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 34, 27, 0.9) 0%, rgba(22, 34, 27, 0.72) 42%, rgba(22, 34, 27, 0.18) 100%);
}

.photo-hero .container {
  position: relative;
  z-index: 1;
}

.photo-hero h1 {
  max-width: 13em;
  color: #fff;
}

.photo-hero .lead {
  max-width: 33em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.8rem;
}

.photo-hero .eyebrow {
  color: #f3cfe3;
}

@media (max-width: 700px) {
  .photo-hero::after {
    background: linear-gradient(180deg, rgba(22, 34, 27, 0.74) 0%, rgba(22, 34, 27, 0.6) 100%);
  }
}

/* Karty služeb */

.grid {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.75rem);
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--sage-200);
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.card > :last-child {
  margin-bottom: 0;
}

.card .text-link {
  margin-top: auto;
  padding-top: 0.4rem;
}

.card .text-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--green-mid);
  transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.icon-badge svg {
  width: 26px;
  height: 26px;
}

.card:hover .icon-badge {
  background: var(--accent-soft);
  color: var(--accent-dark);
  transform: scale(1.08) rotate(-6deg);
}

/* Karty kytic */

.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product[hidden] {
  display: none;
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3.6;
  overflow: hidden;
  background: var(--sage-100);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product:hover .product-media img {
  transform: scale(1.07);
}

.product-flag {
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.3rem 1.35rem;
}

.product-body h3 {
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
}

.product-body p {
  color: var(--muted);
  font-size: 0.96rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}

.tags li {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--sage-50);
  border: 1px solid var(--line);
  color: var(--green-mid);
  font-size: 0.76rem;
  font-weight: 600;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.price {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--green-dark);
  white-space: nowrap;
}

.price small {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
}

/* Filtry */

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.chip {
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--sage-200);
  border-radius: 999px;
  background: #fff;
  color: var(--green-dark);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.chip:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.chip[aria-pressed="true"] {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

.filter-status {
  margin-bottom: 1.8rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .product.pop {
    animation: pop 0.45s ease both;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Kroky */

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Galerie */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(170px, 19vw, 250px);
  grid-auto-flow: dense;
  gap: clamp(0.6rem, 1.4vw, 1rem);
}

.gallery figure,
.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sage-100);
}

.gallery .tall {
  grid-row: span 2;
}

.gallery .wide {
  grid-column: span 2;
}

.gallery img,
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery figure:hover img,
.photo:hover img {
  transform: scale(1.07);
}

.gallery figcaption,
.photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.2rem 1rem 0.8rem;
  background: linear-gradient(180deg, rgba(22, 34, 27, 0) 0%, rgba(22, 34, 27, 0.82) 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

@media (hover: hover) {
  .gallery figcaption {
    opacity: 0;
    transform: translateY(8px);
  }

  .gallery figure:hover figcaption {
    opacity: 1;
    transform: none;
  }
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.4vw, 1rem);
}

.photo-grid .photo {
  aspect-ratio: 4 / 5;
}

/* Recenze */

.review {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.75rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.review:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: #c98a1b;
}

.stars svg {
  width: 18px;
  height: 18px;
}

.review blockquote {
  margin: 0 0 1.3rem;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--ink);
}

.review figcaption {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.35;
}

.review figcaption strong {
  display: block;
  color: var(--green-dark);
  font-size: 1rem;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--green-mid);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.avatar.big {
  width: 76px;
  height: 76px;
  margin-bottom: 1.1rem;
  font-size: 1.9rem;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* Dvousloupcové bloky */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.split-media {
  position: relative;
}

.split-media .photo {
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow);
}

.split-media .photo.portrait {
  aspect-ratio: 4 / 5;
}

.split-media .photo-small {
  position: absolute;
  right: -4%;
  bottom: -9%;
  width: 42%;
  aspect-ratio: 3 / 4;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}

.split-media.has-small {
  margin-bottom: 2.5rem;
}

.check-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.4rem 0 1.8rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.check-list svg {
  width: 22px;
  height: 22px;
  margin-top: 0.2rem;
  padding: 4px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--green-mid);
  flex: none;
}

/* Čísla */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}

.stats li {
  padding: 1.5rem 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stats strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  color: var(--accent-dark);
}

.stats span {
  font-size: 0.94rem;
  color: var(--muted);
}

/* Ceníky */

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  border-spacing: 0;
  border-collapse: separate;
}

.price-table caption {
  padding: 0 0 0.9rem;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--green-dark);
}

.price-table th,
.price-table td {
  padding: 0.9rem 1.15rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table th small {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.price-table td {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
  color: var(--green-dark);
}

.price-table tbody tr {
  transition: background-color 0.25s ease;
}

.price-table tbody tr:hover {
  background: var(--sage-50);
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.plan.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

.plan-flag {
  position: absolute;
  top: -0.85rem;
  left: 1.7rem;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.plan h3 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.plan .plan-desc {
  color: var(--muted);
  font-size: 0.96rem;
}

.plan .price {
  display: block;
  margin: 0.4rem 0 1.2rem;
  font-size: 2rem;
}

.plan .check-list {
  margin: 0 0 1.8rem;
  font-size: 0.98rem;
}

.plan .btn {
  margin-top: auto;
}

/* Časová osa */

.timeline {
  position: relative;
  display: grid;
  gap: 1.6rem;
  max-width: 760px;
  margin-inline: auto;
  padding-left: 2.2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--sage-200);
}

.timeline li {
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -2.2rem;
  top: 0.45rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
}

.timeline .when {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.timeline h3 {
  margin: 0.15rem 0 0.3rem;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

/* Časté dotazy */

.faq {
  max-width: 800px;
  margin-inline: auto;
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq details[open],
.faq details:hover {
  border-color: var(--sage-200);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  font-weight: 600;
  color: var(--green-dark);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq details p {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
}

/* Výzva s fotkou */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: var(--green-dark);
  color: #fff;
  text-align: center;
}

.cta-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24, 38, 29, 0.8);
}

.cta-band .container {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
}

.cta-band .btn-row {
  justify-content: center;
}

/* Rozvoz */

.delivery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.delivery li {
  padding: 1.4rem 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.delivery strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--green-dark);
}

.delivery span {
  display: block;
  font-weight: 600;
  color: var(--accent-dark);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.delivery p {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Kontakt a formulář */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(1.75rem, 4vw, 3.5rem);
}

.info-list {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 1.8rem;
}

.info-list li {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
}

.info-list .icon-badge {
  width: 46px;
  height: 46px;
  margin: 0;
  flex: none;
}

.info-list .icon-badge svg {
  width: 22px;
  height: 22px;
}

.info-list div > span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-list a,
.info-list strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--green-dark);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.info-list a:hover {
  color: var(--accent-dark);
}

.hours {
  width: 100%;
  border-collapse: collapse;
}

.hours caption {
  text-align: left;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--green-dark);
  padding-bottom: 0.5rem;
}

.hours th,
.hours td {
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--sage-200);
  font-weight: 400;
  text-align: left;
}

.hours td {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
  color: var(--green-dark);
}

.hours .closed td {
  color: var(--muted);
  font-weight: 400;
}

.panel {
  padding: clamp(1.4rem, 3.4vw, 2.4rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green-dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--sage-200);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--green);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 1.5px solid var(--sage-200);
  border-radius: 999px;
  background: var(--bg);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.radio-row label:hover {
  border-color: var(--green);
}

.radio-row input {
  width: auto;
  margin: 0;
  accent-color: var(--accent);
}

.radio-row label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
}

.form-message {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid #e6c3d8;
  color: #6d2850;
  font-weight: 600;
}

.form-message[hidden] {
  display: none;
}

.form-message svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.map {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--sage-50);
}

.map svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Patička */

.site-footer {
  padding: clamp(3rem, 6vw, 4.5rem) 0 4.25rem;
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.1fr 1.1fr;
  gap: 2rem clamp(1.5rem, 4vw, 3rem);
}

.site-footer .logo,
.site-footer .logo:hover {
  color: #fff;
  margin-bottom: 1rem;
}

.site-footer .logo-text small {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer h2 {
  margin-bottom: 0.9rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f3cfe3;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #f3cfe3;
  text-decoration: underline;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 240px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom p {
  margin: 0;
}

/* Štítek ukázkového webu */

.demo-badge {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 30;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.demo-badge:hover {
  opacity: 1;
  color: var(--accent-dark);
}

/* Objevování při rolování */

.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(26px);
}

/* Dokud objevení neskončí, platí pomalý přechod; pak se karty vrací k vlastním přechodům (hover) */
.js .reveal:not(.is-done) {
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
}

/* Menší obrazovky */

@media (max-width: 1020px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 919px) {
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    width: min(84%, 400px);
  }

  .page-hero-deco {
    display: none;
  }

  .split-media {
    max-width: 560px;
  }

  .split.media-last-mobile .split-media {
    order: 2;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3.plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin-inline: auto;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(150px, 42vw, 260px);
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  body {
    font-size: 1rem;
  }

  .container {
    width: min(1160px, 100% - 2rem);
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-grid .photo:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 3;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero .btn-row .btn,
  .photo-hero .btn-row .btn,
  .cta-band .btn-row .btn {
    flex: 1 1 100%;
  }

  .hero-note {
    right: -8%;
    top: 10%;
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }

  .hero-note strong {
    font-size: 0.88rem;
  }

  .hero-round {
    left: -8%;
  }

  .filters {
    justify-content: flex-start;
  }

  .filter-status {
    text-align: left;
  }

  .price-table th,
  .price-table td {
    padding: 0.8rem 0.9rem;
  }
}

/* Omezení pohybu */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .card:hover,
  .product:hover,
  .plan:hover,
  .review:hover,
  .chip:hover,
  .product:hover .product-media img,
  .gallery figure:hover img,
  .photo:hover img,
  .card:hover .icon-badge,
  .logo:hover svg {
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
