/* ======================================================
   LK Сфера — style.css  (Adaptive / Responsive)
   Breakpoints:
     Desktop  ≥ 1200px  — matches Figma 1440px design
     Tablet   768–1199px
     Mobile   < 768px
   No horizontal scroll at any width.
   Gallery keeps its own horizontal scroll (intentional).
   ====================================================== */

/* ── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #000;
  overflow-x: hidden;   /* no horizontal page scroll */
}

a  { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
p  { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* lock scroll while lightbox is open */
body.lightbox-locked { overflow: hidden; }

/* ── CONTAINER HELPER ─────────────────────────────────── */
/* Sections use this to constrain content width & add padding */
.section-inner,
.footer-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════
   SITE HEADER WRAPPER (sticky behavior)
   ══════════════════════════════════════════════════════ */
.site-header {
  position: relative;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 200;
  background: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-fixed {
  position: fixed;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

/* Compact mode: shrink the top-bar away, tighten navbar */
.site-header.is-compact .top-bar {
  max-height: 0;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  opacity: 0;
}

.site-header.is-compact .navbar {
  padding-top: 6px;
  padding-bottom: 6px;
}

.site-header.is-compact .logo-img {
  width: clamp(120px, 16vw, 220px);
}

.top-bar {
  transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
}

.header-spacer { display: none; }

/* ══════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
   ══════════════════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 300;
  background: transparent;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0093ff, #00d4ff);
  transition: width 0.1s linear;
}


.top-bar {
  width: 100%;
  background: #03192a;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 38px;
  padding: 4px 40px;
}

.top-bar-contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px;
}

.contact-icon          { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; }
.contact-icon--email   { width: 17px; height: 13px; }

.contact-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  color: #fff;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════ */
.navbar {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  gap: 24px;
  position: relative;
  z-index: 100;
  /* subtle bottom border so it doesn't bleed into hero */
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.navbar-logo { flex-shrink: 0; }

.logo-img {
  /* Scale down from Figma 358×78 */
  width: clamp(180px, 25vw, 358px);
  height: auto;
  object-fit: contain;
}

/* Desktop nav links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 40px);
  flex-wrap: nowrap;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(11px, 1.1vw, 16px);
  line-height: normal;
  color: #000;
  white-space: nowrap;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #0093ff;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-link.is-active {
  color: #0093ff;
}

/* Hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ══════════════════════════════════════════════════════
   SCROLL-REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal="fade-up"]  { transform: translateY(28px); }
[data-reveal="pop"]      { transform: scale(0.85); }

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}


.hero {
  width: 100%;
  position: relative;
  overflow: hidden;
  /* Height scales: 563px at 1440px wide, scales with viewport */
  height: clamp(320px, 39vw, 563px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-img {
  position: absolute;
  /* Keep it centered-ish like Figma's slight offset */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(102,102,102,0) 0%, rgba(0,0,0,0.64) 100%);
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(16px, 3vw, 60px) clamp(20px, 5.5vw, 79px) clamp(40px, 5vw, 80px);
  gap: 16px;
  pointer-events: none;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 4.2vw, 60px);
  line-height: 1.1;
  color: #fff;
  max-width: 680px;
}

.hero-license {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(11px, 1.4vw, 20px);
  line-height: normal;
  color: #fffcfc;
  white-space: nowrap;
  align-self: flex-end;
  pointer-events: auto;
}

/* Reconstruction banner — top-right corner of hero */
.reconstruction-banner {
  position: absolute;
  top: clamp(12px, 1.5vw, 21px);
  right: clamp(12px, 2vw, 30px);
  background: #fff;
  border: 5px solid red;
  border-radius: 8px;
  padding: clamp(12px, 2vw, 30px) clamp(12px, 1.8vw, 25px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  pointer-events: auto;
}

.reconstruction-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,0,0,0.25);
}

.banner-ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.25);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  animation: ripple-expand 0.6s ease-out forwards;
}

@keyframes ripple-expand {
  to {
    transform: translate(-50%, -50%) scale(18);
    opacity: 0;
  }
}

.reconstruction-text {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(12px, 1.6vw, 24px);
  line-height: normal;
  color: #000;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════
   SHARED SECTION STYLES
   ══════════════════════════════════════════════════════ */
.section {
  width: 100%;
  padding: clamp(28px, 4vw, 40px) clamp(20px, 5.5vw, 80px);
}

.section--white { background: #fff; }
.section--dark  { background: #03192a; }

.section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 2vw, 24px);
  line-height: normal;
  text-align: center;
  width: 100%;
  flex-shrink: 0;
}

.section-title--dark  { color: #000; }
.section-title--light { color: #fff; }

.section-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.6;
  width: 100%;
}

.section-text--dark  { color: #000; }
.section-text--light { color: #fff; }

.section-text p { margin-bottom: 0; line-height: 1.6; }
.section-text strong { font-weight: 700; }

/* ══════════════════════════════════════════════════════
   COOPERATION
   ══════════════════════════════════════════════════════ */
#cooperation .section-inner { gap: 32px; }

.cooperation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(16px, 2vw, 40px);
  row-gap: 40px;
  width: 100%;
}

.cooperation-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cooperation-col-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: normal;
  text-align: center;
  width: 100%;
  color: #000;
}

.cooperation-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.cooperation-step { display: flex; flex-direction: column; gap: 10px; }

.step-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(13px, 1.3vw, 18px);
  line-height: normal;
  color: #000;
}

.step-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.5;
  color: #000;
}

/* ══════════════════════════════════════════════════════
   GALLERY
   Intentional horizontal scroll — this is by design.
   The outer wrapper clips to page width (no body overflow).
   ══════════════════════════════════════════════════════ */
.gallery-section {
  width: 100%;
  background: #fff;
  padding-bottom: 20px;
}

.gallery-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 2vw, 24px);
  line-height: normal;
  color: #000;
  text-align: center;
  padding: 24px 0 16px;
}

.gallery-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.gallery-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #03192a;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  margin: 0 8px;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  flex: none;
}

.gallery-arrow:hover { background: #0093ff; transform: scale(1.08); }
.gallery-arrow.is-disabled { opacity: 0.25; cursor: default; pointer-events: none; }

.gallery-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #03192a #e0e0e0;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scroll-behavior: smooth;
}

.gallery-scroll-wrapper.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.gallery-scroll-wrapper::-webkit-scrollbar        { height: 4px; }
.gallery-scroll-wrapper::-webkit-scrollbar-track  { background: #e0e0e0; }
.gallery-scroll-wrapper::-webkit-scrollbar-thumb  { background: #03192a; border-radius: 2px; }

.gallery-track {
  display: flex;
  gap: clamp(16px, 2.8vw, 40px);
  align-items: center;
  padding: 0 clamp(16px, 5.5vw, 80px) 8px;
  width: max-content;
}

.gallery-item {
  flex-shrink: 0;
  width: clamp(160px, 18vw, 261px);
  height: clamp(160px, 18vw, 261px);
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(3, 25, 42, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  background: rgba(3, 25, 42, 0.15);
}

/* Progress track below gallery */
.gallery-progress-track {
  width: calc(100% - clamp(32px, 11vw, 160px));
  max-width: 1280px;
  margin: 14px auto 0;
  height: 3px;
  background: #e6e6e6;
  border-radius: 2px;
  overflow: hidden;
}

.gallery-progress-thumb {
  height: 100%;
  width: 8%;
  background: #0093ff;
  border-radius: 2px;
  transition: width 0.15s ease-out;
}



/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.footer {
  width: 100%;
  background: #03192a;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 5.5vw, 80px);
}

.footer-logo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  max-width: 260px;
}

.footer-logo {
  width: clamp(160px, 18vw, 259px);
  height: auto;
  object-fit: contain;
}

.footer-company-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  margin-top: 16px;
  max-width: 240px;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  flex: 1;
  min-width: 0;
}

.footer-info-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 130px;
}

.footer-info-col--addr     { max-width: 220px; }
.footer-info-col--data     { max-width: 180px; }
.footer-info-col--contacts { max-width: 200px; }

.footer-info-col-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: normal;
  color: #0093ff;
  white-space: nowrap;
}

.footer-info-col-text {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.5;
  color: #fff;
}

.footer-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contacts-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
}

.footer-contacts-icon          { width: 14px; height: 14px; object-fit: contain; flex-shrink: 0; }
.footer-contacts-icon--email   { width: 16px; height: 12px; }

.footer-contacts-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: normal;
  color: #fff;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════
   TABLET  768px – 1199px
   ══════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
  .top-bar { padding: 4px 24px; }
  .navbar  { padding: 10px 24px; }

  .contact-text { font-size: 13px; }

  .hero-license { font-size: clamp(10px, 1.2vw, 16px); }

  .cooperation-grid { column-gap: 24px; }
}

/* ══════════════════════════════════════════════════════
   MOBILE  < 768px
   ══════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* ── Top bar ── */
  .top-bar { padding: 6px 16px; justify-content: center; }
  .top-bar-contacts { gap: 10px; justify-content: center; }
  .contact-text { font-size: 12px; }

  /* Hide the 24/7 item on very small screens to save space */
  .contact-item:last-child { display: none; }

  /* ── Navbar ── */
  .navbar {
    padding: 10px 16px;
    flex-wrap: wrap;
    align-items: center;
  }

  /* Show hamburger, hide desktop links */
  .nav-toggle { display: flex; }

  .navbar-links {
    /* Hidden by default, revealed when .is-open */
    display: flex;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid transparent;
    padding: 0;
    order: 3; /* below logo+toggle row */
    transition: max-height 0.35s ease, opacity 0.25s ease;
  }

  .navbar-links.is-open {
    max-height: 400px;
    opacity: 1;
    border-top: 1px solid #eee;
    padding: 8px 0 12px;
  }

  .nav-link {
    font-size: 15px;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .navbar-links.is-open .nav-link {
    opacity: 1;
    transform: translateY(0);
  }

  .navbar-links.is-open .nav-link:nth-child(1) { transition-delay: 0.05s; }
  .navbar-links.is-open .nav-link:nth-child(2) { transition-delay: 0.10s; }
  .navbar-links.is-open .nav-link:nth-child(3) { transition-delay: 0.15s; }
  .navbar-links.is-open .nav-link:nth-child(4) { transition-delay: 0.20s; }
  .navbar-links.is-open .nav-link:nth-child(5) { transition-delay: 0.25s; }

  .nav-link:last-child { border-bottom: none; }

  .nav-link::after { display: none; }
  .nav-link.is-active { color: #0093ff; background: #f4f9ff; padding-left: 8px; border-radius: 4px; }

  /* ── Hero ── */
  .hero { height: clamp(260px, 60vw, 420px); }

  .hero-content {
    padding: 16px 16px 28px;
    gap: 12px;
    justify-content: flex-end;
  }

  .hero-title {
    font-size: clamp(20px, 6.5vw, 36px);
    max-width: 100%;
    line-height: 1.15;
  }

  .hero-license {
    font-size: clamp(9px, 2.5vw, 14px);
    white-space: normal;
    align-self: flex-start;
  }

  .reconstruction-banner {
    top: 10px;
    right: 10px;
    padding: 8px 10px;
    border-width: 3px;
    border-radius: 6px;
  }

  .reconstruction-text { font-size: clamp(10px, 3.5vw, 16px); }

  /* ── Sections ── */
  .section { padding: 24px 16px; }
  .section-inner { gap: 16px; }
  .section-title { font-size: 18px; }
  .section-text  { font-size: 14px; line-height: 1.6; }

  /* ── Cooperation: single column ── */
  .cooperation-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .cooperation-col-title { font-size: 16px; }
  .step-title            { font-size: 14px; }
  .step-desc             { font-size: 13px; }

  /* ── Gallery ── */
  .gallery-heading { font-size: 18px; padding: 20px 0 12px; }

  .gallery-track { padding: 0 16px 8px; gap: 12px; }
  .gallery-item  { width: 160px; height: 160px; }

  /* ── Footer ── */
  .footer-inner {
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px;
  }

  .footer-logo-col {
    align-items: flex-start;
    max-width: 100%;
  }

  .footer-logo { width: 180px; }

  .footer-company-name {
    text-align: left;
    margin-top: 10px;
    max-width: 100%;
  }

  .footer-info {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .footer-info-col { max-width: 100%; min-width: 0; }

  .footer-info-col-label  { font-size: 14px; }
  .footer-info-col-text   { font-size: 12px; }
  .footer-contacts-text   { font-size: 12px; }
}

/* ══════════════════════════════════════════════════════
   VERY SMALL  < 400px
   ══════════════════════════════════════════════════════ */
@media (max-width: 399px) {
  .top-bar-contacts { gap: 6px; }
  .contact-item:nth-child(2) { display: none; }  /* hide email too, keep phone only */

  .hero { height: 55vw; min-height: 220px; }
  .hero-title { font-size: 19px; }
  .reconstruction-banner { padding: 6px 8px; }
  .reconstruction-text { font-size: 10px; }
}

/* ══════════════════════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 25, 42, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 24px;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.lightbox.is-open .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }

.lightbox-nav--prev { left: 16px; }
.lightbox-nav--next { right: 16px; }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,0.12);
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

@media (max-width: 600px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 15px; }
  .lightbox-close { width: 38px; height: 38px; font-size: 22px; top: 12px; right: 12px; }
}

/* ══════════════════════════════════════════════════════
   BACK TO TOP BUTTON
   ══════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #03192a;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 250;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: #0093ff;
}

@media (max-width: 767px) {
  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: 18px;
    right: 18px;
    font-size: 16px;
  }
}