/* O nás */

.video-frame {
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 12px 26px 12px 12px;
  background: #1b3718;
  box-shadow: var(--shadow);
}
.video-poster,
.video-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-poster:focus-visible {
  outline-offset: -5px;
  outline-color: #fff;
}
.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-poster::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(0deg, #11220fcb, transparent);
}
.video-poster span {
  position: absolute;
  z-index: 1;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 9px 13px;
  border-radius: 2rem;
  background: #f3f9ed;
  color: #22511b;
  font-size: .93rem;
  font-weight: 700;
  white-space: nowrap;
}
.video-fallback {
  display: block;
  margin-top: 8px;
  color: #26551c;
  text-align: center;
  text-underline-offset: 3px;
}
.video-fallback[hidden] {
  display: none;
}
.about-story,
.about-work {
  display: flow-root;
}
.about-story {
  padding-block: clamp(20px, 3.1vw, 43px) clamp(21px, 3vw, 40px);
}
.about-intro h1,
.about-title {
  color: #24472b;
  font-family: Nunito, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -.035em;
}
.about-intro h1 {
  margin: 0 0 13px;
  font-size: clamp(2.85rem, 5vw, 4.9rem);
  line-height: .98;
}
.about-title {
  margin: 0 0 7px;
  font-size: clamp(1.5rem, 2.45vw, 2.2rem);
  line-height: 1.15;
  text-wrap: balance;
}
.about-story p,
.about-work p {
  max-width: 100ch;
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.58;
  color: #344337;
}
.about-work p { max-width: none; }
.about-story p + p,
.about-work p + p {
  margin-top: 10px;
}
.about-process,
.about-aftercare {
  margin-top: clamp(18px, 2vw, 29px);
}
.about-team {
  float: right;
  display: block;
  width: 49%;
  height: auto;
  margin: -32px 0 12px clamp(20px, 3vw, 42px);
  border-radius: 80px 16px 42px 16px;
  shape-outside: margin-box;
  box-shadow: 0 12px 28px #203b251b;
}
.about-work {
  padding: clamp(20px, 2.8vw, 39px);
  border: 1px solid var(--line);
  border-radius: 18px 56px 20px 56px;
  background: var(--surface);
}
.about-collage {
  float: left;
  display: grid;
  width: 47%;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  margin: 2px clamp(19px, 3vw, 39px) 14px 0;
}
.equipment-gallery {
  display: grid;
  align-content: center;
  gap: 9px;
  min-width: 0;
}
.equipment-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 27px 10px 10px 10px;
}
.equipment-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 10px 10px 10px 22px;
  background: transparent;
  cursor: zoom-in;
}
.equipment-zoom .equipment-photo {
  border-radius: inherit;
}
.about-quote {
  display: inline-flex;
  align-items: center;
  min-height: 43px;
  margin-top: 13px;
  padding: 8px 17px;
  border: 1px solid #9db28c;
  border-radius: 3rem;
  color: #26551c;
  background: #f8faf3;
  font-weight: 700;
  text-decoration: none;
}
.about-quote:hover {
  background: #e3efd4;
}
.about-video {
  min-width: 0;
  margin: 0;
}
.page-about .offer { padding-top: clamp(17px, 2.2vw, 29px); }
@media (max-width: 760px) {
  .about-team,
  .about-collage {
    float: none;
    width: 100%;
    max-width: 540px;
    margin: 0 auto 15px;
  }

  .about-team { border-radius: 42px 12px 24px 12px; }
  .about-collage { max-width: 440px; }
  .about-work { border-radius: 15px 33px 15px 33px; }
}
@media (max-width: 420px) {
  .about-work { padding-inline: 13px; }
  .about-collage { gap: 7px; }
  .video-poster span { padding-inline: 7px; font-size: .78rem; }
}
.equipment-dialog { box-sizing: border-box; max-width: min(960px, 94vw); max-height: 92vh; padding: 8px; border: 0; border-radius: 18px; background: white; }
.equipment-dialog::backdrop { background: #162619cc; }
.equipment-dialog form { display: flex; justify-content: flex-end; margin-bottom: 6px; }
.equipment-dialog button { padding: 8px 14px; border: 0; border-radius: 999px; background: #edf5df; color: #204517; font: inherit; cursor: pointer; }
.equipment-dialog img { display: block; width: auto; max-width: 100%; height: auto; max-height: 78vh; margin: auto; border-radius: 10px; }
.about-story .about-services {
  display: flow-root;
  padding: 10px 14px;
  border-inline-start: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--surface);
  color: #24472b;
}
.about-services strong { font-weight: 800; }
.about-learning { display: flex; align-items: center; gap: 15px; margin-top: 14px; }
.about-learning p { margin: 0; flex: 1; font-size: .98rem; }
.certificate-open { flex: 0 0 138px; max-width: 40%; padding: 4px; border: 1px solid #d7e2cf; background: white; border-radius: 5px; cursor: zoom-in; }
.certificate-open img { display: block; width: 100%; height: auto; }
.certificate-dialog { box-sizing: border-box; max-width: min(1100px,94vw); max-height: 93vh; padding: 10px; border: 0; border-radius: 14px; background: white; }
.certificate-dialog::backdrop { background: #15271dce; }
.certificate-dialog form { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.certificate-dialog button { padding: 8px 16px; border: 0; border-radius: 999px; color: #24472b; background: var(--surface); font: inherit; cursor: pointer; }
.certificate-dialog img:not([hidden]) { display: block; width: auto; max-width: 100%; max-height: 78vh; margin: auto; border-radius: 6px; }
