:root {
  --gal-orange: #f7941e;
  --gal-teal: #1f7a6c;
  --gal-yellow: #c98f33;
  --gal-dark: #12202e;
  --gal-text-muted: #5b6b7a;
  --gal-border: #e6eaee;
  --gal-bg-soft: #f7f9fb;
}

.gallery-hero {
  background: linear-gradient(135deg, var(--gal-dark), #1c3245);
  color: #fff;
  padding: 72px 0 56px;
  text-align: center;
}

.gallery-hero .eyebrow {
  color: var(--gal-orange);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 13px;
  margin-bottom: 10px;
}

.gallery-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 14px;
}

.gallery-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: #cfd8e3;
  line-height: 1.6;
}

.gallery-filter-section {
  background: var(--gal-bg-soft);
  padding: 28px 0;
  border-bottom: 1px solid var(--gal-border);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.filter-btn {
  border: 1px solid var(--gal-border);
  background: #fff;
  color: var(--gal-dark);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--gal-orange);
  color: var(--gal-orange);
}

.filter-btn.active {
  background: var(--gal-orange);
  border-color: var(--gal-orange);
  color: #fff;
}

.gallery-grid-section {
  padding: 48px 0 64px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.gallery-item {
  border: none;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--gal-bg-soft);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-empty {
  text-align: center;
  color: var(--gal-text-muted);
  padding: 40px 0;
}

.gallery-load-more-wrap {
  text-align: center;
  margin-top: 32px;
}

.gallery-load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  background: var(--gal-orange);
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
}

.gallery-load-more:hover {
  filter: brightness(0.95);
}

.gallery-cta-section {
  background: var(--gal-dark);
  color: #fff;
  text-align: center;
  padding: 56px 0;
}

.gallery-cta-section h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.gallery-cta-section p {
  color: #cfd8e3;
  margin: 0 0 24px;
}

.gallery-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery-cta-buttons .btn-ghost {
  border: 1px solid #fff;
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.gallery-cta-buttons .btn-primary {
  background: var(--gal-orange);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.gallery-preview-section {
  padding: 64px 0;
  background: #fff;
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.gallery-preview-grid a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-preview-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-preview-grid a:hover img {
  transform: scale(1.06);
}

.gallery-preview-cta {
  text-align: center;
  margin-top: 32px;
}

.gallery-preview-cta .view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 900px) {
  .gallery-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}