/* Virant Constructions and Developers — shared styles */
:root {
  --ink: #0F172A;
  --ink2: #1E293B;
  --slate: #475569;
  --muted: #64748B;
  --line: #E2E8F0;
  --soft: #F8FAFC;
  --cream: #FFF8F0;
  --orange: #EA580C;
  --orange-light: #F97316;
  --orange-lighter: #FDBA74;
  --orange-dark: #C2410C;
  --amber: #F59E0B;
  --green: #16A34A;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Utility */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.hidden { display: none !important; }
.grad-orange { background: linear-gradient(135deg, #EA580C 0%, #F59E0B 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }

/* Top contact bar */
.topbar { background: var(--ink); color: rgba(255,255,255,0.9); font-size: 14px; }
.topbar .row { max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar .items { display: none; gap: 24px; }
@media (min-width: 768px) { .topbar .items { display: flex; } .topbar .row { padding: 10px 32px; } }
.topbar .items span { display: inline-flex; align-items: center; gap: 8px; }
.topbar .tagline { color: var(--orange-lighter); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .row { max-width: 1200px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 768px) { .header .row { padding: 14px 32px; } }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-svg { height: 40px; width: auto; }
.brand-name { line-height: 1; display: none; }
.brand-name .n { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand-name .t { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-desktop { display: none; gap: 28px; font-size: 15px; align-items: center; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
@media (min-width: 1024px) and (max-width: 1199px) { .nav-desktop { gap: 18px; font-size: 14px; } }
.btn-sm, .call-btn { white-space: nowrap; }
.navlink { position: relative; padding: 8px 0; font-weight: 500; color: var(--slate); transition: color .2s; }
.navlink:hover { color: var(--orange); }
.navlink[aria-current="page"] { color: var(--ink); font-weight: 600; }
.navlink[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--orange); border-radius: 3px; }
.header-right { display: flex; align-items: center; gap: 10px; }
.call-btn { display: none; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); transition: color .2s; }
@media (min-width: 768px) { .call-btn { display: inline-flex; } }
.call-btn:hover { color: var(--orange); }
.hamburger { display: inline-flex; padding: 8px; background: transparent; border: none; cursor: pointer; color: var(--ink); }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile menu */
.menu-mobile { display: none; border-top: 1px solid var(--line); background: #fff; padding: 12px 16px; }
.menu-mobile.open { display: block; }
.menu-mobile a { display: block; padding: 10px 0; font-size: 15px; font-weight: 500; color: var(--slate); }
.menu-mobile a[aria-current="page"] { color: var(--ink); font-weight: 700; }

/* Desktop Services dropdown */
.nav-item { position: relative; display: inline-flex; padding-bottom: 14px; margin-bottom: -14px; }
.nav-item.has-dropdown > .navlink { display: inline-flex; align-items: center; gap: 4px; }
.dropdown-caret { transition: transform .2s ease; }
.nav-item.has-dropdown:hover .dropdown-caret,
.nav-item.has-dropdown:focus-within .dropdown-caret { transform: rotate(180deg); }
.dropdown-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 50px -20px rgba(15,23,42,0.25);
  padding: 8px; margin-top: 0; min-width: 260px; display: grid; gap: 1px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 50;
}
.nav-item.has-dropdown:hover .dropdown-panel,
.nav-item.has-dropdown:focus-within .dropdown-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown-panel a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--slate); white-space: nowrap; }
.dropdown-panel a:hover { background: var(--soft); color: var(--orange-dark); }
.dropdown-panel a.dropdown-all { font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); margin-bottom: 4px; padding-bottom: 12px; border-radius: 8px 8px 0 0; }

/* Mobile Services dropdown */
.mobile-dropdown-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: none; padding: 10px 0; font-size: 15px; font-weight: 500; color: var(--slate); font-family: inherit; cursor: pointer; }
.mobile-dropdown-toggle span[aria-current="page"] { color: var(--ink); font-weight: 700; }
.mobile-dropdown-toggle svg { transition: transform .2s ease; flex-shrink: 0; }
.mobile-dropdown.open .mobile-dropdown-toggle svg { transform: rotate(180deg); }
.mobile-dropdown-panel { display: none; padding-left: 16px; border-left: 2px solid var(--line); margin: 2px 0 10px; }
.mobile-dropdown.open .mobile-dropdown-panel { display: block; }
.mobile-dropdown-panel a { display: block; padding: 8px 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.mobile-dropdown-panel a.dropdown-all { color: var(--ink); font-weight: 700; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 12px; font-weight: 600; font-size: 15px; font-family: inherit; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; text-decoration: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(234,88,12,0.6); }
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 12px 28px -8px rgba(234,88,12,0.7); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink2); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 10px; }
.btn-full { width: 100%; padding-top: 16px; padding-bottom: 16px; }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-title h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.015em; margin: 12px 0 12px; line-height: 1.1; }
.section-title p { font-size: 17px; color: var(--slate); margin: 0; line-height: 1.5; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--ink); color: #fff; }
.section.dark .section-title p { color: rgba(255,255,255,0.7); }
.section.dark .eyebrow { color: var(--orange-lighter); }

/* Page hero */
.page-hero { background: radial-gradient(60% 60% at 100% 0%, rgba(234,88,12,0.10) 0%, transparent 60%), radial-gradient(50% 50% at 0% 100%, rgba(234,88,12,0.06) 0%, transparent 60%), linear-gradient(180deg, #FFF8F0 0%, #FFFFFF 60%); border-bottom: 1px solid var(--line); padding: 72px 0; }
@media (min-width: 768px) { .page-hero { padding: 96px 0; } }
.page-hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; max-width: 900px; margin: 12px 0 0; }
.page-hero .lead { font-size: 18px; color: var(--slate); margin: 24px 0 0; max-width: 640px; line-height: 1.6; }

/* Service page hero image */
.service-hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .service-hero-grid { grid-template-columns: 1.15fr 1fr; } }
.service-hero-media { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 24px 60px -24px rgba(15,23,42,0.2); }
.service-hero-media img { width: 100%; height: auto; display: block; }

/* Card */
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: box-shadow .3s, border-color .3s, transform .3s; }
.card:hover { box-shadow: 0 12px 40px -12px rgba(15,23,42,0.15); border-color: rgba(234,88,12,0.4); transform: translateY(-3px); }
.card-featured { background: linear-gradient(160deg, #0F172A 0%, #1E293B 100%); color: #fff; border-color: var(--ink); box-shadow: 0 20px 50px -20px rgba(15,23,42,0.5); }
.card-featured:hover { border-color: var(--orange); }

/* Form */
.field { display: block; width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 15px; background: #fff; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.field:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(234,88,12,0.12); }
.field-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field.invalid { border-color: #DC2626; }
.field.invalid:focus { box-shadow: 0 0 0 4px rgba(220,38,38,0.12); }
.field-error { display: block; color: #DC2626; font-size: 13px; font-weight: 600; margin-top: 6px; }
.field-error.hidden { display: none; }
.form-status-error { padding: 12px 16px; background: #FEF3C7; color: #92400E; border-radius: 10px; font-size: 14px; font-weight: 600; }
.form-status-error.hidden { display: none; }

/* Grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Marquee */
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-wrap { padding: 40px 0; background: #fff; border-block: 1px solid var(--line); overflow: hidden; }
.marquee-wrap p { text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 24px; }
.marquee { display: flex; gap: 60px; animation: scroll 40s linear infinite; width: max-content; font-size: 22px; font-weight: 700; color: rgba(71,85,105,0.6); }
@media (min-width: 768px) { .marquee { font-size: 30px; } }

/* Spec table */
.spec-table { width: 100%; min-width: 900px; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; }
.spec-table th { background: var(--soft); font-weight: 700; color: var(--ink); font-size: 13px; letter-spacing: 0.02em; }
.spec-table td { color: var(--slate); }
.spec-table .label { font-weight: 600; color: var(--ink); }
.spec-table tr:hover td { background: var(--cream); }
.spec-scroll { border-radius: 20px; border: 1px solid var(--line); background: #fff; overflow-x: auto; }

/* Pkg tag */
.pkg-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } .marquee { animation: none; } }

/* Focus */
a:focus-visible, button:focus-visible, .field:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* Prose (blog posts) */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 24px; font-weight: 800; margin: 40px 0 12px; color: var(--ink); }
.prose h3 { font-size: 20px; font-weight: 700; margin: 32px 0 8px; }
.prose p { margin: 0 0 16px; color: #334155; line-height: 1.7; font-size: 17px; }
.prose ol, .prose ul { padding-left: 24px; margin: 16px 0; }
.prose li { margin-bottom: 8px; color: #334155; line-height: 1.7; font-size: 17px; }
.prose strong { color: var(--ink); }

/* Whatsapp float */
.whatsapp { position: fixed; bottom: 24px; right: 24px; z-index: 50; width: 56px; height: 56px; background: #22C55E; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 32px -8px rgba(34,197,94,0.6); transition: transform .2s, background .2s; }
.whatsapp:hover { background: #16A34A; transform: scale(1.08); }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 64px 0 24px; }
.footer .top { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 768px) { .footer .top { grid-template-columns: 2fr 1fr 1fr; } }
.footer .brand-name .n { color: #fff; }
.footer .brand-name .t { color: rgba(255,255,255,0.5); }
.footer p { line-height: 1.6; font-size: 14px; margin: 0 0 20px; max-width: 420px; }
.footer .badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer .badge { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.1); color: #fff; }
.footer h4 { color: rgba(255,255,255,0.5); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer ul a:hover { color: var(--orange-light); }
.footer .bottom { padding-top: 24px; display: flex; flex-direction: column; gap: 8px; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.5); }
@media (min-width: 768px) { .footer .bottom { flex-direction: row; } }

/* PNG Logo (replaces inline SVG) */
.brand-img { height: 44px; width: auto; display: block; }
@media (min-width: 768px) { .brand-img { height: 52px; } }
.footer .brand-img { height: 52px; }

/* ===== PROJECT PAGE ===== */
.project-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--slate);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange-dark); }
.filter-btn.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.project-grid { gap: 24px; }

.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
  cursor: pointer;
}
.project-card:hover {
  box-shadow: 0 20px 50px -20px rgba(15,23,42,0.2);
  transform: translateY(-4px);
  border-color: rgba(234,88,12,0.4);
}

.project-media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(234,88,12,0.15), rgba(245,158,11,0.15)),
    linear-gradient(180deg, #FEE7D1, #FED7AA);
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.project-card:hover .project-media img { transform: scale(1.05); }

/* Fallback if image fails: media-error class added by onerror handler */
.project-media.media-error img { display: none; }
.project-media.media-error::after {
  content: 'Photo coming soon';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Overlay */
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,23,42,0.75) 100%);
  opacity: 0;
  transition: opacity .3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-view {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.project-info { padding: 24px; }
.project-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.project-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.project-type {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(234,88,12,0.1);
  color: var(--orange-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.project-name {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.project-details { font-size: 14px; color: var(--slate); margin: 0 0 4px; }
.project-locality { font-size: 13px; color: var(--muted); margin: 0; }

.project-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 16px;
}

/* ===== BLOG ===== */
.blog-card { display: block; text-decoration: none; color: inherit; }
.blog-card img { transition: transform .5s ease; }
.blog-card:hover img { transform: scale(1.05); }
.blog-card:hover { transform: translateY(-3px); }

/* Blog post hero image */
.post-hero {
  margin: 0 0 40px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(234,88,12,0.10), rgba(245,158,11,0.10));
  aspect-ratio: 16 / 9;
  position: relative;
}
.post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-hero.hero-error img { display: none; }
.post-hero.hero-error::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(234,88,12,0.15) 0%, transparent 60%),
    linear-gradient(135deg, #FED7AA 0%, #FEE7D1 100%);
}

/* ===== GALLERY PAGE ===== */
.gallery-grid { columns: 1; column-gap: 24px; }
@media (min-width: 640px) { .gallery-grid { columns: 2; } }
@media (min-width: 1024px) { .gallery-grid { columns: 3; } }
.gallery-item { break-inside: avoid; margin: 0 0 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.gallery-item[hidden] { display: none; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(15,23,42,0.25); }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: var(--soft); cursor: zoom-in; overflow: hidden; position: relative; }
.gallery-open img { display: block; width: 100%; height: auto; transition: transform .6s ease; }
.gallery-item:hover .gallery-open img { transform: scale(1.04); }
.gallery-open::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(15,23,42,0.35)); opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-open::after { opacity: 1; }
.gallery-open:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.gallery-item figcaption { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.gallery-item figcaption strong { font-size: 18px; font-weight: 700; color: var(--ink); }
.gallery-item figcaption span:last-child { font-size: 14px; color: var(--slate); line-height: 1.5; }
.gallery-stage { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-dark); background: var(--cream); border: 1px solid var(--orange-lighter); border-radius: 999px; padding: 4px 10px; }

.progress-pair { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; }
@media (min-width: 768px) { .progress-pair { grid-template-columns: 1fr auto 1fr; gap: 24px; } }
.progress-pair figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.progress-pair img { display: block; width: 100%; height: auto; }
.progress-pair figcaption { padding: 16px 20px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.progress-date { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; font-weight: 500; color: #fff; background: var(--ink); border-radius: 8px; padding: 4px 8px; }
.progress-arrow { justify-self: center; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #EA580C 0%, #F59E0B 100%); box-shadow: 0 8px 20px -8px rgba(234,88,12,0.6); }
@media (max-width: 767px) { .progress-arrow svg { transform: rotate(90deg); } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(15,23,42,0.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: calc(100vw - 32px); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 12px; display: block; }
.lightbox figcaption { color: #fff; font-weight: 600; font-size: 15px; }
.lightbox-close, .lightbox-nav { position: fixed; border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,0.12); border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--orange); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }
