/* =========================================================
   Parimatch satellite — style.css
   Prefix: pm-  |  Mobile-first  |  Breakpoints: 480 / 768 / 1024 / 1280
   ========================================================= */

:root {
  /* Brand colors */
  --pm-bg:            #151515;   /* main page background */
  --pm-bg-elev:       #1e1e1e;   /* elevated cards / rows */
  --pm-bg-elev-2:     #262626;
  --pm-black:         #000000;   /* header bar */
  --pm-accent:        #f8ff13;   /* acid yellow — buttons & highlights */
  --pm-accent-hover:  #e2e800;
  --pm-text:          #ffffff;   /* primary text */
  --pm-text-soft:     #d9d5d9;   /* secondary text */
  --pm-text-muted:    #8a8a8a;   /* muted / captions */
  --pm-border:        #2f2f2f;
  --pm-globe:         #2f9be0;   /* neutral language icon */

  /* Type */
  --pm-font-head: "Montserrat", "Arial Narrow", system-ui, sans-serif;
  --pm-font-body: "Montserrat", system-ui, -apple-system, sans-serif;

  /* Shape */
  --pm-radius-btn: 24px;
  --pm-radius-card: 14px;

  /* Layout */
  --pm-header-h: 64px;
  --pm-banner-h: 44px;
  --pm-maxw: 1200px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--pm-font-body);
  background: var(--pm-bg);
  color: var(--pm-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img { max-width: 100%; display: block; }

a { color: var(--pm-accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--pm-accent-hover); }

h1, h2, h3, h4 {
  font-family: var(--pm-font-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--pm-text);
}

/* ---------- Utility ---------- */
.pm-container {
  width: 100%;
  max-width: var(--pm-maxw);
  margin: 0 auto;
  padding: 0 16px;
}

.pm-visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* =========================================================
   Promo banner
   ========================================================= */
.pm-promo {
  background: var(--pm-accent);
  color: var(--pm-black);
  min-height: var(--pm-banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--pm-font-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 6px 16px;
}
.pm-promo strong { text-decoration: underline; }

/* =========================================================
   Header
   ========================================================= */
.pm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--pm-black);
  border-bottom: 1px solid var(--pm-border);
}
.pm-header__inner {
  min-height: var(--pm-header-h);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
}
.pm-logo { flex: 0 0 auto; display: flex; align-items: center; }
.pm-logo img { height: 20px; width: auto; }

/* Primary nav */
.pm-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: none;
}
.pm-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pm-nav__list::-webkit-scrollbar { display: none; }
.pm-nav__link {
  color: var(--pm-text-soft);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .02em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.pm-nav__link:hover,
.pm-nav__link[aria-current="page"] {
  color: var(--pm-text);
  border-bottom-color: var(--pm-accent);
}

/* Dropdown submenu */
.pm-nav { position: relative; }
.pm-nav__item--has-sub { position: static; }
.pm-nav__link--parent { display: inline-flex; align-items: center; gap: 6px; }
.pm-nav__link--parent::after {
  content: "";
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform .2s ease;
}
.pm-nav__item--has-sub:hover .pm-nav__link--parent { color: var(--pm-accent); border-bottom-color: var(--pm-accent); }
.pm-nav__item--has-sub:hover .pm-nav__link--parent::after { transform: rotate(180deg); }

.pm-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  list-style: none;
  background: var(--pm-bg-elev);
  border: 1px solid var(--pm-border);
  border-top: 3px solid var(--pm-accent);
  border-radius: 0 0 10px 10px;
  padding: 6px 0;
  box-shadow: 0 16px 40px rgba(0,0,0,.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 120;
}
.pm-nav:has(.pm-nav__item--has-sub:hover) .pm-submenu,
.pm-nav:has(.pm-nav__item--has-sub:focus-within) .pm-submenu,
.pm-submenu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.pm-submenu li a {
  display: block;
  padding: 12px 18px;
  color: var(--pm-text-soft);
  font-family: var(--pm-font-head);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.pm-submenu li a:hover { background: var(--pm-bg-elev-2); color: var(--pm-accent); }
.pm-submenu li a[aria-current="page"] { color: var(--pm-accent); background: var(--pm-bg-elev-2); }

/* Header actions */
.pm-actions {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Language switcher */
.pm-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--pm-bg-elev);
  border-radius: 20px;
}
.pm-lang__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  opacity: .55;
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pm-lang__item:hover { opacity: 1; transform: translateY(-1px); }
.pm-lang__item[aria-current="true"] {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--pm-accent);
}
.pm-lang__item svg { width: 20px; height: 20px; border-radius: 3px; display: block; }

/* Buttons */
.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--pm-radius-btn);
  font-family: var(--pm-font-head);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  white-space: nowrap;
}
.pm-btn:hover { transform: translateY(-1px); }
.pm-btn--primary {
  background: var(--pm-accent);
  color: var(--pm-black);
}
.pm-btn--primary:hover { background: var(--pm-accent-hover); color: var(--pm-black); }
.pm-btn--ghost {
  background: transparent;
  color: var(--pm-text);
  border-color: var(--pm-border);
}
.pm-btn--ghost:hover { border-color: var(--pm-text-soft); color: var(--pm-text); }
.pm-btn--lg { min-height: 52px; padding: 0 34px; font-size: 15px; }

.pm-actions .pm-btn { padding: 0 16px; min-height: 40px; font-size: 12px; }

/* =========================================================
   Hero
   ========================================================= */
.pm-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 80% 0%, #232300 0%, var(--pm-bg) 55%);
  border-bottom: 1px solid var(--pm-border);
}
.pm-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 40px 16px 48px;
  align-items: center;
}
.pm-hero__content { min-width: 0; }
.pm-hero__title, .pm-hero__subtitle { overflow-wrap: break-word; }
.pm-hero__eyebrow {
  display: inline-block;
  font-family: var(--pm-font-head);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pm-accent);
  margin-bottom: 14px;
}
.pm-hero__title {
  font-size: 32px;
  text-transform: uppercase;
  font-style: italic;
  margin-bottom: 16px;
}
.pm-hero__subtitle {
  color: var(--pm-text-soft);
  font-size: 17px;
  max-width: 60ch;
  margin-bottom: 26px;
}
.pm-hero__cta { align-self: start; }
.pm-hero__media {
  min-height: 220px;
}

/* =========================================================
   Media placeholders (replaced by real images via ID)
   ========================================================= */
.pm-media {
  position: relative;
  width: 100%;
  min-height: 300px;
  border-radius: var(--pm-radius-card);
  background:
    radial-gradient(90% 130% at 50% -20%, rgba(248,255,19,.10), transparent 62%),
    linear-gradient(180deg, #1c1c1c 0%, #141414 100%);
  border: 1px solid var(--pm-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
  margin: 26px 0;
}
/* subtle brand texture — only on empty placeholders (hidden once a real image replaces the span) */
.pm-media:has(> span)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 13px);
  pointer-events: none;
}
.pm-media:has(> span)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--pm-accent), transparent);
  opacity: .8;
}
.pm-media span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pm-font-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pm-accent);
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(248,255,19,.35);
  padding: 11px 18px;
  border-radius: 999px;
}
.pm-media span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--pm-accent);
  transform: skewX(-12deg);
}
.pm-media--hero {
  min-height: 0;
  height: auto;
  aspect-ratio: 808 / 632;
  margin: 0;
  border-style: solid;
  border-color: rgba(248,255,19,.20);
  box-shadow: 0 14px 44px rgba(0,0,0,.5);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  background:
    radial-gradient(70% 90% at 50% 30%, #33330a 0%, #161616 70%),
    repeating-linear-gradient(45deg, #1c1c1c 0 14px, #202020 14px 28px);
}
.pm-media--hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, var(--pm-accent), transparent);
  opacity: .85;
  pointer-events: none;
}
.pm-media--hero:hover {
  transform: translateY(-4px);
  border-color: rgba(248,255,19,.5);
  box-shadow: 0 18px 56px rgba(0,0,0,.6), 0 0 30px rgba(248,255,19,.14);
}
.pm-media--hero img { transition: transform .5s ease; }
.pm-media--hero:hover img { transform: scale(1.025); }
.pm-media--hero span {
  color: var(--pm-accent);
  border-color: var(--pm-accent);
}
.pm-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Screenshot media: show the full image (no crop), block height follows the image */
.pm-media--shot {
  min-height: 0;
  display: block;
  border: 1px solid rgba(248,255,19,.20);
  box-shadow: 0 14px 44px rgba(0,0,0,.5);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pm-media--shot::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, var(--pm-accent), transparent);
  opacity: .85;
  pointer-events: none;
}
.pm-media--shot:hover {
  transform: translateY(-4px);
  border-color: rgba(248,255,19,.5);
  box-shadow: 0 18px 56px rgba(0,0,0,.6), 0 0 30px rgba(248,255,19,.14);
}
.pm-media--shot img {
  height: auto;
  object-fit: contain;
  transition: transform .5s ease;
}
.pm-media--shot:hover img { transform: scale(1.025); }
/* Section with a vertical screenshot beside the text */
.pm-section--split { display: flex; flex-direction: column; gap: 8px; }
.pm-media--vshot { max-width: 300px; margin: 20px auto; }
.pm-media--vshot img { height: auto; }
@media (min-width: 768px) {
  .pm-section--split { flex-direction: row; align-items: flex-start; gap: 36px; }
  .pm-section--split .pm-section__text { flex: 1 1 auto; min-width: 0; }
  .pm-media--vshot { flex: 0 0 auto; width: 300px; margin: 4px 0 0; }
}
/* Portrait hero image box — hugs the image aspect, centered */
.pm-media--portrait {
  aspect-ratio: 390 / 564;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
/* Square hero image box — for (near-)square source images */
.pm-media--square {
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
/* Low-resolution hero images: render at native size (no upscaling/blur); block size unchanged */
.pm-media--native img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* =========================================================
   Content
   ========================================================= */
.pm-main { padding: 32px 0 8px; }

.pm-section { padding: 22px 0; }
.pm-section > h2 {
  font-size: 24px;
  text-transform: uppercase;
  font-style: italic;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 4px solid var(--pm-accent);
}
.pm-section p { color: var(--pm-text-soft); margin-bottom: 14px; }
.pm-lead p { font-size: 17px; }

/* Bullet lists */
.pm-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 8px 0 18px;
}
.pm-list li {
  position: relative;
  padding: 12px 14px 12px 40px;
  background: var(--pm-bg-elev);
  border: 1px solid var(--pm-border);
  border-radius: 10px;
  color: var(--pm-text-soft);
  font-size: 15px;
}
.pm-list li::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px;
  border-radius: 3px;
  background: var(--pm-accent);
}

/* Tables */
.pm-tablewrap { overflow-x: auto; margin: 8px 0 20px; border-radius: var(--pm-radius-card); border: 1px solid var(--pm-border); }
.pm-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
  font-size: 15px;
}
.pm-table th, .pm-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--pm-border);
}
.pm-table thead th {
  background: var(--pm-black);
  color: var(--pm-accent);
  font-family: var(--pm-font-head);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .04em;
}
.pm-table tbody tr:nth-child(even) { background: var(--pm-bg-elev); }
.pm-table td:first-child { color: var(--pm-text); font-weight: 600; }
.pm-table td { color: var(--pm-text-soft); }

/* Mid-page CTA band */
.pm-ctaband {
  margin: 30px 0;
  background: linear-gradient(90deg, #2a2a05, var(--pm-bg-elev));
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius-card);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.pm-ctaband h3 { font-size: 20px; text-transform: uppercase; font-style: italic; }
.pm-ctaband p { color: var(--pm-text-soft); font-size: 15px; }

/* =========================================================
   FAQ
   ========================================================= */
.pm-faq { padding: 24px 0 40px; }
.pm-faq > h2 {
  font-size: 26px;
  text-transform: uppercase;
  font-style: italic;
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 4px solid var(--pm-accent);
}
.pm-faq__item {
  background: var(--pm-bg-elev);
  border: 1px solid var(--pm-border);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
.pm-faq__item > summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 18px;
  font-family: var(--pm-font-head);
  font-weight: 700;
  font-size: 16px;
  position: relative;
}
.pm-faq__item > summary::-webkit-details-marker { display: none; }
.pm-faq__item > summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  color: var(--pm-accent);
  font-size: 22px;
  font-weight: 400;
  transition: transform .2s ease;
}
.pm-faq__item[open] > summary::after { content: "\2212"; }
.pm-faq__item p {
  padding: 0 18px 18px;
  color: var(--pm-text-soft);
  font-size: 15px;
}

/* =========================================================
   Footer
   ========================================================= */
.pm-footer {
  background: var(--pm-black);
  border-top: 1px solid var(--pm-border);
  padding: 36px 0 28px;
  margin-top: 16px;
}
.pm-footer__top {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.pm-footer__logo img { height: 20px; }
.pm-footer__links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.pm-footer__links a {
  color: var(--pm-text-soft);
  font-size: 14px;
  font-weight: 600;
}
.pm-footer__links a:hover { color: var(--pm-accent); }
.pm-footer__note {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--pm-border);
  color: var(--pm-text-muted);
  font-size: 13px;
  line-height: 1.7;
}
.pm-footer__note .pm-copy { margin-top: 12px; color: var(--pm-text-soft); }
.pm-footer__age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--pm-accent);
  color: var(--pm-accent);
  font-family: var(--pm-font-head);
  font-weight: 800;
  font-size: 13px;
  margin-right: 10px;
  vertical-align: middle;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 480px) {
  .pm-hero__title { font-size: 38px; }
  .pm-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .pm-hero__inner { padding: 56px 16px 64px; }
  .pm-hero__title { font-size: 46px; }
  .pm-footer__top { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 1024px) {
  .pm-hero__inner {
    grid-template-columns: 1fr 1fr;
    padding: 64px 16px 72px;
    align-items: stretch;
  }
  .pm-hero__media { position: relative; }
  /* Regular (landscape) hero image: fills the media cell width, height from its own aspect (inline) — no letterbox */
  .pm-media--hero {
    position: relative;
    top: auto; bottom: auto; left: auto; right: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }
  .pm-media--hero img { width: 100%; height: 100%; object-fit: contain; }
  /* Large hero variant (e.g. support): break out of the text-column height cap and grow bigger */
  .pm-media--lg {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
  }
  .pm-media--lg:hover { transform: translateY(-4px); }
  /* Fill variant (e.g. support): in-column box sized to image aspect (inline) — no overlap, no crop, no gaps */
  .pm-media--fill {
    position: relative;
    top: auto; bottom: auto; right: auto; left: auto;
    inset: auto;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0;
  }
  .pm-media--fill img { object-fit: cover; }
  .pm-media--fill:hover { transform: translateY(-4px); }
  /* Support: give the media column more width so the banner is larger */
  .pm-hero__inner--media-wide { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
  /* Registration hero: height capped to the text column, box hugs image aspect (no empty space) */
  .pm-media--reg {
    position: absolute;
    top: 0; bottom: 0;
    left: 0; right: 0;
    transform: none;
    width: auto;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 630 / 714;
  }
  .pm-media--reg img { object-fit: contain; }
  .pm-media--reg:hover { transform: translateY(-4px); }
  /* keep the hover lift purely vertical for every hero variant (no horizontal shift) */
  .pm-media--hero:hover { transform: translateY(-4px); }
  /* Portrait hero image (e.g. login): height capped to the text column, box hugs image aspect */
  .pm-media--portrait {
    position: absolute;
    top: 0; bottom: 0;
    left: 0; right: 0;
    transform: none;
    width: auto;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 390 / 564;
  }
  /* Square hero image: square box, height capped to the text column */
  .pm-media--square {
    left: 0;
    right: 0;
    transform: none;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }
  .pm-hero__title { font-size: 54px; }
  .pm-section > h2 { font-size: 28px; }
  .pm-ctaband { flex-direction: row; align-items: center; justify-content: space-between; }
  .pm-ctaband__text { max-width: 60%; }
}

@media (min-width: 1280px) {
  .pm-hero__title { font-size: 50px; }
}

/* Horizontal nav shown on desktop; scrolls horizontally if space is tight so items never overlap the buttons */
@media (min-width: 1024px) {
  .pm-nav { display: block; }
  .pm-nav__list { gap: 16px; flex-wrap: nowrap; }
}

/* =========================================================
   Mobile menu (burger) — CSS-only toggle
   ========================================================= */
.pm-nav-toggle {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pm-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 40px;
  padding: 0 11px;
  cursor: pointer;
  border-radius: 10px;
  border: 1px solid var(--pm-border);
  background: var(--pm-bg-elev);
  transition: border-color .2s ease;
}
.pm-burger:hover { border-color: var(--pm-text-soft); }
.pm-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--pm-text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.pm-nav-toggle:checked ~ .pm-header__inner .pm-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pm-nav-toggle:checked ~ .pm-header__inner .pm-burger span:nth-child(2) { opacity: 0; }
.pm-nav-toggle:checked ~ .pm-header__inner .pm-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.pm-mobile-nav {
  max-height: 0;
  overflow: hidden;
  background: var(--pm-black);
  transition: max-height .3s ease, border-color .3s ease;
  border-top: 0 solid var(--pm-accent);
}
.pm-nav-toggle:checked ~ .pm-mobile-nav {
  max-height: 720px;
  border-top: 3px solid var(--pm-accent);
}
.pm-mobile-nav__list {
  list-style: none;
  padding: 6px 16px;
}
.pm-mobile-nav__list li a {
  display: block;
  padding: 13px 6px;
  color: var(--pm-text-soft);
  font-family: var(--pm-font-head);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .03em;
  border-bottom: 1px solid var(--pm-border);
  transition: color .15s ease;
}
.pm-mobile-nav__list li:last-child a { border-bottom: 0; }
.pm-mobile-nav__list li a:hover { color: var(--pm-accent); }
.pm-mobile-nav__list li a[aria-current="page"] {
  color: var(--pm-accent);
  box-shadow: inset 3px 0 0 var(--pm-accent);
  padding-left: 12px;
}
.pm-mobile-nav__sub[aria-current="page"] { padding-left: 26px !important; }
.pm-mobile-nav__sub {
  padding-left: 22px !important;
  font-size: 12px !important;
  color: var(--pm-text-muted) !important;
}
.pm-mobile-nav__cta {
  display: flex;
  gap: 10px;
  padding: 14px 16px 22px;
}
.pm-mobile-nav__cta .pm-btn { flex: 1; }

@media (max-width: 767px) {
  .pm-actions .pm-btn { display: none; }

  /* Header: keep burger + language switcher inside the viewport */
  .pm-header__inner { gap: 8px; padding: 8px 10px; }
  .pm-logo img { height: 15px; }
  .pm-actions { gap: 6px; }
  .pm-lang { gap: 2px; padding: 2px; }
  .pm-lang__item { width: 24px; height: 24px; }
  .pm-lang__item svg { width: 16px; height: 16px; }
  .pm-burger { width: 40px; height: 36px; padding: 0 9px; }
}

@media (max-width: 340px) {
  .pm-logo img { height: 13px; }
  .pm-lang__item { width: 22px; height: 22px; }
}

@media (min-width: 1024px) {
  .pm-burger { display: none; }
  .pm-mobile-nav { display: none; }
}
