/* ============================================================
   TOP TIER CUSTOM FLOORS -- Design System
   Premium dark portfolio site for custom flooring installer
   ============================================================ */

/* -------------------------------------------------------
   0. CSS CUSTOM PROPERTIES
   ------------------------------------------------------- */
:root {
  /* Backgrounds */
  --bg: #0F0F0F;
  --bg-surface: #1A1A1A;
  --bg-surface-alt: #141414;
  --bg-elevated: #222222;

  /* Text */
  --text: #FFFFFF;
  --text-muted: #B0A89E;

  /* Accent */
  --accent: #C9A96E;
  --accent-hover: #D4B87A;

  /* Borders */
  --border: #2A2520;
  --border-light: #3A3530;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;

  /* Container */
  --container: 1400px;
  --container-narrow: 900px;
  --container-pad: 24px;

  /* Transitions */
  --transition: 200ms ease;

  /* Navbar */
  --navbar-height: 80px;

  /* Radius */
  --radius: 4px;
  --radius-lg: 8px;
}

/* -------------------------------------------------------
   1. RESET + BASE
   ------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bodoni Moda', serif;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
}

h4 {
  font-size: 1.125rem;
  font-weight: 500;
}

p + p {
  margin-top: 1em;
}

strong {
  font-weight: 500;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* -------------------------------------------------------
   2. SKIP LINK (Accessibility)
   ------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--container-pad);
  background: var(--accent);
  color: var(--bg);
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  z-index: 10000;
  border-radius: var(--radius);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

/* -------------------------------------------------------
   3. CONTAINER
   ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* -------------------------------------------------------
   4. NAVBAR
   ------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(15, 15, 15, 0.97);
  box-shadow: 0 1px 0 var(--border);
}

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

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Bodoni Moda', serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  z-index: 1001;
}

.navbar__logo img {
  height: 40px;
  width: auto;
  filter: invert(1) brightness(2);
}

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

.navbar__link {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  cursor: pointer;
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--text);
}

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

.navbar__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.navbar__cta {
  margin-left: 1rem;
}

/* Nav links -- styling for li > a pattern */
.navbar__links a {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text);
  transition: color var(--transition);
  cursor: pointer;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

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

.navbar__links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Dropdown */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 15, 15, 0.97);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.75rem 0;
  min-width: 220px;
  z-index: 1002;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.navbar__dropdown:hover .navbar__dropdown-menu {
  display: block;
}

.navbar__dropdown-menu li {
  padding: 0;
}

.navbar__dropdown-menu a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}

.navbar__dropdown-menu a:hover {
  color: var(--accent);
  background: rgba(201, 169, 110, 0.06);
}

/* Area cards (linked) */
a.area-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.area-card:hover {
  border-color: var(--accent);
}

a.area-card:hover h3 {
  color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* -------------------------------------------------------
   5. MOBILE NAV
   ------------------------------------------------------- */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-surface);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 300ms ease;
  padding: calc(var(--navbar-height) + 2rem) var(--container-pad) 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav__link {
  display: block;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), padding-left var(--transition);
  cursor: pointer;
}

.mobile-nav__link:hover,
.mobile-nav__link.active {
  color: var(--accent);
  padding-left: 0.5rem;
}

.mobile-nav__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mobile-nav__cta {
  margin-top: auto;
  padding-top: 2rem;
}

/* -------------------------------------------------------
   6. HERO SECTION
   ------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 15, 15, 0.85) 0%,
    rgba(15, 15, 15, 0.5) 40%,
    rgba(15, 15, 15, 0.4) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 var(--container-pad);
}

.hero__logo {
  width: 120px;
  height: auto;
  margin: 0 auto 2rem;
  filter: invert(1) brightness(2);
}

.hero__headline {
  margin-bottom: 1rem;
}

.hero__subheadline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Page hero (shorter) */
.page-hero {
  position: relative;
  padding: calc(var(--navbar-height) + 4rem) 0 4rem;
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg);
}

.page-hero__bg,
.page-hero .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg img,
.page-hero .hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay,
.page-hero .hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(15, 15, 15, 0.9) 0%,
    rgba(15, 15, 15, 0.55) 50%,
    rgba(15, 15, 15, 0.4) 100%
  );
}

.page-hero .page-hero__content,
.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .hero__bg,
.page-hero .hero__overlay {
  position: absolute;
  inset: 0;
}

.page-hero .hero__overlay {
  background: linear-gradient(
    to top,
    rgba(15, 15, 15, 1) 0%,
    rgba(15, 15, 15, 0.7) 50%,
    rgba(15, 15, 15, 0.5) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

/* -------------------------------------------------------
   7. SECTION SYSTEM
   ------------------------------------------------------- */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--surface {
  background: var(--bg-surface);
}

.section--surface-alt {
  background: var(--bg-surface-alt);
}

.section--elevated {
  background: var(--bg-elevated);
}

.section__header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section__header--center {
  text-align: center;
}

/* -------------------------------------------------------
   8. SPLIT LAYOUT (Asymmetric)
   ------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.split--reverse {
  grid-template-columns: 1fr 1.5fr;
}

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.split__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* -------------------------------------------------------
   9. LABEL / TAG
   ------------------------------------------------------- */
.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* -------------------------------------------------------
   10. BUTTONS
   ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn:active {
  transform: scale(0.98);
}

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

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

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

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

.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* -------------------------------------------------------
   11. SERVICE CARDS
   ------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition: border-color var(--transition), transform var(--transition);
  cursor: pointer;
}

.service-card:hover {
  border-left-color: var(--accent);
  transform: translateY(-2px);
}

.service-card:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.service-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.service-card:hover .service-card__image img {
  transform: scale(1.03);
}

.service-card__body {
  padding: 1.5rem;
}

.service-card__title {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.service-card__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* -------------------------------------------------------
   12. GALLERY MASONRY
   ------------------------------------------------------- */
.gallery-grid {
  columns: 3;
  column-gap: 4px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 4px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 400ms ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  font-family: 'Bodoni Moda', serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
}

/* Hidden items during filter */
.gallery-item[data-hidden="true"] {
  display: none;
}

/* -------------------------------------------------------
   13. FILTER BAR
   ------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.filter-btn {
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  margin-bottom: -1px;
}

.filter-btn:hover {
  color: var(--text);
}

.filter-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.filter-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* -------------------------------------------------------
   14. LIGHTBOX
   ------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  transition: background var(--transition);
  font-size: 1.25rem;
  line-height: 1;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lightbox__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Close icon via CSS */
.lightbox__close::before,
.lightbox__close::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.lightbox__close::before {
  transform: rotate(45deg);
}

.lightbox__close::after {
  transform: rotate(-45deg);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  transition: background var(--transition);
}

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

.lightbox__nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

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

/* Arrow icons via CSS */
.lightbox__nav--prev::before {
  content: '';
  width: 10px;
  height: 10px;
  border-left: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  transform: rotate(45deg) translate(2px, -2px);
}

.lightbox__nav--next::before {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text);
  border-top: 2px solid var(--text);
  transform: rotate(45deg) translate(-2px, 2px);
}

/* -------------------------------------------------------
   15. FEATURED WORK GRID
   ------------------------------------------------------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 4px;
}

.featured-grid__item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  cursor: pointer;
}

.featured-grid__item:first-child {
  grid-row: 1 / 3;
}

.featured-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

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

/* -------------------------------------------------------
   16. TESTIMONIALS
   ------------------------------------------------------- */
.testimonial {
  max-width: var(--container-narrow);
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 2rem 0;
}

.testimonial__mark {
  font-family: 'Bodoni Moda', serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: -1rem;
  display: block;
}

.testimonial__quote {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.testimonial__author {
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

/* -------------------------------------------------------
   17. FAQ ACCORDION
   ------------------------------------------------------- */
.faq-list {
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition);
}

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

.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--text-muted);
  transition: transform var(--transition), background var(--transition);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
  background: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
}

.faq-answer__inner {
  padding: 0 0 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* -------------------------------------------------------
   18. BREADCRUMBS
   ------------------------------------------------------- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--text-muted);
  cursor: pointer;
}

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

.breadcrumbs__sep {
  color: var(--border-light);
}

/* -------------------------------------------------------
   19. FOOTER
   ------------------------------------------------------- */
.footer {
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3rem;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer__heading {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__link {
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: color var(--transition);
}

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

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__bottom a {
  color: var(--text-muted);
  cursor: pointer;
}

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

/* -------------------------------------------------------
   20. CONTACT PAGE
   ------------------------------------------------------- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail:first-child {
  border-top: 1px solid var(--border);
}

.contact-detail__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  font-weight: 400;
}

.contact-detail__value {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
}

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

.contact-form-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

/* Form elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%238A8278' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--bg-surface);
  color: var(--text);
}

@media (max-width: 768px) {
  .contact-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-form-wrap {
    padding: 1.75rem;
  }
}

/* -------------------------------------------------------
   21. CTA SECTION
   ------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.08) 0%, rgba(201, 169, 110, 0.02) 100%);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 2rem;
}

/* -------------------------------------------------------
   22. SCROLL ANIMATIONS
   ------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.fade-up-stagger > .fade-up:nth-child(2) { transition-delay: 80ms; }
.fade-up-stagger > .fade-up:nth-child(3) { transition-delay: 160ms; }
.fade-up-stagger > .fade-up:nth-child(4) { transition-delay: 240ms; }
.fade-up-stagger > .fade-up:nth-child(5) { transition-delay: 320ms; }
.fade-up-stagger > .fade-up:nth-child(6) { transition-delay: 400ms; }

/* -------------------------------------------------------
   23. SERVICE PAGE -- Inline Gallery
   ------------------------------------------------------- */
.inline-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.inline-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Process steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  counter-reset: step;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  counter-increment: step;
}

.process-step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bodoni Moda', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 50%;
}

.process-step__content h4 {
  margin-bottom: 0.35rem;
}

.process-step__content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Materials/brands list */
.brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.brands-list__item {
  padding: 0.6rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* -------------------------------------------------------
   24. COUNTER ANIMATION
   ------------------------------------------------------- */
.counter-item {
  text-align: center;
}

.counter-value {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--accent);
}

.counter-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* -------------------------------------------------------
   25. UTILITY CLASSES
   ------------------------------------------------------- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }

.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;
}

/* Body scroll lock for lightbox / mobile nav */
.no-scroll {
  overflow: hidden;
}

/* -------------------------------------------------------
   26. REDUCED MOTION
   ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* -------------------------------------------------------
   27. RESPONSIVE -- TABLET (768px)
   ------------------------------------------------------- */
@media (max-width: 1024px) {
  .gallery-grid {
    columns: 2;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .featured-grid__item:first-child {
    grid-row: auto;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .inline-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --navbar-height: 64px;
  }

  /* Navbar -- mobile slide-in */
  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--bg-surface);
    z-index: 1000;
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--navbar-height) + 2rem) var(--container-pad) 2rem;
    gap: 0;
    transition: right 300ms ease;
    overflow-y: auto;
  }

  .navbar__links.active {
    right: 0;
  }

  .navbar__links li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .navbar__links > li > a {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
  }

  .navbar__links .btn {
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;
  }

  .navbar__dropdown-menu {
    display: none;
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
    min-width: 0;
  }

  .navbar__dropdown.active .navbar__dropdown-menu {
    display: block;
  }

  .navbar__dropdown-menu a {
    padding: 0.5rem 0;
    font-size: 0.9375rem;
  }

  .hamburger {
    display: flex;
  }

  /* Split */
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: -1;
  }

  /* Gallery */
  .gallery-grid {
    columns: 2;
  }

  /* Featured grid */
  .featured-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-section {
    padding: 2.5rem 1.5rem;
  }

  /* Hero */
  .hero__logo {
    width: 80px;
  }

  /* Lightbox nav */
  .lightbox__nav--prev { left: 0.75rem; }
  .lightbox__nav--next { right: 0.75rem; }

  /* Inline gallery */
  .inline-gallery {
    grid-template-columns: 1fr;
  }

  /* Process steps */
  .process-step {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 375px) {
  .gallery-grid {
    columns: 1;
  }

  .hero__subheadline {
    font-size: 0.95rem;
  }

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

  .hero__cta {
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
  }

  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

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

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
}
