/* ═══════════════════════════════════════════════════════════
   GALLERY PAGE — Premium Showcase
   Hupp & Fuller Detailing
   ═══════════════════════════════════════════════════════════ */

:root {
  --gal-gold:     #D3AF37;
  --gal-cream:    #F6D97B;
  --gal-black:    #050409;
  --gal-white:    #F0EDE6;
  --gal-muted:    rgba(240, 237, 230, 0.5);
  --gal-glass:    rgba(10, 10, 18, 0.6);
  --gal-glass-b:  rgba(211, 175, 55, 0.08);
  --gal-ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --gal-ease-out: cubic-bezier(0.0, 0, 0.2, 1);
  --gal-max:      1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--gal-black);
  color: var(--gal-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ═══════════════════════════════════
   SHARED TYPOGRAPHY
   ═══════════════════════════════════ */
.gal-section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gal-gold);
  margin-bottom: 12px;
}

.gal-section-heading {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--gal-white);
  margin-bottom: 14px;
}

.gal-section-subtext {
  font-size: clamp(0.88rem, 1.4vw, 1.02rem);
  color: var(--gal-muted);
  line-height: 1.7;
  max-width: 600px;
}

/* ═══════════════════════════════════
   SHARED BUTTONS
   ═══════════════════════════════════ */
.gal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 60px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 260ms var(--gal-ease),
    box-shadow 260ms var(--gal-ease),
    background 260ms ease,
    border-color 260ms ease;
}

.gal-btn--primary {
  background: linear-gradient(135deg, var(--gal-gold) 0%, #C5982F 100%);
  color: var(--gal-black);
  border: 1px solid rgba(211, 175, 55, 0.5);
  box-shadow: 0 2px 16px rgba(211, 175, 55, 0.3);
}
.gal-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(211, 175, 55, 0.45), 0 0 44px rgba(211, 175, 55, 0.12);
}

.gal-btn--outline {
  background: transparent;
  color: var(--gal-gold);
  border: 1.5px solid rgba(211, 175, 55, 0.3);
}
.gal-btn--outline:hover {
  transform: translateY(-2px);
  border-color: var(--gal-gold);
  box-shadow: 0 4px 20px rgba(211, 175, 55, 0.15);
}

.gal-btn--lg {
  padding: 16px 44px;
  font-size: 0.94rem;
}

.gal-btn:focus-visible {
  outline: 2px solid var(--gal-gold);
  outline-offset: 3px;
}
.gal-btn:active { transform: translateY(0) !important; }

/* ═══════════════════════════════════
   REVEAL ANIMATION
   ═══════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--gal-ease), transform 700ms var(--gal-ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   SECTION 1: HERO
   ═══════════════════════════════════════════════════════════ */
.gal-hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.gal-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.gal-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.3) saturate(0.7);
  transition: transform 8s ease-out;
}
.gal-hero:hover .gal-hero__bg-img {
  transform: scale(1.03);
}
.gal-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,4,9,0.5) 0%, rgba(5,4,9,0.3) 50%, rgba(5,4,9,0.85) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(5,4,9,0.6) 100%);
}

.gal-hero__glow {
  position: absolute;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  pointer-events: none;
}
.gal-hero__glow--tl {
  top: -15%;
  left: -10%;
  background: radial-gradient(circle, var(--gal-gold), transparent 70%);
  animation: galGlowDrift 18s ease-in-out infinite alternate;
}
.gal-hero__glow--br {
  bottom: -10%;
  right: -8%;
  background: radial-gradient(circle, var(--gal-cream), transparent 70%);
  animation: galGlowDrift 22s ease-in-out infinite alternate-reverse;
}

.gal-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 760px;
}

.gal-hero__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gal-gold);
  padding: 6px 18px;
  border: 1px solid rgba(211, 175, 55, 0.25);
  border-radius: 40px;
  background: rgba(211, 175, 55, 0.06);
  margin-bottom: 20px;
  opacity: 0;
  animation: galFadeUp 700ms var(--gal-ease) 200ms forwards;
}

.gal-hero__title {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 18px;
  opacity: 0;
  animation: galFadeUp 800ms var(--gal-ease) 400ms forwards;
}

.gal-hero__subtitle {
  font-size: clamp(0.92rem, 1.6vw, 1.1rem);
  color: var(--gal-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0;
  animation: galFadeUp 800ms var(--gal-ease) 550ms forwards;
}

.gal-hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: galFadeUp 700ms var(--gal-ease) 700ms forwards;
}

.gal-hero__scroll-cue {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
  animation: galFadeIn 500ms ease 1200ms forwards;
}
.gal-hero__scroll-track {
  width: 18px;
  height: 30px;
  border-radius: 10px;
  border: 1.5px solid rgba(211, 175, 55, 0.2);
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.gal-hero__scroll-dot {
  width: 3px;
  height: 7px;
  border-radius: 3px;
  background: var(--gal-gold);
  animation: galScrollPulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 2: FEATURED TRANSFORMATIONS
   ═══════════════════════════════════════════════════════════ */
.gal-featured {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
}

.gal-featured__inner {
  max-width: var(--gal-max);
  margin: 0 auto;
}

.gal-featured__header {
  text-align: center;
  margin-bottom: 56px;
}
.gal-featured__header .gal-section-subtext {
  margin: 0 auto;
}

.gal-featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Featured Card */
.gal-feat-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 5;
  background: var(--gal-glass);
}

.gal-feat-card__img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.gal-feat-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--gal-ease), filter 600ms ease;
}
.gal-feat-card:hover .gal-feat-card__img-wrap img {
  transform: scale(1.06);
  filter: brightness(0.6);
}

.gal-feat-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255,255,255,0.08) 45%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 700ms var(--gal-ease);
}
.gal-feat-card:hover .gal-feat-card__shine {
  transform: translateX(100%);
}

.gal-feat-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  background: linear-gradient(180deg, transparent 30%, rgba(5,4,9,0.85) 100%);
  transition: opacity 400ms ease;
}

.gal-feat-card__tag {
  display: inline-block;
  width: fit-content;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gal-gold);
  padding: 4px 10px;
  border: 1px solid rgba(211, 175, 55, 0.2);
  border-radius: 20px;
  background: rgba(211, 175, 55, 0.08);
  margin-bottom: 10px;
}

.gal-feat-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  transform: translateY(6px);
  opacity: 1;
  transition: transform 400ms var(--gal-ease), opacity 400ms ease;
}

.gal-feat-card__desc {
  font-size: 0.82rem;
  color: var(--gal-muted);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 500ms var(--gal-ease), opacity 400ms ease 100ms;
}
.gal-feat-card:hover .gal-feat-card__desc {
  max-height: 120px;
  opacity: 1;
}

.gal-feat-card__meta {
  font-size: 0.72rem;
  color: rgba(240, 237, 230, 0.35);
  margin-top: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease 150ms, transform 400ms var(--gal-ease) 150ms;
}
.gal-feat-card:hover .gal-feat-card__meta {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   SECTION 3: FILTER + GALLERY GRID
   ═══════════════════════════════════════════════════════════ */
.gal-grid-section {
  position: relative;
  z-index: 1;
  padding: 80px 24px 100px;
}

.gal-grid-section__inner {
  max-width: var(--gal-max);
  margin: 0 auto;
}

.gal-grid-section__header {
  text-align: center;
  margin-bottom: 40px;
}

/* Filter Buttons */
.gal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  background: linear-gradient(180deg, rgba(5,4,9,0.95) 0%, rgba(5,4,9,0.8) 80%, transparent 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gal-filter-btn {
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 20px;
  border-radius: 40px;
  border: 1.5px solid rgba(211, 175, 55, 0.12);
  background: rgba(211, 175, 55, 0.04);
  color: var(--gal-muted);
  cursor: pointer;
  transition:
    background 260ms ease,
    border-color 260ms ease,
    color 260ms ease,
    transform 200ms var(--gal-ease),
    box-shadow 260ms ease;
  white-space: nowrap;
}
.gal-filter-btn:hover {
  border-color: rgba(211, 175, 55, 0.3);
  color: var(--gal-white);
  background: rgba(211, 175, 55, 0.08);
}
.gal-filter-btn.is-active {
  background: linear-gradient(135deg, var(--gal-gold) 0%, #C5982F 100%);
  color: var(--gal-black);
  border-color: var(--gal-gold);
  box-shadow: 0 2px 14px rgba(211, 175, 55, 0.25);
}
.gal-filter-btn:focus-visible {
  outline: 2px solid var(--gal-gold);
  outline-offset: 2px;
}

/* Masonry Grid */
.gal-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}

.gal-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 500ms var(--gal-ease), transform 500ms var(--gal-ease);
}
.gal-item.is-hidden {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.gal-item--tall { grid-row: span 2; }
.gal-item--wide { grid-column: span 2; }

.gal-item__img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.gal-item__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--gal-ease);
}
.gal-item:hover .gal-item__img-wrap img {
  transform: scale(1.05);
}

.gal-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, transparent 40%, rgba(5,4,9,0.8) 100%);
  opacity: 0;
  transition: opacity 350ms ease;
}
.gal-item:hover .gal-item__overlay {
  opacity: 1;
}

.gal-item__service {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gal-gold);
  margin-bottom: 6px;
}

.gal-item__title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.gal-item__vehicle {
  font-size: 0.72rem;
  color: var(--gal-muted);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 4: BEFORE & AFTER SLIDERS
   ═══════════════════════════════════════════════════════════ */
.gal-ba {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
}

.gal-ba__inner {
  max-width: var(--gal-max);
  margin: 0 auto;
}

.gal-ba__header {
  text-align: center;
  margin-bottom: 56px;
}
.gal-ba__header .gal-section-subtext {
  margin: 0 auto;
}

.gal-ba__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Slider Component */
.gal-ba-slider {
  border-radius: 16px;
  overflow: hidden;
  background: var(--gal-glass);
  border: 1px solid var(--gal-glass-b);
}

.gal-ba-slider__wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.gal-ba-slider__before,
.gal-ba-slider__after {
  position: absolute;
  inset: 0;
}
.gal-ba-slider__before img,
.gal-ba-slider__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gal-ba-slider__before {
  clip-path: inset(0 50% 0 0);
}

.gal-ba-slider__label {
  position: absolute;
  top: 14px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  pointer-events: none;
}
.gal-ba-slider__label--before {
  left: 14px;
  background: rgba(5, 4, 9, 0.7);
  color: var(--gal-white);
  border: 1px solid rgba(240, 237, 230, 0.15);
}
.gal-ba-slider__label--after {
  right: 14px;
  background: rgba(211, 175, 55, 0.15);
  color: var(--gal-gold);
  border: 1px solid rgba(211, 175, 55, 0.2);
}

/* Handle */
.gal-ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: ew-resize;
}
.gal-ba-slider__handle:focus-visible .gal-ba-slider__handle-knob {
  outline: 2px solid var(--gal-gold);
  outline-offset: 3px;
}

.gal-ba-slider__handle-line {
  width: 2px;
  flex: 1;
  background: var(--gal-gold);
  opacity: 0.6;
}

.gal-ba-slider__handle-knob {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 10, 18, 0.8);
  border: 2px solid var(--gal-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 0 16px rgba(211, 175, 55, 0.15);
  transition: transform 200ms var(--gal-ease), box-shadow 200ms ease;
}
.gal-ba-slider__handle-knob svg {
  width: 18px;
  height: 18px;
  color: var(--gal-gold);
}
.gal-ba-slider__handle:hover .gal-ba-slider__handle-knob,
.gal-ba-slider__wrap.is-dragging .gal-ba-slider__handle-knob {
  transform: scale(1.1);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5), 0 0 24px rgba(211, 175, 55, 0.25);
}

.gal-ba-slider__caption {
  font-size: 0.82rem;
  color: var(--gal-muted);
  text-align: center;
  padding: 14px 16px;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 5: CASE STUDY SPOTLIGHTS
   ═══════════════════════════════════════════════════════════ */
.gal-spotlight {
  position: relative;
  z-index: 1;
  padding: 80px 24px 100px;
}

.gal-spotlight__inner {
  max-width: var(--gal-max);
  margin: 0 auto;
}

.gal-spotlight__header {
  text-align: center;
  margin-bottom: 56px;
}
.gal-spotlight__header .gal-section-subtext {
  margin: 0 auto;
}

.gal-spotlight__track {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Spotlight Card */
.gal-spot-card {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--gal-glass);
  border: 1px solid var(--gal-glass-b);
  transition: border-color 400ms ease, box-shadow 400ms ease;
}
.gal-spot-card:hover {
  border-color: rgba(211, 175, 55, 0.15);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(211, 175, 55, 0.04);
}

.gal-spot-card:nth-child(even) {
  direction: rtl;
}
.gal-spot-card:nth-child(even) > * {
  direction: ltr;
}

.gal-spot-card__img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.gal-spot-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--gal-ease);
}
.gal-spot-card:hover .gal-spot-card__img-wrap img {
  transform: scale(1.04);
}

.gal-spot-card__body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gal-spot-card__tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gal-gold);
  margin-bottom: 12px;
}

.gal-spot-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.gal-spot-card__detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gal-spot-card__row {
  padding-left: 16px;
  border-left: 2px solid rgba(211, 175, 55, 0.2);
}

.gal-spot-card__label {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gal-gold);
  margin-bottom: 4px;
}

.gal-spot-card__row p {
  font-size: 0.86rem;
  color: var(--gal-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 6: TRUST REINFORCEMENT
   ═══════════════════════════════════════════════════════════ */
.gal-trust {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
}

.gal-trust__inner {
  max-width: 800px;
  margin: 0 auto;
}

.gal-trust__content {
  text-align: center;
}

.gal-trust__heading {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.gal-trust__text {
  font-size: clamp(0.88rem, 1.3vw, 0.98rem);
  color: var(--gal-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.gal-trust__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  text-align: left;
  margin-bottom: 36px;
}

.gal-trust__point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--gal-white);
}

.gal-trust__point-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gal-gold);
}
.gal-trust__point-icon svg {
  width: 100%;
  height: 100%;
}

.gal-trust__links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.gal-trust__links a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gal-gold);
  text-decoration: none;
  position: relative;
  transition: color 260ms ease;
}
.gal-trust__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gal-gold);
  transition: width 300ms var(--gal-ease);
}
.gal-trust__links a:hover::after {
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 7: FINAL CTA
   ═══════════════════════════════════════════════════════════ */
.gal-cta {
  position: relative;
  z-index: 1;
  padding: 100px 24px 120px;
}

.gal-cta__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 40px;
  border-radius: 24px;
  background: var(--gal-glass);
  border: 1px solid var(--gal-glass-b);
  overflow: hidden;
}

.gal-cta__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(211, 175, 55, 0.1), transparent 65%);
  pointer-events: none;
  filter: blur(40px);
}

.gal-cta__heading {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  position: relative;
}

.gal-cta__text {
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  color: var(--gal-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  position: relative;
}

.gal-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ═══════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════ */
.gal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 350ms var(--gal-ease), visibility 0ms 350ms;
}
.gal-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 350ms var(--gal-ease), visibility 0ms 0ms;
}

.gal-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 9, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.gal-lightbox__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
  padding: 60px 24px 80px;
}

.gal-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 237, 230, 0.15);
  background: rgba(10, 10, 18, 0.6);
  color: var(--gal-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 260ms ease, background 260ms ease;
  z-index: 3;
}
.gal-lightbox__close svg {
  width: 20px;
  height: 20px;
}
.gal-lightbox__close:hover {
  border-color: var(--gal-gold);
  background: rgba(211, 175, 55, 0.1);
}
.gal-lightbox__close:focus-visible {
  outline: 2px solid var(--gal-gold);
  outline-offset: 2px;
}

.gal-lightbox__nav {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(211, 175, 55, 0.15);
  background: rgba(10, 10, 18, 0.6);
  color: var(--gal-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 260ms ease, background 260ms ease, transform 200ms var(--gal-ease);
}
.gal-lightbox__nav svg {
  width: 22px;
  height: 22px;
}
.gal-lightbox__nav:hover {
  border-color: var(--gal-gold);
  background: rgba(211, 175, 55, 0.1);
  transform: scale(1.06);
}
.gal-lightbox__nav:focus-visible {
  outline: 2px solid var(--gal-gold);
  outline-offset: 2px;
}

.gal-lightbox__stage {
  flex: 1;
  max-height: 75vh;
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gal-lightbox__img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  transition: opacity 300ms ease;
}

.gal-lightbox__info {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.gal-lightbox__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.gal-lightbox__meta {
  font-size: 0.76rem;
  color: var(--gal-muted);
}

/* ═══════════════════════════════════════════════════════════
   KEYFRAMES
   ═══════════════════════════════════════════════════════════ */
@keyframes galFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes galFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes galGlowDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.08); }
}
@keyframes galScrollPulse {
  0%, 100% { opacity: 1;   transform: translateY(0); }
  50%      { opacity: 0.25; transform: translateY(8px); }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (max 1024px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .gal-featured__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gal-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .gal-ba__grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
    gap: 32px;
  }

  .gal-spot-card {
    grid-template-columns: 1fr;
  }
  .gal-spot-card:nth-child(even) {
    direction: ltr;
  }
  .gal-spot-card__img-wrap {
    min-height: 240px;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (max 680px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 680px) {
  .gal-featured,
  .gal-grid-section,
  .gal-ba,
  .gal-spotlight,
  .gal-trust,
  .gal-cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .gal-featured__grid {
    grid-template-columns: 1fr;
  }
  .gal-feat-card {
    aspect-ratio: 16 / 10;
  }
  .gal-feat-card__desc {
    max-height: 120px;
    opacity: 1;
  }
  .gal-feat-card__meta {
    opacity: 1;
    transform: translateY(0);
  }

  .gal-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 12px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gal-filters::-webkit-scrollbar { display: none; }

  .gal-masonry {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .gal-item--tall { grid-row: span 2; }
  .gal-item--wide { grid-column: span 1; }
  .gal-item__overlay { opacity: 1; }

  .gal-ba__grid {
    max-width: none;
  }

  .gal-spot-card__body {
    padding: 24px 20px;
  }

  .gal-trust__points {
    grid-template-columns: 1fr;
  }

  .gal-cta__inner {
    padding: 40px 24px;
  }

  .gal-lightbox__nav { display: none; }
  .gal-lightbox__content { padding: 50px 12px 70px; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Small mobile (max 400px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .gal-hero__title {
    font-size: 2rem;
  }

  .gal-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .gal-item--tall { grid-row: span 1; }

  .gal-btn {
    padding: 12px 28px;
    font-size: 0.84rem;
  }
  .gal-btn--lg {
    padding: 14px 34px;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Ultrawide (min 2000px)
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 2000px) {
  :root {
    --gal-max: 1600px;
  }

  .gal-masonry {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 320px;
  }

  .gal-ba__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .gal-hero__badge,
  .gal-hero__title,
  .gal-hero__subtitle,
  .gal-hero__actions,
  .gal-hero__scroll-cue {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .gal-hero__glow--tl,
  .gal-hero__glow--br {
    animation: none !important;
  }

  .gal-hero__scroll-dot {
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .gal-feat-card__img-wrap img,
  .gal-item__img-wrap img,
  .gal-spot-card__img-wrap img,
  .gal-hero__bg-img {
    transition: none !important;
  }

  .gal-feat-card__shine {
    display: none;
  }
}