:root {
  color-scheme: dark;
  --night: #171b20;
  --panel: #222930;
  --light: #fffcf3;
  --ink: #292d30;
  --muted: #a7b0b4;
  --acid: #d6f36a;
  --rule: #414950;
  --eyebrow: #d6f36a;
  --light-rule: #d8d6ce;
  --radius: 4px;
  --content: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  background: var(--night);
  color: #f0f0e9;
  font:
    400 1rem/1.65 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
}

.shell {
  width: min(var(--content), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.15rem;
}

.brand {
  color: #f0f0e9;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.header-contact a {
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  color: var(--ink);
}

.header-contact .header-phone:hover {
  color: var(--acid);
}

.header-whatsapp {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.header-whatsapp:hover {
  border-color: var(--acid);
}

/* ===== HERO (desktop) ===== */
.hero-cover {
  overflow: hidden;
  background-color: var(--night);
  background-image:
    linear-gradient(
      90deg,
      rgba(23, 27, 32, 1) 0%,
      rgba(23, 27, 32, 0.92) 30%,
      rgba(23, 27, 32, 0.55) 48%,
      rgba(23, 27, 32, 0.12) 66%,
      rgba(23, 27, 32, 0) 80%
    ),
    url("/fotky/honza/1.webp");
  background-repeat: no-repeat;
  background-position:
    center,
    right center;
  /* background-size: cover, auto 100%; */
}

.hero {
  display: flex;
  min-height: 85dvh;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0 5rem;
}

.eyebrow {
  margin: 0;
  color: var(--acid);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  -webkit-text-stroke: 0.7px var(--ink);
}

.hero .eyebrow {
  font-size: 0.82rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

h1 {
  max-width: 650px;
  margin: 0.8rem 0 1rem;
  font-size: clamp(3rem, 6.2vw, 5.5rem);
}

h1 span {
  color: var(--acid);
}

.section-title span {
  color: var(--acid);
  padding-left: 0.25em;
  -webkit-text-stroke: 2px var(--ink);
}

.hero-bottom {
  max-width: 550px;
  margin-top: 1.5rem;
}

.hero-copy {
  max-width: 500px;
  margin: 0;
  color: #c5cbcb;
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
}

.hero .hero-actions {
  justify-content: flex-start;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 0.7rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--acid);
  color: var(--night);
}

.button-primary:hover {
  background: #e5ff91;
}

.button-secondary {
  border-color: #616970;
  background: transparent;
  color: #f0f0e9;
}

.button-secondary:hover {
  border-color: var(--acid);
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.8rem;
}

.trust-points span {
  padding: 0.38rem 0.72rem;
  border: 1px solid var(--rule);
  border-radius: 99px;
  color: #d2d8d3;
  font-size: 0.82rem;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-dark {
  background: var(--night);
  color: #f0f0e9;
}

.section-light {
  background: var(--light);
  color: var(--ink);
}

.full-bleed {
  width: 100%;
}

.section-inner {
  width: min(var(--content), calc(100% - 2.5rem));
  margin-inline: auto;
}

.section-head {
  display: grid;
  gap: 0.85rem;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

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

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

.section-title {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.section-head p {
  max-width: 610px;
  margin: 0 auto;
  color: #626a6b;
  font-size: 1.02rem;
  text-align: center;
}

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

.services-table-wrap {
  overflow: hidden;
  border: 1px solid var(--light-rule);
}

.services-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.services-table .price {
  color: #526322;
  font-weight: 800;
  -webkit-text-stroke: 0.7px var(--ink);
}

.services-table th,
.services-table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--light-rule);
}

.services-table th {
  background: var(--night);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-table th:last-child,
.services-table td:last-child {
  width: 1%;
  text-align: right;
  white-space: nowrap;
}

.services-table td:last-child {
  color: var(--acid);
  font-weight: 800;
}

.services-table tbody tr:last-child td {
  border-bottom: 0;
}

.services-table tbody tr:hover {
  background: #eeede6;
}

.service-note {
  max-width: 760px;
  margin: 1.15rem auto 0;
  color: #626a6b;
  font-size: 0.88rem;
  text-align: center;
}

.service-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.4rem;
  border: 1px solid var(--light-rule);
}

.service-cta p {
  margin: 0;
}

.service-cta strong {
  display: block;
  margin-bottom: 0.2rem;
}

.service-cta .button {
  flex-shrink: 0;
}

.button-dark {
  background: var(--night);
  color: #fff;
}

.button-dark:hover {
  background: #303840;
}

.gallery-section {
  overflow: hidden;
}

.gallery {
  width: 100vw;
  margin-left: calc((100% - 100vw) / 2);
  overflow-x: auto;
  padding: 0.25rem 0 1rem;
  scrollbar-width: none;
  cursor: grab;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  padding-inline: 1rem;
}

.gallery-track figure {
  flex: 0 0 auto;
  margin: 0;
}

.gallery-track img {
  display: block;
  width: clamp(260px, 34vw, 420px);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--rule);
  background: var(--panel);
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--light-rule);
  border-left: 1px solid var(--light-rule);
}

.process-step {
  padding: 1.5rem;
  border-right: 1px solid var(--light-rule);
  border-bottom: 1px solid var(--light-rule);
}

.step-number {
  display: inline-block;
  margin-bottom: 1.4rem;
  color: var(--eyebrow);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.process-step h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

.process-step p {
  margin: 0;
  color: #626a6b;
  font-size: 0.94rem;
}

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

.review-card {
  padding: 1.5rem;
  border: 1px solid var(--light-rule);
  background: #fffefa;
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-source {
  color: #626a6b;
  font-size: 0.83rem;
  font-weight: 750;
}

.review-stars {
  color: #8a6a00;
  letter-spacing: 0.08em;
}

.review-card blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.review-byline {
  margin-top: 1.25rem;
  color: #626a6b;
  font-size: 0.84rem;
  font-weight: 700;
}

.reviews-empty {
  grid-column: 1 / -1;
  padding: 1.5rem;
  border: 1px dashed var(--light-rule);
  color: #626a6b;
  text-align: center;
}

.reviews-link {
  margin-top: 1.4rem;
  text-align: center;
}

.reviews-link a {
  color: var(--ink);
  font-weight: 800;
}

.reviews-link.dark a {
  color: var(--acid);
}

.reviews-link a:hover span {
  padding-left: 0.25em;
  transition: padding-left 0.3s ease;
}

.about-panel {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  background: var(--panel);
  color: #f0f0e9;
}

.about-panel h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.about-panel p {
  max-width: 650px;
  margin: 0;
  color: #d1d6d4;
  font-size: 1.05rem;
}

.final-cta {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: var(--acid);
  color: var(--night);
}

.final-cta-inner {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.final-cta .eyebrow {
  color: #45531e;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.5rem);
}

.final-cta h2 span {
  -webkit-text-stroke: 1px var(--ink);
  padding-left: 0.25em;
}

.final-cta p {
  max-width: 570px;
  margin: 0 auto;
  color: #353c25;
}

.final-cta .button-primary {
  background: var(--night);
  color: #fff;
}

.final-cta .button-primary:hover {
  background: #303840;
}

.final-cta .button-secondary {
  border-color: #68743d;
  color: var(--night);
}

.final-cta .button-secondary:hover {
  border-color: var(--night);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.7rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-underline-offset: 3px;
}

.mobile-contact {
  display: none;
}

@media (min-width: 760px) {
  .about-panel {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .final-cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 759px) {
  .shell,
  .section-inner {
    width: min(var(--content), calc(100% - 2rem));
  }

  .header-contact {
    gap: 0.7rem;
  }

  .header-whatsapp {
    display: none;
  }

  .trust-points {
    display: none;
  }

  /* ===== HERO (mobile) ===== */
  .hero-cover {
    position: relative;
    background-image: none;
  }

  .hero-cover::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 20rem;
    background-image:
      linear-gradient(180deg, var(--night) 0%, rgba(23, 27, 32, 0) 45%),
      url("/fotky/honza/1.webp");
    background-repeat: no-repeat;
    background-size:
      100% 100%,
      cover;
    background-position:
      center,
      center 20%;
    pointer-events: none;
  }

  .hero-cover .shell {
    position: relative;
    z-index: 1;
  }

  .hero {
    min-height: 0;
    justify-content: flex-start;
    padding-top: 3.5rem;
    padding-bottom: 15rem;
  }

  h1 {
    max-width: 520px;
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .hero-bottom {
    max-width: 500px;
  }

  .hero .hero-actions {
    display: none;
  }

  .button {
    width: 100%;
  }

  .header-contact a {
    color: var(--light);
  }

  .services-table th,
  .services-table td {
    padding: 0.75rem 0.65rem;
  }

  .services-table td:first-child {
    font-size: 0.92rem;
  }

  .gallery-track img {
    width: clamp(250px, 78vw, 350px);
  }

  .process-grid,
  .reviews-wrap {
    grid-template-columns: 1fr;
  }

  .process-step {
    padding: 1.2rem;
  }

  .step-number {
    margin-bottom: 0.6rem;
  }

  .service-cta {
    align-items: stretch;
  }

  .service-cta .button {
    width: 100%;
  }

  .site-footer {
    padding-bottom: 6rem;
    justify-content: center;
    text-align: center;
  }

  .mobile-contact {
    position: fixed;
    z-index: 10;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--rule);
    background: rgba(23, 27, 32, 0.97);
    backdrop-filter: blur(12px);
  }

  .mobile-contact .button {
    min-height: 44px;
    padding: 0.65rem 0.7rem;
    font-size: 0.86rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
