@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
}

body {
  font-family: "Verdana", Geneva, sans-serif;
  font-size: 15px;
  background: #f6fbfa;
  color: #0f3d3b;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 4000;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  font-family: "Verdana", Geneva, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(246, 251, 250, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 61, 59, 0.08);
}
header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 12px;
}
header .logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 46px;
  flex-shrink: 0;
  transition: transform 0.25s;
}
header .logo:hover {
  transform: rotate(-8deg);
}
header .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
header .nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
header .nav-links a {
  text-decoration: none;
  color: #0f3d3b;
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.2s;
}
header .nav-links a:hover {
  color: #2fa79e;
}
header .burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
header .burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0f3d3b;
  border-radius: 2px;
  transition: 0.3s;
}
header .burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
header .burger.open span:nth-child(2) {
  opacity: 0;
}
header .burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  font: 700 1rem "Verdana", Geneva, sans-serif;
  cursor: pointer;
  border: 0;
  text-decoration: none;
  transition: 0.25s;
  max-width: 100%;
}
.btn-primary {
  background: linear-gradient(135deg, #17635f, #2fa79e);
  color: #fff;
  box-shadow: 0 10px 30px rgba(47, 167, 158, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(47, 167, 158, 0.45);
}
.btn-light {
  background: #fff;
  color: #0f3d3b;
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
}
.btn-ghost {
  background: transparent;
  color: #17635f;
  border: 1.5px solid rgba(23, 99, 95, 0.25);
}
.btn-ghost:hover {
  border-color: #17635f;
  background: #d9f2ef;
}
.btn-sm {
  padding: 12px 26px;
  font-size: 0.88rem;
}

.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: grid;
  place-items: center;
  padding: 150px 24px 100px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, #cdeae6, #a7d8d3);
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  min-width: 100%;
  aspect-ratio: 1200/560;
  background: url("/assets/th/udvorik/img/logo.jpg") center top/cover no-repeat;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 45, 43, 0.28) 0%, rgba(10, 45, 43, 0.5) 55%, rgba(10, 45, 43, 0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  width: 100%;
}
.hero .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  color: #d9f2ef;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero .badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ef0e4;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(1.7rem, 5.5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  overflow-wrap: break-word;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: normal;
  color: #7ef0e4;
}
.hero p {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: #d9f2ef;
  max-width: 620px;
  margin: 0 auto 40px;
  font-weight: 500;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.ticker {
  overflow: hidden;
  background: #0f3d3b;
  padding: 18px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.ticker-track span {
  display: flex;
  gap: 40px;
  padding-right: 40px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #bfe6e1;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
section {
  padding: 110px 0;
}

.eyebrow {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: #d9f2ef;
  color: #17635f;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  overflow-wrap: break-word;
}

.section-sub {
  color: #5b7472;
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.65;
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.bento .card {
  grid-column: span 2;
  background: #fff;
  border: 1px solid rgba(15, 61, 59, 0.08);
  border-radius: 24px;
  padding: 36px 30px;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.bento .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 61, 59, 0.12);
  border-color: rgba(47, 167, 158, 0.35);
}
.bento .card.wide {
  grid-column: span 3;
}
.bento .card.full {
  grid-column: span 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #17635f, #2fa79e);
  border: 0;
  color: #fff;
}
.bento .card.full h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.bento .card.full p {
  color: #d9f2ef;
}
.bento .card-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #d9f2ef;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
}
.bento .card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.bento .card p {
  color: #5b7472;
  font-size: 0.92rem;
  line-height: 1.6;
}

.card-price {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #d9f2ef;
  color: #17635f;
  font-weight: 800;
  font-size: 0.85rem;
}

.price {
  background: #fff;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  align-items: start;
}
.price-card {
  background: #f6fbfa;
  border: 1px solid rgba(15, 61, 59, 0.08);
  border-radius: 24px;
  padding: 32px 28px;
  transition: 0.3s;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 61, 59, 0.12);
}
.price-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.price-head .price-emoji {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #d9f2ef;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.price-head h3 {
  font-size: 1.15rem;
  font-weight: 800;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(15, 61, 59, 0.07);
}
.price-row:last-child {
  border-bottom: 0;
}
.price-name {
  font-weight: 600;
  font-size: 0.95rem;
}
.price-dots {
  flex: 1;
  border-bottom: 2px dotted rgba(15, 61, 59, 0.22);
  transform: translateY(-4px);
}
.price-val {
  font-weight: 800;
  color: #17635f;
  white-space: nowrap;
  font-size: 0.95rem;
}
.price-note {
  margin-top: 32px;
  color: #5b7472;
  font-size: 0.9rem;
  text-align: center;
}

.about {
  background: #f6fbfa;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}
.about .checks {
  list-style: none;
  margin: 28px 0 36px;
  display: grid;
  gap: 14px;
}
.about .checks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 600;
  font-size: 0.95rem;
}
.about .checks li::before {
  content: "✓";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #d9f2ef;
  color: #17635f;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
}
.about-visual {
  position: relative;
}
.about-photo {
  height: 460px;
  border-radius: 32px;
  background: linear-gradient(135deg, #d9f2ef, #bfe6e1);
  display: grid;
  place-items: center;
  color: #17635f;
  font-weight: 600;
  border: 1px solid rgba(15, 61, 59, 0.08);
}
.about-chip {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 61, 59, 0.1);
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 16px 40px rgba(15, 61, 59, 0.15);
  max-width: calc(100% - 24px);
  text-align: center;
}

.contacts {
  background: #0f3d3b;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contacts::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 167, 158, 0.35), transparent 70%);
}
.contacts .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #7ef0e4;
}
.contacts .section-title {
  color: #fff;
}
.contacts .section-sub {
  color: #a8cfca;
}
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.contacts .info-list {
  display: grid;
  gap: 18px;
  margin-bottom: 36px;
}
.contacts .info-item {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 22px 26px;
  border-radius: 20px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transition: 0.3s;
}
.contacts .info-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(6px);
}
.contacts .info-item strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7ef0e4;
  margin-bottom: 4px;
}
.contacts .info-item a, .contacts .info-item span {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  overflow-wrap: anywhere;
  font-size: 0.95rem;
}
.contacts .info-item a:hover {
  color: #7ef0e4;
}
.contacts .info-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 16px;
  background: rgba(126, 240, 228, 0.15);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}
.contacts .map {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 420px;
  height: 100%;
  background: #1a2b2a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(126, 240, 228, 0.2);
}
.contacts .map-route {
  position: absolute;
  bottom: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  color: #0f3d3b;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: 0.25s;
}
.contacts .map-route:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}
.contacts .map #yandexMap {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 32px;
  overflow: hidden;
  background: #1a2b2a;
}
.contacts .map .map-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 420px;
  color: #7ef0e4;
  font-weight: 600;
  font-size: 0.9rem;
}
.contacts .map .map-loader .spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(126, 240, 228, 0.2);
  border-top-color: #7ef0e4;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.contacts .map .custom-marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #17635f, #2fa79e);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(47, 167, 158, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
  animation: markerPulse 2s ease-out infinite;
  cursor: pointer;
  transition: transform 0.2s;
}
.contacts .map .custom-marker:hover {
  transform: translate(-50%, -50%) scale(1.15);
}
.contacts .map .custom-marker span {
  display: block;
  line-height: 1;
}
.contacts .map :global .ymaps3x0--controls-container button {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #0f3d3b !important;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes markerPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 167, 158, 0.5);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(47, 167, 158, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 167, 158, 0);
  }
}

footer {
  background: #0a2d2b;
  color: #fff;
  text-align: center;
  padding: 70px 0 40px;
  overflow: hidden;
}
footer .footer-word {
  font-family: "Verdana", Geneva, sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 6vw, 3.5rem);
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  margin-bottom: 36px;
  user-select: none;
  overflow-wrap: break-word;
}
footer .socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
footer .socials a {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.8rem;
  transition: 0.3s;
  letter-spacing: 0.02em;
}
footer .socials a:hover {
  background: #2fa79e;
  transform: translateY(-3px);
}
footer small {
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-top: 6px;
  padding: 0 16px;
  font-size: 0.85rem;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(6, 30, 29, 0.55);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-overlay .modal {
  background: #fff;
  border-radius: 32px;
  padding: 56px 44px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: pop 0.35s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.modal-overlay .modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: #f6fbfa;
  color: #0f3d3b;
  font-size: 1.4rem;
  line-height: 1;
  transition: 0.2s;
}
.modal-overlay .modal-close:hover {
  background: #d9f2ef;
  color: #17635f;
}
.modal-overlay .modal-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  border-radius: 26px;
  font-size: 2.4rem;
  background: linear-gradient(135deg, #17635f, #2fa79e);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px rgba(47, 167, 158, 0.35);
}
.modal-overlay .modal h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.modal-overlay .modal p {
  color: #5b7472;
  margin-bottom: 28px;
  line-height: 1.6;
}
.modal-overlay .modal-actions {
  display: grid;
  gap: 12px;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  header .nav-links {
    position: fixed;
    top: 88px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(15, 61, 59, 0.1);
    border-radius: 24px;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: 0.3s;
  }
  header .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  header .nav-links a {
    display: block;
    padding: 12px 16px;
    border-radius: 14px;
  }
  header .nav-links a:hover {
    background: #d9f2ef;
  }
  header .burger {
    display: flex;
  }
  .bento .card,
  .bento .card.wide {
    grid-column: span 3;
  }
  .bento .card.full {
    grid-column: span 6;
  }
  .about-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
@media (max-width: 600px) {
  section {
    padding: 70px 0;
  }
  .bento .card,
  .bento .card.wide,
  .bento .card.full {
    grid-column: span 6;
  }
  .modal-overlay .modal {
    padding: 44px 26px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero {
    padding: 120px 16px 80px;
  }
  .hero .badge {
    font-size: 0.7rem;
    padding: 8px 14px;
    letter-spacing: 0.06em;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 0.92rem;
    margin-bottom: 28px;
  }
  .btn {
    padding: 14px 26px;
    font-size: 0.92rem;
  }
  .btn-sm {
    padding: 10px 18px;
    font-size: 0.82rem;
  }
  .bento .card {
    padding: 28px 22px;
  }
  .contacts .info-item {
    padding: 16px 18px;
    gap: 14px;
  }
  .about-chip {
    padding: 12px 20px;
    font-size: 0.8rem;
  }
  footer .footer-word {
    font-size: 1.2rem;
  }
  .modal-overlay .modal {
    padding: 40px 20px;
    border-radius: 24px;
  }
  footer .socials a {
    width: 48px;
    height: 48px;
    font-size: 0.75rem;
  }
}
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2500;
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner .cookie-inner {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(15, 61, 59, 0.1);
  border-radius: 24px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 20px 60px rgba(15, 61, 59, 0.18);
  max-width: 1200px;
  margin: 0 auto;
}
.cookie-banner .cookie-text {
  flex: 1;
  min-width: 0;
}
.cookie-banner .cookie-text h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.cookie-banner .cookie-text p {
  font-size: 0.88rem;
  color: #5b7472;
  line-height: 1.5;
}
.cookie-banner .cookie-text p a {
  color: #17635f;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner .cookie-text p a:hover {
  color: #2fa79e;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
  .cookie-banner .cookie-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    text-align: center;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    width: 100%;
  }
  .cookie-banner .cookie-actions .btn {
    width: 100%;
  }
}
.policy-page {
  padding: 140px 0 80px;
  background: #f6fbfa;
  min-height: 100vh;
}
.policy-page-content {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 48px 56px;
  box-shadow: 0 20px 60px rgba(15, 61, 59, 0.08);
  border: 1px solid rgba(15, 61, 59, 0.08);
}
@media (max-width: 640px) {
  .policy-page-content {
    padding: 32px 24px;
  }
}
.policy-page h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}
.policy-page .policy-meta {
  color: #5b7472;
  font-size: 0.9rem;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(15, 61, 59, 0.1);
}
.policy-page h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 32px 0 12px;
  color: #17635f;
}
.policy-page p {
  color: #3a5553;
  line-height: 1.7;
  margin-bottom: 14px;
}
.policy-page ul {
  margin: 12px 0 18px 20px;
  color: #3a5553;
}
.policy-page ul li {
  margin-bottom: 6px;
  line-height: 1.6;
}
.policy-page strong {
  color: #0f3d3b;
  font-weight: 700;
}
.policy-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.9rem;
}
.policy-page table th, .policy-page table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(15, 61, 59, 0.1);
}
.policy-page table th {
  background: #f6fbfa;
  font-weight: 700;
  color: #0f3d3b;
}
.policy-page .policy-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: #17635f;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.2s;
}
.policy-page .policy-back:hover {
  color: #2fa79e;
  transform: translateX(-4px);
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2500;
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner .cookie-inner {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(15, 61, 59, 0.1);
  border-radius: 24px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 20px 60px rgba(15, 61, 59, 0.18);
  max-width: 1200px;
  margin: 0 auto;
}
.cookie-banner .cookie-text {
  flex: 1;
  min-width: 0;
}
.cookie-banner .cookie-text h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.cookie-banner .cookie-text p {
  font-size: 0.88rem;
  color: #5b7472;
  line-height: 1.5;
}
.cookie-banner .cookie-text p a {
  color: #17635f;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner .cookie-text p a:hover {
  color: #2fa79e;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
  .cookie-banner .cookie-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    text-align: center;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    width: 100%;
  }
  .cookie-banner .cookie-actions .btn {
    width: 100%;
  }
}
.policy-page {
  padding: 140px 0 80px;
  background: #f6fbfa;
  min-height: 100vh;
}
.policy-page-content {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 48px 56px;
  box-shadow: 0 20px 60px rgba(15, 61, 59, 0.08);
  border: 1px solid rgba(15, 61, 59, 0.08);
}
@media (max-width: 640px) {
  .policy-page-content {
    padding: 32px 24px;
  }
}
.policy-page h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}
.policy-page .policy-meta {
  color: #5b7472;
  font-size: 0.9rem;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(15, 61, 59, 0.1);
}
.policy-page h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 32px 0 12px;
  color: #17635f;
}
.policy-page p {
  color: #3a5553;
  line-height: 1.7;
  margin-bottom: 14px;
}
.policy-page ul {
  margin: 12px 0 18px 20px;
  color: #3a5553;
}
.policy-page ul li {
  margin-bottom: 6px;
  line-height: 1.6;
}
.policy-page strong {
  color: #0f3d3b;
  font-weight: 700;
}
.policy-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.9rem;
}
.policy-page table th, .policy-page table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(15, 61, 59, 0.1);
}
.policy-page table th {
  background: #f6fbfa;
  font-weight: 700;
  color: #0f3d3b;
}
.policy-page .policy-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: #17635f;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.2s;
}
.policy-page .policy-back:hover {
  color: #2fa79e;
  transform: translateX(-4px);
}

.modal-booking {
  max-width: 560px;
  padding: 40px 36px;
  text-align: left;
}
@media (max-width: 640px) {
  .modal-booking {
    padding: 28px 20px;
  }
}
.modal-booking .booking-header {
  text-align: center;
  margin-bottom: 28px;
}
.modal-booking .booking-header .booking-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #17635f, #2fa79e);
  display: grid;
  place-items: center;
  font-size: 2rem;
  box-shadow: 0 12px 32px rgba(47, 167, 158, 0.35);
}
.modal-booking .booking-header h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.modal-booking .booking-header .booking-subtitle {
  color: #5b7472;
  font-size: 0.92rem;
}
.modal-booking .booking-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}
.modal-booking .booking-steps .step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  transition: 0.3s;
}
.modal-booking .booking-steps .step.active, .modal-booking .booking-steps .step.done {
  opacity: 1;
}
.modal-booking .booking-steps .step .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f6fbfa;
  border: 2px solid rgba(15, 61, 59, 0.15);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: #5b7472;
  transition: 0.3s;
}
.modal-booking .booking-steps .step.active .step-num {
  background: linear-gradient(135deg, #17635f, #2fa79e);
  border-color: transparent;
  color: #fff;
}
.modal-booking .booking-steps .step.done .step-num {
  background: #2fa79e;
  border-color: transparent;
  color: #fff;
}
.modal-booking .booking-steps .step.done .step-num::before {
  content: "✓";
}
.modal-booking .booking-steps .step.done .step-num {
  font-size: 0;
}
.modal-booking .booking-steps .step .step-label {
  font-weight: 700;
  font-size: 0.82rem;
  color: #0f3d3b;
}
.modal-booking .booking-steps .step-line {
  flex: 1;
  height: 2px;
  background: rgba(15, 61, 59, 0.12);
  margin: 0 10px;
  max-width: 40px;
}
@media (max-width: 480px) {
  .modal-booking .booking-steps .step-label {
    display: none;
  }
  .modal-booking .booking-steps .step-line {
    max-width: 30px;
  }
}
.modal-booking .booking-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}
.modal-booking .booking-panel.active {
  display: block;
}
.modal-booking .form-field {
  display: block;
  margin-bottom: 18px;
}
.modal-booking .form-field .field-label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: #0f3d3b;
}
.modal-booking .form-field input, .modal-booking .form-field select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(15, 61, 59, 0.12);
  background: #f6fbfa;
  font-family: "Verdana", Geneva, sans-serif;
  font-size: 0.95rem;
  color: #0f3d3b;
  transition: 0.2s;
  font-weight: 500;
}
.modal-booking .form-field input:focus, .modal-booking .form-field select:focus {
  outline: none;
  border-color: #2fa79e;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 167, 158, 0.12);
}
.modal-booking .form-field input::placeholder, .modal-booking .form-field select::placeholder {
  color: #a8b8b6;
}
.modal-booking .form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%2317635f' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  cursor: pointer;
}
.modal-booking .masters-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 0;
  color: #5b7472;
  font-weight: 600;
}
.modal-booking .masters-loader .spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(15, 61, 59, 0.1);
  border-top-color: #2fa79e;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.modal-booking .masters-list {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  max-height: 340px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}
.modal-booking .master-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f6fbfa;
  border: 1.5px solid rgba(15, 61, 59, 0.08);
  cursor: pointer;
  transition: 0.2s;
  text-align: left;
  width: 100%;
  font-family: "Verdana", Geneva, sans-serif;
}
.modal-booking .master-card:hover {
  background: #fff;
  border-color: rgba(47, 167, 158, 0.3);
  box-shadow: 0 6px 18px rgba(15, 61, 59, 0.1);
}
.modal-booking .master-card.active {
  background: linear-gradient(135deg, #d9f2ef, #c5ece8);
  border-color: #2fa79e;
}
.modal-booking .master-card .master-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #17635f, #2fa79e);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.modal-booking .master-card .master-info {
  flex: 1;
  min-width: 0;
}
.modal-booking .master-card .master-name {
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 2px;
}
.modal-booking .master-card .master-free {
  font-size: 0.8rem;
  color: #5b7472;
}
.modal-booking .master-card .master-arrow {
  color: #2fa79e;
  font-size: 1.2rem;
  font-weight: 700;
  opacity: 0;
  transition: 0.2s;
}
.modal-booking .master-card.active .master-arrow, .modal-booking .master-card:hover .master-arrow {
  opacity: 1;
}
.modal-booking .dates-section, .modal-booking .slots-section {
  margin-bottom: 20px;
}
.modal-booking .field-label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: #0f3d3b;
}
.modal-booking .dates-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 20px;
  scrollbar-width: thin;
}
.modal-booking .dates-list::-webkit-scrollbar {
  height: 4px;
}
.modal-booking .dates-list::-webkit-scrollbar-track {
  background: transparent;
}
.modal-booking .dates-list::-webkit-scrollbar-thumb {
  background: rgba(15, 61, 59, 0.15);
  border-radius: 2px;
}
.modal-booking .date-chip {
  flex-shrink: 0;
  min-width: 72px;
  padding: 12px 10px;
  border-radius: 14px;
  background: #f6fbfa;
  border: 1.5px solid rgba(15, 61, 59, 0.08);
  cursor: pointer;
  text-align: center;
  transition: 0.2s;
  font-family: "Verdana", Geneva, sans-serif;
  color: #0f3d3b;
}
.modal-booking .date-chip:hover:not(.disabled) {
  border-color: #2fa79e;
  transform: translateY(-2px);
}
.modal-booking .date-chip.active {
  background: linear-gradient(135deg, #17635f, #2fa79e);
  border-color: transparent;
  color: #fff;
}
.modal-booking .date-chip.active .date-weekday, .modal-booking .date-chip.active .date-month {
  color: rgba(255, 255, 255, 0.85);
}
.modal-booking .date-chip.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.modal-booking .date-chip .date-weekday {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5b7472;
  margin-bottom: 4px;
  font-weight: 700;
}
.modal-booking .date-chip .date-day {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.modal-booking .date-chip .date-month {
  display: block;
  font-size: 0.72rem;
  text-transform: lowercase;
  color: #5b7472;
  font-weight: 600;
}
.modal-booking .slots-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 4px;
}
.modal-booking .slot {
  padding: 12px 8px;
  border-radius: 10px;
  background: #f6fbfa;
  border: 1.5px solid rgba(15, 61, 59, 0.08);
  cursor: pointer;
  font-family: "Verdana", Geneva, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #0f3d3b;
  transition: 0.2s;
}
.modal-booking .slot:hover:not(.disabled) {
  border-color: #2fa79e;
  background: #fff;
}
.modal-booking .slot.active {
  background: linear-gradient(135deg, #17635f, #2fa79e);
  border-color: transparent;
  color: #fff;
}
.modal-booking .slot.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}
.modal-booking .slots-empty {
  text-align: center;
  padding: 32px 16px;
  color: #5b7472;
  font-size: 0.9rem;
}
.modal-booking .booking-nav {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.modal-booking .booking-nav .btn {
  flex: 1;
}
.modal-booking .btn-block {
  width: 100%;
  margin-top: 8px;
}
.modal-booking .booking-result {
  text-align: center;
  padding: 20px 0;
}
.modal-booking .booking-result .result-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
}
.modal-booking .booking-result .result-icon.success {
  background: linear-gradient(135deg, #2fa79e, #4ec9bd);
  box-shadow: 0 12px 32px rgba(47, 167, 158, 0.4);
}
.modal-booking .booking-result .result-icon.error {
  background: linear-gradient(135deg, #e85a5a, #d94444);
  box-shadow: 0 12px 32px rgba(232, 90, 90, 0.4);
}
.modal-booking .booking-result h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.modal-booking .booking-result p {
  color: #5b7472;
  margin-bottom: 24px;
  line-height: 1.6;
}
.modal-booking .status-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #d9f2ef, #c5ece8);
  border: 1px solid rgba(47, 167, 158, 0.25);
  text-decoration: none;
  text-align: left;
  margin: 20px 0 8px;
  transition: 0.25s;
}
.modal-booking .status-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(47, 167, 158, 0.18);
  border-color: #2fa79e;
}
.modal-booking .status-link-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 61, 59, 0.08);
}
.modal-booking .status-link-text {
  flex: 1;
  min-width: 0;
}
.modal-booking .status-link-text strong {
  display: block;
  color: #0f3d3b;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 2px;
}
.modal-booking .status-link-text span {
  display: block;
  color: #5b7472;
  font-size: 0.82rem;
  line-height: 1.4;
}
.modal-booking .status-link-arrow {
  color: #2fa79e;
  font-weight: 800;
  font-size: 1.2rem;
  transition: 0.25s;
}
.modal-booking .status-link:hover .status-link-arrow {
  transform: translateX(4px);
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f3d3b;
  color: #fff;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  z-index: 5000;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  max-width: 90%;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.error {
  background: #d94444;
}
.toast.success {
  background: #2fa79e;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.clips {
  padding: 110px 0;
  background: #fff;
}
.clips .clips-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 8px;
}
@media (max-width: 1100px) {
  .clips .clips-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 860px) {
  .clips .clips-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .clips .clips-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 380px) {
  .clips .clips-grid {
    grid-template-columns: 1fr;
  }
}

.clip-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  background: #f6fbfa;
  border: 1px solid rgba(15, 61, 59, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.clip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15, 61, 59, 0.15);
}
.clip-card:hover .clip-thumb img {
  transform: scale(1.08);
}
.clip-card:hover .clip-play {
  background: #2fa79e;
  color: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}

.clip-thumb {
  position: relative;
  aspect-ratio: 9/16;
  overflow: hidden;
  background: linear-gradient(135deg, #d9f2ef, #c5ece8);
}
.clip-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.clip-thumb .clip-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  color: #17635f;
  transition: 0.3s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.clip-thumb .clip-play svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
}
.clip-thumb .clip-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.clip-thumb .clip-views {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
}

.clip-meta {
  padding: 14px 16px 16px;
}
.clip-meta .clip-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f3d3b;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.clips-grid .clip-card.reveal {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.clips-grid .clip-card.reveal.visible {
  animation: clipFadeIn 0.6s ease forwards;
}

.clips-grid .clip-card.reveal:nth-child(1) {
  transition-delay: 0s;
  animation-delay: 0s;
}

.clips-grid .clip-card.reveal:nth-child(2) {
  transition-delay: 0.08s;
  animation-delay: 0.08s;
}

.clips-grid .clip-card.reveal:nth-child(3) {
  transition-delay: 0.16s;
  animation-delay: 0.16s;
}

.clips-grid .clip-card.reveal:nth-child(4) {
  transition-delay: 0.24s;
  animation-delay: 0.24s;
}

.clips-grid .clip-card.reveal:nth-child(5) {
  transition-delay: 0.32s;
  animation-delay: 0.32s;
}

.clips-grid .clip-card.reveal:nth-child(6) {
  transition-delay: 0.4s;
  animation-delay: 0.4s;
}

.clips-grid .clip-card.reveal:nth-child(7) {
  transition-delay: 0.48s;
  animation-delay: 0.48s;
}

.clips-grid .clip-card.reveal:nth-child(8) {
  transition-delay: 0.56s;
  animation-delay: 0.56s;
}

.clips-grid .clip-card.reveal:nth-child(9) {
  transition-delay: 0.64s;
  animation-delay: 0.64s;
}

.clips-grid .clip-card.reveal:nth-child(10) {
  transition-delay: 0.72s;
  animation-delay: 0.72s;
}

@keyframes clipFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
button.clip-card {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.clip-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.clip-modal.open {
  display: flex;
}
.clip-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 24, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.clip-modal-box {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  animation: clipModalIn 0.3s ease;
}
.clip-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  max-width: calc(min(78vh, 720px) * 9 / 16);
}
.clip-modal-title {
  flex: 1;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.clip-modal-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #0f3d3b;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: 0.25s;
}
.clip-modal-close:hover {
  background: #2fa79e;
  color: #fff;
  transform: rotate(90deg);
}
.clip-modal-frame {
  height: min(78vh, 720px);
  aspect-ratio: 9/16;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.clip-modal-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 480px) {
  .clip-modal {
    padding: 12px;
  }
  .clip-modal .clip-modal-frame {
    height: min(72vh, 640px);
    border-radius: 16px;
  }
}

.clip-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #0f3d3b;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: 0.25s;
}
.clip-nav svg {
  width: 24px;
  height: 24px;
}
.clip-nav:hover {
  background: #2fa79e;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.clip-nav.clip-prev {
  left: max(20px, 50% - min(78vh, 720px) * 9 / 32 - 80px);
}
.clip-nav.clip-next {
  right: max(20px, 50% - min(78vh, 720px) * 9 / 32 - 80px);
}
@media (max-width: 720px) {
  .clip-nav {
    top: auto;
    bottom: 80px;
    transform: none;
    width: 46px;
    height: 46px;
  }
  .clip-nav.clip-prev {
    left: 30px;
  }
  .clip-nav.clip-next {
    right: 30px;
  }
  .clip-nav:hover {
    transform: scale(1.1);
  }
}

.clip-modal-counter {
  margin-top: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

@keyframes clipModalIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/*# sourceMappingURL=style.css.map */
