/* zelvado.world — головна сторінка */

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

:root {
  --zl-olive: #3f5a36;
  --zl-olive-dark: #2c4026;
  --zl-sand: #cfa15b;
  --zl-sand-pale: #f1e2c6;
  --zl-ink: #26301f;
  --zl-muted: #6b7461;
  --zl-border: #e4dfcf;
  --zl-bg: #f7f5ee;
  --zl-card: #fffdf8;
  --zl-type: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --zl-ui: "Gill Sans", "Gill Sans MT", Calibri, Arial, sans-serif;
}

body {
  background: var(--zl-bg);
  color: var(--zl-ink);
  font-family: var(--zl-ui);
  line-height: 1.5;
}

/* шапка */
.zl-mast {
  padding: 20px 20px 16px;
  text-align: center;
  border-bottom: 4px double var(--zl-border);
}

.zl-mast-link {
  display: inline-block;
  font-family: var(--zl-type);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--zl-olive);
}

.zl-mast-link:hover {
  color: var(--zl-sand);
}

/* заголовок */
.zl-intro {
  max-width: 920px;
  margin: 0 auto;
  padding: 50px 20px 32px;
  text-align: center;
}

.zl-intro-heading {
  font-family: var(--zl-type);
  font-size: clamp(27px, 4.4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--zl-olive-dark);
}

.zl-intro-accent {
  font-style: italic;
  color: var(--zl-sand);
}

/* відео */
.zl-player {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

#zl-frame {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
  background: #000;
  border-radius: 20px;
  box-shadow: 0 20px 44px rgba(44, 64, 38, 0.2);
}

.zl-player-video {
  display: block;
  width: 100%;
  height: auto;
}

#zl-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 24px 8px 8px;
  cursor: pointer;
  background: var(--zl-sand-pale);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.2s ease;
}

#zl-play:hover {
  transform: translate(-50%, -50%) scale(1.03);
}

.zl-play-circle {
  flex: none;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--zl-olive);
}

.zl-play-svg {
  width: 18px;
  height: 18px;
  margin-left: 3px;
  fill: var(--zl-sand-pale);
}

.zl-play-words {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.zl-play-main {
  font-size: 16px;
  font-weight: 700;
  color: var(--zl-olive-dark);
  white-space: nowrap;
}

.zl-play-small {
  font-size: 12px;
  color: var(--zl-muted);
  white-space: nowrap;
}

.zl-play-off {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#zl-fs {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(241, 226, 198, 0.4);
  border-radius: 10px;
  background: rgba(44, 64, 38, 0.65);
}

#zl-fs:hover {
  background: rgba(44, 64, 38, 0.9);
}

#zl-fs svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--zl-sand-pale);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#zl-frame:fullscreen,
#zl-frame:-webkit-full-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

#zl-frame:fullscreen .zl-player-video,
#zl-frame:-webkit-full-screen .zl-player-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 540px) {
  #zl-play {
    padding: 6px 16px 6px 6px;
  }
  .zl-play-circle {
    width: 40px;
    height: 40px;
  }
  .zl-play-main {
    font-size: 14px;
  }
}

/* форма */
.zl-buy {
  padding: 42px 16px 0;
}

.zl-buy-holder {
  max-width: 600px;
  margin: 0 auto;
}

.zl-card {
  padding: 26px 24px;
  background: var(--zl-card);
  border: 1px solid var(--zl-border);
  border-radius: 20px;
}

.zl-card-heading {
  margin-bottom: 12px;
  text-align: center;
  font-family: var(--zl-type);
  font-size: 26px;
  color: var(--zl-olive);
}

.zl-card-image {
  display: flex;
  justify-content: center;
  padding: 10px;
  background: var(--zl-bg);
  border-radius: 16px;
}

.zl-card-image img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .zl-card-image img {
    max-height: 230px;
  }
}

@media (max-width: 480px) {
  .zl-card-image img {
    max-height: 190px;
  }
}

.zl-card-avail {
  margin: 14px 0 18px;
  text-align: center;
}

.zl-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-style: italic;
  color: var(--zl-olive);
}

.zl-card-light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6c9a4f;
  box-shadow: 0 0 0 4px rgba(108, 154, 79, 0.2);
}

.zl-card-bait {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
}

.zl-card-group {
  margin-bottom: 14px;
}

.zl-card-caption {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--zl-muted);
}

.zl-card-field {
  width: 100%;
  padding: 13px 18px;
  font-family: var(--zl-ui);
  font-size: 16px;
  color: var(--zl-ink);
  background: #fff;
  border: 1px solid var(--zl-border);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.zl-card-field::placeholder {
  color: #a8ab9c;
}

.zl-card-field:focus {
  border-color: var(--zl-sand);
  box-shadow: 0 0 0 3px rgba(207, 161, 91, 0.2);
}

.zl-card-send {
  width: 100%;
  margin-top: 6px;
  padding: 15px;
  cursor: pointer;
  font-family: var(--zl-type);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--zl-olive);
  border: none;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.zl-card-send:hover {
  background: var(--zl-olive-dark);
}

.zl-card-small {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: var(--zl-muted);
}

/* підвал */
.zl-base {
  margin-top: 50px;
  padding: 26px 20px 24px;
  text-align: center;
  border-top: 4px double var(--zl-border);
}

.zl-base-box {
  max-width: 880px;
  margin: 0 auto;
}

.zl-base-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin-bottom: 12px;
}

.zl-base-links a {
  font-size: 13px;
  color: var(--zl-olive);
}

.zl-base-links a:hover {
  color: var(--zl-sand);
}

.zl-base-rights {
  font-size: 12px;
  color: var(--zl-muted);
}

.zl-base-warn {
  max-width: 740px;
  margin: 10px auto 0;
  font-size: 11px;
  line-height: 1.7;
  color: #8f9585;
}

.zl-card-tel {
  letter-spacing: .03em;
}
