/* ---------- Design tokens ---------- */
:root {
  --ink: #0C0D0D;
  --cream: #F4F2EC;
  --lime: #CBEB4A;
  --lime-dim: #b6d43f;
  --stone: #6B6D63;

  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Manrope", sans-serif;

  --container-w: 1160px;
  --gap: 1.5rem;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

#prace, #cenik, #proces, #kontakt {
  scroll-margin-top: 4.5rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--lime);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 200;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Fade-in on scroll ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.75rem;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn--primary {
  background: var(--lime);
  color: var(--ink);
}
.btn--primary:hover { background: var(--lime-dim); }

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn--block { display: block; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: var(--ink);
  border-bottom-color: rgba(244, 242, 236, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--cream);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.nav-link:hover { opacity: 1; color: var(--lime); }

.nav-link--cta {
  color: var(--lime);
  opacity: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.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); }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--cream);
}

.hero-inner {
  position: relative;
  z-index: 0;
}

.hero-media {
  position: relative;
  width: calc(100% - 2.5rem);
  margin: 0 auto 1.75rem;
  border-radius: 8px;
  overflow: hidden;
}

.hero-photo-wide {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  object-position: left center;
  image-orientation: none;
}

.hero-scrim {
  display: none;
}

.hero-top-scrim {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(12, 13, 13, 0.85), rgba(12, 13, 13, 0));
  z-index: 1;
  pointer-events: none;
}

.hero-content-top,
.hero-content-bottom {
  max-width: 720px;
}

.hero-content-top {
  padding-top: calc(73px + 1.5rem);
}

.hero-content-bottom {
  padding-bottom: 4rem;
}

.eyebrow {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.75rem, 9vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 1.75rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(244, 242, 236, 0.8);
  max-width: 34rem;
  margin-bottom: 2.25rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero .btn--outline { border-color: var(--cream); }
.hero .btn--outline:hover { background: var(--cream); color: var(--ink); }

/* ---------- About ---------- */
.about {
  background: var(--cream);
  color: var(--ink);
  padding: 5.5rem 0;
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-content {
  max-width: 42rem;
}

.about-media {
  display: flex;
  justify-content: center;
}

.about-photo {
  width: 100%;
  height: auto;
  max-width: 320px;
  aspect-ratio: 1015 / 1536;
  object-fit: cover;
  border-radius: 8px;
  image-orientation: none;
}

.about-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 2rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
}

.about-closing {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(12, 13, 13, 0.12);
  font-style: italic;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink);
}

/* ---------- Manifest ---------- */
.manifest {
  background: var(--cream);
  padding: 5rem 0;
  border-bottom: 1px solid rgba(12, 13, 13, 0.08);
}

.manifest-inner {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.manifest-text {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 2rem;
}

/* ---------- Claim banner ---------- */
.claim-banner {
  background: var(--ink);
  padding: 5.5rem 1.25rem;
  text-align: center;
}

.claim-banner-text {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--lime);
  font-size: clamp(1.25rem, 4.5vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  white-space: nowrap;
  margin: 0 auto;
}

/* ---------- Section title ---------- */
.section-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: 0.02em;
  margin-bottom: 2.5rem;
}

/* ---------- Projects ---------- */
.projects {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 0;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.projects .section-title {
  text-align: center;
}

.projects h3.section-title {
  color: var(--lime);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-top: 6rem;
}

/* ---------- Project carousel ---------- */
.project-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.project-carousel-viewport {
  overflow: hidden;
  flex: 1;
}

.project-track {
  display: flex;
  transition: transform 0.4s ease;
}

.project-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 0.25rem;
}

@media (min-width: 1024px) {
  .project-slide {
    flex-basis: 50%;
  }
}

.carousel-arrow {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(244, 242, 236, 0.3);
  background: transparent;
  color: var(--cream);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.carousel-arrow:hover {
  background: rgba(244, 242, 236, 0.12);
  border-color: rgba(244, 242, 236, 0.5);
}

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2.25rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(244, 242, 236, 0.4);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--cream);
  border-color: var(--cream);
}

.project-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(244, 242, 236, 0.15);
  background-color: #14150f;
  cursor: pointer;
}

.project-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-orientation: none;
}

.project-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 13, 13, 0.25);
  transition: background-color 0.25s ease;
}
.project-thumb:hover .project-thumb-play { background: rgba(12, 13, 13, 0.4); }

.project-thumb-play img {
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s ease;
}
.project-thumb:hover .project-thumb-play img { transform: scale(1.1); }

.project-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--ink);
  color: var(--cream);
  padding: 3.5rem 0;
}

.testimonials .section-title {
  text-align: center;
  color: var(--cream);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.75rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.testimonial-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.testimonial-photo {
  flex: none;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink);
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.28);
}

.testimonial-photo--pavel img {
  transform: scale(1.1);
  object-position: center 20%;
}

.testimonial-body {
  flex: 1;
  min-width: 0;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(244, 242, 236, 0.85);
  margin-bottom: 0.85rem;
}

.testimonial-stars {
  color: var(--lime);
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.testimonial-author {
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.testimonial-role {
  font-family: var(--font-body);
  text-transform: none;
  color: var(--stone);
  font-size: 0.85rem;
  letter-spacing: normal;
}

.testimonial-role a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

/* ---------- Pricing ---------- */
.pricing {
  background: var(--cream);
  padding: 5rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1px solid rgba(12, 13, 13, 0.1);
  border-radius: 6px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.price-card--highlight {
  border: 2px solid var(--lime);
  position: relative;
}

.price-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--lime);
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  width: fit-content;
}

.price-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.price-desc {
  color: var(--stone);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--stone);
  text-align: center;
}

/* ---------- Process ---------- */
.process {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 0;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.process-step {
  border-top: 1px solid rgba(244, 242, 236, 0.15);
  padding-top: 1.5rem;
}

.process-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--lime);
  display: block;
  margin-bottom: 0.5rem;
}

.process-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.process-desc {
  color: rgba(244, 242, 236, 0.75);
  font-size: 0.95rem;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--cream);
  padding: 5rem 0;
}

.contact-inner {
  max-width: 40rem;
  margin: 0 auto;
}

.contact .section-title { text-align: center; }

.booking-embed {
  margin-bottom: 2.5rem;
}

.booking-embed-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 1.25rem;
}

.booking-embed iframe {
  width: 100%;
  border-radius: 6px;
  background: #fff;
}

.contact-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  color: var(--stone);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-divider::before,
.contact-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(12, 13, 13, 0.12);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-form[hidden] {
  display: none;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row label {
  font-weight: 700;
  font-size: 0.9rem;
}

.optional {
  font-weight: 500;
  color: var(--stone);
  font-size: 0.8rem;
  text-transform: none;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(12, 13, 13, 0.2);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(203, 235, 74, 0.35);
}

.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea {
  border-color: #c0392b;
}

.form-error {
  font-size: 0.8rem;
  color: #c0392b;
  min-height: 1em;
}

.form-success {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2e6b1f;
  text-align: center;
  min-height: 1.2em;
}

.form-success--error {
  color: #c0392b;
}

.form-success-panel {
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px solid rgba(12, 13, 13, 0.12);
  border-radius: 6px;
}

.form-success-panel-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3.5rem 0;
}

.footer-inner {
  text-align: center;
}

.wordmark--footer {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.footer-bio {
  color: rgba(244, 242, 236, 0.75);
  font-size: 0.9rem;
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-social a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream);
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { opacity: 1; color: var(--lime); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--stone);
}

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .hero-ctas { gap: 1.25rem; }

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

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

@media (min-width: 1024px) {
  .primary-nav {
    position: static;
    flex-direction: row;
    height: auto;
    background: none;
    padding: 0;
  }

  .nav-toggle { display: none; }

  .about-grid {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .about-content {
    flex: 1 1 auto;
    max-width: 560px;
  }

  .about-media {
    flex: 0 0 auto;
  }

  .about-photo {
    max-width: 380px;
  }

  .hero-inner {
    aspect-ratio: 3 / 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    z-index: -1;
  }

  .hero-photo-wide {
    width: 100%;
    height: 100%;
  }

  .hero-scrim {
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 13, 13, 0.94) 0%, rgba(12, 13, 13, 0.82) 28%, rgba(12, 13, 13, 0.35) 55%, rgba(12, 13, 13, 0) 75%);
  }

  .hero-top-scrim {
    display: block;
  }

  .hero-content-top,
  .hero-content-bottom {
    max-width: 540px;
  }

  .hero-content-top {
    padding-top: 0;
  }

  .hero-content-bottom {
    padding-bottom: 0;
  }

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

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

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

  .process-step {
    padding-top: 2rem;
  }
}

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

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid rgba(244, 242, 236, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .primary-nav.is-open {
    max-height: 20rem;
  }

  .primary-nav .nav-link {
    width: 100%;
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(244, 242, 236, 0.06);
  }
}

.privacy-notice {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(12, 13, 13, 0.94);
}

.privacy-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-link:hover,
.privacy-link:focus-visible {
  color: rgba(12, 13, 13, 0.94);
}