/* ============================================================
   OLYMPIA — PAGES PREMIUM UPGRADE
   Services · Gallery · Contact
   No structure changes. CSS only.
   ============================================================ */

/* ═══════════════════════════════════════════════════════════
   PAGE HERO (shared by all inner pages)
   ═══════════════════════════════════════════════════════════ */
.page-hero {
  min-height: 340px !important;
}
.page-hero-bg {
  animation: heroKen 16s ease-out both !important;
  background-size: 115% 115% !important;
}
.page-hero-overlay {
  background:
    linear-gradient(to top,    rgba(6,6,6,0.97) 0%, rgba(6,6,6,0.5) 50%, rgba(6,6,6,0.4) 100%),
    linear-gradient(to right, rgba(6,6,6,0.6)  0%, transparent 60%) !important;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
/* Animated gold accent under heading */
.page-hero-content h1 {
  position: relative;
}
.page-hero-content h1::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 10px;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES PAGE
   ═══════════════════════════════════════════════════════════ */

/* Page background */
.services-detail {
  background:
    radial-gradient(ellipse at 85% 20%, rgba(201,168,76,0.05) 0%, transparent 45%),
    radial-gradient(ellipse at 10% 70%, rgba(201,168,76,0.04) 0%, transparent 40%),
    #080808 !important;
}

/* Each service row */
.service-section {
  padding: 72px 0 !important;
  position: relative;
}
/* Animated reveal: image side */
.service-detail-img {
  border-radius: 4px !important;
  box-shadow:
    0 8px 40px rgba(0,0,0,0.6),
    0 0 0 1px rgba(201,168,76,0.08) !important;
  filter: brightness(0.88) !important;
  transition: filter 0.4s ease, transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease !important;
}
.service-section:hover .service-detail-img {
  filter: brightness(0.96) !important;
  box-shadow:
    0 12px 52px rgba(0,0,0,0.65),
    0 0 0 1px rgba(201,168,76,0.18) !important;
}

/* Text side */
.service-detail-text .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-detail-text .section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.service-detail-text h2 {
  background: linear-gradient(135deg, #fff 0%, rgba(240,236,228,0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Service bullet list premium */
.service-detail-text ul li {
  position: relative;
  padding-left: 4px;
  transition: transform 0.25s ease;
}
.service-detail-text ul li:hover { transform: translateX(4px); }
.service-detail-text ul li span[style*="color: var(--gold)"] {
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}

/* Request Estimate button */
.service-detail-text .btn-gold {
  margin-top: 4px;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3) !important;
}

/* Process section */
.process-section {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 55%),
    linear-gradient(180deg, #0e0e0e 0%, #0b0b0b 100%) !important;
  position: relative;
}
.process-section::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.25), transparent);
  pointer-events: none;
}

/* Process steps grid */
.process-steps {
  border: 1px solid rgba(201,168,76,0.1) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4) !important;
  overflow: visible !important;
}
.process-step {
  position: relative;
  overflow: hidden;
}
/* Step number glow */
.step-number {
  background: linear-gradient(135deg, rgba(201,168,76,0.25), rgba(201,168,76,0.08));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 4rem !important;
}

/* FAQ section */
.faq-item {
  transition: background 0.3s ease !important;
}
.faq-q {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
}
.faq-item.faq-open {
  background:
    radial-gradient(ellipse at 0% 50%, rgba(201,168,76,0.05) 0%, transparent 55%),
    var(--dark3) !important;
}

/* Services page mobile */
@media (max-width: 768px) {
  .service-section { padding: 48px 0 !important; }
  .service-detail-img { margin-bottom: 4px; }
}

/* ═══════════════════════════════════════════════════════════
   GALLERY PAGE
   ═══════════════════════════════════════════════════════════ */

/* Gallery background */
.gallery-page {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(201,168,76,0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(201,168,76,0.04) 0%, transparent 40%),
    #080808 !important;
}

/* Filter pills */
.gallery-filters { gap: 8px !important; margin-bottom: 44px !important; }
.filter-btn {
  border-radius: 3px !important;
  letter-spacing: 0.12em !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3) !important;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1) !important;
}
.filter-btn:hover {
  background: rgba(201,168,76,0.08) !important;
  border-color: rgba(201,168,76,0.45) !important;
  color: var(--gold) !important;
  transform: translateY(-1px) !important;
}
.filter-btn.active {
  box-shadow: 0 4px 16px rgba(201,168,76,0.3) !important;
}

/* GALLERY GRID — desktop 3-col, mobile 2-col */
.gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
}

/* Gallery item — premium */
.gallery-item {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 4px !important;
  background: #0f0f0f !important;
  aspect-ratio: 4/3 !important;
  border: 1px solid rgba(201,168,76,0.06) !important;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease, border-color 0.3s ease !important;
}
.gallery-item:hover {
  transform: scale(1.02) translateY(-2px) !important;
  border-color: rgba(201,168,76,0.22) !important;
  box-shadow:
    0 12px 36px rgba(0,0,0,0.65),
    0 0 20px rgba(201,168,76,0.08) !important;
}
.gallery-item img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important;
  filter: brightness(0.82) saturate(0.9) !important;
  transition: transform 0.65s cubic-bezier(0.22,1,0.36,1), filter 0.4s ease !important;
}
.gallery-item:hover img {
  transform: scale(1.08) !important;
  filter: brightness(0.95) saturate(1.05) !important;
}

/* Hover overlay */
.gallery-hover {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.25) 45%,
    transparent 70%) !important;
}

/* Category label */
.gallery-item-label {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light)) !important;
  letter-spacing: 0.12em !important;
  border-radius: 2px !important;
}

/* Zoom icon */
.gallery-zoom {
  width: 32px !important; height: 32px !important;
  background: rgba(0,0,0,0.55) !important;
  backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
}

/* ── MOBILE GALLERY — 2 per row, premium ── */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }
  .gallery-item {
    aspect-ratio: 1/1 !important;  /* square on mobile = cleaner */
    border-radius: 5px !important;
  }
  /* Tap effect */
  .gallery-item:active {
    transform: scale(0.96) !important;
    border-color: rgba(201,168,76,0.35) !important;
  }
  /* Always show hover overlay on mobile (no hover state) */
  .gallery-hover {
    opacity: 0.7 !important;
  }
  .gallery-item:hover { transform: none !important; }
  .filter-btn { padding: 7px 14px !important; font-size: 0.68rem !important; }
}

/* Before/After */
.before-after-section {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.05) 0%, transparent 50%),
    #111 !important;
  position: relative;
}
.before-after-section::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent);
}
.ba-item {
  box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  transition: box-shadow 0.3s ease !important;
}
.ba-item:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.65), 0 0 0 1px rgba(201,168,76,0.18) !important;
}
.ba-img {
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), filter 0.4s ease !important;
  filter: brightness(0.85) !important;
}
.ba-item:hover .ba-img {
  transform: scale(1.04) !important;
  filter: brightness(0.95) !important;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════ */

/* Page background */
.contact-page {
  background:
    radial-gradient(ellipse at 75% 15%, rgba(201,168,76,0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 10% 80%, rgba(201,168,76,0.04) 0%, transparent 40%),
    #080808 !important;
}

/* Quick CTA bar */
[style*="background: linear-gradient(135deg, var(--gold"] {
  box-shadow: 0 4px 24px rgba(201,168,76,0.25) !important;
}

/* Contact intro cards */
.contact-page > div + section .container > div {
  /* The 3 intro feature cards */
}
[style*="display: flex; align-items: center; gap: 16px; background: var(--dark2)"] {
  border-radius: 4px !important;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1) !important;
}

/* Contact form section */
.contact-form-wrap {
  position: relative;
}
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.contact-form-wrap > * { position: relative; z-index: 1; }

/* Form heading */
.contact-form-wrap h2 {
  background: linear-gradient(135deg, #fff 0%, rgba(240,236,228,0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Form inputs — premium */
.form-group input,
.form-group textarea,
.form-group select {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 3px !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  background: rgba(201,168,76,0.04) !important;
  border-color: rgba(201,168,76,0.45) !important;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08), 0 4px 16px rgba(0,0,0,0.3) !important;
  outline: none !important;
}

/* Submit button */
.form-submit {
  border-radius: 3px !important;
  letter-spacing: 0.16em !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.form-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 32px rgba(201,168,76,0.45) !important;
}

/* Contact info cards */
.contact-info-card {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(201,168,76,0.07) 0%, transparent 50%),
    linear-gradient(160deg, #181818 0%, #111 100%) !important;
  border-radius: 4px !important;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dark), transparent);
  opacity: 0.5;
}

/* Info items */
.contact-info-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  padding: 10px 0 !important;
  transition: transform 0.25s ease !important;
}
.contact-info-item:hover { transform: translateX(4px) !important; }

/* Hours grid */
.hours-grid {
  padding-top: 4px;
}
.hours-item {
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

/* Call/text CTA buttons */
.contact-info-wrap .btn-gold,
.contact-info-wrap .btn-outline-gold {
  border-radius: 3px !important;
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1) !important;
}

/* Online indicator */
[style*="background: #4ade80"] {
  box-shadow: 0 0 8px #4ade80 !important;
}

/* Service areas on contact page */
.contact-page .areas-section {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 55%),
    #0e0e0e !important;
}

/* Mobile contact */
@media (max-width: 768px) {
  .contact-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 36px !important;
  }
  .contact-form-wrap::before { display: none; }
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px !important; /* prevents iOS zoom */
  }
}

/* ─── SHARED: Premium section label across pages ── */
.page-hero .section-label,
.services-detail .section-label,
.process-section .section-label,
.gallery-page .section-label,
.contact-page .section-label {
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.2s both;
}

/* ─── Lightbox upgrade ── */
.lightbox {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}
.lightbox img {
  box-shadow:
    0 32px 80px rgba(0,0,0,0.85),
    0 0 0 1px rgba(201,168,76,0.12) !important;
  border-radius: 4px !important;
}

/* Mobile gallery — make sure 2 per row no overflow */
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 5px !important; }
  .gallery-item { aspect-ratio: 1/1 !important; border-radius: 4px !important; }
  .gallery-filters { gap: 5px !important; }
  .filter-btn { padding: 6px 11px !important; font-size: 0.64rem !important; }
}

/* ═══════════════════════════════════════════════════════════
   STATS BAR — PREMIUM REDESIGN
   ═══════════════════════════════════════════════════════════ */

@keyframes statsGlowPulse {
  0%,100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.12); }
}
@keyframes statTopLineDraw {
  from { width: 0; opacity: 0; }
  to   { width: 28px; opacity: 1; }
}
@keyframes statsToServicesReveal {
  from { opacity: 0; transform: scaleX(0.3); }
  to   { opacity: 1; transform: scaleX(1); }
}

.stats-bar-premium {
  position: relative;
  padding: 60px 0 72px !important;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.09) 0%, transparent 55%),
    linear-gradient(180deg, #0e0e0e 0%, #111111 50%, #0e0e0e 100%) !important;
  border-top: 1px solid rgba(201,168,76,0.18) !important;
  overflow: hidden;
}

/* Animated ambient orb */
.stats-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
  filter: blur(40px);
  animation: statsGlowPulse 8s ease-in-out infinite;
}

/* Grid layout */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}

/* Vertical dividers */
.stat-divider {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.3), transparent);
  align-self: center;
  margin: 0 8px;
}

/* Stat item */
.stat-item {
  text-align: center;
  padding: 16px 24px;
}
.stat-item-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

/* Gold top line — draws on scroll */
.stat-top-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-bottom: 16px;
  transition: width 0.9s cubic-bezier(0.22,1,0.36,1);
}
[data-stats-bar].stats-animated .stat-top-line {
  width: 28px;
}

/* Number */
.stat-number {
  font-family: var(--font-display) !important;
  font-size: clamp(2.8rem, 5vw, 4rem) !important;
  font-weight: 300 !important;
  color: var(--gold) !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  text-shadow: 0 0 40px rgba(201,168,76,0.25) !important;
  display: block;
  transition: text-shadow 0.4s ease;
}
.stat-item:hover .stat-number {
  text-shadow: 0 0 60px rgba(201,168,76,0.45) !important;
}

/* Label */
.stat-label {
  font-size: 0.62rem !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.35) !important;
  font-weight: 500 !important;
  margin-top: 10px !important;
  white-space: nowrap;
}

/* Transition into services */
.stats-to-services {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201,168,76,0.15) 20%,
    rgba(201,168,76,0.45) 50%,
    rgba(201,168,76,0.15) 80%,
    transparent 100%);
}
/* The services section "WHAT WE DO" label gets extra spacing */
.services-overview {
  padding-top: 80px !important;
}
.services-overview .section-header {
  margin-bottom: 56px !important;
}

/* ── MOBILE STATS ── */
@media (max-width: 640px) {
  .stats-bar-premium { padding: 44px 0 52px !important; }

  /* 2x2 grid on mobile — dividers become horizontal */
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto auto auto auto;
    gap: 0 !important;
  }

  /* Hide vertical dividers — use border on cells instead */
  .stat-divider { display: none !important; }

  .stat-item {
    padding: 20px 12px !important;
    border: 1px solid rgba(201,168,76,0.07);
  }
  /* 4 cells arranged 2x2 */
  .stat-item:nth-child(1) { border-right: none; border-bottom: none; }
  .stat-item:nth-child(3) { border-bottom: none; }
  .stat-item:nth-child(5) { border-right: none; }

  .stat-number { font-size: clamp(2.4rem, 9vw, 3.2rem) !important; }
  .stat-label  { font-size: 0.58rem !important; letter-spacing: 0.18em !important; white-space: normal !important; line-height: 1.4; }
  .stats-glow  { width: 320px !important; height: 200px !important; filter: blur(30px) !important; }
}

/* ═══════════════════════════════════════════════════════════
   SERVICES PAGE — HERO UPGRADE
   ═══════════════════════════════════════════════════════════ */

@keyframes svcHeroReveal {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@keyframes svcHeroLabelIn {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes svcHeroBg {
  from { transform: scale(1.1); }
  to   { transform: scale(1.02); }
}

/* Override — make services page hero much taller */
.services-detail ~ * .page-hero,   /* fallback */
body:has(.services-detail) .page-hero,
.page-hero {
  /* Only override on services page via selector below */
}

/* Services hero — taller, more cinematic */
.services-hero-override {
  min-height: 62vh !important;
  max-height: none !important;
}
/* Add this class via pages.css targeting services.html page-hero */

/* Target services page specifically using .services-detail sibling */
/* CSS can't do previous-sibling, so we override via class added below */
.svc-page-hero {
  min-height: 60vh !important;
  align-items: flex-end !important;
  padding-bottom: 0 !important;
}
.svc-page-hero .page-hero-bg {
  animation: svcHeroBg 14s ease-out both !important;
  background-position: center 30% !important;
}
/* Stronger cinematic overlay */
.svc-page-hero .page-hero-overlay {
  background:
    linear-gradient(to top,    rgba(5,5,5,0.98) 0%, rgba(5,5,5,0.60) 35%, rgba(5,5,5,0.25) 70%, rgba(5,5,5,0.5) 100%),
    linear-gradient(to right,  rgba(5,5,5,0.4)  0%, transparent 50%) !important;
}
/* Gold warm glow at bottom */
.svc-page-hero .page-hero-overlay::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: radial-gradient(ellipse at 40% 100%, rgba(201,168,76,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Content area — more padding, animated entries */
.svc-page-hero .page-hero-content {
  padding-bottom: 64px !important;
  padding-top: calc(var(--nav-h) + 24px) !important;
}
.svc-page-hero .section-label {
  animation: svcHeroLabelIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.2s both !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.svc-page-hero .section-label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.svc-page-hero h1 {
  animation: svcHeroReveal 0.9s cubic-bezier(0.22,1,0.36,1) 0.38s both !important;
  font-size: clamp(2.6rem, 8vw, 5rem) !important;
  line-height: 1.1 !important;
  margin-bottom: 16px !important;
}
/* Gold underline accent on h1 */
.svc-page-hero h1::after {
  content: '' !important;
  display: block !important;
  width: 48px !important;
  height: 2px !important;
  background: linear-gradient(90deg, var(--gold), transparent) !important;
  margin-top: 14px !important;
  animation: svcHeroReveal 0.8s cubic-bezier(0.22,1,0.36,1) 0.85s both !important;
}
.svc-page-hero p {
  animation: svcHeroReveal 0.8s cubic-bezier(0.22,1,0.36,1) 0.58s both !important;
  font-size: 1.05rem !important;
  color: rgba(255,255,255,0.6) !important;
  max-width: 440px !important;
}

/* Gold bottom edge line */
.svc-page-hero::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0; left: 0; right: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4) 40%, rgba(201,168,76,0.6) 50%, rgba(201,168,76,0.4) 60%, transparent) !important;
  z-index: 3 !important;
}

/* Mobile */
@media (max-width: 768px) {
  .svc-page-hero { min-height: 52vh !important; }
  .svc-page-hero h1 { font-size: clamp(2.2rem, 9vw, 3.2rem) !important; }
}

/* ═══════════════════════════════════════════════════════════
   SERVICE DETAIL BLOCKS — PREMIUM UPGRADE
   ═══════════════════════════════════════════════════════════ */

/* Fix: service sections start visible (no invisible gap) */
.service-section .fade-left,
.service-section .fade-right {
  opacity: 1 !important;
  transform: none !important;
}
/* Re-enable animation only when triggered */
.service-section .fade-left.animating,
.service-section .fade-right.animating {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.service-section.reverse .fade-right.animating { transform: translateX(32px); }
.service-section .fade-left.animating.visible,
.service-section .fade-right.animating.visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Section wrapper — subtle background glow per section */
.service-section {
  position: relative;
  padding: 72px 0 !important;
}
.service-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.03) 0%, transparent 55%);
  pointer-events: none;
}

/* IMAGE — premium frame treatment */
.service-detail-img {
  position: relative;
  border-radius: 6px !important;
  display: block;
  box-shadow:
    0 12px 48px rgba(0,0,0,0.65),
    0 0 0 1px rgba(201,168,76,0.12) !important;
  filter: brightness(0.9) !important;
  transition: filter 0.4s ease, transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease !important;
}
.service-section:hover .service-detail-img {
  filter: brightness(0.97) !important;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.7),
    0 0 0 1px rgba(201,168,76,0.25) !important;
  transform: translateY(-3px) !important;
}

/* Gold corner accent on image wrapper */
.fade-left::before {
  content: '';
  position: absolute;
  top: -8px; left: -8px;
  width: 40px; height: 40px;
  border-top: 2px solid rgba(201,168,76,0.5);
  border-left: 2px solid rgba(201,168,76,0.5);
  pointer-events: none;
  z-index: 1;
  border-radius: 2px 0 0 0;
}
.fade-left::after {
  content: '';
  position: absolute;
  bottom: -8px; right: -8px;
  width: 40px; height: 40px;
  border-bottom: 2px solid rgba(201,168,76,0.3);
  border-right: 2px solid rgba(201,168,76,0.3);
  pointer-events: none;
  z-index: 1;
  border-radius: 0 0 2px 0;
}
/* Only apply corner accents on service-section images */
.service-section .fade-left { position: relative; }
/* Remove corners from other fade-left elements */
.why-section .fade-left::before,
.why-section .fade-left::after,
.why-grid .fade-left::before,
.why-grid .fade-left::after { display: none !important; }

/* TEXT SIDE — richer hierarchy */
.service-detail-text .section-label {
  font-size: 0.68rem !important;
  letter-spacing: 0.28em !important;
  color: rgba(201,168,76,0.8) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.service-detail-text .section-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.service-detail-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
  line-height: 1.1 !important;
  margin-bottom: 16px !important;
}
.service-detail-text p {
  font-size: 0.92rem !important;
  color: rgba(255,255,255,0.55) !important;
  line-height: 1.78 !important;
}

/* Bullet list — premium */
.service-detail-text ul {
  margin: 20px 0 28px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.service-detail-text ul li {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 0.88rem !important;
  color: rgba(255,255,255,0.65) !important;
  padding: 8px 14px !important;
  background: rgba(255,255,255,0.02) !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
}
.service-detail-text ul li:hover {
  background: rgba(201,168,76,0.05) !important;
  border-color: rgba(201,168,76,0.2) !important;
  color: rgba(255,255,255,0.85) !important;
  transform: translateX(4px) !important;
}
.service-detail-text ul li span[style*="color: var(--gold)"] {
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  flex-shrink: 0 !important;
}

/* Request Estimate button */
.service-detail-text .btn-gold {
  border-radius: 3px !important;
  letter-spacing: 0.12em !important;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3) !important;
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1) !important;
}
.service-detail-text .btn-gold:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 32px rgba(201,168,76,0.5) !important;
}

/* Mobile */
@media (max-width: 768px) {
  .service-section { padding: 52px 0 !important; }
  .fade-left::before, .fade-left::after { display: none; }
  .service-detail-text ul li { padding: 7px 12px !important; font-size: 0.83rem !important; }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE — ALL SECTIONS
   ═══════════════════════════════════════════════════════════ */

@keyframes ctaHeroIn {
  from { opacity:0; transform: translateY(24px); }
  to   { opacity:1; transform: none; }
}

/* ── CONTACT PAGE HERO ── */
.contact-page-hero {
  min-height: 58vh !important;
  align-items: flex-end !important;
}
.contact-page-hero .page-hero-bg {
  animation: svcHeroBg 14s ease-out both !important;
  background-position: center 25% !important;
}
.contact-page-hero .page-hero-overlay {
  background:
    linear-gradient(to top,    rgba(5,5,5,0.97) 0%,  rgba(5,5,5,0.55) 40%, rgba(5,5,5,0.2)  75%),
    linear-gradient(to right,  rgba(5,5,5,0.45) 0%,  transparent 55%),
    linear-gradient(to bottom, rgba(5,5,5,0.5)  0%,  transparent 22%) !important;
}
.contact-page-hero .page-hero-overlay::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 45%;
  background: radial-gradient(ellipse at 30% 100%, rgba(201,168,76,0.09) 0%, transparent 60%);
  pointer-events: none;
}
.contact-page-hero .page-hero-content {
  padding-bottom: 60px !important;
}
.contact-page-hero .section-label {
  animation: svcHeroLabelIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.2s both !important;
  display: inline-flex !important; align-items: center !important; gap: 10px !important;
}
.contact-page-hero .section-label::before {
  content: ''; display: inline-block;
  width: 24px; height: 1px; background: var(--gold); opacity: 0.7;
}
.contact-page-hero h1 {
  font-size: clamp(2.4rem, 8vw, 4.5rem) !important;
  line-height: 1.08 !important;
  animation: svcHeroReveal 0.9s cubic-bezier(0.22,1,0.36,1) 0.35s both !important;
}
.contact-page-hero h1::after {
  content: '' !important; display: block !important;
  width: 44px !important; height: 2px !important;
  background: linear-gradient(90deg, var(--gold), transparent) !important;
  margin-top: 14px !important;
  animation: svcHeroReveal 0.7s cubic-bezier(0.22,1,0.36,1) 0.8s both !important;
}
.contact-page-hero p {
  animation: svcHeroReveal 0.8s cubic-bezier(0.22,1,0.36,1) 0.55s both !important;
  font-size: 1rem !important; color: rgba(255,255,255,0.55) !important;
}
.contact-page-hero::after {
  content: '' !important; position: absolute !important;
  bottom: 0; left: 0; right: 0; height: 1px; z-index: 3 !important;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.45) 50%, transparent) !important;
}

/* ── QUICK CTA BAR — darken, make premium ── */
[style*="background: linear-gradient(135deg, var(--gold-dark), var(--gold))"] {
  background:
    linear-gradient(135deg, #0f0e0b 0%, #1a1708 100%) !important;
  border-top: 1px solid rgba(201,168,76,0.2) !important;
  border-bottom: 1px solid rgba(201,168,76,0.12) !important;
}
/* Make text visible on dark background */
[style*="background: linear-gradient(135deg, var(--gold-dark), var(--gold))"] [style*="color: rgba(0,0,0,0.6)"] {
  color: rgba(201,168,76,0.6) !important;
}
[style*="background: linear-gradient(135deg, var(--gold-dark), var(--gold))"] a[style*="color: var(--black)"] {
  color: var(--white) !important;
}
[style*="background: linear-gradient(135deg, var(--gold-dark), var(--gold))"] span[style*="color: var(--black)"] {
  color: var(--white) !important;
}

/* ── CONTACT FORM — more premium ── */
.contact-form-wrap .section-label {
  animation: svcHeroLabelIn 0.6s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
.contact-form-wrap h2 {
  animation: ctaHeroIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.2s both;
  font-size: clamp(1.8rem, 5vw, 2.8rem) !important;
}
.contact-form-wrap > p {
  animation: ctaHeroIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.32s both;
}

/* Form group stagger */
.form-group:nth-child(1) { animation: ctaHeroIn 0.6s ease 0.15s both; }
.form-group:nth-child(2) { animation: ctaHeroIn 0.6s ease 0.22s both; }
.form-group:nth-child(3) { animation: ctaHeroIn 0.6s ease 0.29s both; }
.form-group:nth-child(4) { animation: ctaHeroIn 0.6s ease 0.36s both; }
.form-group:nth-child(5) { animation: ctaHeroIn 0.6s ease 0.43s both; }
.form-group:nth-child(6) { animation: ctaHeroIn 0.6s ease 0.50s both; }
.form-group:nth-child(7) { animation: ctaHeroIn 0.6s ease 0.57s both; }

/* Form group label */
.form-group label {
  font-size: 0.65rem !important;
  letter-spacing: 0.22em !important;
  color: rgba(201,168,76,0.65) !important;
  margin-bottom: 7px !important;
  display: block;
}

/* Inputs — premium glass */
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.025) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 4px !important;
  padding: 14px 16px !important;
  color: rgba(255,255,255,0.88) !important;
  font-size: 0.92rem !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(201,168,76,0.5) !important;
  background: rgba(201,168,76,0.04) !important;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.09), 0 4px 20px rgba(0,0,0,0.3) !important;
  outline: none !important;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2) !important; }

/* Submit button — animated */
@keyframes formBtnFloat {
  0%,100% { transform: translateY(0);    box-shadow: 0 4px 20px rgba(201,168,76,0.28); }
  50%      { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(201,168,76,0.46); }
}
.form-submit {
  animation: formBtnFloat 3s ease-in-out 2s infinite !important;
  border-radius: 4px !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.18em !important;
  margin-top: 12px !important;
  position: relative !important;
  overflow: hidden !important;
}
.form-submit:hover {
  animation: none !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 32px rgba(201,168,76,0.5) !important;
}
.form-submit:active { animation: none !important; transform: scale(0.98) !important; }

/* ── GET IN TOUCH CARDS ── */
.contact-info-card {
  position: relative;
  overflow: hidden;
}
.contact-info-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dark), rgba(201,168,76,0.3), transparent);
}
/* Info icon — gold glow */
.info-icon {
  width: 42px !important; height: 42px !important;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.15) 0%, transparent 70%),
    rgba(201,168,76,0.06) !important;
  border: 1px solid rgba(201,168,76,0.22) !important;
  border-radius: 4px !important;
  font-size: 1rem !important;
  display: flex !important;
  align-items: center !important; justify-content: center !important;
  flex-shrink: 0 !important;
  transition: all 0.3s ease !important;
}
.contact-info-item:hover .info-icon {
  background: rgba(201,168,76,0.12) !important;
  border-color: rgba(201,168,76,0.45) !important;
  box-shadow: 0 0 16px rgba(201,168,76,0.15) !important;
}
/* Hide Instagram row if empty */
.contact-info-item:has(span[style*="Available on request"]) {
  display: none !important;
}

/* ── BUSINESS HOURS CARD ── */
.hours-grid {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 0 !important;
  margin-top: 12px !important;
}
.hours-item {
  padding: 9px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.04) !important;
  font-size: 0.86rem !important;
  display: flex !important;
  align-items: center !important;
}
.hours-item strong {
  color: rgba(255,255,255,0.7) !important;
  font-weight: 500 !important;
}
.hours-item:not(:has(strong)) {
  color: rgba(201,168,76,0.7) !important;
  font-size: 0.84rem !important;
  justify-content: flex-end !important;
}
/* Today indicator */
[style*="background: #4ade80"] {
  box-shadow: 0 0 10px rgba(74,222,128,0.5) !important;
  width: 8px !important; height: 8px !important;
}

/* Service area map in contact page */
.contact-page .areas-section {
  position: relative;
  overflow: hidden;
}
/* Mini map-grid bg for contact areas section */
.contact-page .areas-section::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px) !important;
  background-size: 44px 44px !important;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 70%) !important;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 70%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
.contact-page .areas-section .container { position: relative; z-index: 1; }

/* Staggered area tags on contact page */
.contact-page .areas-list .area-tag {
  animation: ctaHeroIn 0.5s ease both;
}
.contact-page .areas-list .area-tag:nth-child(1)  { animation-delay: 0.04s; }
.contact-page .areas-list .area-tag:nth-child(2)  { animation-delay: 0.08s; }
.contact-page .areas-list .area-tag:nth-child(3)  { animation-delay: 0.12s; }
.contact-page .areas-list .area-tag:nth-child(4)  { animation-delay: 0.16s; }
.contact-page .areas-list .area-tag:nth-child(5)  { animation-delay: 0.20s; }
.contact-page .areas-list .area-tag:nth-child(6)  { animation-delay: 0.24s; }
.contact-page .areas-list .area-tag:nth-child(7)  { animation-delay: 0.28s; }
.contact-page .areas-list .area-tag:nth-child(8)  { animation-delay: 0.32s; }
.contact-page .areas-list .area-tag:nth-child(9)  { animation-delay: 0.36s; }
.contact-page .areas-list .area-tag:nth-child(n+10){ animation-delay: 0.40s; }

/* Mobile */
@media (max-width: 768px) {
  .contact-page-hero { min-height: 50vh !important; }
  .contact-page-hero h1 { font-size: clamp(2rem, 9vw, 3rem) !important; }
  /* iOS font zoom prevention */
  .form-group input,
  .form-group textarea,
  .form-group select { font-size: 16px !important; }
  .form-group { margin-bottom: 14px !important; }
  .hours-item { font-size: 0.8rem !important; padding: 7px 0 !important; }
}

/* ═══════════════════════════════════════════════════════════
   GALLERY PAGE — PREMIUM PORTFOLIO UPGRADE
   ═══════════════════════════════════════════════════════════ */

@keyframes cardReveal {
  from { opacity:0; transform: scale(0.94) translateY(16px); }
  to   { opacity:1; transform: none; }
}
@keyframes filterPillActive {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ── Gallery page hero ── */
.gallery-page-hero {
  min-height: 44vh !important;
}
.gallery-page-hero .page-hero-bg {
  animation: svcHeroBg 14s ease-out both !important;
  background-position: center 40% !important;
}
.gallery-page-hero .page-hero-overlay {
  background:
    linear-gradient(to top, rgba(5,5,5,0.97) 0%, rgba(5,5,5,0.5) 40%, rgba(5,5,5,0.2) 80%),
    linear-gradient(to right, rgba(5,5,5,0.35) 0%, transparent 60%) !important;
}

/* ── Filter buttons — premium ── */
.gallery-filters {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: 48px !important;
  justify-content: center !important;
}
.filter-btn {
  position: relative !important;
  padding: 8px 18px !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  background: rgba(255,255,255,0.025) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: rgba(255,255,255,0.5) !important;
  border-radius: 3px !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1) !important;
  overflow: hidden !important;
}
.filter-btn::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0; left: 0; right: 0 !important;
  height: 1.5px !important;
  background: var(--gold) !important;
  transform: scaleX(0) !important;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1) !important;
  transform-origin: left !important;
}
.filter-btn:hover {
  background: rgba(201,168,76,0.07) !important;
  border-color: rgba(201,168,76,0.3) !important;
  color: rgba(255,255,255,0.85) !important;
  transform: translateY(-1px) !important;
}
.filter-btn.active {
  background: rgba(201,168,76,0.1) !important;
  border-color: rgba(201,168,76,0.4) !important;
  color: var(--gold) !important;
  box-shadow: 0 4px 16px rgba(201,168,76,0.15) !important;
}
.filter-btn.active::after { transform: scaleX(1) !important; }

/* ── GALLERY GRID — DESKTOP 3col ── */
.gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
}

/* ── GALLERY ITEMS — premium cards ── */
.gallery-item {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 5px !important;
  background: #0d0d0d !important;
  cursor: pointer !important;
  aspect-ratio: 1/1 !important;
  /* Gold gradient border */
  box-shadow:
    0 2px 12px rgba(0,0,0,0.5),
    0 0 0 1px rgba(201,168,76,0.06) !important;
  transition:
    transform 0.45s cubic-bezier(0.22,1,0.36,1),
    box-shadow 0.4s ease !important;
}
.gallery-item.revealed {
  animation: cardReveal 0.55s cubic-bezier(0.22,1,0.36,1) both !important;
}
.gallery-item:hover {
  transform: scale(1.02) !important;
  box-shadow:
    0 12px 36px rgba(0,0,0,0.65),
    0 0 0 1px rgba(201,168,76,0.25) !important;
  z-index: 2 !important;
}
/* Image */
.gallery-item img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  filter: brightness(0.8) saturate(0.88) !important;
  transition: transform 0.65s cubic-bezier(0.22,1,0.36,1), filter 0.4s ease !important;
}
.gallery-item:hover img {
  transform: scale(1.08) !important;
  filter: brightness(0.92) saturate(1.05) !important;
}

/* Hover overlay */
.gallery-hover {
  position: absolute !important; inset: 0 !important;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.2)  45%,
    transparent 68%) !important;
  opacity: 0 !important;
  transition: opacity 0.4s ease !important;
  display: flex !important;
  align-items: flex-end !important;
  padding: 14px !important;
}
.gallery-item:hover .gallery-hover { opacity: 1 !important; }

/* Category label — glass style */
.gallery-item-label {
  font-size: 0.64rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.9) !important;
  background: rgba(0,0,0,0.5) !important;
  border: 1px solid rgba(201,168,76,0.3) !important;
  padding: 4px 10px !important;
  border-radius: 2px !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  letter-spacing: 0.14em !important;
}

/* Zoom icon — premium */
.gallery-zoom {
  position: absolute !important;
  top: 10px !important; right: 10px !important;
  width: 30px !important; height: 30px !important;
  background: rgba(0,0,0,0.6) !important;
  backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 50% !important;
  font-size: 0.7rem !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  opacity: 0 !important;
  transform: scale(0.7) !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}
.gallery-item:hover .gallery-zoom {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Filter transition — items fade when changing */
.gallery-item.hiding {
  opacity: 0 !important;
  transform: scale(0.93) !important;
  transition: opacity 0.25s ease, transform 0.25s ease !important;
  pointer-events: none !important;
}
.gallery-item.showing {
  animation: cardReveal 0.45s cubic-bezier(0.22,1,0.36,1) both !important;
}

/* ─────────────────────────────────────────────
   MOBILE GALLERY — alternating big/small
   Pattern: 1 featured → 2 small → 1 featured → 2 small
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }
  /* In "all" view: every 3n+1 item spans full width */
  .gallery-grid.all-view .gallery-item:nth-child(3n+1) {
    grid-column: span 2 !important;
    aspect-ratio: 16/9 !important;
  }
  .gallery-grid.all-view .gallery-item:nth-child(3n+2),
  .gallery-grid.all-view .gallery-item:nth-child(3n+3) {
    aspect-ratio: 1/1 !important;
  }
  /* Filtered view: uniform 2col squares */
  .gallery-grid:not(.all-view) .gallery-item {
    aspect-ratio: 1/1 !important;
    grid-column: auto !important;
  }
  /* Mobile: always show label */
  .gallery-hover {
    opacity: 1 !important;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 50%) !important;
  }
  .gallery-item:hover { transform: none !important; }
  .gallery-item:active {
    transform: scale(0.97) !important;
    box-shadow: 0 0 0 2px rgba(201,168,76,0.45) !important;
  }
  /* Filters scrollable row on mobile */
  .gallery-filters {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding-bottom: 8px !important;
    scrollbar-width: none !important;
  }
  .gallery-filters::-webkit-scrollbar { display: none !important; }
  .filter-btn { flex-shrink: 0 !important; }
}

@media (max-width: 400px) {
  .gallery-grid { gap: 4px !important; }
}

/* ── LIGHTBOX — premium ── */
.lightbox {
  position: fixed !important; inset: 0 !important;
  z-index: 12000 !important;
  background: rgba(0,0,0,0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.35s ease !important;
  padding: 20px !important;
}
.lightbox.open {
  opacity: 1 !important;
  pointer-events: all !important;
}
.lightbox img {
  max-width: min(90vw, 900px) !important;
  max-height: 85vh !important;
  width: auto !important; height: auto !important;
  object-fit: contain !important;
  border-radius: 4px !important;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.9),
    0 0 0 1px rgba(201,168,76,0.15) !important;
  animation: vidModalIn 0.4s cubic-bezier(0.22,1,0.36,1) both !important;
}
.lightbox-close {
  position: fixed !important;
  top: 20px !important; right: 20px !important;
  width: 40px !important; height: 40px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: white !important; font-size: 1rem !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  z-index: 2 !important;
}
.lightbox-close:hover {
  background: rgba(201,168,76,0.2) !important;
  border-color: rgba(201,168,76,0.5) !important;
  color: var(--gold) !important;
}
.lightbox-nav {
  position: fixed !important;
  top: 50% !important; transform: translateY(-50%) !important;
  width: 44px !important; height: 44px !important;
  background: rgba(0,0,0,0.55) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 50% !important;
  color: white !important; font-size: 1.4rem !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  backdrop-filter: blur(4px) !important;
  z-index: 2 !important;
}
.lightbox-prev { left: 16px !important; }
.lightbox-next { right: 16px !important; }
.lightbox-nav:hover {
  background: rgba(201,168,76,0.2) !important;
  border-color: rgba(201,168,76,0.5) !important;
  color: var(--gold) !important;
}
@media (max-width: 480px) {
  .lightbox img { max-width: 96vw !important; max-height: 80vh !important; }
  .lightbox-nav { width: 36px !important; height: 36px !important; font-size: 1.1rem !important; }
  .lightbox-prev { left: 8px !important; }
  .lightbox-next { right: 8px !important; }
}

/* ═══════════════════════════════════════════════════════════
   SERVICES PAGE — INDIVIDUAL SERVICE SECTIONS UPGRADE
   Gold accent · Better frame · Bullet animations · Mobile
   ═══════════════════════════════════════════════════════════ */

@keyframes imgReveal {
  from { opacity:0; transform: scale(1.04) translateY(12px); clip-path: inset(8% 0 8% 0); }
  to   { opacity:1; transform: none; clip-path: inset(0% 0 0% 0); }
}
@keyframes bulletIn {
  from { opacity:0; transform: translateX(14px); }
  to   { opacity:1; transform: none; }
}
@keyframes goldAccentIn {
  from { opacity:0; transform: scale(0.9); }
  to   { opacity:0.7; transform: none; }
}

/* ── SERVICE SECTION WRAPPER ── */
.service-section {
  overflow: hidden !important;
}

/* Gold accent block behind each image */
.service-section .fade-left {
  position: relative !important;
}
.service-section .fade-left::before {
  content: '' !important;
  position: absolute !important;
  /* Offset gold block — bottom-right of image */
  bottom: -14px !important;
  right: -14px !important;
  width: 65% !important;
  height: 65% !important;
  background: linear-gradient(135deg,
    rgba(201,168,76,0.18) 0%,
    rgba(201,168,76,0.06) 60%,
    transparent 100%) !important;
  border-radius: 4px !important;
  z-index: 0 !important;
  pointer-events: none !important;
  animation: goldAccentIn 1s ease 0.3s both !important;
  border: 1px solid rgba(201,168,76,0.15) !important;
}
/* Alternate: reversed sections get top-left accent */
.service-section.reverse .fade-left::before {
  bottom: auto !important;
  right: auto !important;
  top: -14px !important;
  left: -14px !important;
  background: linear-gradient(315deg,
    rgba(201,168,76,0.18) 0%,
    rgba(201,168,76,0.06) 60%,
    transparent 100%) !important;
}
/* Top-left corner gold bracket */
.service-section .fade-left::after {
  content: '' !important;
  position: absolute !important;
  top: -10px !important;
  left: -10px !important;
  width: 36px !important; height: 36px !important;
  border-top: 2px solid rgba(201,168,76,0.6) !important;
  border-left: 2px solid rgba(201,168,76,0.6) !important;
  border-radius: 2px 0 0 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

/* Image itself — premium frame */
.service-detail-img {
  position: relative !important;
  z-index: 1 !important;
  border-radius: 6px !important;
  display: block !important;
  width: 100% !important;
  box-shadow:
    0 16px 56px rgba(0,0,0,0.7),
    0 0 0 1px rgba(201,168,76,0.14),
    0 0 0 4px rgba(0,0,0,0.4) !important;
  filter: brightness(0.88) contrast(1.04) !important;
  transition: filter 0.5s ease, transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease !important;
}
.service-section:hover .service-detail-img {
  filter: brightness(0.96) contrast(1.02) !important;
  transform: translateY(-4px) !important;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.75),
    0 0 0 1px rgba(201,168,76,0.28) !important;
}

/* ── ANIMATED BULLETS ── */
.service-detail-text ul li {
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22,1,0.36,1) !important;
}
/* Trigger when parent section is visible */
.service-section.in-view .service-detail-text ul li:nth-child(1) { opacity:1; transform:none; transition-delay:0.05s; }
.service-section.in-view .service-detail-text ul li:nth-child(2) { opacity:1; transform:none; transition-delay:0.13s; }
.service-section.in-view .service-detail-text ul li:nth-child(3) { opacity:1; transform:none; transition-delay:0.21s; }
.service-section.in-view .service-detail-text ul li:nth-child(4) { opacity:1; transform:none; transition-delay:0.29s; }
.service-section.in-view .service-detail-text ul li:nth-child(5) { opacity:1; transform:none; transition-delay:0.37s; }

/* ── SERVICE SECTION BACKGROUND ── */
/* Alternating subtle bg contrast */
.service-section:nth-child(even) {
  background: rgba(201,168,76,0.015) !important;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  /* Stack: image top, text below */
  .service-grid,
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1.2fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  /* Image takes 16:9 on mobile */
  .service-detail-img {
    aspect-ratio: 16/9 !important;
    object-fit: cover !important;
    width: 100% !important;
  }
  /* Gold accent smaller on mobile */
  .service-section .fade-left::before {
    width: 55% !important;
    height: 55% !important;
    bottom: -10px !important;
    right: -10px !important;
  }
  .service-detail-text h2 { font-size: 1.7rem !important; }
  .service-detail-text p  { font-size: 0.86rem !important; }
  .service-section { padding: 44px 0 !important; }
  /* Bullets always visible on mobile (no hover trigger needed) */
  .service-detail-text ul li {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── SERVICES HERO — better bg position for this photo ── */
.svc-page-hero .page-hero-bg {
  background-position: center 20% !important;
}
/* Photo shows interior/basement — needs less aggressive overlay */
.svc-page-hero .page-hero-overlay {
  background:
    linear-gradient(to top,    rgba(5,5,5,0.99) 0%, rgba(5,5,5,0.7) 35%, rgba(5,5,5,0.35) 65%, rgba(5,5,5,0.5) 100%),
    linear-gradient(to right,  rgba(5,5,5,0.5)  0%, transparent 60%) !important;
}

/* ═══════════════════════════════════════════════════════════
   GALLERY — HERO UPGRADE + NEW BEFORE/AFTER PROJECT
   ═══════════════════════════════════════════════════════════ */

/* Gallery hero — white kitchen photo needs specific overlay */
.gallery-page-hero .page-hero-bg {
  background-position: center 35% !important;
}
.gallery-page-hero .page-hero-overlay {
  background:
    linear-gradient(to top,    rgba(5,5,5,0.98) 0%, rgba(5,5,5,0.65) 40%, rgba(5,5,5,0.4) 75%),
    linear-gradient(to bottom, rgba(5,5,5,0.4)  0%, transparent 25%),
    linear-gradient(to right,  rgba(5,5,5,0.3)  0%, transparent 55%) !important;
}

/* ─── BA PROJECT 2 ─── */
.ba-project-2 {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.05) 0%, transparent 55%),
    linear-gradient(180deg, #0e0e0e 0%, #0b0b0b 100%) !important;
  padding: 80px 0 !important;
  position: relative;
}
.ba-project-2::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.25), transparent);
}

/* Two-column layout */
.ba2-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

/* Column headers */
.ba2-col-header {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ba2-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  width: fit-content;
}
.ba2-label-before {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
}
.ba2-label-after {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.35);
  color: rgba(201,168,76,0.9);
}
.ba2-col-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
  line-height: 1.4;
}

/* 2 stacked images per column */
.ba2-images {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ba2-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/3;
  background: #0d0d0d;
  box-shadow: 0 4px 20px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
  transition: box-shadow 0.4s ease;
}
.ba2-img-wrap:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.65), 0 0 0 1px rgba(201,168,76,0.2);
}
.ba2-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) saturate(0.9);
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1), filter 0.4s ease;
}
.ba2-img-wrap:hover img {
  transform: scale(1.05);
  filter: brightness(0.95) saturate(1.05);
}
.ba2-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 50%);
  pointer-events: none;
}
.ba2-num {
  position: absolute;
  bottom: 8px; right: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(201,168,76,0.4);
  z-index: 2;
  line-height: 1;
}
/* Gold top line on after images */
.ba2-after-col .ba2-img-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(201,168,76,0.3), transparent);
  z-index: 2;
}

/* Center divider */
.ba2-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  padding-top: 44px; /* align with images */
  gap: 8px;
  min-height: 200px;
}
.ba2-divider-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.25), transparent);
  min-height: 40px;
}
.ba2-divider-badge {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.3);
  color: rgba(201,168,76,0.8);
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ── MOBILE ── */
@media (max-width: 700px) {
  .ba2-layout {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto;
    gap: 32px !important;
  }
  .ba2-divider {
    flex-direction: row !important;
    padding: 0 !important;
    min-height: auto !important;
    gap: 12px !important;
  }
  .ba2-divider-line {
    width: auto; height: 1px !important;
    min-height: auto !important;
    flex: 1 !important;
    background: linear-gradient(to right, transparent, rgba(201,168,76,0.25), transparent) !important;
  }
  .ba2-images {
    flex-direction: row !important;
    gap: 6px !important;
  }
  .ba2-img-wrap { aspect-ratio: 1/1 !important; flex: 1 !important; }
  .ba-project-2 { padding: 56px 0 !important; }
}
