/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --ink: #292522;
  --muted: #6f665f;
  --paper: #fff;
  --warm: #f7f4f0;
  --accent: #c9874e;
  --line: #e6ddd4;
  --max: 1120px;
}

/* ============================================================
   Základy
   ============================================================ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

/* ============================================================
   Hlavička / logo
   ============================================================ */
.site-header {
  background: #fff;
  padding: 32px 56px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: #000;
}

.logo img {
  width: 60px;
}

.logo span {
  font-size: 2.7rem;
  line-height: 1.2;
  white-space: nowrap;
  font-weight: 500;
}

/* ============================================================
   Úvodní text
   ============================================================ */
.intro {
  padding: clamp(72px, 10vw, 50px) 24px;
  background: var(--warm);
  text-align: center;
}

.intro p {
  margin: 0 auto;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.45;
  letter-spacing: 0.01em;
}

/* ============================================================
   Biorezonance
   ============================================================ */
.about,
.offer {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
  padding: 96px 0;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.66fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.about h1,
.offer h2,
.contact h2 {
  margin: 0 0 28px;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.1;
  font-weight: 500;
}

.about p {
  margin: 0 0 14px;
}

.about__photos {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about__photos img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 541px;
  object-fit: contain;
  margin: auto;
}

.about__photos img:last-child {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: photoSwap 10s ease-in-out infinite;
}

@keyframes photoSwap {
  0%,
  45% {
    opacity: 0;
  }
  50%,
  95% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* ============================================================
   Ceník
   ============================================================ */
.offer h2 {
  text-align: center;
}

.offer table {
  width: 100%;
  border-collapse: collapse;
}

.offer th,
.offer td {
  padding: 26px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.offer th {
  width: 28%;
  font-weight: 700;
}

.offer td:nth-child(2) {
  width: 55%;
  color: var(--muted);
}

.offer td:nth-child(3) {
  width: 17%;
  white-space: nowrap;
  text-align: right;
}

.price {
  #color: var(--accent);
  font-weight: 700;
}

/* ============================================================
   Kontakt + mapa
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 430px;
  background: var(--warm);
}

.contact__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px max(7vw, 32px);
}

.contact h2 {
  margin-bottom: 32px;
}

.contact p {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.contact a {
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

.contact__map {
  display: block;
  width: calc(100% - 32px);
  height: 100%;
  min-height: 430px;
  margin-right: 32px;
  border: 0;
}

/* ============================================================
   Patička
   ============================================================ */
footer {
  background: var(--ink);
  color: #fff;
  padding: 28px 24px;
  text-align: center;
  font-size: 0.95rem;
}

/* ============================================================
   Mobil (do 767px)
   ============================================================ */
@media (max-width: 767px) {
  .site-header {
    padding: 24px 20px 18px;
  }

  .logo {
    gap: 12px;
  }

  .logo span {
    font-size: 1.65rem;
  }

  .about,
  .offer {
    width: calc(100% - 40px);
    padding: 64px 0;
  }

  .about,
  .contact {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__photos img {
    max-height: 320px;
  }

  .offer th,
  .offer td {
    display: block;
    width: 100% !important;
    padding: 12px 0;
    border: 0;
  }

  .contact__info {
    padding: 64px 32px;
  }

  .contact__map {
    width: calc(100% - 24px);
    min-height: 320px;
    height: 320px;
    margin-right: 24px;
  }

  footer {
    padding: 24px;
  }
}
