/* Header dropdowns, app cards, video and "More from INFNIT®". Loaded after site.css. */
.menu { position: relative; display: flex; align-items: center; gap: 2px; }
.menu__label { padding: 10px 0; letter-spacing: .06em; }
.menu__label[aria-current] { color: var(--ink); }
.menu__toggle { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 44px; padding: 0; background: none; border: 0; color: var(--soft); cursor: pointer; }
.menu__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu__list { position: absolute; top: 100%; left: -16px; z-index: 20; min-width: 190px; margin: 0; padding: 6px 0; list-style: none; background: var(--panel); border: 1px solid var(--line-2); }
.menu__list a { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; padding: 0 16px; }
.menu__list a:hover { background: var(--deep); }
.menu__free { font: 12px var(--narrow); letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); }
@media (hover: hover) { .menu:hover > .menu__list[hidden] { display: block; } }
@media (min-width: 861px) and (max-width: 1200px) {
  .site-head--menus .site-nav { gap: 16px; font-size: 14px; }
  .site-head--menus img { height: 20px; }
  .site-head--menus .site-nav .social { display: none; }
}
/* Phones: logo and button on the first row, the two menus on a second row. */
@media (max-width: 860px) {
  .site-head.site-head--menus .wrap { position: relative; height: auto; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; }
  .site-head--menus .wrap > a { display: flex; align-items: center; height: 64px; }
  .site-head--menus .site-nav { gap: 24px; }
  .site-head--menus .site-nav .menu a { display: flex; }
  .site-head--menus .site-nav .btn { position: absolute; top: 10px; right: var(--pad); }
}

.price { margin: 0; font: 15px var(--narrow); letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); }

.app-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 380px)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.app-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 0 0 24px; border: 1px solid var(--line-2); background: var(--panel); }
.app-card img { display: block; width: 100%; height: auto; background: #000; }
.app-card > :not(img) { margin-inline: 24px; }
.app-card h2 { margin-block: 8px 0; font-weight: 300; font-stretch: 110%; font-size: 28px; line-height: 1.15; color: var(--ink); }
.app-card p:not(.price) { margin-block: 0; color: var(--body); }
.app-card .btn { margin-top: auto; }

.video { position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 960px; border: 1px solid var(--line-2); background: #000; }
.video > a, .video > iframe, .video img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video img { object-fit: cover; }
.video__btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; background: var(--navy); border: 1px solid var(--ochre); color: var(--ink); font-weight: 600; white-space: nowrap; }

.more-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.more-cards a { display: flex; align-items: center; gap: 20px; height: 100%; padding: 16px; border: 1px solid var(--line-2); background: var(--panel); text-decoration: none; color: var(--body); }
.more-cards a:hover { border-color: var(--mid); }
.more-cards img { width: 96px; height: 96px; flex-shrink: 0; background: #000; }
.more-cards strong { display: block; color: var(--ink); font-weight: 500; }
.more-cards span { display: block; }
@media (max-width: 760px) { .more-cards { grid-template-columns: 1fr; } .more-cards img { width: 72px; height: 72px; } }

/* Self-hosted promo videos (METEO, DRIFT): 9:16, muted loop, square corners like the rest of the site. */
.promo-video { position: relative; width: 100%; max-width: 360px; margin: 0 auto; }
.promo-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border: 1px solid var(--line-2); background: #000; }
.promo-video__btn { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; background: rgba(20, 27, 40, .85); border: 1px solid var(--line-2); color: var(--ink); font: 600 15px/1 "Archivo", sans-serif; cursor: pointer; }
.promo-video__btn:hover, .promo-video__btn:focus-visible { border-color: var(--ochre); }
.promo-video__btn--big { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); min-height: 52px; padding: 0 24px; background: var(--navy); border-color: var(--ochre); font-size: 17px; }
@media (max-width: 960px) { .promo-video { max-width: none; } }
