/* === CSS Custom Properties === */
:root {
  --color-dark: #2d3436;
  --color-dark-alt: #3d4447;
  --color-accent: #d4a574;
  --color-accent-hover: #c4955a;
  --color-accent-glow: rgba(212, 165, 116, 0.25);
  --color-white: #ffffff;
  --color-light: #f5f5f5;
  --color-alt-row: #EFEFEF;
  --color-cream: #faf8f5;
  --color-gray: #555;
  --color-gray-light: #ccc;
  --color-text: #333;
  --color-overlay: rgba(45, 52, 54, 0.7);
  --font-main: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --max-width: 1200px;
  --nav-height: 130px;
  --transition: 0.3s ease;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-accent: 0 8px 30px rgba(212, 165, 116, 0.3);
}

/* === Reset & Base === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === Header / Navigation === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--color-white);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.header__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__logo img {
  height: 160px;
  width: auto;
}

.header__logo span {
  color: var(--color-dark);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav__links a {
  color: var(--color-dark);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav__links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__links a:hover {
  color: var(--color-accent);
}

.nav__links .btn {
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
}

.nav__links .btn::after {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-dark);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
@media (max-width: 768px) {
  :root {
    --nav-height: 80px;
  }

  .header__logo img {
    height: 100px;
  }

  .hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem;
  margin-top: var(--nav-height);
  overflow: hidden;
}

.hero__bg {
  position: fixed;
  inset: 0;
  background-color: var(--color-dark); /* fallback — hero loaded dynamically via JS */
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(45, 52, 54, 0.75) 0%,
    rgba(45, 52, 54, 0.4) 50%,
    rgba(212, 165, 116, 0.15) 100%
  );
  z-index: -1;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 750px;
}

.hero__content h1 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero__content h1 span {
  color: var(--color-accent);
  font-style: italic;
  font-weight: 500;
}

.hero__content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: 300;
}

.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 0 16px;
  border-top: 1px solid rgba(212, 165, 116, 0.3);
}

.hero__trust-stars {
  color: #f5c518;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.hero__trust-text {
  color: #ccc;
  font-size: 0.85rem;
}

.hero__trust-sep {
  color: #555;
  font-size: 0.8rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 0.03em;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-dark);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

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

.btn--outline:hover {
  background: var(--color-accent);
  color: var(--color-dark);
}

/* === Stats / Trust Bar === */
/* === Quick Callback Form === */
.quick-form {
  background: #222;
  border-top: 3px solid var(--color-accent);
  padding: 1.75rem 1.25rem;
}

.quick-form .container {
  max-width: 480px;
}

.quick-form__heading {
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.quick-form__sub {
  color: #999;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.quick-form__form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quick-form__form input[type="text"],
.quick-form__form input[type="tel"] {
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #444;
  background: #2a2a2a;
  color: var(--color-white);
  font-size: 0.9rem;
}

.quick-form__form input:focus {
  border-color: var(--color-accent);
  background: #333;
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

.quick-form__form .btn {
  margin-top: 0.25rem;
}

.stats-bar {
  background: var(--color-dark);
  padding: 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
}

.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stats-bar__value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
}

.stats-bar__plus {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
}

.stats-bar__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.35rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .stats-bar__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats-bar__value,
  .stats-bar__plus {
    font-size: 3rem;
  }

  .stats-bar__item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -1rem;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
  }
}

/* === Testimonials === */
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: 10px;
  padding: 2.25rem 2rem 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.2;
  pointer-events: none;
}

.testimonial-card__stars {
  color: #f1c40f;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-style: italic;
  font-weight: 400;
  border: none;
  padding: 0;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonial-card__author strong {
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 0.02em;
}

.testimonial-card__author span {
  font-size: 0.8rem;
  color: var(--color-accent-hover);
  font-weight: 500;
}

@media (min-width: 768px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* === Section Base === */
.section {
  padding: 3.5rem 1.5rem;
  scroll-margin-top: var(--nav-height);
}

.section--dark {
  background: var(--color-cream);
  color: var(--color-text);
}

.section--light {
  background: var(--color-white);
}

.section__header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.section__header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
  letter-spacing: -0.01em;
}

.section__header .accent-line {
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin: 0 auto;
  border-radius: 2px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* === About Section === */
.about__content {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-gray);
}

.about__content p + p {
  margin-top: 1.25rem;
}

/* === Services Section === */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background: var(--color-white);
  border-radius: 10px;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.service-card p {
  color: var(--color-gray);
  line-height: 1.75;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .services__grid {
    gap: 1rem;
  }
  .service-card {
    padding: 0.5rem 0.5rem 0.5rem;
  }
}

/* === Contact Section === */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact__info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: var(--color-gray);
}

.contact__info-item strong {
  display: block;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-margin-top: var(--nav-height);
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1.15rem;
  border: 2px solid #999;
  border-radius: 6px;
  background: #eaeaea;
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 0.95rem;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #888;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* === Contact Trust Stats === */
.contact__trust-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.contact__trust-item {
  text-align: center;
  font-size: 0.75rem;
  color: #666;
}

.contact__trust-stars {
  color: #f5c518;
  font-size: 1rem;
  display: block;
}

.contact__trust-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  display: block;
}

/* === Contact Form Toggle === */
.contact-form__toggle {
  background: none;
  border: none;
  color: #888;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.5rem 0;
  text-align: left;
  width: 100%;
}

.contact-form__toggle:hover {
  color: var(--color-accent);
}

.contact-form__toggle span {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.contact-form__toggle[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.contact-form__details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form__details.open {
  max-height: 300px;
}

/* === Contact Mini Testimonial === */
.contact__testimonial {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  text-align: center;
}

.contact__testimonial-quote {
  color: #666;
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.contact__testimonial-author {
  color: #999;
  font-size: 0.75rem;
}

@media (max-width: 767px) {
  .contact__grid {
    display: flex;
    flex-direction: column;
  }
  .contact-form {
    order: -1;
  }
  #contact .section__header h2 {
    font-size: 1.5rem;
  }
  #contact .section__header {
    margin-bottom: 1.5rem;
  }
  .section__header h2 {
    font-size: 1.4rem;
  }
  .gallery-page .section__header h1 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
  }
  .gallery-page .section__header {
    margin-bottom: 1rem;
  }
  .gallery-page .gallery-intro {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 0.5rem;
  }
  .gallery-page {
    padding-top: 0.25rem;
  }
  .stats-bar__value,
  .stats-bar__plus {
    font-size: 1.8rem;
  }
  .service-card__icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  .section {
    padding: 2.5rem 1.25rem;
  }
}

@media (min-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* === Footer === */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.footer a {
  color: var(--color-accent);
  transition: color var(--transition);
}

.footer a:hover {
  color: var(--color-accent-hover);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  margin-top: 0.5rem;
}

/* === Skip Link (accessibility) === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

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

/* === Breadcrumb === */
.breadcrumb {
  padding: 0.75rem 1.5rem;
  padding-top: calc(var(--nav-height) + 0.75rem);
  max-width: var(--max-width);
  margin: 0 auto;
}

.breadcrumb__list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-gray);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: ">";
  margin-right: 0.5rem;
  color: var(--color-gray-light);
}

.breadcrumb__item a {
  color: var(--color-accent);
}

.breadcrumb__item a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

/* === FAQ Accordion === */
.faq {
  max-width: 750px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0;
}

.faq__question {
  padding: 1.35rem 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.25s ease;
}

.faq__question:hover {
  color: var(--color-accent-hover);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "+";
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform var(--transition);
}

details[open] .faq__question::after {
  content: "\2013";
}

.faq__answer {
  padding: 0 0 1.5rem;
  color: var(--color-gray);
  line-height: 1.75;
}

.faq__answer a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* === Gallery Intro Text === */
.gallery-intro {
  max-width: 750px;
  margin: 1rem auto 0;
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.gallery-intro a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* === Gallery SEO Content === */
.gallery-seo {
  padding: 3rem 1.5rem;
  max-width: 800px;
  text-align: center;
}

.gallery-seo h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.gallery-seo p {
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.gallery-seo a {
  color: var(--color-accent);
}

/* === Gallery Page === */
.gallery-page {
  padding-top: 1rem;
  padding-bottom: 4rem;
  min-height: 100vh;
}

.gallery-grid {
  column-count: 2;
  column-gap: 1rem;
  padding: 0 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery-grid__item {
  break-inside: avoid;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.4s ease forwards;
}

.gallery-grid__item img {
  width: 100%;
  display: block;
  transition: transform var(--transition);
}

.gallery-grid__item:hover img {
  transform: scale(1.05);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .gallery-grid {
    column-count: 3;
  }
}

/* === Before/After Comparison Slider === */
.ba-slider {
  break-inside: avoid;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1rem;
  cursor: col-resize;
  -webkit-user-select: none;
  user-select: none;
}

.ba-slider img {
  width: 100%;
  display: block;
}

.ba-slider__after {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ba-slider__after img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-white);
  cursor: col-resize;
  z-index: 2;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.ba-slider__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23333'%3E%3Cpath d='M6 10l4-4v8zM14 10l-4-4v8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.ba-slider__label {
  position: absolute;
  bottom: 0.5rem;
  padding: 0.2rem 0.6rem;
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-white);
  font-size: 0.75rem;
  border-radius: 3px;
  z-index: 1;
  pointer-events: none;
}

.ba-slider__label--before { left: 0.5rem; }
.ba-slider__label--after { right: 0.5rem; }

.ba-slider__expand {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transition: opacity var(--transition), background var(--transition);
}

.ba-slider:hover .ba-slider__expand {
  opacity: 1;
}

.ba-slider__expand:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* === Load More Button === */
.gallery-load-more {
  text-align: center;
  padding: 2rem 1.5rem 0;
}

.gallery-load-more__btn {
  min-width: 200px;
}

/* === Gallery Filter Tabs === */
.gallery-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.gallery-tabs__btn {
  padding: 0.45rem 1.25rem;
  border: 2px solid var(--color-accent);
  border-radius: 999px;
  background: transparent;
  color: var(--color-dark);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.gallery-tabs__btn:hover {
  background: rgba(212, 165, 116, 0.15);
}

.gallery-tabs__btn.active {
  background: var(--color-accent);
  color: var(--color-dark);
}

/* === Lightbox === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox__counter {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  z-index: 1;
  pointer-events: none;
}

.lightbox__thumbs {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  max-width: 90vw;
  overflow-x: auto;
  padding: 0.4rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.lightbox__thumb {
  width: 56px;
  height: 40px;
  border-radius: 3px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--transition), outline-color var(--transition);
  outline: 2px solid transparent;
  outline-offset: 1px;
  flex-shrink: 0;
}

.lightbox__thumb:hover {
  opacity: 0.8;
}

.lightbox__thumb.active {
  opacity: 1;
  outline-color: var(--color-accent);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  transition: background var(--transition);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev {
  left: 1rem;
}

.lightbox__nav--next {
  right: 1rem;
}

/* === Gallery Captions === */
.gallery-grid__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--color-white);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* === Lightbox Caption === */
.lightbox__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox__content .lightbox__img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox__caption {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  text-align: center;
  padding: 0.75rem 1rem 0;
  max-width: 600px;
}

.lightbox__caption:empty {
  display: none;
}

/* === Featured Gallery (Home Page) === */
.featured-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.featured-gallery .gallery-grid__item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s ease;
}

.featured-gallery .gallery-grid__item:hover {
  box-shadow: var(--shadow-md);
}

.featured-gallery .gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-gallery .gallery-grid__item:hover img {
  transform: scale(1.06);
}

.featured-gallery .ba-slider {
  aspect-ratio: 4/3;
  border-radius: 6px;
}

.featured-gallery .ba-slider img {
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .featured-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .featured-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* === Persistent Bottom Bar (Mobile Only) === */
.bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #222;
  border-top: 1px solid #444;
  padding: 0 12px;
  align-items: center;
  gap: 10px;
  z-index: 998;
}

.bottom-bar__cta {
  flex: 1;
  background: var(--color-accent);
  color: var(--color-dark);
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.bottom-bar__cta:hover {
  opacity: 0.9;
}

.bottom-bar__call {
  display: flex;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--color-accent);
  color: var(--color-dark);
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  text-decoration: none;
  flex-shrink: 0;
}

.bottom-bar__call:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .bottom-bar {
    display: flex;
  }

  body {
    padding-bottom: 56px;
  }
}

/* === Back to Top Button === */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  z-index: 997;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--color-dark-alt);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: calc(56px + 1rem);
  }
}

/* === Responsive Breakpoints === */
@media (min-width: 480px) {
  .hero__content h1 {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero__content h1 {
    font-size: 3.5rem;
  }

  .section {
    padding: 4rem 2rem;
  }
}

@media (min-width: 1024px) {
  .hero__content h1 {
    font-size: 4rem;
  }

  .header {
    padding: 0 3rem;
  }

  .gallery-grid {
    column-count: 4;
  }
}

@media (min-width: 1200px) {
  .section {
    padding: 4.5rem 2rem;
  }
}
