/**
 * Southport PC — Gallery & Rescues Page Stylesheet
 *
 * Implements styling for:
 * 1. Gallery Hero Section
 * 2. Filter Bar (Frosted Glass Chips)
 * 3. 2-Column Responsive Before/After Grid with Sharp Corners
 * 4. Interactive Sliders, Divider Lines & Circular Drag Handle
 * 5. Standalone Booking Section (#booking) with Custom Orange Dropdown
 * 6. Standalone Slim Trust Bar
 * 7. Responsive Breakpoints
 */

/* ==========================================================================
   1. GALLERY HERO SECTION
   ========================================================================== */

.gallery-hero-section {
  position: relative;
  padding: 125px 6% 40px;
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
}

.gallery-hero-bg-grid {
  display: none;
}

.gallery-hero-container {
  position: relative;
  z-index: 1;
}

.gallery-hero-section .eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-bottom: 20px;
  cursor: default;
}

.gallery-hero-section .eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50% !important;
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  display: inline-block !important;
  flex-shrink: 0;
}

.gallery-hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  color: var(--text-head);
  font-family: 'Space Grotesk', 'Segoe UI', Inter, sans-serif;
}

.accent-glow,
.gallery-hero-title .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gallery-hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--muted);
  line-height: 1.65;
  max-width: 760px;
  margin: 0 auto 10px;
}

/* Uniform Technical Dot Grid Pattern */
main.site-main {
  background-image: radial-gradient(rgba(255, 106, 0, 0.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}

[data-theme="light"] main.site-main {
  background-image: radial-gradient(rgba(255, 106, 0, 0.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}

/* ==========================================================================
   2. INTERACTIVE FILTER BAR & SECTION HEADER
   ========================================================================== */

.gallery-portfolio-section {
  padding: 10px 4% 70px;
  position: relative;
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 0;
  position: relative;
}

.gallery-filter-bar .filter-btn,
.filter-btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 12px 6px 14px 6px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  transition: color 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

[data-theme="light"] .gallery-filter-bar .filter-btn,
[data-theme="light"] .filter-btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--muted);
}

.gallery-filter-bar .filter-btn svg,
.filter-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: stroke 0.2s ease;
}

.gallery-filter-bar .filter-btn:hover,
.filter-btn:hover {
  color: var(--text-head);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none;
}

.gallery-filter-bar .filter-btn:hover svg,
.filter-btn:hover svg {
  stroke: var(--accent);
}

[data-theme="light"] .gallery-filter-bar .filter-btn:hover,
[data-theme="light"] .filter-btn:hover {
  color: var(--text-head);
  background: transparent !important;
  border: none !important;
}

.gallery-filter-bar .filter-btn.active,
.filter-btn.active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--accent) !important;
  font-weight: 700;
}

.gallery-filter-bar .filter-btn.active svg,
.filter-btn.active svg {
  stroke: var(--accent);
}

.gallery-filter-bar .filter-btn.active::after,
.filter-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* ==========================================================================
   3. 2-COLUMN BEFORE/AFTER GRID & SHARP CARDS
   ========================================================================== */

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

/* Sharp corners per design specifications */
.ba-card,
.ba-slider-box,
.ba-slider-box img {
  border-radius: 0 !important;
}

.ba-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.ba-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-hover-border);
  box-shadow: var(--card-shadow-hover);
}

.ba-card.hidden {
  display: none !important;
}

/* Slider Container */
.ba-slider-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  user-select: none;
  background: #08080b;
}

.ba-slider-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ba-img-after {
  z-index: 1;
}

.ba-img-before {
  z-index: 2;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  will-change: clip-path;
}

/* Vertical divider line - Signature Ember Orange on both dark and light themes (ultra-fine hairline) */
.ba-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px !important;
  transform: translateX(-0.5px);
  background: var(--accent) !important;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.7) !important;
  will-change: left;
}

/* Circular drag handle (50% translucent smoke-grey frosted glass with crisp white arrows) */
.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50% !important;
  background: rgba(20, 22, 30, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid #ff6a00;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(255, 106, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ba-handle-btn svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
  color: #ffffff;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

/* Category: Custom Builds (Orange Theme) */
.ba-card[data-category="builds"] .ba-handle-btn {
  background: rgba(20, 22, 30, 0.52);
  border: 2px solid #ff6a00;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(255, 106, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.5);
}

.ba-card[data-category="builds"] .ba-handle-btn:hover,
.ba-card[data-category="builds"] .ba-slider-box:hover .ba-handle-btn,
.ba-card[data-category="builds"] .ba-slider-box:has(.ba-range-input:hover) .ba-handle-btn,
.ba-card[data-category="builds"] .ba-slider-box:has(.ba-range-input:active) .ba-handle-btn,
.ba-card[data-category="builds"] .ba-slider-box:has(.ba-range-input:focus) .ba-handle-btn,
.ba-card[data-category="builds"] .ba-range-input:hover ~ .ba-divider-line .ba-handle-btn,
.ba-card[data-category="builds"] .ba-range-input:active ~ .ba-divider-line .ba-handle-btn,
.ba-card[data-category="builds"] .ba-range-input:focus ~ .ba-divider-line .ba-handle-btn {
  border-color: #ff9d2e;
  box-shadow: 0 0 22px rgba(255, 106, 0, 0.75), 0 4px 14px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(20, 22, 30, 0.65);
}

/* Category: Hardware Restorations & Rescues (Emerald Green Theme) */
.ba-card[data-category="restorations"] .ba-handle-btn {
  background: rgba(20, 22, 30, 0.52);
  border: 2px solid #10b981;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.4), 0 4px 12px rgba(0, 0, 0, 0.5);
}

.ba-card[data-category="restorations"] .ba-handle-btn:hover,
.ba-card[data-category="restorations"] .ba-slider-box:hover .ba-handle-btn,
.ba-card[data-category="restorations"] .ba-slider-box:has(.ba-range-input:hover) .ba-handle-btn,
.ba-card[data-category="restorations"] .ba-slider-box:has(.ba-range-input:active) .ba-handle-btn,
.ba-card[data-category="restorations"] .ba-slider-box:has(.ba-range-input:focus) .ba-handle-btn,
.ba-card[data-category="restorations"] .ba-range-input:hover ~ .ba-divider-line .ba-handle-btn,
.ba-card[data-category="restorations"] .ba-range-input:active ~ .ba-divider-line .ba-handle-btn,
.ba-card[data-category="restorations"] .ba-range-input:focus ~ .ba-divider-line .ba-handle-btn {
  border-color: #34d399;
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.75), 0 4px 14px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(20, 22, 30, 0.65);
}

/* Light Theme Support: Translucent smoke-grey handle with white arrows */
[data-theme="light"] .ba-handle-btn {
  background: rgba(20, 22, 30, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff !important;
}

[data-theme="light"] .ba-handle-btn svg {
  stroke: #ffffff;
  color: #ffffff;
}

[data-theme="light"] .ba-card[data-category="builds"] .ba-handle-btn {
  background: rgba(20, 22, 30, 0.55);
  border: 2px solid #ff6a00;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(255, 106, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .ba-card[data-category="restorations"] .ba-handle-btn {
  background: rgba(20, 22, 30, 0.55);
  border: 2px solid #10b981;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.4), 0 4px 12px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .ba-card[data-category="builds"] .ba-handle-btn:hover,
[data-theme="light"] .ba-card[data-category="builds"] .ba-slider-box:hover .ba-handle-btn,
[data-theme="light"] .ba-card[data-category="builds"] .ba-slider-box:has(.ba-range-input:hover) .ba-handle-btn,
[data-theme="light"] .ba-card[data-category="builds"] .ba-slider-box:has(.ba-range-input:active) .ba-handle-btn,
[data-theme="light"] .ba-card[data-category="builds"] .ba-slider-box:has(.ba-range-input:focus) .ba-handle-btn,
[data-theme="light"] .ba-card[data-category="builds"] .ba-range-input:hover ~ .ba-divider-line .ba-handle-btn,
[data-theme="light"] .ba-card[data-category="builds"] .ba-range-input:active ~ .ba-divider-line .ba-handle-btn,
[data-theme="light"] .ba-card[data-category="builds"] .ba-range-input:focus ~ .ba-divider-line .ba-handle-btn {
  border-color: #ff6a00;
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.65), 0 4px 14px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(20, 22, 30, 0.68);
  color: #ffffff !important;
}

[data-theme="light"] .ba-card[data-category="restorations"] .ba-handle-btn:hover,
[data-theme="light"] .ba-card[data-category="restorations"] .ba-slider-box:hover .ba-handle-btn,
[data-theme="light"] .ba-card[data-category="restorations"] .ba-slider-box:has(.ba-range-input:hover) .ba-handle-btn,
[data-theme="light"] .ba-card[data-category="restorations"] .ba-slider-box:has(.ba-range-input:active) .ba-handle-btn,
[data-theme="light"] .ba-card[data-category="restorations"] .ba-slider-box:has(.ba-range-input:focus) .ba-handle-btn,
[data-theme="light"] .ba-card[data-category="restorations"] .ba-range-input:hover ~ .ba-divider-line .ba-handle-btn,
[data-theme="light"] .ba-card[data-category="restorations"] .ba-range-input:active ~ .ba-divider-line .ba-handle-btn,
[data-theme="light"] .ba-card[data-category="restorations"] .ba-range-input:focus ~ .ba-divider-line .ba-handle-btn {
  border-color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.65), 0 4px 14px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(20, 22, 30, 0.68);
  color: #ffffff !important;
}

/* Range input overlay covering the entire box for smooth dragging */
.ba-range-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  margin: 0;
  padding: 0;
  border: none;
}

/* Clean Unbolded Caption Bar */
.ba-caption-bar {
  padding: 13px 18px;
  background: var(--card);
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ba-caption-title {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-head);
  letter-spacing: 0.2px;
  margin: 0;
  line-height: 1.4;
  font-family: inherit;
}

/* Category Tag (Pure Typography) */
.ba-category-tag {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  cursor: default;
}

.ba-cat-build {
  color: var(--accent);
}

.ba-cat-restoration {
  color: #10b981;
}

[data-theme="light"] .ba-cat-restoration {
  color: #059669;
}

/* ==========================================================================
   4. STANDALONE BOOKING & QUOTE REQUEST SECTION
   ========================================================================== */

.booking-section {
  padding: 50px 4% 55px;
  background: radial-gradient(800px 380px at 50% 0%, var(--accent-light), transparent 70%), var(--bg);
  border-top: 1px solid var(--card-border);
}

.booking-container {
  max-width: 1100px;
  margin: 0 auto;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: start;
}

.booking-info {
  padding-top: 6px;
}

.booking-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent !important;
  color: var(--accent);
  border: none !important;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-bottom: 16px;
  cursor: default;
}

.booking-pill svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  flex-shrink: 0;
}

.booking-info h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  font-weight: 900;
  color: var(--text-head);
  line-height: 1.2;
  margin-bottom: 14px;
  font-family: 'Space Grotesk', 'Segoe UI', Inter, sans-serif;
}

.booking-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.booking-perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.perk-ico {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.perk-ico svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.booking-perk-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.booking-perk-item strong {
  font-size: 0.92rem;
  color: var(--text-head);
}

.booking-perk-item span {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}

.perk-wa {
  color: #25d366;
  font-weight: 700;
  text-decoration: underline;
}

/* Booking Card & Form Controls */
.booking-card {
  background: var(--card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sppc-hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-head);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  background: var(--bg2);
  border: 1px solid var(--card-border);
  color: var(--text-head);
  padding: 11px 14px;
  font-size: 0.91rem;
  font-family: inherit;
  border-radius: 9px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

/* Custom Orange Dropdown */
.custom-select-box {
  position: relative;
  width: 100%;
}

.select-trigger {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--card-border);
  color: var(--text-head);
  padding: 11px 14px;
  font-size: 0.91rem;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.2s, box-shadow 0.2s;
  user-select: none;
}

.custom-select-box.open .select-trigger,
.select-trigger:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.select-trigger .selected-text {
  color: var(--text-head);
}

.select-trigger .placeholder {
  color: var(--muted);
}

.select-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: transform 0.25s ease;
}

.select-arrow svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.custom-select-box.open .select-arrow {
  transform: rotate(180deg);
}

.select-dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: var(--card);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
  z-index: 100;
  max-height: 270px;
  overflow-y: auto;
  display: none;
  padding: 6px;
}

.custom-select-box.open .select-dropdown-menu {
  display: block;
  animation: fadeInSelect 0.18s ease;
}

@keyframes fadeInSelect {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.select-option {
  padding: 9px 13px;
  font-size: 0.89rem;
  color: var(--text);
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.select-option:hover {
  background: var(--grad) !important;
  color: #ffffff !important;
  font-weight: 700;
  padding-left: 17px;
}

.select-option.selected {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 700;
  border-left: 3px solid var(--accent);
}

/* Submit Button & Disclaimer */
.btn-booking-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 24px;
  width: auto;
  align-self: flex-start;
  border: none;
  border-radius: 12px !important;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 106, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  margin-top: 4px;
}

.btn-booking-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 106, 0, 0.55);
}

.btn-booking-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-booking-submit svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.form-disclaimer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.77rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
}

.form-disclaimer svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* Booking Success State */
.booking-success {
  display: none;
  text-align: center;
  padding: 28px 16px;
}

.success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50% !important;
  background: rgba(37, 211, 102, 0.15);
  border: 2px solid #25d366;
  color: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.success-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.8;
}

.booking-success-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-head);
  margin-bottom: 8px;
  font-family: 'Space Grotesk', 'Segoe UI', Inter, sans-serif;
}

.booking-success p {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 18px;
  line-height: 1.55;
}

.btn-booking-reset {
  background: var(--bg2);
  border: 1px solid var(--card-border);
  color: var(--text-head);
  padding: 8px 20px;
  border-radius: 12px !important;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-booking-reset:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.booking-error-banner {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ef4444;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  margin-bottom: 12px;
  display: none;
}

/* ==========================================================================
   5. STANDALONE SLIM TRUST BAR
   ========================================================================== */

.trust-bar-section {
  background: var(--bg2);
  border-top: 1px solid var(--card-border);
  padding: 18px 4% 20px;
  margin-bottom: 0;
  position: relative;
}

.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: flex-start;
}

.trust-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 6px;
}

.trust-head-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.trust-head-inline .trust-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  line-height: 1;
}

.trust-head-inline .trust-ico svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.2;
}

.trust-head-inline .trust-item-title {
  color: var(--text-head);
  font-size: 0.88rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.25px;
  text-transform: uppercase;
  font-family: 'Space Grotesk', 'Segoe UI', Inter, sans-serif;
}

.trust-bar-item p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  max-width: 260px;
}

/* Accessibility helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 860px) {
  .ba-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .booking-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .booking-section {
    padding-bottom: 0 !important;
  }

  .booking-card {
    padding: 20px 18px;
    margin-bottom: 0 !important;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .btn-booking-submit {
    display: inline-flex !important;
    width: fit-content !important;
    max-width: 90% !important;
    margin: 0 auto !important;
    padding: 13px 32px !important;
    justify-content: center !important;
  }

  .trust-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .gallery-hero-section {
    padding: 85px 4% 15px !important;
  }

  .gallery-portfolio-section {
    padding: 15px 4% 50px !important;
  }

  .gallery-filter-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 4px;
    margin-bottom: 28px;
  }

  .gallery-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .gallery-filter-bar .filter-btn,
  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 10px 4px 12px 4px;
    font-size: 0.88rem;
  }

  .ba-caption-bar {
    padding: 11px 14px;
    font-size: 0.88rem;
  }

  .trust-bar-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
