/* ============================================================
   Master Door and Crown — Main Stylesheet
   ============================================================ */

/* === RESET & CUSTOM PROPERTIES === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Palette drawn from the brand logo: cream field, sage-green door,
     gold ring, warm charcoal text. Header/footer/dark bands use the
     deep green so the white logo art and hero photos still anchor. */
  --color-dark:         #232A24;
  --color-charcoal:     #2C352E;
  --color-wood:         #A87E38;
  --color-wood-light:   #C99B4C;
  --color-wood-dark:    #8C6A2F;
  --color-bg:           #FAF7F2;
  --color-bg-warm:      #F3EEE5;
  --color-text:         #2B2B28;
  --color-text-light:   #57534A;
  --color-border:       #E5DFD4;
  /* Semantic aliases */
  --color-surface:      #FFFFFF;
  --color-accent:       #A87E38;
  --color-accent-hover: #8C6A2F;
  --color-text-muted:   #6B675F;
  --color-nav:          #232A24;
  --color-footer:       #232A24;
  --color-gold:         #A87E38;
  --color-gold-light:   #C99B4C;
  --color-gold-dark:    #8C6A2F;
  --color-sage:         #7E9084;
  --color-sage-dark:    #5F7365;
  --font-heading:       'Cormorant Garamond', Georgia, serif;
  --font-body:          'DM Sans', system-ui, -apple-system, sans-serif;
  --max-width:          1200px;
  --header-height:      72px;
  --transition:         0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover { color: var(--color-wood-light); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-text);
}

ul { list-style: none; }

/* === UTILITIES === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-wood);
  font-weight: 600;
  margin-bottom: 12px;
  font-family: var(--font-body);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--color-wood);
  color: #fff;
  border-color: var(--color-wood);
}

.btn-primary:hover {
  background: var(--color-wood-dark);
  border-color: var(--color-wood-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-wood);
  border-color: var(--color-wood);
}

.btn-outline:hover {
  background: var(--color-wood);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-dark);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

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

.site-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 0.62rem;
  color: var(--color-wood);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 3px;
  font-family: var(--font-body);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 2px;
  transition: color var(--transition);
  letter-spacing: 0.02em;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link.nav-phone {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  margin-left: 6px;
}

.nav-link.nav-phone:hover { color: #E2BA6A; }

/* Not enough header room for the number on narrow desktops/tablets;
   mobile menu (≤768px) stacks vertically so it fits there again */
@media (min-width: 769px) and (max-width: 1099px) {
  .nav-link.nav-phone { display: none; }
}

.nav-link.nav-cta {
  background: var(--color-wood);
  color: #fff;
  padding: 9px 20px;
  margin-left: 10px;
}

.nav-link.nav-cta:hover {
  background: var(--color-wood-dark);
  color: #fff;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all var(--transition);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  position: relative;
  height: calc(100vh - var(--header-height));
  min-height: 560px;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #0D0A07;
  overflow: hidden;
}

.hero-bg > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(25, 30, 26, 0.88) 0%,
    rgba(25, 30, 26, 0.62) 50%,
    rgba(25, 30, 26, 0.18) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.02em;
  text-transform: none;
  color: #E2BA6A; /* bright gold — sits over the hero photo, not the cream page */
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: #fff;
  max-width: 680px;
  margin-bottom: 20px;
  line-height: 1.4;
  font-weight: 400;
}

.hero-title em {
  font-style: italic;
  color: inherit;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* === TRUST STRIP === */
/* === STATS MEDALS === */
.craft-numbers {
  padding: 96px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.craft-numbers-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.craft-numbers-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.craft-numbers-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-style: italic;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.55;
  margin: 0;
}

.craft-numbers-cite {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-wood-dark);
  font-style: normal;
}

.craft-numbers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 40px;
}

.craft-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.craft-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 4vw, 3.75rem);
  font-weight: 700;
  color: var(--color-sage-dark);
  line-height: 1;
  letter-spacing: -0.02em;
}

.craft-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .craft-numbers-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 480px) {
  .craft-numbers-grid { gap: 36px 24px; }
}

/* === SECTION BASE === */
section { padding: 88px 0; }

/* === SERVICES OVERVIEW === */
.services-overview { background: var(--color-bg); }

.services-overview .section-header {
  max-width: 520px;
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-tile {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
  border-radius: 2px;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  display: block;
  color: inherit;
}

.service-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  color: inherit;
}

.service-tile-img {
  height: 200px;
  overflow: hidden;
}

.service-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.service-tile:hover .service-tile-img img { transform: scale(1.06); }

.service-tile-body {
  padding: 22px 20px 20px;
}

.service-tile-tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-wood);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.service-tile-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.service-tile-body p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.service-tile-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-wood);
  margin-top: 14px;
}

.service-tile-footer::after {
  content: '→';
  transition: transform var(--transition);
}

.service-tile:hover .service-tile-footer::after { transform: translateX(4px); }

/* === ABOUT TEASER === */
.about-teaser { background: var(--color-bg-warm); }

.about-teaser-inner {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 72px;
  align-items: center;
}

.about-teaser-img {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
  order: 2;
}

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

.about-teaser-text { order: 1; }

.about-teaser-text h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  margin-bottom: 20px;
}

.about-teaser-text p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1rem;
}

/* === GALLERY TEASER === */
.gallery-teaser { background: var(--color-bg); }

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.gallery-preview-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}

.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

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

.gallery-teaser-footer {
  text-align: center;
  margin-top: 36px;
}

/* === COLOR PSYCHOLOGY === */
.color-psychology {
  background: var(--color-dark);
  color: #fff;
}

.color-psychology .section-title { color: #fff; }
.color-psychology .section-label { color: #E2BA6A; }

.color-psychology .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
  max-width: 700px;
}

.color-psychology-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.psych-card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--color-wood-light);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.03);
}

.psych-card h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.psych-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* === SERVICE AREAS STRIP === */
.service-areas-strip { background: var(--color-bg-warm); }

.cities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.city-tag {
  background: transparent;
  border: 1px solid #CFC8B8;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--color-text-light);
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.city-tag:hover {
  background: var(--color-sage-dark);
  border-color: var(--color-sage-dark);
  color: #fff;
}

/* === FOOTER === */
.site-footer {
  background: var(--color-dark);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand-logo { margin-bottom: 16px; }
.footer-brand-logo .logo-main { color: #fff; font-size: 1.2rem; margin-bottom: 3px; display: block; font-family: var(--font-heading); font-weight: 700; }
.footer-brand-logo .logo-sub { display: block; font-size: 0.6rem; color: var(--color-wood); letter-spacing: 0.2em; text-transform: uppercase; }

.footer-tagline {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col-heading {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
  font-family: var(--font-body);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--color-wood-light); }

.footer-contact p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 8px;
  line-height: 1.5;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover { color: var(--color-wood-light); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

.footer-legal {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
  max-width: 480px;
  text-align: right;
  line-height: 1.6;
}

/* === PAGE HERO === */
.page-hero {
  background: var(--color-dark);
  padding: 72px 0 64px;
}

.page-hero-content { max-width: 640px; }

.page-hero h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: #fff;
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* === SERVICES PAGE === */
.services-intro {
  background: var(--color-bg-warm);
  padding: 56px 0;
  text-align: center;
}

.services-intro p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.service-detail-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--color-border);
}

.service-detail-section:nth-child(even) { background: var(--color-bg-warm); }
.service-detail-section:last-of-type { border-bottom: none; }

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.service-detail-inner.reverse { direction: rtl; }
.service-detail-inner.reverse > * { direction: ltr; }

.service-detail-img {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.service-badge {
  display: inline-flex;
  align-items: center;
  background: var(--color-bg-warm);
  color: var(--color-wood);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  border: 1px solid var(--color-border);
}

.service-detail-section:nth-child(even) .service-badge { background: var(--color-bg); }

.service-detail-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 16px;
}

.service-detail-text > p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1rem;
}

.service-what-makes {
  margin-top: 24px;
  padding: 24px;
  background: var(--color-surface);
  border-radius: 2px;
  border: 1px solid var(--color-border);
}

.service-detail-section:nth-child(even) .service-what-makes { background: var(--color-bg); }

.service-what-makes h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 600;
}

.service-what-makes ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-what-makes ul li {
  font-size: 0.9rem;
  color: var(--color-text-light);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.service-what-makes ul li::before {
  content: '–';
  color: var(--color-wood);
  flex-shrink: 0;
}

.service-detail-text .btn { margin-top: 28px; }

/* === GALLERY PAGE === */
.gallery-section { background: var(--color-bg); }

/* Filter tab bar — underline style */
.gallery-filter-tabs {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-bottom: 0;
  border-bottom: 1px solid var(--color-border);
  scrollbar-width: none;
}
.gallery-filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  color: var(--color-text-muted);
  padding: 14px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  font-family: var(--font-body);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.filter-tab.active {
  color: var(--color-wood-dark);
  border-bottom-color: var(--color-wood);
}

.filter-tab-count {
  font-size: 0.7rem;
  font-weight: 600;
  background: #EAE4D8;
  color: var(--color-text-light);
  padding: 2px 7px;
  border-radius: 20px;
  line-height: 1.4;
  transition: background var(--transition), color var(--transition);
}

.filter-tab.active .filter-tab-count {
  background: var(--color-wood);
  color: #fff;
}

/* Gallery grid — contained cards with visible captions */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 20px auto 0;
  padding: 0 24px 88px;
  transition: opacity 0.15s ease;
}

.gallery-grid.filtering { opacity: 0; }

.gallery-item {
  position: relative;
  cursor: pointer;
  border-radius: 4px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(43, 43, 40, 0.1);
  border-color: var(--color-wood);
}

.gallery-item-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
  image-orientation: from-image;
}

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

.gallery-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.gallery-caption-cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-wood-dark);
  font-family: var(--font-body);
}

.gallery-caption-num {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  white-space: nowrap;
}

.gallery-expand {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  background: rgba(0,0,0,0.5);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  color: #fff;
  z-index: 3;
}

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

.gallery-showing {
  font-size: 0.8rem;
  color: var(--color-text-light);
  padding: 10px 0 14px;
  font-family: var(--font-body);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 2px;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -52px;
  right: -8px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
  padding: 4px 8px;
}

.lightbox-close:hover { color: #fff; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
  z-index: 1;
  padding: 0;
  font-family: var(--font-body);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.lightbox-prev { left: -68px; }
.lightbox-next { right: -68px; }

@media (max-width: 680px) {
  .lightbox-prev { left: 8px; top: auto; bottom: -64px; transform: none; }
  .lightbox-next { right: 8px; top: auto; bottom: -64px; transform: none; }
}

/* === ABOUT PAGE === */

/* About Body — merged story + philosophy */
.about-body {
  background: var(--color-bg);
  padding: 96px 0;
}

.about-body-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.about-pull {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo-placeholder span {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  opacity: 0.5;
}

.about-pull-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-style: italic;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
  padding-left: 20px;
  border-left: 2px solid var(--color-wood);
}

.about-narrative .section-label {
  display: block;
  margin-bottom: 24px;
}

.about-narrative p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: 24px;
}

.about-principles {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-principle {
  padding: 28px 0;
  border-top: 1px solid var(--color-border);
}

.about-principle h3 {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 6px;
  font-weight: 600;
}

.about-principle p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}

/* Reviews */
.about-reviews {
  background: var(--color-bg);
  padding: 88px 0;
  border-top: 1px solid var(--color-border);
}

.about-reviews .section-title {
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.about-reviews-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 48px;
  max-width: 540px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.review-card {
  background: var(--color-surface);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.review-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 0;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-wood-dark);
  letter-spacing: 0.05em;
}

.review-location {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

/* Gallery teaser on about page */
.about-gallery-teaser {
  background: var(--color-dark);
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.about-gallery-teaser-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.about-gallery-teaser .section-title {
  color: #fff;
  margin-bottom: 12px;
}

.about-gallery-teaser p {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0;
}

/* About Closing */
.about-close {
  background: var(--color-surface);
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}

.about-close-inner {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-close-text {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

.about-close-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.about-close-phone {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.about-close-phone:hover { color: var(--color-wood-light); }

@media (max-width: 768px) {
  .about-body-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-pull { position: static; }
}

/* Process Steps */
.about-process {
  background: var(--color-dark);
}

.about-process .section-title { color: #fff; }
.about-process .section-label { color: var(--color-wood-light); }
.about-process .section-subtitle { color: rgba(255, 255, 255, 0.6); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  column-gap: 40px;
  row-gap: 0;
  margin-top: 56px;
}

@media (max-width: 768px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 0; }
}

.process-step {
  padding: 32px 0;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-wood-light);
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 14px;
}

.process-step h3 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }

.process-step p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.75;
}

/* === SERVICE AREAS PAGE === */
.service-areas-intro { background: var(--color-bg); padding: 48px 0; }

.service-areas-intro p {
  max-width: 600px;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.city-cards-section { background: var(--color-bg); padding-bottom: 88px; }

.city-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.city-card {
  background: var(--color-surface);
  padding: 28px 24px;
  transition: background var(--transition);
  text-decoration: none;
  display: block;
  color: inherit;
}

.city-card:hover {
  background: var(--color-bg-warm);
  color: inherit;
}

.city-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.city-card-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-text-light);
}

.city-card-arrow {
  color: var(--color-wood);
  font-size: 0.9rem;
  transition: transform var(--transition);
}

.city-card:hover .city-card-arrow { transform: translateX(4px); }

.city-card p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .city-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .city-cards-grid { grid-template-columns: 1fr; }
}

/* === CONTACT PAGE === */
.contact-section { background: var(--color-bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 80px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 48px;
}

.contact-form-wrap h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form-wrap > p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6560' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-wood);
  box-shadow: 0 0 0 3px rgba(168, 126, 56, 0.18);
}

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

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

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 16px;
}

.contact-info { padding-top: 8px; }

.contact-info h3 {
  font-size: 1.25rem;
  margin-bottom: 28px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  background: var(--color-bg-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  border: 1px solid var(--color-border);
  color: var(--color-wood-dark);
}

.contact-info-text p:first-child {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.contact-info-text a,
.contact-info-text p:last-child {
  color: var(--color-text);
  font-size: 1rem;
}

.contact-info-text a:hover { color: var(--color-wood); }

.contact-service-area {
  margin-top: 40px;
  padding: 24px;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: 2px;
}

.contact-service-area h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 600;
}

.contact-service-area p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* === RESPONSIVE === */
/* 4-col stays until 768px tablet breakpoint */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .service-detail-inner { gap: 40px; }
  .about-story-inner { gap: 48px; }
}

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

  section { padding: 64px 0; }

  /* Mobile nav */
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #1C221D;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 24px;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav.open { display: flex; }

  .nav-link {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.95rem;
  }

  .nav-link:last-child { border-bottom: none; }

  .nav-link.nav-cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
    padding: 13px;
    border-bottom: none;
  }

  .nav-hamburger { display: flex; }

  /* Grid collapses */
  .about-teaser-inner,
  .service-detail-inner,
  .about-story-inner,
  .contact-grid,
  .color-psychology-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-detail-inner.reverse { direction: ltr; }

  .about-photo { position: static; }

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

  .process-grid,
  .philosophy-grid { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-legal { text-align: center; }

  /* trust-item removed — replaced by stat medals */

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-group { margin-bottom: 22px; }
  .contact-form-wrap { padding: 28px 20px; }
}

@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-preview-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
}

/* === FAQ PAGE === */
.faq-section { background: var(--color-bg); }

.faq-intro {
  background: var(--color-bg-warm);
  padding: 48px 0;
  text-align: center;
}

.faq-intro p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  gap: 24px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.3;
}

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

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-style: normal;
  font-family: var(--font-body);
  color: var(--color-wood);
  transition: all var(--transition);
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--color-wood);
  color: #fff;
  border-color: var(--color-wood);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer { max-height: 600px; }

.faq-answer-inner {
  padding: 0 0 24px;
}

.faq-answer-inner p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 10px;
}

.faq-answer-inner p:last-child { margin-bottom: 0; }

.faq-answer-inner a { color: var(--color-wood); }

/* === STICKY MOBILE CALL BUTTON === */
.sticky-call-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-wood);
  color: #fff;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  z-index: 990;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition);
}

.sticky-call-btn:hover {
  background: var(--color-wood-dark);
  color: #fff;
  transform: translateX(-50%) translateY(-2px);
}

@media (max-width: 768px) {
  .sticky-call-btn { display: block; }

  /* Pad page bottom so sticky btn doesn't overlap content */
  body { padding-bottom: 72px; }
}

/* === LEGAL PAGES (privacy, terms) === */
.legal-page { background: var(--color-bg); }

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 88px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 48px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 28px;
  margin-bottom: 8px;
}

.legal-content p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.975rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li {
  color: var(--color-text-light);
  font-size: 0.975rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal-content a { color: var(--color-wood); }

/* === SERVICE IMAGE GRID === */
.service-detail-img.service-img-grid-wrap {
  aspect-ratio: unset;
  overflow: visible;
}

.service-img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.service-img-grid .grid-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.service-img-grid .grid-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.service-img-grid .grid-img-wrap:hover img {
  transform: scale(1.06);
}

.svc-gallery-link {
  text-align: center;
  margin-top: 12px;
  font-size: 0.875rem;
}

.svc-gallery-link a {
  color: var(--color-wood);
  font-weight: 500;
}

.svc-gallery-link a:hover {
  color: var(--color-wood-light);
}

@media (max-width: 768px) {
  .service-img-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.legal-effective {
  display: inline-block;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
}

/* === FOOTER LEGAL LINKS === */
.footer-legal-links {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  margin-top: 6px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition);
}

.footer-legal-links a:hover { color: var(--color-wood-light); }

/* City page specific */
.city-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.city-service-item {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
  text-decoration: none;
  display: block;
  color: inherit;
  transition: color var(--transition);
}

.city-service-item:hover { color: var(--color-wood-light); }
.city-service-item:hover h3 { color: var(--color-wood-light); }

.city-service-item h3 { font-size: 1rem; margin-bottom: 6px; color: var(--color-text-light); }
.city-service-item p { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.6; }

@media (max-width: 600px) {
  .city-services-grid { grid-template-columns: 1fr; }
}

/* === NAV LOGO === */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 56px;
  width: auto;
  display: block;
}

/* === FOOTER LOGO === */
.footer-logo {
  text-align: center;
  margin-bottom: 2rem;
}
.footer-logo img {
  height: 80px;
  width: auto;
  opacity: 0.9;
}

/* ============================================================
   ANIMATION & POLISH SYSTEM
   ============================================================ */

/* === PAGE LOAD === */
body { animation: pageFadeIn 0.4s ease; }
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* === GLOBAL SMOOTHING === */
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.stagger-children .reveal:nth-child(1)  { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2)  { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3)  { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4)  { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5)  { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(6)  { transition-delay: 0.5s; }
.stagger-children .reveal:nth-child(7)  { transition-delay: 0.6s; }
.stagger-children .reveal:nth-child(8)  { transition-delay: 0.7s; }
.stagger-children .reveal:nth-child(9)  { transition-delay: 0.8s; }
.stagger-children .reveal:nth-child(10) { transition-delay: 0.9s; }

/* Fallback: reveal elements stay visible until JS marks the page ready */
html:not(.js-loaded) .reveal,
html:not(.js-loaded) .reveal-left,
html:not(.js-loaded) .reveal-right { opacity: 1; transform: none; }

/* === CARD HOVER HIGHLIGHTS === */
.city-card, .faq-item, .service-tile {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid var(--color-border);
}
.city-card:hover, .faq-item:hover, .service-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(168, 126, 56, 0.16), 0 2px 8px rgba(43, 43, 40, 0.08);
  border-color: var(--color-wood);
}

/* === BTN SHIMMER === */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.btn-primary:hover::after { transform: translateX(0); }

/* === NAV LINK UNDERLINE === */
.site-nav .nav-link { position: relative; }
.site-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C99B4C;
  transition: width 0.25s ease;
}
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { width: 100%; }

/* === IMAGE SHIMMER LOADING === */
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.gallery-item img:not(.loaded),
.service-card img:not(.loaded),
.about-portrait:not(.loaded) {
  background: linear-gradient(90deg, #EFE9DE 25%, #F7F2EA 50%, #EFE9DE 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.gallery-item img.loaded,
.service-card img.loaded,
.about-portrait.loaded { animation: none; background: none; }

/* === FAB (floating action button) === */
.fab-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
}
.fab-main {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-wood);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(168, 126, 56, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.fab-main:hover { transform: scale(1.1); background: var(--color-wood-dark); }
.fab-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.fab-menu[hidden] { display: none; }
.fab-item {
  background: #FFFFFF;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(43, 43, 40, 0.12);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.fab-item:hover {
  background: var(--color-wood);
  border-color: var(--color-wood);
  color: #fff;
  transform: translateX(-4px);
}
@media (max-width: 768px) {
  .fab-container { bottom: 80px; right: 16px; }
}

/* === ACCESSIBILITY === */
:focus-visible {
  outline: 2px solid var(--color-wood-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* === SELECTION & SCROLLBAR === */
::selection { background: var(--color-sage-dark); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F3EEE5; }
::-webkit-scrollbar-thumb { background: #D8D2C6; border-radius: 3px; }

/* === NAV DROPDOWN === */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown-trigger .dropdown-caret {
  font-size: 0.6em;
  transition: transform var(--transition);
  line-height: 1;
}

.nav-dropdown:hover .dropdown-caret,
.nav-dropdown.open .dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--color-charcoal);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  min-width: 210px;
  padding: 6px 0;
  z-index: 1100;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  /* Always out-of-flow; hidden via visibility */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0.18s;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0s;
}

.nav-dropdown-item {
  display: block;
  padding: 10px 20px;
  /* Dropdown panel is deep green — items must stay light */
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  color: #E2BA6A;
  background: rgba(226, 186, 106, 0.08);
}

@media (max-width: 768px) {
  .nav-dropdown {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.04);
    border-radius: 6px;
    padding: 4px 0;
    margin-top: 4px;
    min-width: 0;
    width: 100%;
    /* Override visibility approach for mobile — use height-based toggle */
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.2s ease, max-height 0.25s ease, visibility 0s 0.25s;
    pointer-events: none;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    max-height: 300px;
    pointer-events: auto;
    transition: opacity 0.2s ease, max-height 0.25s ease, visibility 0s 0s;
  }
  .nav-dropdown:hover .nav-dropdown-menu {
    visibility: hidden;
    opacity: 0;
    max-height: 0;
  }
  .nav-dropdown.open:hover .nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    max-height: 300px;
  }
  .nav-dropdown-item {
    padding: 8px 20px;
  }
}

/* === SERVICE 2×2 IMAGE GRID === */
.service-img-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-img-2x2 img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  image-orientation: from-image;
}

.service-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.service-hero-layout.reverse {
  direction: rtl;
}

.service-hero-layout.reverse > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .service-hero-layout,
  .service-hero-layout.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }
}
::-webkit-scrollbar-thumb:hover { background: var(--color-wood); }
