/* Kadeřnictví Nella, ukázkový web. Společné styly pro všechny stránky. */

:root {
  --cream: #fbf5ec;
  --cream-2: #f3e9db;
  --sand: #e6d6c0;
  --brown: #2c1d16;
  --brown-2: #4a352b;
  --text: #3b2a22;
  --muted: #6b574b;
  --salmon: #e98a70;
  --salmon-dark: #ad4a32;
  --salmon-soft: #f9ddd2;
  --white: #ffffff;
  --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;
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(44, 29, 22, 0.45);
  --shadow-soft: 0 8px 24px -16px rgba(44, 29, 22, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

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

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

img {
  height: auto;
}

a {
  color: var(--salmon-dark);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brown);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--brown);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.3rem, 1.3rem + 4.6vw, 4.5rem);
}

h2 {
  font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem);
}

h3 {
  font-size: 1.35rem;
  line-height: 1.25;
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--salmon-dark);
}

p {
  margin: 0 0 1em;
}

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

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

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--brown);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 8px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
  color: var(--cream);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--salmon-dark);
  margin-bottom: 1.1rem;
}

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

.lead {
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 38em;
}

/* Tlačítka */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  font: 600 1rem/1 var(--sans);
  padding: 16px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.btn .icon {
  transition: transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn:hover .icon {
  transform: translateX(4px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--brown);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--salmon-dark);
  color: var(--white);
}

.btn-accent {
  background: var(--salmon);
  color: var(--brown);
}

.btn-accent:hover {
  background: var(--cream);
  color: var(--brown);
}

.btn-ghost {
  border-color: rgba(44, 29, 22, 0.35);
  color: var(--brown);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--brown);
  background: var(--brown);
  color: var(--cream);
}

.btn-small {
  padding: 12px 20px;
  font-size: 0.94rem;
}

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

.text-link .icon {
  transition: transform 0.25s var(--ease);
}

.text-link:hover .icon {
  transform: translateX(5px);
}

/* Hlavička */

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

.site-header.is-scrolled {
  border-bottom-color: rgba(44, 29, 22, 0.1);
  box-shadow: 0 10px 30px -24px rgba(44, 29, 22, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--brown);
  line-height: 1;
}

.logo-name {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-style: italic;
  letter-spacing: 0.01em;
}

.logo-name span {
  color: var(--salmon-dark);
}

.logo-sub {
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-list {
  display: flex;
  gap: 28px;
}

.nav-list a {
  position: relative;
  display: block;
  padding: 8px 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--salmon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

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

.nav-list a[aria-current="page"] {
  color: var(--brown);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid rgba(44, 29, 22, 0.25);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--brown);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 12px 20px 26px;
    background: var(--cream);
    border-bottom: 1px solid rgba(44, 29, 22, 0.12);
    box-shadow: 0 24px 40px -28px rgba(44, 29, 22, 0.7);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s 0.3s;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s, transform 0.3s var(--ease);
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list a {
    padding: 14px 2px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(44, 29, 22, 0.1);
  }

  .nav-list a::after {
    display: none;
  }

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

/* Úvodní sekce */

.hero {
  position: relative;
  padding: clamp(36px, 6vw, 84px) 0 clamp(56px, 8vw, 110px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -12vw;
  top: -18vw;
  width: 58vw;
  height: 58vw;
  max-width: 880px;
  max-height: 880px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--salmon-soft), rgba(249, 221, 210, 0) 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.hero-copy > * {
  animation: rise 0.9s var(--ease) both;
}

.hero-copy > :nth-child(2) {
  animation-delay: 0.1s;
}

.hero-copy > :nth-child(3) {
  animation-delay: 0.2s;
}

.hero-copy > :nth-child(4) {
  animation-delay: 0.3s;
}

.hero-copy > :nth-child(5) {
  animation-delay: 0.42s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(44, 29, 22, 0.14);
}

.hero-trust li {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-trust strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--brown);
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
  animation: rise 1.1s 0.15s var(--ease) both;
}

.hero-arch {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5.3;
  border-radius: 999px 999px 22px 22px;
  box-shadow: var(--shadow);
  background: var(--sand);
}

.hero-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slow-zoom 16s ease-in-out infinite alternate;
}

.hero-ring {
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(173, 74, 50, 0.45);
  border-radius: 999px 999px 34px 34px;
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  top: 6%;
  right: -4%;
  width: 112px;
  height: 112px;
  animation: spin 28s linear infinite;
}

.hero-badge text {
  font: 600 10.5px var(--sans);
  letter-spacing: 0.22em;
  fill: var(--brown);
  text-transform: uppercase;
}

.hero-card {
  position: absolute;
  left: -9%;
  bottom: 9%;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 250px;
  padding: 12px 18px 12px 12px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  line-height: 1.3;
  color: var(--muted);
  animation: bob 6s ease-in-out infinite;
}

.hero-card img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 62% 30%;
  flex: none;
}

.hero-card strong {
  display: block;
  color: var(--brown);
  font-size: 0.95rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slow-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

  .hero-visual {
    width: min(84%, 380px);
    margin-top: 10px;
  }

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

  .hero-badge {
    right: -8%;
    width: 96px;
    height: 96px;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 14px 24px;
  }
}

/* Pruh s rychlými údaji */

.facts {
  background: var(--brown);
  color: var(--cream);
}

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

.fact {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 24px;
  border-left: 1px solid rgba(251, 245, 236, 0.14);
}

.fact:first-child {
  border-left: 0;
  padding-left: 0;
}

.fact .icon {
  width: 30px;
  height: 30px;
  color: var(--salmon);
}

.fact span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 245, 236, 0.7);
}

.fact strong,
.fact a {
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--cream);
  text-decoration: none;
}

.fact a:hover {
  color: var(--salmon);
}

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

  .fact,
  .fact:first-child {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid rgba(251, 245, 236, 0.14);
  }

  .fact:first-child {
    border-top: 0;
  }
}

/* Obecné sekce */

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section-alt {
  background: var(--cream-2);
}

.section-dark {
  background: var(--brown);
  color: rgba(251, 245, 236, 0.86);
}

.section-dark h2,
.section-dark h3 {
  color: var(--cream);
}

.section-dark h2 em {
  color: var(--salmon);
}

.section-dark .eyebrow {
  color: var(--salmon);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 40px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head > div {
  max-width: 40em;
}

.section-head h2 {
  margin-bottom: 0.3em;
}

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

.section-dark .section-head p {
  color: rgba(251, 245, 236, 0.75);
}

.center {
  text-align: center;
  margin-inline: auto;
}

.section-head.center {
  justify-content: center;
}

/* Karty služeb */

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.card-media {
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--sand);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

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

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}

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

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(44, 29, 22, 0.1);
}

.price-from {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--brown);
  white-space: nowrap;
}

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

.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

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

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

  .card-media {
    aspect-ratio: 16 / 10;
  }
}

/* Dvousloupcové bloky s fotkou */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.split + .split {
  margin-top: clamp(56px, 8vw, 110px);
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-media.tall img {
  aspect-ratio: 4 / 4.6;
}

.split-media::before {
  content: "";
  position: absolute;
  inset: 22px -18px -18px 22px;
  border: 1px solid rgba(173, 74, 50, 0.45);
  border-radius: var(--radius);
}

.split-media img {
  position: relative;
}

.split.reverse .split-media {
  order: 2;
}

.split.reverse .split-media::before {
  inset: 22px 22px -18px -18px;
}

.split-note {
  position: absolute;
  right: -14px;
  bottom: 26px;
  z-index: 1;
  padding: 16px 22px;
  background: var(--salmon);
  color: var(--brown);
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.3;
  box-shadow: var(--shadow-soft);
}

.split-note strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1;
}

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

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-list .icon {
  margin-top: 0.22em;
  padding: 3px;
  border-radius: 50%;
  background: var(--salmon-soft);
  color: var(--salmon-dark);
  stroke-width: 2.2;
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

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

  .split.reverse .split-media {
    order: 0;
  }

  .split-media {
    margin-right: 18px;
  }

  .split.reverse .split-media {
    margin-right: 0;
    margin-left: 18px;
  }

  .split-note {
    right: -18px;
  }
}

/* Galerie */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 19vw, 250px);
  gap: 14px;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: var(--brown-2);
  cursor: zoom-in;
}

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

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), opacity 0.4s;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 18, 13, 0.82), rgba(30, 18, 13, 0) 55%);
  opacity: 0;
  transition: opacity 0.4s;
}

.gallery-item figcaption,
.gallery-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  z-index: 1;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.08);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after,
.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .gallery-item::after,
  .gallery-caption {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(130px, 40vw, 220px);
    gap: 10px;
  }

  .gallery-caption {
    left: 12px;
    right: 12px;
    bottom: 9px;
    font-size: 0.82rem;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 64px 16px 72px;
  background: rgba(24, 14, 10, 0.94);
}

.lightbox.is-open {
  display: flex;
  animation: fade 0.3s both;
}

.lightbox figure {
  margin: 0;
  max-width: min(1100px, 100%);
  text-align: center;
}

.lightbox img {
  max-height: calc(100vh - 170px);
  width: auto;
  margin-inline: auto;
  border-radius: 10px;
}

.lightbox figcaption {
  margin-top: 14px;
  color: var(--cream);
  font-size: 0.98rem;
}

.lightbox button {
  position: absolute;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(251, 245, 236, 0.4);
  border-radius: 50%;
  background: rgba(44, 29, 22, 0.6);
  color: var(--cream);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.lightbox button:hover {
  background: var(--salmon);
  color: var(--brown);
}

.lightbox-close {
  top: 12px;
  right: 14px;
}

.lightbox-prev {
  left: 14px;
  bottom: 14px;
}

.lightbox-next {
  right: 14px;
  bottom: 14px;
}

@media (min-width: 900px) {
  .lightbox-prev,
  .lightbox-next {
    bottom: auto;
    top: 50%;
    margin-top: -24px;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Recenze */

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

.review {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 30px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

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

.stars {
  display: flex;
  gap: 3px;
  color: var(--salmon);
  margin-bottom: 16px;
}

.stars .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

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

.review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--muted);
}

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

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--salmon-soft);
  color: var(--salmon-dark);
  font-family: var(--serif);
  font-size: 1.2rem;
}

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

/* Výzva k objednání */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--brown);
  color: var(--cream);
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(44, 29, 22, 0.94) 20%, rgba(44, 29, 22, 0.6));
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
}

.cta h2 {
  color: var(--cream);
  margin-bottom: 0.25em;
}

.cta h2 em {
  color: var(--salmon);
}

.cta p {
  margin: 0;
  max-width: 34em;
  color: rgba(251, 245, 236, 0.86);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-outline-light {
  border-color: rgba(251, 245, 236, 0.5);
  color: var(--cream);
}

.btn-outline-light:hover {
  background: var(--cream);
  color: var(--brown);
}

@media (max-width: 480px) {
  .cta-actions,
  .cta-actions .btn {
    width: 100%;
  }
}

/* Záhlaví podstránek */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0 clamp(52px, 7vw, 92px);
  background: var(--brown);
  color: var(--cream);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slow-zoom 18s ease-in-out infinite alternate;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36, 22, 16, 0.93) 0%, rgba(36, 22, 16, 0.82) 45%, rgba(36, 22, 16, 0.5) 100%);
}

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

.page-hero .container > * {
  animation: rise 0.9s var(--ease) both;
}

.page-hero .container > :nth-child(2) {
  animation-delay: 0.1s;
}

.page-hero .container > :nth-child(3) {
  animation-delay: 0.2s;
}

.page-hero h1 {
  color: var(--cream);
  font-size: clamp(2.2rem, 1.4rem + 3.6vw, 3.9rem);
  max-width: 16em;
}

.page-hero h1 em {
  color: var(--salmon);
}

.page-hero p {
  max-width: 36em;
  margin: 0;
  font-size: 1.14rem;
  color: rgba(251, 245, 236, 0.9);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.3rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251, 245, 236, 0.75);
}

.breadcrumb a {
  color: var(--salmon);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--cream);
}

/* Postup návštěvy */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid rgba(251, 245, 236, 0.18);
  border-radius: var(--radius);
  transition: background-color 0.3s, transform 0.4s var(--ease);
}

.step:hover {
  background: rgba(251, 245, 236, 0.06);
  transform: translateY(-6px);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--salmon);
  margin-bottom: 18px;
}

.step p {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(251, 245, 236, 0.78);
}

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

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

/* Ceník */

.price-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.price-card {
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 100px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

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

.price-card h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.75rem;
  margin-bottom: 0.2em;
}

.price-card h2 .icon {
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 50%;
  background: var(--salmon-soft);
  color: var(--salmon-dark);
}

.price-card > p {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 0.6em;
}

.price-list li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(44, 29, 22, 0.1);
}

.price-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-row .name {
  font-weight: 600;
  color: var(--brown);
}

.price-row .dots {
  flex: 1;
  min-width: 14px;
  border-bottom: 1px dotted rgba(44, 29, 22, 0.4);
  transform: translateY(-4px);
}

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

.price-list small {
  display: block;
  margin-top: 2px;
  font-size: 0.88rem;
  color: var(--muted);
}

.note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 22px 26px;
  border-left: 3px solid var(--salmon);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--cream-2);
}

.note .icon {
  width: 26px;
  height: 26px;
  margin-top: 2px;
  color: var(--salmon-dark);
}

.note p {
  margin: 0;
}

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

/* Časté dotazy */

.faq {
  max-width: 820px;
  margin-inline: auto;
}

.faq details {
  border-bottom: 1px solid rgba(44, 29, 22, 0.16);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  font-family: var(--serif);
  font-size: 1.22rem;
  color: var(--brown);
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--salmon-soft);
  color: var(--salmon-dark);
  font: 400 1.4rem/1 var(--sans);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--salmon);
  color: var(--brown);
}

.faq details p {
  padding: 0 52px 22px 4px;
  margin: 0;
  color: var(--muted);
}

/* O nás */

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

.stat strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem);
  line-height: 1;
  color: var(--salmon);
}

.stat span {
  display: block;
  margin-top: 10px;
  font-size: 0.95rem;
  color: rgba(251, 245, 236, 0.82);
}

@media (max-width: 720px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 16px;
  }
}

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

.member {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.member-photo {
  overflow: hidden;
  aspect-ratio: 4 / 4.2;
  background: var(--sand);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.member:hover .member-photo img {
  transform: scale(1.06);
}

.member-body {
  padding: 24px 24px 28px;
}

.member-body h3 {
  margin-bottom: 0.15em;
  font-size: 1.5rem;
}

.member-role {
  display: block;
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--salmon-dark);
}

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

@media (max-width: 900px) {
  .team {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .member-photo {
    aspect-ratio: 4 / 3.4;
  }
}

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

.value {
  padding: 30px 26px;
  border: 1px solid rgba(44, 29, 22, 0.12);
  border-radius: var(--radius);
  background: var(--cream);
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}

.value:hover {
  transform: translateY(-6px);
  border-color: var(--salmon);
  box-shadow: var(--shadow-soft);
}

.value .icon {
  width: 50px;
  height: 50px;
  padding: 12px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--salmon-soft);
  color: var(--salmon-dark);
}

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

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

/* Kontakt */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 4px;
  margin: 1.6rem 0 2rem;
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(44, 29, 22, 0.1);
}

.contact-list .icon {
  width: 46px;
  height: 46px;
  padding: 12px;
  border-radius: 50%;
  background: var(--salmon-soft);
  color: var(--salmon-dark);
}

.contact-list span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list strong,
.contact-list a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  color: var(--salmon-dark);
}

.hours {
  margin: 0;
  display: grid;
  gap: 0;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border-radius: 10px;
}

.hours dt {
  font-weight: 500;
}

.hours dd {
  margin: 0;
  white-space: nowrap;
  color: var(--muted);
}

.hours .is-today {
  background: var(--salmon-soft);
}

.hours .is-today dt,
.hours .is-today dd {
  color: var(--brown);
  font-weight: 600;
}

.hours .is-today dt::after {
  content: " (dnes)";
  font-weight: 400;
  font-size: 0.88em;
}

.panel {
  padding: clamp(24px, 3.6vw, 44px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  scroll-margin-top: 100px;
}

.panel h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin-top: 1.4rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

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

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid rgba(44, 29, 22, 0.18);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--salmon-dark);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(233, 138, 112, 0.25);
}

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.form-foot small {
  color: var(--muted);
  font-size: 0.86rem;
  flex: 1 1 200px;
}

.form-status {
  grid-column: 1 / -1;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--salmon-soft);
  color: var(--brown);
  font-weight: 600;
}

.form-status.is-visible {
  display: flex;
  animation: rise 0.5s var(--ease) both;
}

.form-status .icon {
  color: var(--salmon-dark);
}

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

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

  .form-foot .btn {
    width: 100%;
  }
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.info-card {
  padding: clamp(24px, 3.4vw, 38px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.map {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #efe3d2;
  box-shadow: var(--shadow-soft);
}

.map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--white);
  font-size: 0.9rem;
  line-height: 1.35;
  box-shadow: var(--shadow-soft);
}

.map-label strong {
  display: block;
  color: var(--brown);
}

.map-pin {
  transform-origin: 300px 172px;
  animation: bob 4s ease-in-out infinite;
}

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

/* Patička */

.site-footer {
  padding: clamp(52px, 7vw, 84px) 0 0;
  background: #24160f;
  color: rgba(251, 245, 236, 0.78);
  font-size: 0.96rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: 36px 40px;
}

.site-footer .logo {
  color: var(--cream);
  margin-bottom: 18px;
}

.site-footer .logo-name span {
  color: var(--salmon);
}

.site-footer .logo-sub {
  color: rgba(251, 245, 236, 0.6);
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--salmon);
  margin-bottom: 16px;
}

.site-footer a {
  color: rgba(251, 245, 236, 0.88);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--salmon);
}

.footer-list {
  display: grid;
  gap: 9px;
}

.footer-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-list .icon {
  margin-top: 0.2em;
  color: var(--salmon);
}

.footer-hours {
  margin: 0;
  display: grid;
  gap: 7px;
}

.footer-hours div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.footer-hours dd {
  margin: 0;
  white-space: nowrap;
  color: var(--cream);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(36px, 5vw, 60px);
  padding: 22px 0 64px;
  border-top: 1px solid rgba(251, 245, 236, 0.12);
  font-size: 0.86rem;
  color: rgba(251, 245, 236, 0.62);
}

.footer-bottom p {
  margin: 0;
}

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

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

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

.demo-badge {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 90;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(36, 22, 16, 0.86);
  border: 1px solid rgba(251, 245, 236, 0.22);
  color: rgba(251, 245, 236, 0.92);
  font: 500 0.7rem/1.3 var(--sans);
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.85;
  transition: opacity 0.2s, background-color 0.2s;
}

.demo-badge:hover,
.demo-badge:focus-visible {
  opacity: 1;
  color: var(--white);
  background: var(--salmon-dark);
}

/* Objevování při rolování (jen se zapnutým JavaScriptem) */

.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-arch img,
  .page-hero-bg,
  .hero-badge,
  .hero-card,
  .map-pin {
    animation: none !important;
  }
}
