@import url(../fonts/fonts.css);

:root {
  --bg: #0b0f19;
  --bg-2: #121829;
  --card: #161d31;
  --line: #262f4a;
  --text: #e8ecf5;
  --muted: #9aa4bd;
  --green: #7cff4f;
  --orange: #ffa41c;
  --radius: 20px;
  --head: 'Unbounded', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.15; margin: 0 0 .6em; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 20px; font-weight: 600; hyphens: auto; overflow-wrap: break-word; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); }
.lead { color: var(--muted); font-size: 19px; max-width: 720px; }
.eyebrow { color: var(--orange); font: 600 13px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }

/* header */
.header { position: sticky; top: 0; z-index: 10; background: rgba(11, 15, 25, .85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 800 18px var(--head); }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--text); text-decoration: none; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang a { padding: 4px 12px; color: var(--muted); font-weight: 700; font-size: 13px; }
.lang a[aria-current] { background: var(--green); color: var(--bg); }
.lang a:hover { text-decoration: none; }

/* hero */
.hero { padding: 72px 0 96px; background: radial-gradient(800px 400px at 75% 40%, rgba(124, 255, 79, .12), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.5vw, 60px); }
.hero h1 span { color: var(--green); }
.hero-logo { max-width: 380px; justify-self: center; animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.facts { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 32px; }
.facts b { display: block; font: 800 28px var(--head); color: var(--text); }
.facts span { color: var(--muted); font-size: 14px; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; border: 1px solid var(--line); color: var(--text); background: transparent; }
.btn:hover { text-decoration: none; border-color: var(--muted); }
.btn-primary { background: var(--green); color: var(--bg); border-color: var(--green); }
.btn-primary:hover { border-color: var(--green); filter: brightness(1.1); }

/* featured */
.featured { position: relative; padding: 96px 0; background: linear-gradient(90deg, var(--bg) 35%, rgba(11, 15, 25, .7)), url(../img/vr-hockey-bg.webp) center / cover; }
.featured .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.featured-logo { width: 120px; margin-bottom: 16px; }
.checks { list-style: none; padding: 0; margin: 0 0 8px; }
.checks li { padding-left: 28px; position: relative; margin-bottom: 6px; }
.checks li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 10px; height: 6px; border: solid var(--green); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.video { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.video::after { content: ''; position: absolute; inset: 50% auto auto 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%230b0f19'/%3E%3C/svg%3E") center / 32px no-repeat; transition: transform .2s; }
.video:hover::after { transform: scale(1.1); }
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.shots button { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.shots img { aspect-ratio: 3 / 2; object-fit: cover; transition: transform .2s; }
.shots button:hover img { transform: scale(1.06); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 40px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card > .video, .card > .cover { border-radius: 0; }
.card .cover img, .card .video img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(124, 255, 79, .1); color: var(--green); }
.tag-orange { background: rgba(255, 164, 28, .12); color: var(--orange); }
.tag-grey { background: rgba(154, 164, 189, .12); color: var(--muted); }
details { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; }
summary { cursor: pointer; font-weight: 700; color: var(--text); }
details[open] summary { margin-bottom: 10px; }
details p, details li { color: var(--muted); font-size: 15px; }
details ul { padding-left: 20px; margin: 0 0 1em; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.links .btn { padding: 8px 16px; font-size: 14px; }

/* services */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
.service { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.service p { color: var(--muted); margin: 0; }
.mail { margin-top: 20px; color: var(--muted); }
.mail b { color: var(--green); font-size: 19px; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox img { max-height: 86vh; border-radius: 12px; }
.lightbox button { position: fixed; top: 50%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 24px; cursor: pointer; }
.lightbox .prev { left: 16px; }
.lightbox .next { right: 16px; }
.lightbox .close { top: 16px; right: 16px; }

@media (max-width: 860px) {
  .section, .featured { padding: 64px 0; }
  .hero .wrap, .featured .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-logo { max-width: 240px; grid-row: 1; }
  .featured { background: linear-gradient(var(--bg) 0, rgba(11, 15, 25, .85)), url(../img/vr-hockey-bg.webp) center / cover; }
  .nav { display: none; }
  .lang { margin-left: auto; }
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-logo { animation: none; }
}
