/* NAMTAR_RC4_GALLERY_LIGHTBOX_AND_MOBILE_REFINEMENT */
:root {
  --bg: #020309;
  --bg2: #050812;
  --panel: rgba(6, 9, 16, 0.86);
  --panel2: rgba(8, 12, 20, 0.78);
  --line: rgba(255, 255, 255, .105);
  --line2: rgba(129, 92, 255, .42);
  --text: #fff7eb;
  --muted: rgba(255, 247, 235, .66);
  --muted2: rgba(255, 247, 235, .43);
  --violet: #875dff;
  --violet2: #b091ff;
  --cyan: #23b8e8;
  --blue: #2877ff;
  --gold: #e4c773;
  --max: 1180px;
  --pad: clamp(18px, 4.3vw, 52px);
  --radius: 26px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; min-width: 0; }
html { background: var(--bg); color: var(--text); overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(39,119,255,.11), transparent 30%),
    radial-gradient(circle at 8% 18%, rgba(129,92,255,.10), transparent 30%),
    linear-gradient(145deg, #020309 0%, #060a14 55%, #020309 100%);
  color: var(--text);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background:
    linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.019) 1px, transparent 1px);
  background-size: 116px 116px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.68) 55%, transparent 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 10px; z-index: 20; }
.skip-link:focus { left: 8px; }
.page-glow { position: fixed; pointer-events: none; border-radius: 50%; filter: blur(24px); opacity: .38; }
.glow-one { width: 360px; height: 360px; right: -140px; top: 160px; background: radial-gradient(circle, rgba(39,119,255,.13), transparent 66%); }
.glow-two { width: 300px; height: 300px; left: -120px; top: 360px; background: radial-gradient(circle, rgba(129,92,255,.10), transparent 68%); }

.site-header, main, .site-footer { width: min(var(--max), calc(100% - 2 * var(--pad))); margin-inline: auto; position: relative; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0 14px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark {
  width: 58px; height: 58px; border-radius: 16px;
  box-shadow: 0 0 24px rgba(129,92,255,.16), inset 0 0 0 1px rgba(255,255,255,.075);
  opacity: .9;
}
.brand-copy { display: grid; line-height: 1; min-width: 0; }
.brand-copy strong { font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -.052em; font-weight: 900; }
.brand-copy small { margin-top: 6px; color: #b68cff; text-transform: uppercase; letter-spacing: .42em; font-size: 11px; font-weight: 850; }
.desktop-nav { display: flex; gap: 24px; margin-left: auto; color: var(--muted); font-weight: 650; font-size: 14px; }
.desktop-nav a:hover { color: var(--text); }
.pill, .button {
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  font-weight: 790;
  letter-spacing: -.015em;
  white-space: nowrap;
  color: var(--text);
  background: rgba(255,255,255,.032);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.pill-primary, .gradient {
  border: 0;
  background: linear-gradient(105deg, #7a4cff 0%, #2d72ff 62%, #20b8df 100%);
  box-shadow: 0 12px 36px rgba(35,120,255,.13), inset 0 1px 0 rgba(255,255,255,.17);
}

.hero { padding: clamp(40px, 7vw, 92px) 0 34px; display: grid; grid-template-columns: minmax(0, 800px); }
.eyebrow, .section-kicker {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  color: #b68cff; text-transform: uppercase; letter-spacing: .35em; font-size: 12px; font-weight: 840; line-height: 1.55;
}
.eyebrow span, .section-kicker span { width: 11px; height: 11px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 22px rgba(129,92,255,.55); flex: 0 0 auto; }
.hero h1, .booking-panel h1 {
  margin: 0;
  font-size: clamp(50px, 6.7vw, 94px);
  line-height: 1.04;
  letter-spacing: -.055em;
  font-weight: 870;
  max-width: 1000px;
  text-wrap: balance;
}
.hero h1 em, .booking-panel h1 em { font-style: normal; background: linear-gradient(95deg, #9c6bff, #4284ff 56%, #5fc8e8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 24px 0 0; max-width: 760px; color: var(--muted); font-size: clamp(19px, 2.15vw, 26px); line-height: 1.42; font-weight: 560; }
.hero-actions { display: flex; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.button { min-height: 58px; padding-inline: 28px; font-size: 18px; }
.outline { background: rgba(255,255,255,.016); border-color: rgba(230,199,117,.22); min-width: 230px; }

.surface-section, .trust-section, .why-section, .demo-section, .booking-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7,10,18,.84), rgba(4,7,13,.86));
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 26px 80px rgba(0,0,0,.18);
}
.surface-section { margin-top: 18px; padding: clamp(24px, 4vw, 42px); display: grid; grid-template-columns: 1fr auto; gap: 22px; overflow: hidden; }
.surface-heading { min-width: 0; }
.surface-heading h2, .trust-section h2, .why-section h2, .demo-section h2 { margin: 0 0 16px; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -.048em; font-weight: 830; text-wrap: balance; }
.surface-heading p:not(.section-kicker), .trust-copy p, .why-grid p, .demo-section p { color: var(--muted); font-size: clamp(17px, 1.65vw, 22px); line-height: 1.46; max-width: 860px; font-weight: 560; }
.surface-controls { display: flex; align-items: end; gap: 12px; padding-bottom: 6px; }
.surface-controls button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.025); color: var(--text); font-size: 24px; font-weight: 780; }
.surface-controls button:hover { border-color: var(--line2); }
.gallery-browser { grid-column: 1 / -1; display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 3px 2px 14px; scrollbar-width: none; }
.gallery-browser::-webkit-scrollbar { display: none; }
.gallery-card {
  appearance: none;
  text-align: left;
  color: inherit;
  flex: 0 0 clamp(245px, 25vw, 330px);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,.022);
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: auto auto auto auto;
  padding: 0;
}
.gallery-card.is-featured { border-color: rgba(129,92,255,.70); box-shadow: 0 0 0 1px rgba(129,92,255,.22), 0 0 28px rgba(129,92,255,.11); }
.gallery-card figure { margin: 0; aspect-ratio: 16 / 10; background: #02050b; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.046); }
.gallery-card img { width: 100%; height: 100%; object-fit: contain; }
.view-hint { align-self: start; justify-self: start; margin: -34px 13px 0; position: relative; z-index: 1; padding: 7px 10px; border-radius: 999px; background: rgba(0,0,0,.62); color: rgba(255,247,235,.78); font-size: 12px; font-weight: 720; opacity: 0; transform: translateY(4px); transition: .18s ease; }
.gallery-card:hover .view-hint, .gallery-card:focus-visible .view-hint { opacity: 1; transform: translateY(0); }
.gallery-card h3 { margin: 18px 16px 6px; font-size: 20px; line-height: 1.12; letter-spacing: -.025em; font-weight: 820; }
.gallery-card p { margin: 0 16px 20px; color: var(--muted); font-size: 15px; line-height: 1.38; font-weight: 540; }
.gallery-dots { grid-column: 1 / -1; display: flex; gap: 11px; justify-content: center; }
.gallery-dots button { width: 9px; height: 9px; border: 0; border-radius: 50%; background: rgba(255,255,255,.24); padding: 0; }
.gallery-dots button.is-active { background: var(--violet); box-shadow: 0 0 18px rgba(129,92,255,.8); }

.trust-section { margin-top: 24px; padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); gap: 34px; }
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 24px; }
.trust-item { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 14px; align-items: start; color: var(--muted); }
.trust-item > span { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(129,92,255,.25); background: rgba(129,92,255,.075); color: #bca3ff; display: grid; place-items: center; font-weight: 900; }
.trust-item strong { display: block; color: var(--text); font-size: 17px; line-height: 1.25; letter-spacing: -.012em; }
.trust-item small { display: block; color: var(--muted); font-size: 14px; line-height: 1.38; margin-top: 5px; }

.why-section { margin-top: 24px; padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 28px; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.why-grid article { border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: rgba(255,255,255,.02); }
.why-grid h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.1; letter-spacing: -.02em; }
.why-grid p { margin: 0; font-size: 15px; }

.demo-section { margin-top: 24px; padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.demo-form { border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.024); padding: 20px; display: grid; gap: 12px; }
.demo-form label { font-size: 20px; font-weight: 790; }
.demo-row { display: grid; grid-template-columns: 1fr auto; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(0,0,0,.22); }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.034); color: var(--text); padding: 17px 18px; font: inherit; outline: none; }
input:focus, textarea:focus { border-color: rgba(129,92,255,.52); box-shadow: 0 0 0 3px rgba(129,92,255,.12); }
.demo-row input { border: 0; border-radius: 0; min-width: 0; }
.demo-row button { border: 0; min-width: 220px; background: linear-gradient(100deg, #7d50ff, #2877ff 64%, #23b8e8); color: var(--text); font: inherit; font-weight: 780; padding: 0 20px; }
.demo-form small { color: var(--muted2); }
.site-footer { margin: 26px auto 48px; color: var(--muted2); display: flex; align-items: center; justify-content: center; gap: 16px; letter-spacing: .22em; text-align: center; }
.site-footer img { width: 28px; height: 28px; opacity: .86; }

.booking-main { padding: clamp(40px, 8vw, 96px) 0 40px; }
.booking-header { padding-top: 22px; }
.booking-panel { padding: clamp(28px, 5vw, 58px); }
.booking-top { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 34px; align-items: center; }
.status-card { border: 1px solid var(--line); border-radius: 22px; padding: 24px; background: rgba(255,255,255,.025); display: grid; gap: 8px; }
.status-card span { width: 12px; height: 12px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 20px rgba(129,92,255,.65); }
.status-card small { color: var(--muted2); text-transform: uppercase; letter-spacing: .28em; font-weight: 820; }
.status-card strong { font-size: 26px; line-height: 1.05; }
.status-card p { margin: 0; color: var(--muted); }
.booking-form-shell { margin-top: 38px; border-top: 1px solid var(--line); padding-top: 34px; }
.booking-form-shell h2 { font-size: 25px; margin: 0 0 18px; }
.booking-form-shell form { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
textarea { min-height: 132px; resize: vertical; }
.booking-trust { margin-top: 24px; border: 1px solid var(--line); border-radius: 20px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); overflow: hidden; }
.booking-trust div { padding: 22px; border-right: 1px solid var(--line); text-align: center; }
.booking-trust div:last-child { border-right: 0; }
.booking-trust span { color: var(--violet2); display: block; font-size: 24px; margin-bottom: 8px; }
.booking-trust strong { display: block; font-size: 18px; line-height: 1.15; }
.booking-trust small { color: var(--muted); display: block; margin-top: 8px; line-height: 1.35; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: clamp(18px, 3vw, 38px); background: rgba(0,0,0,.84); backdrop-filter: blur(18px); }
.lightbox[hidden] { display: none; }
.lightbox-frame { margin: 0 auto; width: min(1120px, 100%); max-height: calc(100vh - 80px); display: grid; gap: 14px; }
.lightbox-frame img { width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 18px; border: 1px solid var(--line); background: #020309; box-shadow: 0 32px 120px rgba(0,0,0,.55); }
.lightbox-frame figcaption { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: baseline; color: var(--muted); }
.lightbox-frame figcaption strong { color: var(--text); font-size: 22px; }
.lightbox-close, .lightbox-nav { border: 1px solid var(--line); background: rgba(255,255,255,.055); color: var(--text); border-radius: 999px; width: 54px; height: 54px; font-size: 28px; font-weight: 700; }
.lightbox-close { position: absolute; top: 18px; right: 18px; }
.lightbox-nav { display: grid; place-items: center; }

@media (max-width: 920px) {
  :root { --pad: 22px; }
  .desktop-nav { display: none; }
  .site-header { gap: 12px; }
  .brand-mark { width: 52px; height: 52px; border-radius: 15px; }
  .brand-copy strong { font-size: 30px; }
  .brand-copy small { font-size: 10px; letter-spacing: .38em; }
  .pill { min-height: 46px; padding-inline: 18px; font-size: 15px; }
  .hero { padding-top: 50px; }
  .hero h1 { font-size: clamp(45px, 10.4vw, 68px); letter-spacing: -.048em; line-height: 1.04; }
  .lead { font-size: clamp(18px, 4.2vw, 22px); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button, .outline { width: 100%; min-width: 0; }
  .eyebrow, .section-kicker { letter-spacing: .28em; font-size: 11px; }
  .surface-section { grid-template-columns: 1fr; padding: 24px; border-radius: 24px; }
  .surface-controls { order: 3; padding-top: 2px; }
  .gallery-browser { order: 2; gap: 18px; padding-bottom: 18px; }
  .gallery-card { flex: 0 0 100%; max-width: 100%; border-radius: 21px; }
  .gallery-card figure { aspect-ratio: 16 / 10; }
  .view-hint { opacity: 1; transform: none; margin-top: -36px; }
  .gallery-card h3 { font-size: 24px; margin-top: 20px; }
  .gallery-card p { font-size: 17px; margin-bottom: 22px; }
  .gallery-dots { order: 4; }
  .trust-section, .why-section, .demo-section { grid-template-columns: 1fr; padding: 24px; border-radius: 24px; }
  .trust-list { grid-template-columns: 1fr; gap: 18px; }
  .trust-item { grid-template-columns: 48px minmax(0,1fr); }
  .trust-item strong { font-size: 19px; }
  .trust-item small { font-size: 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid article { padding: 20px; }
  .demo-row { grid-template-columns: 1fr; }
  .demo-row button { min-height: 56px; min-width: 0; }
  .site-footer { font-size: 13px; letter-spacing: .08em; line-height: 1.4; }
  .booking-header { padding-top: 28px; }
  .booking-panel { padding: 24px; border-radius: 26px; }
  .booking-top { grid-template-columns: 1fr; }
  .status-card { display: none; }
  .form-grid, .booking-trust { grid-template-columns: 1fr; }
  .booking-trust div { border-right: 0; border-bottom: 1px solid var(--line); }
  .booking-trust div:last-child { border-bottom: 0; }
  .lightbox { grid-template-columns: 1fr; padding: 18px; }
  .lightbox-nav { position: fixed; bottom: 18px; }
  .lightbox-prev { left: 18px; }
  .lightbox-next { right: 18px; }
  .lightbox-frame { max-height: calc(100vh - 116px); }
  .lightbox-frame img { max-height: calc(100vh - 205px); }
}

/* RC4 dynamic gallery lightbox and mobile polish */
.gallery-hint {
  grid-column: 1 / -1;
  margin: -8px 0 0;
  color: var(--muted2);
  font-size: 14px;
  font-weight: 620;
}
.gallery-card-copy { padding: 0; }
.gallery-card-copy small {
  display: block;
  margin: 0 16px 20px;
  color: #a98cff;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.namtar-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: clamp(18px, 4vw, 46px);
  background: rgba(0, 0, 0, .86);
  backdrop-filter: blur(18px);
}
.namtar-lightbox.is-open { display: grid; }
.namtar-lightbox-inner {
  width: min(1120px, 100%);
  display: grid;
  gap: 12px;
}
.namtar-lightbox-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #020309;
  overflow: hidden;
  box-shadow: 0 40px 140px rgba(0,0,0,.62);
}
.namtar-lightbox-figure img {
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  background: #020309;
}
.namtar-lightbox-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}
.namtar-lightbox-caption strong { color: var(--text); }
.namtar-lightbox-close {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  min-height: 44px;
  padding: 0 16px;
  font-weight: 800;
}
@media (max-width: 920px) {
  .gallery-hint { font-size: 13px; }
  .gallery-card-copy small { opacity: .82; }
  .namtar-lightbox { padding: 14px; }
  .namtar-lightbox-figure img { max-height: calc(100vh - 170px); }
  .namtar-lightbox-caption { align-items: flex-start; flex-direction: column; }
}
