/* AV motors, versija 4 "Premium": kinematogrāfisks, gandrīz melns, Manrope */
:root {
  --bg: #0b0b0d;
  --bg2: #121216;
  --bg3: #1a1a1f;
  --line: rgba(255, 255, 255, 0.13);
  --text: #f3f3f1;
  --muted: #a4a4ad;
  --red: #F04249;
  --red-d: #d7363d;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1280px;
  --pad: 20px;
  --bar: 84px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: var(--bar);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
section { scroll-margin-top: 72px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; }

/* Virsraksti un etiķetes */
h1, h2, h3 { font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: clamp(27px, 3.2vw, 44px); }
.label {
  display: block;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.sec-head { padding: clamp(56px, 8vw, 112px) var(--pad) clamp(28px, 4vw, 48px); }
.sec-head.center .label { text-align: center; }

/* Pogas */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 6px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.1;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { background: var(--red-d); border-color: var(--red-d); }
.btn-white { background: #fff; color: #0b0b0d; border-color: #fff; }
.btn-white:hover { background: #e4e4e2; border-color: #e4e4e2; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-steel { background: var(--bg3); color: #fff; border-color: #34343b; }
.btn-steel:hover { background: #24242a; border-color: #4a4a52; }
.btn-xl { min-height: 64px; font-size: 20px; padding: 0 30px; }
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  padding: 0 9px;
  border-radius: 4px;
  background: #fff;
  color: #0b0b0d;
  font-size: 15px;
  font-weight: 800;
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  min-height: 48px;
  padding: 0 2px;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  border-bottom: 2px solid var(--red);
  transition: gap 0.2s, color 0.2s;
}
.link svg { width: 20px; height: 20px; }
.link:hover { gap: 16px; }

/* Statuss */
.status { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none; }
.status:empty { display: none; }
.status.open { color: #9ee0a8; }
.status.open::before { background: #4ccb5f; box-shadow: 0 0 0 4px rgba(76, 203, 95, 0.18); }
.status.closed { color: var(--text); }

/* Galvene */
.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 12px 0;
  background: linear-gradient(to bottom, rgba(11, 11, 13, 0.85), rgba(11, 11, 13, 0));
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.top.solid { background: var(--bg); border-bottom-color: var(--line); }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: block; flex: none; }
.logo img { width: 112px; height: auto; }
.nav { display: none; gap: 30px; }
.nav a { font-weight: 600; font-size: 15px; color: var(--text); padding: 12px 0; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.nav a:hover { border-bottom-color: var(--red); }
.top-right { display: flex; align-items: center; gap: 22px; }
.top-right .status, .top-phone { display: none; }
.top-phone { font-weight: 800; font-size: 16px; color: #fff; }
.lang { display: flex; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 6px; overflow: hidden; background: rgba(11, 11, 13, 0.55); }
.lang button { min-width: 48px; min-height: 46px; font-size: 14px; font-weight: 800; color: var(--text); letter-spacing: 0.04em; transition: background 0.2s, color 0.2s; }
.lang button + button { border-left: 1px solid rgba(255, 255, 255, 0.25); }
.lang button:hover { background: rgba(255, 255, 255, 0.12); }
.lang button[aria-pressed="true"] { background: #fff; color: #0b0b0d; }

/* Sākuma ekrāns */
.hero { position: relative; min-height: 100svh; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #000; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(11, 11, 13, 1) 0%, rgba(11, 11, 13, 0.92) 24%, rgba(11, 11, 13, 0.45) 60%, rgba(11, 11, 13, 0.15) 100%),
    linear-gradient(to right, rgba(11, 11, 13, 0.55), rgba(11, 11, 13, 0) 70%);
}
.hero-in { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 120px var(--pad) 36px; text-align: center; }
.hero h1 { font-size: clamp(36px, 9.2vw, 92px); max-width: 15ch; margin: 0 auto; color: #fff; }
.hero .lead { margin: 18px auto 0; max-width: 560px; color: #e2e2e0; font-size: 17px; }
.cta { display: grid; gap: 12px; margin-top: 28px; }
.cta .btn { width: 100%; }
.hero-strip { position: relative; background: var(--bg); border-top: 1px solid var(--line); }
.strip-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1fr; }
.strip-in > div { padding: 16px 0; display: grid; gap: 2px; border-bottom: 1px solid var(--line); }
.strip-in > div:nth-child(odd) { padding-right: 14px; }
.strip-in > div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
.strip-in .k { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.strip-in b { font-weight: 700; font-size: 15px; }
.strip-in a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Pakalpojumu paneļi */
.panels { border-bottom: 1px solid var(--line); }
.panel { display: grid; border-top: 1px solid var(--line); }
.panel-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.panel-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.panel:hover .panel-photo img { transform: scale(1.04); }
.panel-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg), rgba(11, 11, 13, 0) 45%); pointer-events: none; }
.panel-body { padding: 28px var(--pad) 48px; text-align: center; }
.panel-body p { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 48ch; margin-left: auto; margin-right: auto; }
.incl { margin: 22px auto 0; max-width: 480px; text-align: left; }
.incl li { padding: 11px 0 11px 22px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 600; position: relative; }
.incl li:last-child { border-bottom: 1px solid var(--line); }
.incl li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 7px; height: 7px; background: var(--red); }

/* Pilnais saraksts */
.list-sec { padding-bottom: clamp(56px, 8vw, 112px); }
.list-sec .sec-head { padding-left: 0; padding-right: 0; }
.list-grid { display: grid; gap: 40px; }
.svc li { border-top: 1px solid var(--line); }
.svc li:last-child { border-bottom: 1px solid var(--line); }
.svc span { display: block; padding: 17px 0 17px 0; font-size: 19px; font-weight: 700; position: relative; transition: padding-left 0.25s, color 0.2s; }
.svc span::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 0; background: var(--red); border-radius: 2px; transition: height 0.25s; }
.svc li.more { display: none; }
.svc.expanded li.more { display: list-item; animation: rise 0.4s both; }
.svc.expanded li.more:nth-child(7) { animation-delay: 0.04s; }
.svc.expanded li.more:nth-child(8) { animation-delay: 0.08s; }
.svc.expanded li.more:nth-child(9) { animation-delay: 0.12s; }
.svc.expanded li.more:nth-child(10) { animation-delay: 0.16s; }
.svc.expanded li.more:nth-child(11) { animation-delay: 0.2s; }
.svc.expanded li.more:nth-child(12) { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.list-foot { margin-top: 26px; display: flex; justify-content: center; }
.stage { display: none; }

/* Par mums */
.about { padding-top: clamp(56px, 8vw, 112px); }
.about .big { margin-top: 26px; font-size: clamp(19px, 2vw, 24px); font-weight: 600; line-height: 1.4; color: #fff; }
.about p + p { margin-top: 18px; color: var(--muted); }
.about-band { margin-top: clamp(40px, 6vw, 80px); max-height: 70vh; overflow: hidden; position: relative; }
.about-band img { width: 100%; height: 100%; max-height: 70vh; object-fit: cover; object-position: center 40%; }
.about-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--bg), rgba(11, 11, 13, 0) 30%, rgba(11, 11, 13, 0) 70%, var(--bg)); pointer-events: none; }
.facts { display: grid; gap: 0; padding-top: 8px; padding-bottom: clamp(48px, 7vw, 100px); }
.facts > div { padding: 20px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; text-align: center; }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts b { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.facts span { color: var(--muted); font-size: 15px; }

/* Darba laiks un kontakti */
.info { background: var(--bg2); border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 112px) 0; }
.info-grid { display: grid; gap: 56px; }
.info h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 26px; }
.hours li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0 13px 18px; border-top: 1px solid var(--line); position: relative; font-size: 17px; }
.hours li:last-child { border-bottom: 1px solid var(--line); }
.hours li b { font-weight: 600; color: var(--muted); }
.hours li span { font-weight: 700; font-variant-numeric: tabular-nums; }
.hours li .closed { color: var(--muted); }
.hours li.today b { color: #fff; }
.hours li.today::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 24px; background: var(--red); border-radius: 2px; }
.status-box { margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; background: var(--bg); }
.status-box .status { font-size: 17px; }
.status-box .muted { font-size: 15px; }
.contacts li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.contacts li:last-child { border-bottom: 1px solid var(--line); }
.contacts svg { width: 24px; height: 24px; color: var(--red); flex: none; margin-top: 3px; }
.contacts a { font-weight: 700; font-size: 18px; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 4px; transition: text-decoration-color 0.2s; }
.contacts a:hover { text-decoration-color: #fff; }
.contacts small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.map-btns { display: grid; gap: 12px; margin-top: 24px; }

/* Kājene */
.foot { border-top: 1px solid var(--line); padding: 40px 0 32px; }
.foot-in { display: grid; gap: 20px; justify-items: center; text-align: center; }
.foot-in img { width: 96px; height: auto; }
.req { color: var(--muted); font-size: 14px; line-height: 1.7; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-weight: 700; font-size: 15px; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Apakšējā josla telefonā */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: rgba(11, 11, 13, 0.96);
  border-top: 1px solid var(--line);
}
.bar .btn { min-height: 58px; }

/* Kartes izvēle */
.map-pick { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.7); display: flex; align-items: flex-end; justify-content: center; padding: var(--pad); }
.map-pick[hidden] { display: none; }
.map-box { width: 100%; max-width: 440px; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 26px 22px 18px; display: grid; gap: 12px; }
.map-box h3 { font-size: 26px; }
.map-box .addr { color: var(--muted); margin-bottom: 6px; }
.map-box .btn { min-height: 60px; width: 100%; }
.map-box .close { min-height: 48px; font-weight: 700; color: var(--muted); border-radius: 6px; }
.map-box .close:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

/* Sīkdatņu josla */
.cookie {
  position: fixed; left: var(--pad); right: var(--pad); bottom: calc(var(--bar) + 12px); z-index: 45;
  display: flex; flex-wrap: nowrap; align-items: center; gap: 12px;
  background: var(--bg3); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.cookie[hidden] { display: none; }
.cookie p { flex: 1 1 auto; font-size: 13.5px; line-height: 1.35; color: var(--text); }
.cookie .btn { min-height: 48px; font-size: 16px; padding: 0 18px; flex: none; }

/* Planšete */
@media (min-width: 640px) {
  :root { --pad: 32px; }
  .cta { grid-template-columns: auto auto; justify-content: center; }
  .cta .btn { width: auto; min-width: 230px; }
  .hero .lead { font-size: 19px; }
  .strip-in { grid-template-columns: repeat(4, 1fr); }
  .strip-in > div { border-bottom: 0; padding: 20px 0; }
  .strip-in > div:nth-child(odd) { padding-right: 20px; }
  .strip-in > div:nth-child(even) { padding-left: 20px; }
  .strip-in > div + div { border-left: 1px solid var(--line); padding-left: 20px; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts > div { border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .facts > div + div { border-left: 1px solid var(--line); }
  .map-btns { grid-template-columns: 1fr 1fr; }
  .cookie { left: auto; right: 24px; max-width: 460px; padding: 14px 16px; gap: 20px; }
  .cookie p { font-size: 14.5px; }
  .map-pick { align-items: center; }
}

/* Dators */
@media (min-width: 900px) {
  :root { --bar: 0px; }
  body { padding-bottom: 0; }
  .bar { display: none; }
  .nav { display: flex; }
  .top-right .status, .top-phone { display: inline-flex; }
  .logo img { width: 138px; }
  .cookie { bottom: 24px; }
  .hero { min-height: clamp(640px, 100svh, 980px); }
  .hero-in { text-align: left; padding: 160px var(--pad) 56px; }
  .hero h1 { margin: 0; max-width: 13ch; }
  .hero .lead { margin-left: 0; }
  .cta { justify-content: start; }
  .hero-img { object-position: 50% 45%; }
  .panel { grid-template-columns: 1fr 1fr; min-height: 560px; }
  .panel-photo { aspect-ratio: auto; }
  .panel-photo::after { background: linear-gradient(to right, var(--bg), rgba(11, 11, 13, 0) 40%); }
  .panel.flip .panel-photo { order: 2; }
  .panel.flip .panel-photo::after { background: linear-gradient(to left, var(--bg), rgba(11, 11, 13, 0) 40%); }
  .panel-body { padding: clamp(40px, 6vw, 96px) clamp(32px, 5vw, 80px); text-align: left; display: flex; flex-direction: column; justify-content: center; }
  .panel.flip .panel-body { padding-left: clamp(32px, 6vw, 96px); }
  .panel-body p { margin-left: 0; }
  .incl { margin-left: 0; max-width: 460px; }
  .info-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .foot-in { grid-template-columns: auto 1fr auto; align-items: center; text-align: left; justify-items: start; gap: 40px; }
  .foot-links { justify-content: flex-end; }
}

@media (min-width: 1024px) {
  .list-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .svc span:hover, .svc li.on span { padding-left: 24px; color: #fff; }
  .svc span:hover::before, .svc li.on span::before { height: 22px; }
  .stage { display: block; position: sticky; top: 100px; }
  .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity 0.45s ease, transform 0.9s ease; }
  .stage img.on { opacity: 1; transform: none; }
  .stage { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: #000; }
  .stage-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 24px 18px; font-weight: 700; font-size: 18px; color: #fff; background: linear-gradient(to top, rgba(11, 11, 13, 0.95), rgba(11, 11, 13, 0)); }
}

@media (min-width: 1200px) {
  .panel { min-height: 640px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .top, .bar, .cookie, .map-pick, .hero-img, .hero-shade { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .hero { min-height: 0; }
}
