/* ============================================================
   DETAILED BUILDERS, INC. — Global Stylesheet
   ============================================================ */


/* ── Tokens ── */
:root {
  --charcoal:    #1C1A17;
  --charcoal-90: #2A2722;
  --charcoal-80: #38342E;
  --gold:        #C49A3C;
  --gold-light:  #D9B86A;
  --gold-pale:   #F0DFA8;
  --cream:       #F5F0E8;
  --cream-dark:  #EDE7D9;
  --stone:       #7A7468;
  --stone-light: #A09890;
  --white:       #FDFAF5;

  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'DM Sans', 'Gill Sans', sans-serif;

  --nav-h:  80px;
  --max-w:  1280px;
  --section-pad: 100px 0;
  --radius: 2px;

  --shadow-card: 0 2px 20px rgba(28,26,23,0.10);
  --shadow-lift: 0 8px 40px rgba(28,26,23,0.18);

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--sans); }
ul { list-style: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--charcoal);
  border-bottom: 1px solid rgba(196,154,60,0.2);
  display: flex;
  align-items: center;
}
#site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  padding: 8px 0;
}
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}
.nav-logo:hover .nav-logo-img { opacity: 0.85; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity var(--transition), color var(--transition);
}
.nav-links a:hover { opacity: 1; color: var(--gold-light); }
.nav-links a.active { color: var(--gold); opacity: 1; }
.nav-cta {
  background: var(--gold) !important;
  color: var(--charcoal) !important;
  opacity: 1 !important;
  padding: 10px 22px !important;
  border: none !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--charcoal-90);
  z-index: 999;
  padding: 24px 40px;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid rgba(196,154,60,0.2);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-menu a.nav-cta {
  background: var(--gold);
  color: var(--charcoal);
  text-align: center;
  padding: 12px 20px;
  border: none;
  opacity: 1;
  border-bottom: none;
}

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--charcoal);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
  opacity: 1;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(28,26,23,0.93) 0%,
    rgba(28,26,23,0.82) 55%,
    rgba(28,26,23,0.65) 100%
  );
}
.hero-texture {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(196,154,60,0.04) 60px,
      rgba(196,154,60,0.04) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(196,154,60,0.04) 60px,
      rgba(196,154,60,0.04) 61px
    );
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(196,154,60,0.06) 0%, transparent 60%),
              linear-gradient(135deg, rgba(28,26,23,0.0) 0%, rgba(56,52,46,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: var(--nav-h);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 5.5vw, 78px);
  font-weight: 500;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--stone-light);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  padding: 16px 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: inline-block;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,154,60,0.35);
}
.btn-ghost {
  color: var(--cream);
  border: 1px solid rgba(245,240,232,0.3);
  padding: 15px 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: border-color var(--transition), color var(--transition);
  display: inline-block;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.hero-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--stone-light);
  font-size: 14px;
}
.hero-phone a {
  color: var(--cream);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-family: var(--serif);
}
.hero-phone a:hover { color: var(--gold-light); }

/* Hero credential strip */
.hero-badge-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  background: rgba(28,26,23,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(196,154,60,0.2);
  padding: 20px 0;
}
.hero-badge-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--stone-light);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-badge svg { flex-shrink: 0; }
.hero-badge strong {
  display: block;
  color: var(--gold-pale);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* Hero logo */
.hero-logo-lockup { margin-bottom: 40px; }
.hero-logo-img {
  height: 160px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 18px rgba(196,154,60,0.20));
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--charcoal-80);
  padding: 60px 0;
  border-bottom: 1px solid rgba(196,154,60,0.15);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 8px 24px;
  border-right: 1px solid rgba(196,154,60,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-number sup { font-size: 24px; vertical-align: super; }
.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-light);
  margin-top: 8px;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section { padding: var(--section-pad); }
.section-light { background: var(--cream); }
.section-cream { background: var(--cream-dark); }
.section-dark { background: var(--charcoal); }
.section-charcoal { background: var(--charcoal-90); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}
.section-title.on-dark { color: var(--white); }
.section-title em { font-style: italic; color: var(--gold); }
.section-body {
  font-size: 17px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.75;
  max-width: 580px;
}
.section-body.on-dark { color: var(--stone-light); }

/* ============================================================
   ABOUT TEASER
   ============================================================ */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-block {
  position: relative;
}
.about-photo-wrap {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--charcoal-80);
  display: block;
}
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease;
}
.about-image-block:hover .about-photo {
  transform: scale(1.04);
}
.about-accent-box {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--gold);
  padding: 24px 28px;
  text-align: center;
  z-index: 2;
}
.about-accent-box .years {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1;
}
.about-accent-box .years-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.75;
  margin-top: 4px;
}
.about-content { padding-right: 20px; }
.about-content .section-title { margin-bottom: 20px; }
.about-content .section-body { margin-bottom: 32px; }
.credential-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.credential-tag {
  border: 1px solid rgba(196,154,60,0.4);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 1px;
}

/* ============================================================
   SERVICES PREVIEW GRID
   ============================================================ */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--charcoal-80);
  padding: 48px 36px;
  border: 1px solid rgba(196,154,60,0.08);
  position: relative;
  overflow: hidden;
  transition: background var(--transition), border-color var(--transition);
  cursor: pointer;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
  background: var(--charcoal-90);
  border-color: rgba(196,154,60,0.25);
}
.service-card:hover::after { width: 100%; }
.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--gold);
  opacity: 0.8;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--stone-light);
  line-height: 1.7;
}
.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--transition), transform var(--transition);
}
.service-card:hover .learn-more {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   BRAND PROMISE / QUOTE
   ============================================================ */
.brand-promise {
  text-align: center;
  padding: 120px 0;
}
.brand-promise blockquote {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 42px);
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  line-height: 1.5;
  max-width: 860px;
  margin: 0 auto 32px;
  letter-spacing: 0.01em;
}
.brand-promise blockquote::before {
  content: '\201C';
  display: block;
  font-size: 80px;
  color: var(--gold);
  opacity: 0.5;
  line-height: 0.5;
  margin-bottom: 24px;
}
.brand-promise cite {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   CREDENTIALS STRIP
   ============================================================ */
.credentials-strip {
  background: var(--gold);
  padding: 48px 0;
}
.credentials-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cred-item svg { flex-shrink: 0; color: var(--charcoal); opacity: 0.7; }
.cred-item-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.cred-item-text span {
  font-size: 12px;
  color: rgba(28,26,23,0.65);
  font-weight: 400;
}

/* ============================================================
   HOME CTA SECTION
   ============================================================ */
.home-cta {
  padding: 120px 0;
  background: var(--charcoal);
}
.home-cta .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.home-cta-text .section-title { color: var(--white); margin-bottom: 16px; }
.home-cta-text .section-body {
  color: var(--stone-light);
  margin-bottom: 0;
}
.home-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
}
.home-cta-phone {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold-light);
  text-align: center;
}
.home-cta-phone small {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-light);
  margin-bottom: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(196,154,60,0.2);
  padding: 64px 0 32px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-logo-img {
  height: 100px;
  width: auto;
  display: block;
  margin-bottom: 20px;
  opacity: 0.75;
  transition: opacity var(--transition);
}
.footer-logo-img:hover { opacity: 1; }
.footer-brand p {
  font-size: 14px;
  font-weight: 300;
  color: var(--stone-light);
  line-height: 1.7;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 14px;
  font-weight: 300;
  color: var(--stone-light);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 300;
  color: var(--stone-light);
  line-height: 1.5;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); opacity: 0.7; }
.footer-contact-item a { color: var(--stone-light); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(196,154,60,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--stone);
  font-weight: 300;
  letter-spacing: 0.04em;
}
.footer-bottom a { color: var(--stone); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   PAGES — SERVICES
   ============================================================ */
.page-hero {
  background: var(--charcoal);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-texture {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg, transparent, transparent 60px,
      rgba(196,154,60,0.04) 60px, rgba(196,154,60,0.04) 61px
    ),
    repeating-linear-gradient(
      90deg, transparent, transparent 60px,
      rgba(196,154,60,0.04) 60px, rgba(196,154,60,0.04) 61px
    );
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content .section-title { color: var(--white); margin-bottom: 16px; }
.page-hero-content .section-body { color: var(--stone-light); }

.services-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
.service-full-card {
  background: var(--cream);
  display: grid;
  grid-template-columns: 400px 1fr;
  min-height: 320px;
  border: 1px solid rgba(28,26,23,0.08);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.service-full-card:hover { box-shadow: var(--shadow-lift); }
.service-full-card:nth-child(even) .service-full-img { order: 2; }
.service-full-card:nth-child(even) .service-full-body { order: 1; }
.service-full-img {
  background: var(--charcoal-80);
  overflow: hidden;
  position: relative;
  min-height: 320px;
}
.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}
.service-full-card:hover .service-img {
  transform: scale(1.04);
}
.service-full-body {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-full-body h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.2;
}
.service-full-body p {
  font-size: 15px;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 540px;
}
.service-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.service-bullets li {
  font-size: 13px;
  font-weight: 400;
  color: var(--stone);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.service-bullets li::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.service-area-section {
  background: var(--charcoal-90);
  padding: 80px 0;
}
.service-area-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.town-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.town-tag {
  background: rgba(196,154,60,0.1);
  border: 1px solid rgba(196,154,60,0.25);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 7px 14px;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-filters {
  display: flex;
  gap: 4px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  background: none;
  border: 1px solid rgba(28,26,23,0.15);
  color: var(--stone);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 20px;
  transition: all var(--transition);
  font-family: var(--sans);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--cream);
}
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}
.gallery-grid {
  columns: 3;
  gap: 12px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gallery-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.45s ease;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28,26,23,0.88) 0%,
    rgba(28,26,23,0.3) 50%,
    rgba(28,26,23,0) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item-label {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--white);
}
.gallery-item-label span {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}

/* Gallery CTA box */
.gallery-cta-box {
  text-align: center;
  margin-top: 80px;
  padding: 60px;
  background: var(--charcoal-80);
  border: 1px solid rgba(196,154,60,0.15);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(28,26,23,0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 88vw;
  max-height: 84vh;
}
.lightbox-img {
  max-width: 88vw;
  max-height: 84vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 24px 80px rgba(28,26,23,0.5);
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: 1px solid rgba(196,154,60,0.3);
  color: var(--cream);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: all 0.2s;
  z-index: 10000;
}
.lightbox-close:hover {
  background: rgba(196,154,60,0.15);
  border-color: var(--gold);
  color: var(--gold);
}
.lightbox-caption {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0 80px;
}
.lightbox-caption strong {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.lightbox-caption em {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--stone-light);
}
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(28,26,23,0.5);
  border: 1px solid rgba(196,154,60,0.25);
  color: var(--gold);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  transition: all 0.2s;
  z-index: 10000;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(196,154,60,0.18);
  border-color: var(--gold);
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--stone-light);
  z-index: 10000;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  min-height: 80vh;
}
.contact-info {
  background: var(--charcoal);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-form-col {
  background: var(--cream-dark);
  padding: 80px 60px;
}
.contact-info .section-title { color: var(--white); margin-bottom: 12px; }
.contact-info .section-body { color: var(--stone-light); margin-bottom: 48px; max-width: 400px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(196,154,60,0.12);
  border: 1px solid rgba(196,154,60,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-detail-text strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-light);
  margin-bottom: 4px;
}
.contact-detail-text a, .contact-detail-text span {
  font-size: 16px;
  color: var(--white);
  font-weight: 300;
}
.contact-detail-text a:hover { color: var(--gold-light); }
.contact-hours {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(196,154,60,0.15);
}
.contact-hours h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 14px;
}
.contact-hours p {
  font-size: 14px;
  color: var(--stone-light);
  font-weight: 300;
  line-height: 1.8;
}

/* Form */
.contact-form-col h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.contact-form-col > p {
  font-size: 14px;
  color: var(--stone);
  font-weight: 300;
  margin-bottom: 36px;
  line-height: 1.6;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(28,26,23,0.15);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  padding: 12px 16px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,154,60,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7468' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-submit {
  width: 100%;
  background: var(--charcoal);
  color: var(--cream);
  border: none;
  padding: 16px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--sans);
  transition: background var(--transition), transform var(--transition);
  margin-top: 8px;
}
.form-submit:hover {
  background: var(--gold);
  color: var(--charcoal);
  transform: translateY(-1px);
}
.form-note {
  font-size: 12px;
  color: var(--stone-light);
  text-align: center;
  margin-top: 14px;
  font-weight: 300;
}

/* ============================================================
   PAGE SWITCHING
   ============================================================ */
.page { display: none; }
.page.active { display: block; }

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-teaser { grid-template-columns: 1fr; gap: 40px; }
  .about-image-block { max-width: 480px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .home-cta .container { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(196,154,60,0.15); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(196,154,60,0.15); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .service-full-card { grid-template-columns: 1fr; }
  .service-full-card:nth-child(even) .service-full-img { order: 0; }
  .service-full-card:nth-child(even) .service-full-body { order: 0; }
  .service-full-img { min-height: 260px; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-info { padding: 60px 40px; }
  .contact-form-col { padding: 60px 40px; }
  .service-area-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-bg { background-attachment: scroll; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .container { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .gallery-filters { gap: 6px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 38px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  /* Badge strip: 2-column grid so it stays compact */
  .hero-badge-strip .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
    justify-items: start;
  }
  /* Push hero content up so the sub-paragraph clears the badge strip */
  .hero { padding-bottom: 148px; }
  /* Small gap between nav bar and hero logo peak */
  .hero-logo-lockup { margin-top: 18px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; }
  .gallery-cta-box { padding: 40px 24px; }
}
