/* ============================================================
   BERGERON PAINTING — styles.css
   Design: Navy + White + Amber. Clean, trustworthy, not generic.
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --navy:       oklch(0.18 0.055 243);
  --navy-mid:   oklch(0.24 0.06 243);
  --navy-light: oklch(0.32 0.07 243);
  --amber:      oklch(0.78 0.17 72);
  --amber-dark: oklch(0.65 0.16 72);
  --white:      #ffffff;
  --off-white:  oklch(0.97 0.004 243);
  --ink:        oklch(0.16 0.03 243);
  --ink-muted:  oklch(0.42 0.03 243);
  --border:     oklch(0.88 0.01 243);

  --font-sans:  'Outfit', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --max-w:      1280px;
  --nav-h:      68px;

  --ease-out:   cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
svg { flex-shrink: 0; }

/* ── FOCUS ───────────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── SKIP LINK ───────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--amber);
  color: var(--ink);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 1000;
}
.skip-link:focus { top: 1rem; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms var(--ease-out), background 200ms ease, color 200ms ease, box-shadow 200ms ease;
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--amber);
  color: var(--ink);
}
.btn--primary:hover {
  background: var(--amber-dark);
  box-shadow: 0 4px 20px oklch(0.78 0.17 72 / 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid oklch(1 0 0 / 0.5);
}
.btn--ghost:hover {
  background: oklch(1 0 0 / 0.1);
  border-color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--full { width: 100%; justify-content: center; }

.btn-loading { display: none; }
.btn[data-loading] .btn-label { display: none; }
.btn[data-loading] .btn-loading { display: inline; }

/* ── UNUSED (logo-mark / logo-text were replaced by SVG logo img) ──────── */
/* .logo-mark and .logo-text intentionally removed — kept only nav-logo-img */

/* ── SECTION SHARED ──────────────────────────────────────── */
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.section-title--light { color: var(--white); }

.section-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 52ch;
}
.section-sub--light { color: oklch(0.85 0.03 243); }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 300ms ease, box-shadow 300ms ease;
}
.nav.is-scrolled {
  background: var(--navy);
  box-shadow: 0 2px 24px oklch(0 0 0 / 0.3);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

/* ── NAV LINKS ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: oklch(0.9 0.01 243);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 150ms ease;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--amber) !important;
  color: var(--ink) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  transition: background 200ms ease, transform 160ms var(--ease-out) !important;
}
.nav-cta:hover { background: var(--amber-dark) !important; }
.nav-cta:active { transform: scale(0.97); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 200ms var(--ease-out), opacity 150ms ease;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy);
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid oklch(1 0 0 / 0.1);
}
.mobile-menu.is-open { display: flex; }
.mobile-link {
  color: oklch(0.85 0.02 243);
  font-weight: 500;
  font-size: 1.0625rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
  transition: color 150ms ease;
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: var(--white); }
.mobile-link--cta {
  margin-top: 0.75rem;
  background: var(--amber);
  color: var(--ink) !important;
  font-weight: 700;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm);
  border-bottom: none;
  text-align: center;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(0.12 0.04 243 / 0.96) 0%,
    oklch(0.12 0.04 243 / 0.7) 40%,
    oklch(0.12 0.04 243 / 0.3) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hero-location {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}
.hero-headline {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  text-wrap: balance;
  max-width: 12ch;
}
.hero-headline em {
  font-style: italic;
  color: var(--amber);
  font-weight: 800;
}
.hero-sub {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  color: oklch(0.85 0.02 243);
  max-width: 38ch;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.hero-badge {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 1;
  background: oklch(1 0 0 / 0.1);
  border: 1px solid oklch(1 0 0 / 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}
.badge-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--amber);
}
.badge-number sup { font-size: 1rem; vertical-align: super; }
.badge-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(0.8 0.02 243);
}

/* ── TRUST BAR ───────────────────────────────────────────── */
.trust-bar {
  background: var(--navy);
  padding: 1.25rem 1.5rem;
}
.trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: oklch(0.88 0.02 243);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
}
.trust-item svg { color: var(--amber); flex-shrink: 0; }
.trust-divider {
  width: 1px;
  height: 20px;
  background: oklch(1 0 0 / 0.15);
}

/* ── WORK GALLERY ────────────────────────────────────────── */
.work {
  padding: 6rem 1.5rem;
  background: var(--off-white);
}
.section-header {
  max-width: var(--max-w);
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gallery-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--border);
}
.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 0.875rem 0.875rem;
  background: linear-gradient(to top, oklch(0 0 0 / 0.65), transparent);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  opacity: 0;
  transition: opacity 250ms ease;
}
.gallery-item:hover figcaption { opacity: 1; }

.gallery-more {
  max-width: var(--max-w);
  margin: 2.5rem auto 0;
  display: flex;
  justify-content: center;
}

/* ── SERVICES ────────────────────────────────────────────── */
.services {
  background: var(--navy);
  padding: 6rem 1.5rem;
}
.services-inner { max-width: var(--max-w); margin: 0 auto; }
.services-header {
  margin-bottom: 1rem;
}
.services-list {
  display: flex;
  flex-direction: column;
  margin-top: 3rem;
}
.service-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid oklch(1 0 0 / 0.1);
  transition: background 200ms ease;
  border-radius: var(--radius-sm);
}
.service-row:last-child { border-bottom: 1px solid oklch(1 0 0 / 0.1); }
.service-row:hover { background: oklch(1 0 0 / 0.03); }
.service-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.service-content { display: flex; flex-direction: column; gap: 0.4rem; }
.service-name {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.service-desc {
  font-size: 0.9375rem;
  color: oklch(0.62 0.025 243);
  line-height: 1.6;
  max-width: 52ch;
}
.service-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.55 0.025 243);
  border: 1px solid oklch(1 0 0 / 0.12);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  white-space: nowrap;
}

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials {
  position: relative;
  background: var(--off-white);
  padding: 8rem 1.5rem;
  overflow: hidden;
}
.testimonials-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, oklch(0.93 0.015 243) 0%, var(--off-white) 65%);
  pointer-events: none;
}
.testimonials-quote-mark {
  position: absolute;
  top: 3.5rem;
  left: max(1.5rem, calc(50% - 500px));
  width: clamp(5rem, 10vw, 9rem);
  height: auto;
  color: oklch(0.18 0.055 243 / 0.06);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.testimonials-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}
.testimonials-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Review slider */
.review-slider { display: flex; flex-direction: column; gap: 3rem; }
.review-track-outer { overflow: hidden; }
.review-track {
  display: flex;
  transition: transform 450ms cubic-bezier(0.23, 1, 0.32, 1);
}
.review-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-right: 2rem;
  padding-left: 1.75rem;
  border-left: 3px solid var(--amber);
}
.review-text {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  line-height: 1.6;
  color: oklch(0.22 0.03 243);
  font-style: italic;
  font-weight: 400;
  max-width: 54ch;
}
.review-footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.review-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.review-source {
  font-size: 0.8125rem;
  color: var(--amber-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.review-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.review-counter {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  margin-top: 0.75rem;
}
.review-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 150ms ease, border-color 150ms ease, transform 160ms var(--ease-out);
  touch-action: manipulation;
  cursor: pointer;
}
.review-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.review-btn:active { transform: scale(0.95); }
.review-btn[disabled] { opacity: 0.3; pointer-events: none; }
.review-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.review-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: oklch(0.75 0.015 243);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 200ms ease, width 200ms ease, border-radius 200ms ease;
  touch-action: manipulation;
}
.review-dot.is-active {
  background: var(--navy);
  width: 24px;
  border-radius: 3px;
}
.review-dot:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}
.stars-row {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--amber);
}
.stars-label {
  margin-left: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
}

@media (prefers-reduced-motion: reduce) {
  .review-track { transition: none; }
}

@media (max-width: 768px) {
  .service-row {
    grid-template-columns: 48px 1fr;
    gap: 1rem;
  }
  .service-tag { display: none; }
  .review-text { font-size: 1.0625rem; }
}

/* ── ABOUT ───────────────────────────────────────────────── */
.about {
  padding: 6rem 1.5rem;
  background: var(--white);
}
.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image-stack {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 480px;
}
.about-img { border-radius: var(--radius-md); object-fit: cover; }
.about-img--main {
  width: 100%; height: 100%;
}
.about-img--accent {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 52%;
  height: auto;
  aspect-ratio: 3/4;
  border: 4px solid var(--white);
  box-shadow: 0 8px 40px oklch(0 0 0 / 0.18);
}
.about-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.about-tagline {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--amber-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.about-body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: oklch(0.32 0.025 243);
  max-width: 52ch;
}
.about-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.about-list li svg { color: var(--amber-dark); flex-shrink: 0; }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact {
  background: var(--navy);
  padding: 7rem 1.5rem;
  text-align: center;
}
.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 150ms ease, transform 160ms var(--ease-out);
  margin-top: 0.5rem;
}
.contact-phone:hover { color: var(--amber-dark); transform: scale(1.02); }
.contact-phone:active { transform: scale(0.98); }
.contact-phone svg { color: var(--white); flex-shrink: 0; opacity: 0.7; }
.contact-note {
  font-size: 0.875rem;
  color: oklch(0.52 0.025 243);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding: 2.5rem 1.5rem;
  border-top: 1px solid oklch(1 0 0 / 0.06);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--white);
}
.footer-location {
  font-size: 0.8125rem;
  color: oklch(0.55 0.02 243);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.875rem;
  color: oklch(0.62 0.02 243);
  transition: color 150ms ease;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 0.8125rem;
  color: oklch(0.45 0.015 243);
  white-space: nowrap;
}

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery-item img { transition: none; }
  .btn { transition: none; }
  html { scroll-behavior: auto; }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item--wide { grid-column: span 2; }
  .about-inner { gap: 3rem; }
  .contact-inner { gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding-bottom: 4rem; }
  .hero-badge { display: none; }

  .trust-bar-inner { gap: 0; }
  .trust-divider { display: none; }
  .trust-item { width: 50%; justify-content: flex-start; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item--tall { grid-row: auto; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-image-stack { max-width: 100%; aspect-ratio: 16/10; }
  .about-img--main { aspect-ratio: 16/10; height: 100%; }
  .about-img--accent { display: none; }

  .contact-phone { font-size: clamp(1.75rem, 8vw, 2.5rem); }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-copy { width: 100%; }
}

@media (max-width: 480px) {
  .trust-item { width: 100%; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .gallery-item--wide { grid-column: span 1; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}

/* ── PHOTO SLIDER ────────────────────────────────────────── */
.photo-slider-section {
  padding: 6rem 0;
  background: var(--off-white);
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  max-width: 100%;
}

.slider-track-outer {
  overflow: hidden;
  cursor: grab;
  user-select: none;
}
.slider-track-outer:active { cursor: grabbing; }

.slider-section-header {
  padding: 0 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto 2rem;
}

.slider-track {
  display: flex;
  gap: 12px;
  padding: 0 1.5rem;
  transition: transform 350ms cubic-bezier(0.23, 1, 0.32, 1);
}

.slider-slide {
  flex: 0 0 calc(33.333% - 8px);
  min-width: 0;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--border);
  position: relative;
}
.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease-out);
  pointer-events: none;
}
.slider-slide:hover img { transform: scale(1.04); }

/* Arrow buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px oklch(0 0 0 / 0.12);
  transition: background 150ms ease, color 150ms ease, transform 160ms var(--ease-out), box-shadow 150ms ease;
  touch-action: manipulation;
}
.slider-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 6px 24px oklch(0 0 0 / 0.18);
}
.slider-btn:active { transform: translateY(-50%) scale(0.95); }
.slider-btn--prev { left: 1rem; }
.slider-btn--next { right: 1rem; }
.slider-btn[disabled] { opacity: 0.35; pointer-events: none; }

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  padding: 0 1.5rem;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
  touch-action: manipulation;
  flex-shrink: 0;
}
.slider-dot.is-active {
  background: var(--navy);
  transform: scale(1.3);
}
.slider-dot:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* Counter */
.slider-counter {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

/* Responsive slides per view */
@media (max-width: 1024px) {
  .slider-slide { flex: 0 0 calc(50% - 6px); }
}
@media (max-width: 640px) {
  .slider-slide { flex: 0 0 calc(85%); }
  .slider-btn { width: 40px; height: 40px; }
  .slider-btn--prev { left: 0.5rem; }
  .slider-btn--next { right: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .slider-track { transition: none; }
  .slider-slide img { transition: none; }
  .slider-btn { transition: none; }
}

/* ── LIGHTBOX ────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(0 0 0 / 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms var(--ease-out);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img-wrap {
  position: relative;
  max-width: calc(100vw - 10rem);
  max-height: calc(100dvh - 6rem);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(100dvh - 6rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  display: block;
  transition: opacity 200ms ease;
  box-shadow: 0 24px 80px oklch(0 0 0 / 0.6);
}
.lightbox-img.is-loading { opacity: 0.3; }

/* Close button */
.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.1);
  border: 1px solid oklch(1 0 0 / 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 150ms ease, transform 160ms var(--ease-out);
  touch-action: manipulation;
  z-index: 501;
}
.lightbox-close:hover { background: oklch(1 0 0 / 0.2); }
.lightbox-close:active { transform: scale(0.92); }

/* Prev / Next arrows */
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.1);
  border: 1px solid oklch(1 0 0 / 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 150ms ease, transform 160ms var(--ease-out);
  touch-action: manipulation;
  z-index: 501;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: oklch(1 0 0 / 0.22); }
.lightbox-prev:active { transform: translateY(-50%) scale(0.93); }
.lightbox-next:active { transform: translateY(-50%) scale(0.93); }
.lightbox-prev[disabled],
.lightbox-next[disabled] { opacity: 0.25; pointer-events: none; }

/* Counter + caption */
.lightbox-footer {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  z-index: 501;
}
.lightbox-counter {
  font-size: 0.8125rem;
  font-weight: 600;
  color: oklch(0.6 0.01 243);
  letter-spacing: 0.08em;
}

/* Cursor hint on gallery items */
.gallery-item,
.slider-slide {
  cursor: zoom-in;
}

/* Mobile */
@media (max-width: 640px) {
  .lightbox-img-wrap {
    max-width: 100vw;
    max-height: calc(100dvh - 8rem);
  }
  .lightbox-img { max-height: calc(100dvh - 8rem); border-radius: var(--radius-sm); }
  .lightbox-prev { left: 0.4rem; }
  .lightbox-next { right: 0.4rem; }
  .lightbox-prev,
  .lightbox-next { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox { transition: none; }
  .lightbox-img { transition: none; }
}
