/* style.css - all styling.
   Colours: edit the variables in the first :root block (light) and the two dark blocks right after it.
   Phone layout: the @media (max-width:960px) and (max-width:600px) blocks near the end. */

:root {
  --bg:#fff;
  --surface:#fff;
  --tile:#EEF2F9;
  --ink:#1A1F36;
  --muted:#4A5470;
  --line:#DDE3F0;
  --head:#1B3A9C;
  --navy:#0B2A7A;
  --red:#D6191F;
  --org:#F26B0F;
  --hhead:#1A2F8F;
  --hink:#1A1F36;
  color-scheme:light;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
}

@media (prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) {
    --bg:#0B1020;
    --surface:#121A33;
    --tile:#18223F;
    --ink:#E9EDFA;
    --muted:#A3AECF;
    --line:#26335C;
    --head:#9DB2FF;
    --navy:#08205F;
    color-scheme:dark;
  }
}

:root[data-theme="dark"] {
  --bg:#0B1020;
  --surface:#121A33;
  --tile:#18223F;
  --ink:#E9EDFA;
  --muted:#A3AECF;
  --line:#26335C;
  --head:#9DB2FF;
  --navy:#08205F;
  color-scheme:dark;
}

html {
  scroll-padding-top:calc(90px + env(safe-area-inset-top,0px));
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font:400 16px/1.55 Poppins,system-ui,sans-serif;
}

body::before {
  content:"";
  position:fixed;
  inset:0 0 auto;
  height:env(safe-area-inset-top,0px);
  background:var(--surface);
  z-index:30;
}

a {
  color:inherit;
}

h1,h2,h3 {
  margin:0;
  line-height:1.15;
}

:focus-visible {
  outline:3px solid var(--org);
  outline-offset:2px;
}

.wrap {
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

.ic {
  width:20px;
  height:20px;
  flex:none;
}

.top {
  background:var(--navy);
  color:#fff;
  font-size:14px;
}

.top .wrap {
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:40px;
  gap:16px;
  flex-wrap:wrap;
}

.top span {
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-right:22px;
}

.soc {
  display:inline-flex;
  gap:10px;
}

.soc .ic {
  width:22px;
  height:22px;
}

header {
  position:sticky;
  top:env(safe-area-inset-top,0px);
  z-index:20;
  background:var(--surface);
  box-shadow:0 2px 10px rgba(10,30,90,.1);
}

header .wrap {
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:74px;
  gap:16px;
}

.logo {
  display:block;
  text-decoration:none;
  text-align:center;
  line-height:1;
}

.logo svg {
  width:112px;
  height:42px;
  display:block;
  margin:0 auto;
}

.logo b {
  display:block;
  color:var(--red);
  font-weight:800;
  font-size:18px;
  letter-spacing:-.01em;
  margin-top:2px;
}

.logo.w b {
  color:#fff;
}

nav>ul {
  display:flex;
  gap:26px;
  list-style:none;
  margin:0;
  padding:0;
  align-items:center;
}

nav a.l {
  text-decoration:none;
  font-weight:500;
  font-size:15px;
  padding:8px 0;
  border-bottom:3px solid transparent;
  display:inline-block;
}

nav a.on {
  color:var(--red);
  border-color:var(--red);
}

nav li {
  position:relative;
}

nav .dd>ul {
  display:none;
  position:absolute;
  left:-14px;
  top:100%;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:10px;
  list-style:none;
  margin:0;
  padding:8px;
  min-width:230px;
  box-shadow:0 12px 24px rgba(10,30,90,.15);
}

nav .dd:hover>ul,nav .dd:focus-within>ul {
  display:block;
}

nav .dd>ul a {
  display:block;
  padding:8px 12px;
  text-decoration:none;
  font-size:14px;
  border-radius:6px;
}

nav .dd>ul a:hover {
  background:var(--tile);
}

.hr {
  display:flex;
  align-items:center;
  gap:12px;
}

.tg {
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid var(--line);
  background:var(--tile);
  color:var(--ink);
  display:grid;
  place-items:center;
  cursor:pointer;
  padding:0;
}

.mb {
  display:none;
  background:none;
  border:1px solid var(--line);
  border-radius:8px;
  padding:8px 12px;
  color:inherit;
  font:inherit;
}

.btn {
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:2px solid transparent;
  border-radius:10px;
  padding:12px 24px;
  font:600 16px Poppins,sans-serif;
  text-decoration:none;
  cursor:pointer;
}

.btn.org {
  background:var(--org);
  color:#fff;
}

.btn.red {
  background:var(--red);
  color:#fff;
}

.btn.out {
  border-color:#1B3A9C;
  color:#1B3A9C;
  background:#fff;
}

.btn.wh {
  background:#fff;
  color:#0B2A7A;
}

.btn.ol {
  border-color:#F9A04A;
  background:var(--org);
  color:#fff;
}

.hero {
  position:relative;
  overflow:hidden;
  background:linear-gradient(100deg,#fff 0%,#EDF3FC 60%);
  color:var(--hink);
}

.him {
  position:absolute;
  right:0;
  top:0;
  height:100%;
  width:60%;
  object-fit:cover;
  object-position:right;
 /* -webkit-mask-image:linear-gradient(90deg,transparent,#000 35%);
  mask-image:linear-gradient(90deg,transparent,#000 35%);*/
}

.sw1 {
  position:absolute;
  left:0;
  bottom:0;
  width:36%;
  height:60%;
}

.sw2 {
  position:absolute;
  right:0;
  bottom:0;
  width:42%;
  height:20%;
}

.hin {
  position:relative;
  padding-top:34px;
  padding-bottom:30px;
}

.badge {
  display:inline-block;
  border:1.5px solid var(--org);
  border-radius:999px;
  padding:3px 16px;
  font-weight:700;
  font-size:14px;
  background:#fff;
}

.hero h1 {
  font-size:clamp(32px,4.6vw,56px);
  font-weight:800;
  color:var(--hhead);
  margin:18px 0 14px;
  max-width:11.5em;
  letter-spacing:-.02em;
}

.hero h1 b {
  color:var(--red);
  display:block;
}

.hero p {
  font-size:18px;
  max-width:27em;
  margin:0 0 24px;
  font-weight:500;
}

.cta {
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

.trust {
  list-style:none;
  margin:34px 0 0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:20px 0;
}

.trust li {
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 28px;
  border-left:1px solid #C9D2E6;
  font-size:15px;
  font-weight:500;
}

.trust li:first-child {
  padding-left:0;
  border:0;
}

.trust .ic {
  width:36px;
  height:36px;
  color:var(--red);
}

section.s {
  padding:56px 0;
}

.ct {
  text-align:center;
  margin-bottom:26px;
}

.ct small {
  display:block;
  color:var(--org);
  font-weight:700;
  letter-spacing:.02em;
}

.ct h2,.h {
  font-size:clamp(26px,3vw,36px);
  font-weight:700;
  color:var(--head);
}

.ct h2::after {
  content:"";
  display:block;
  width:84px;
  height:3px;
  background:var(--red);
  margin:8px auto 0;
}

.tiles {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:14px;
}

.tile {
  background:var(--tile);
  border-radius:12px;
  padding:20px 10px;
  text-align:center;
  text-decoration:none;
  font-weight:600;
  font-size:15px;
  line-height:1.3;
}

.tile .ic {
  width:44px;
  height:44px;
  margin:0 auto 10px;
  display:block;
}

.c0 {
  color:#F26B0F;
}

.c1 {
  color:#D6191F;
}

.c2 {
  color:#1B3A9C;
}

.about {
  display:grid;
  grid-template-columns:.95fr 1.1fr .95fr;
  gap:36px;
  align-items:center;
}

.about img {
  width:100%;
  border-radius:18px;
  display:block;
}

.about small {
  color:var(--red);
  font-weight:700;
}

.about p {
  color:var(--muted);
  margin:10px 0 14px;
}

.ck {
  list-style:none;
  padding:0;
  margin:0 0 18px;
}

.ck li {
  display:flex;
  gap:10px;
  align-items:center;
  font-weight:600;
  padding:3px 0;
}

.ck .ic {
  background:var(--org);
  color:#fff;
  border-radius:50%;
  padding:3px;
  width:20px;
  height:20px;
}

.stats {
  background:var(--tile);
  border-radius:14px;
  border-right:4px solid var(--org);
  padding:10px 22px;
}

.stats div {
  display:flex;
  gap:16px;
  align-items:center;
  padding:12px 0;
}

.stats .ic {
  width:40px;
  height:40px;
  color:var(--red);
}

.stats strong {
  display:block;
  font-size:22px;
  line-height:1.1;
}

.stats span {
  font-size:14px;
  color:var(--muted);
}

.band {
  background:linear-gradient(90deg,#0B2A7A 45%,#C8161D);
  border-radius:14px;
  color:#fff;
  padding:26px 36px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}

.band h2 {
  font-size:28px;
}

.band p {
  margin:4px 0 0;
}

footer {
  background:#0B2A7A;
  color:#fff;
  margin-top:56px;
}

.fg {
  display:grid;
  grid-template-columns:1.5fr .8fr .8fr 1.3fr .8fr;
  gap:28px;
  padding-top:34px;
  padding-bottom:30px;
  font-size:14px;
}

.fg h4 {
  margin:0 0 10px;
  font-size:14px;
}

.fg a,.fg li {
  display:block;
  text-decoration:none;
  opacity:.9;
  padding:2px 0;
}

.fg ul {
  list-style:none;
  margin:0;
  padding:0;
}

.fg li {
  display:flex;
  gap:8px;
  align-items:flex-start;
}

.fg .ic {
  width:16px;
  height:16px;
  margin-top:3px;
}

.fb {
  background:#C8161D;
  font-size:13px;
}

.fb .wrap {
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding-top:8px;
  padding-bottom:8px;
}

.ban {
  position:relative;
  overflow:hidden;
  background:linear-gradient(100deg,#0B2A7A 40%,#1D55C8);
  color:#fff;
  border-radius:16px;
  padding:44px 40px;
  margin:30px 0 34px;
  min-height:190px;
}

.ban>div {
  position:relative;
  max-width:520px;
}

.ban h1 {
  font-size:clamp(30px,4vw,46px);
  font-weight:700;
}

.ban p {
  margin:10px 0 18px;
  opacity:.92;
}

.ban img {
  position:absolute;
  right:0;
  top:0;
  height:100%;
  width:48%;
  object-fit:cover;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 45%);
  mask-image:linear-gradient(90deg,transparent,#000 45%);
}

.card {
  background:var(--surface);
  border:1px solid var(--line);
  border-left:6px solid var(--org);
  border-radius:14px;
  padding:24px;
}

.card.n {
  border-left-color:#0B2A7A;
}

.card.r {
  border-left-color:var(--red);
}

.card h3 {
  font-size:21px;
  color:var(--head);
  margin-bottom:8px;
}

.card p {
  margin:0;
  color:var(--muted);
}

.g2 {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.g3 {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.chips {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 16px;
}

.chip {
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--ink);
  border-radius:999px;
  padding:8px 16px;
  font:500 14px Poppins;
  cursor:pointer;
}

.chip[aria-pressed="true"] {
  background:var(--head);
  color:var(--bg);
  border-color:var(--head);
}

.pr {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
  gap:14px;
  margin-top:16px;
}

.pr .card {
  padding:18px;
}

.pi {
  background:var(--tile);
  border-radius:10px;
  margin-bottom:12px;
  display:block;
}

.pi svg {
  display:block;
  width:100%;
  height:auto;
}

.tile .pi {
  background:none;
  margin-bottom:8px;
}

.pr h3 {
  font-size:17px;
}

.tag {
  display:inline-block;
  background:var(--tile);
  border-radius:6px;
  padding:2px 10px;
  font-size:13px;
  margin-top:8px;
}

input,select,textarea {
  width:100%;
  font:inherit;
  color:var(--ink);
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:8px;
  padding:11px 13px;
  margin-bottom:12px;
}

textarea {
  min-height:90px;
  resize:vertical;
}

.ok {
  margin:10px 0 0;
  font-weight:600;
  color:var(--head);
}

.pn {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.pn div {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  height:92px;
  display:grid;
  place-items:center;
  font-weight:800;
  font-size:26px;
  color:var(--head);
}

.step {
  counter-increment:s;
}

.step::before {
  content:counter(s);
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:50%;
  background:var(--org);
  color:#fff;
  font-weight:700;
  margin-bottom:10px;
}

.jobs .card {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:12px;
  flex-wrap:wrap;
}

.ci div {
  display:flex;
  gap:12px;
  align-items:center;
  padding:8px 0;
}

.ci .ic {
  color:var(--org);
  width:24px;
  height:24px;
}

.av .ic {
  width:46px;
  height:46px;
}

@media (max-width:960px) {
  .mb {
    display:block;
  }
  nav>ul {
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:100%;
    background:var(--surface);
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:12px 24px;
    border-bottom:1px solid var(--line);
  }
  nav>ul.open {
    display:flex;
  }
  nav .dd>ul {
    display:none!important;
  }
  .hr .btn {
    display:none;
  }
  .him {
    width:100%;
    opacity:.22;
  }
  .tiles {
    grid-template-columns:repeat(3,1fr);
  }
  .about,.g2,.g3,.fg {
    grid-template-columns:1fr;
  }
  .pn {
    grid-template-columns:1fr 1fr;
  }
  .trust li {
    padding:0 14px 0 0;
    border:0;
  }
  .ban img {
    opacity:.25;
    width:100%;
  }
  .band {
    padding:24px;
  }
}

.mbar {
  display:none;
}

@media (max-width:960px) {
  .g3 {
    grid-template-columns:1fr!important;
  }
  .g3:has(.step) {
    grid-template-columns:1fr 1fr!important;
  }
  .about {
    grid-template-columns:1fr!important;
    gap:22px;
  }
  .wrap {
    padding:0 18px;
  }
  section.s {
    padding:40px 0;
  }
  .top .wrap {
    justify-content:center;
    padding-top:6px;
    padding-bottom:6px;
  }
  .top span {
    margin-right:14px;
  }
  .top span:nth-child(1) {
    display:none;
  }
  .top .soc {
    display:none;
  }
  .tg {
    width:44px;
    height:44px;
  }
  nav a.l {
    padding:13px 0;
    font-size:16px;
    display:block;
  }
  .trust {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px 8px;
  }
  .trust li {
    padding:0;
    font-size:14px;
  }
  .trust .ic {
    width:30px;
    height:30px;
  }
  .ban {
    padding:28px 20px;
    margin:18px 0 22px;
    min-height:0;
  }
  .pn div {
    height:auto;
    min-height:84px;
    font-size:20px;
    padding:10px;
    text-align:center;
  }
  .fg {
    grid-template-columns:1fr 1fr;
  }
  .fg>div:first-child,.fg>div:nth-child(4) {
    grid-column:1/-1;
  }
  .chip {
    min-height:44px;
  }
  .cta .btn,.band .btn {
    flex:1 1 100%;
    justify-content:center;
  }
  .mbar {
    display:flex;
    gap:10px;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:25;
    background:var(--surface);
    border-top:1px solid var(--line);
    padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));
  }
  .mbar .btn {
    flex:1;
    justify-content:center;
    padding:12px 10px;
  }
  body {
    padding-bottom:72px;
  }
}

@media (max-width:600px) {
  .tiles {
    grid-template-columns:1fr 1fr;
    gap:10px;
  }
  .tile {
    padding:12px 8px;
    font-size:14px;
  }
  .pr {
    grid-template-columns:1fr 1fr;
    gap:10px;
  }
  .pr .card {
    padding:10px;
  }
  .pr h3 {
    font-size:14px;
  }
  .hero h1 {
    font-size:34px;
  }
  .ct h2,.h {
    font-size:26px;
  }
  .stats {
    padding:6px 16px;
  }
}

.cr {
  font-style:normal;
}

@keyframes fi {
  from {
    opacity:0;
    transform:translateY(10px);
  }
  to {
    opacity:1;
    transform:none;
  }
}

#app>* {
  animation:fi .45s ease both;
}

@media (prefers-reduced-motion:reduce) {
  #app>* {
    animation:none;
  }
}

@media (max-width:960px) {
  .top {
    display:none;
  }
  .cr {
    display:none;
  }
  header .wrap {
    height:64px;
    gap:8px;
  }
  .logo {
    margin-right:auto;
  }
  .logo svg {
    width:88px;
    height:33px;
  }
  .logo b {
    font-size:15px;
  }
  .hr {
    order:2;
  }
  nav {
    order:3;
  }
  .mb {
    width:44px;
    height:44px;
    padding:0;
    font-size:0;
    position:relative;
    border-radius:12px;
  }
  .mb::before,.mb::after {
    content:"";
    position:absolute;
    left:12px;
    right:12px;
    top:15px;
    height:2px;
    border-radius:2px;
    background:currentColor;
    transition:transform .25s;
  }
  .mb::before {
    box-shadow:0 7px 0 currentColor,0 14px 0 currentColor;
  }
  .mb::after {
    top:21px;
    opacity:0;
  }
  .mb[aria-expanded="true"]::before {
    top:21px;
    box-shadow:none;
    transform:rotate(45deg);
  }
  .mb[aria-expanded="true"]::after {
    opacity:1;
    transform:rotate(-45deg);
  }
  nav>ul {
    padding:6px 18px 16px;
    box-shadow:0 24px 32px -12px rgba(10,30,90,.25);
    max-height:calc(100vh - 64px);
    overflow:auto;
  }
  nav>ul>li {
    border-bottom:1px solid var(--line);
  }
  nav>ul>li:last-child {
    border:0;
  }
  nav a.l {
    padding:16px 0;
    font-size:17px;
    font-weight:600;
  }
  nav a.on {
    border-color:transparent;
  }
  .hero {
    display:flex;
    flex-direction:column;
    padding:26px 18px 28px;
    background:linear-gradient(180deg,#F8FAFF,#E9F0FC);
  }
  .sw1,.sw2 {
    display:none;
  }
  .hin {
    display:contents;
  }
  .hin>* {
    order:1;
  }
  .badge {
    align-self:flex-start;
  }
  .hero h1 {
    font-size:36px;
    letter-spacing:-.03em;
    margin:16px 0 12px;
  }
  .hero p {
    font-size:16px;
    font-weight:400;
    color:#4A5470;
    margin-bottom:20px;
  }
  .cta {
    margin-bottom:6px;
  }
  .him {
    order:2;
    position:relative;
    width:100%;
    height:200px;
    margin:14px 0 20px;
    border-radius:22px;
    opacity:1;
    -webkit-mask-image:none;
    mask-image:none;
    object-position:center right;
    box-shadow:0 22px 40px -20px rgba(11,42,122,.5);
  }
  .hin>.trust {
    order:3;
    margin:0;
    background:#fff;
    border-radius:18px;
    padding:16px;
    box-shadow:0 12px 30px -20px rgba(11,42,122,.4);
  }
  .tile {
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:18px;
    box-shadow:0 10px 24px -18px rgba(11,42,122,.4);
  }
  .tile .pi {
    background:var(--tile);
    border-radius:12px;
    padding:6px 0;
    margin-bottom:10px;
  }
  .card,.card.n,.card.r {
    border-left:1px solid var(--line);
    border-radius:18px;
    box-shadow:0 12px 28px -20px rgba(11,42,122,.4);
  }
  .card {
    border-top:3px solid var(--org);
  }
  .card.n {
    border-top-color:var(--head);
  }
  .card.r {
    border-top-color:var(--red);
  }
  .pr .card {
    border-top:1px solid var(--line);
  }
  .ban {
    border-radius:22px;
    padding:30px 22px;
  }
  .ban img {
    width:65%;
    opacity:.3;
  }
  .band {
    border-radius:22px;
  }
  .band h2 {
    font-size:24px;
  }
  input,select,textarea {
    border-radius:12px;
    padding:14px;
  }
  [data-f] .btn {
    width:100%;
    justify-content:center;
  }
  .chips {
    flex-wrap:nowrap;
    overflow-x:auto;
    margin:0 -18px 16px;
    padding:2px 18px;
    scrollbar-width:none;
  }
  .chips::-webkit-scrollbar {
    display:none;
  }
  .chip {
    flex:none;
  }
  .mbar {
    background:var(--surface);
    background:color-mix(in srgb,var(--surface) 90%,transparent);
    -webkit-backdrop-filter:blur(14px);
    backdrop-filter:blur(14px);
    box-shadow:0 -10px 28px -14px rgba(10,30,90,.35);
  }
  .mbar .btn {
    border-radius:14px;
    font-size:15px;
    padding:13px 10px;
  }
}

.av {
  width:84px;
  height:84px;
  border-radius:50%;
  background:var(--tile);
  display:grid;
  place-items:center;
  color:var(--head);
  margin-bottom:14px;
}

.av-img {
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  border-radius:14px;
  object-fit:cover;
  object-position:center top;
  display:block;
  margin-bottom:18px;
  border:0;
  box-shadow:0 6px 18px rgba(11,42,122,.15);
}

/* ---- Photos page ---- */
.gal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.gal figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px -20px rgba(11,42,122,.4);
}
.gal figure > button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.gal figure > button:hover img { transform: scale(1.05); }
.gal figcaption { padding: 12px 16px; font-weight: 600; font-size: 15px; }
.gal .ph {
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  background: var(--tile);
  color: var(--muted);
  font-size: 14px;
}
.lb {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(5,12,40,.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
}
.lb[hidden] { display: none; }
.lb img { max-width: min(100%, 960px); max-height: 70vh; border-radius: 12px; }
.lb p { color: #fff; margin: 0; font-weight: 500; text-align: center; }
.lb button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.lb .nav { display: flex; gap: 18px; }
.lb .x { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 16px; }
@media (max-width: 600px) {
  .gal { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gal figcaption { padding: 8px 10px; font-size: 13px; }
}

/* ---- Logo image (images/logo.png) ---- */
.logo img { display: block; height: 62px; width: auto; max-width: 190px; object-fit: contain; }
.logo.w img { height: 64px; background: #fff; border-radius: 10px; padding: 6px; }
:root[data-theme="dark"] .logo img { background: #fff; border-radius: 8px; padding: 3px; }
@media (max-width: 960px) {
  .logo img { height: 46px; max-width: 150px; }
  .logo.w img { height: 56px; }
}
