/* Shared styles for the generated pages (services, service areas, projects).
   Nav, buttons and footer are copied from index.html so the pages match. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --gold:       #C8960C;
  --gold-lt:    #F0B429;
  --gold-dk:    #8A6300;
  --gold-dim:   rgba(200,150,12,0.10);
  --gold-glow:  rgba(200,150,12,0.18);
  --dark:       #1A1A1A;
  --dark2:      #2C2C2C;
  --mid:        #555555;
  --muted:      #888888;
  --border:     #E8E2D5;
  --off:        #FEFEFE;
  --white:      #FEFEFE;
}
html { scroll-behavior: smooth; }
body { font-family: Inter, sans-serif; background: #FEFEFE; color: var(--dark); overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #FEFEFE; height: 78px; padding: 0 60px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}
.nav-logo img { height: 62px; width: auto; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 0.82rem; font-weight: 500; color: #444; text-decoration: none; letter-spacing: 0.3px; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-phone { color: var(--gold) !important; font-weight: 700 !important; }
.nav-cta {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold)) !important;
  color: var(--white) !important; font-weight: 700 !important;
  padding: 10px 24px !important; font-size: 0.8rem !important;
  border-radius: 2px; box-shadow: 0 3px 14px var(--gold-glow);
}
.nav-cta:hover { opacity: 0.9 !important; }
.nav-hamburger {
  display: none; flex-direction: column; justify-content: space-between;
  width: 26px; height: 18px; cursor: pointer; padding: 0; background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--dark); border-radius: 2px; transition: all 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-mobile {
  display: none; position: fixed; top: 78px; left: 0; right: 0;
  background: #FEFEFE; border-bottom: 2px solid var(--gold);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12); z-index: 99;
  flex-direction: column; padding: 12px 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 0.9rem; font-weight: 500; color: #444; text-decoration: none;
  padding: 13px 24px; border-bottom: 1px solid #F5F0E8; transition: color 0.2s, background 0.2s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--gold); background: var(--gold-dim); }
.nav-mobile .mob-cta {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  color: #fff !important; font-weight: 700 !important; margin: 10px 16px 4px;
  border-radius: 2px; text-align: center;
}


.btn-gold { background: linear-gradient(135deg, var(--gold-lt), var(--gold)); color: var(--white); font-family: Poppins, sans-serif; font-weight: 700; font-size: 0.9rem; padding: 15px 34px; text-decoration: none; border: none; cursor: pointer; display: inline-block; transition: opacity 0.2s, transform 0.2s; box-shadow: 0 5px 24px var(--gold-glow); border-radius: 2px; }
.btn-gold:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--dark2); font-family: Poppins, sans-serif; font-weight: 500; font-size: 0.9rem; padding: 14px 34px; text-decoration: none; border: 1.5px solid #CCCCCC; display: inline-block; transition: border-color 0.2s, color 0.2s; border-radius: 2px; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
footer { background: #FEFEFE; padding: 50px 60px 26px; border-top: 2px solid var(--gold); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 38px; border-bottom: 1px solid rgba(0,0,0,0.08); margin-bottom: 22px; flex-wrap: wrap; gap: 32px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 10px; }
.footer-tag { font-size: 0.78rem; color: #1A1A1A; max-width: 200px; line-height: 1.65; }
.footer-col h4 { font-size: 0.65rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 0.81rem; color: #1A1A1A; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.footer-bot .footer-copy { justify-self: start; }
.footer-bot .footer-insta { justify-self: center; }
.footer-bot .footer-credit { justify-self: end; }
.footer-copy { font-size: 0.72rem; color: rgba(0,0,0,0.3); }
.footer-credit { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.credit-text { font-size: 0.72rem; letter-spacing: .02em; color: rgba(0,0,0,0.6); transition: color .15s; }
.footer-credit img { height: 22px; width: auto; display: block; border-radius: 4px; transition: transform .15s; }
.footer-credit:hover img { transform: translateY(-1px); }
.footer-credit:hover .credit-text { color: var(--gold); }
.footer-insta {
  display: flex; align-items: center; justify-content: center;
  color: rgba(0,0,0,0.3); transition: color 0.2s, transform 0.2s;
  text-decoration: none; line-height: 1;
}
.footer-insta:hover { color: #E1306C; transform: scale(1.15); }
@media (max-width: 600px) {
  .footer-bot {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .footer-bot .footer-copy, .footer-bot .footer-credit { justify-self: center; }
}


@media (max-width: 960px) {
  nav { padding: 0 20px; } .nav-links { display: none; } .nav-hamburger { display: flex; }
  footer { padding: 38px 20px 20px; } .footer-top { flex-direction: column; }
}

/* ── page layout ── */
body { padding-top: 78px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 60px; }
.page-hero { background: var(--dark); color: #fff; padding: 54px 0 50px; position: relative; overflow: hidden; border-bottom: 3px solid var(--gold); }
.page-hero::before { content: ""; position: absolute; top: -120px; right: -120px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(200,150,12,0.12) 0%, transparent 65%); }
.crumbs { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-bottom: 18px; position: relative; }
.crumbs a { color: rgba(255,255,255,0.75); text-decoration: none; }
.crumbs a:hover { color: var(--gold-lt); }
.page-hero h1 { font-family: Poppins, sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.12; margin-bottom: 14px; max-width: 760px; position: relative; }
.page-hero h1 em { font-style: normal; color: var(--gold-lt); }
.page-hero .lead { font-size: 1.05rem; line-height: 1.75; color: rgba(255,255,255,0.8); max-width: 680px; margin-bottom: 26px; position: relative; }
.page-hero .btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.page-hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.45); }
.page-hero .btn-outline:hover { color: var(--gold-lt); border-color: var(--gold-lt); }

.page-body { padding: 60px 0 70px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.prose h2 { font-family: Poppins, sans-serif; font-size: 1.45rem; font-weight: 700; margin: 34px 0 12px; line-height: 1.25; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: Poppins, sans-serif; font-size: 1.08rem; font-weight: 600; margin: 22px 0 8px; }
.prose p { line-height: 1.8; color: #333; margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 0; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 24px; margin-bottom: 9px; line-height: 1.65; color: #333; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }
.prose a { color: var(--gold-dk); }

.side-card { position: sticky; top: 100px; background: var(--dark); color: #fff; padding: 28px 26px; border-radius: 2px; border-top: 3px solid var(--gold); }
.side-card h3 { font-family: Poppins, sans-serif; font-size: 1.15rem; margin-bottom: 8px; }
.side-card p { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.65; margin-bottom: 18px; }
.side-card .btn-gold, .side-card .btn-outline { display: block; text-align: center; margin-bottom: 10px; }
.side-card .btn-outline { color: #fff; border-color: rgba(255,255,255,0.4); }
.side-card ul { list-style: none; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); }
.side-card li { font-size: 0.84rem; color: rgba(255,255,255,0.8); padding: 4px 0 4px 22px; position: relative; }
.side-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-lt); font-weight: 700; }

.faq { margin-top: 10px; }
.faq details { border: 1px solid var(--border); border-radius: 2px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 15px 18px; font-family: Poppins, sans-serif; font-weight: 600; font-size: 0.97rem; list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.3rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 16px; margin: 0; }

.related { background: #F7F5F0; padding: 56px 0 64px; }
.related h2 { font-family: Poppins, sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-link { display: block; background: #fff; border: 1px solid var(--border); padding: 22px 22px 20px; text-decoration: none; color: var(--dark); border-radius: 2px; transition: border-color .2s, transform .2s; }
.svc-link:hover { border-color: var(--gold); transform: translateY(-2px); }
.svc-link strong { display: block; font-family: Poppins, sans-serif; font-size: 1.02rem; margin-bottom: 6px; }
.svc-link span { font-size: 0.86rem; color: var(--mid); line-height: 1.6; }
.svc-link em { display: inline-block; margin-top: 10px; font-style: normal; font-size: 0.8rem; font-weight: 700; color: var(--gold-dk); }
.proj-card { display: block; background: #fff; border: 1px solid var(--border); text-decoration: none; color: var(--dark); border-radius: 2px; overflow: hidden; }
.proj-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #eee; }
.proj-card div { padding: 14px 16px 16px; }
.proj-card strong { display: block; font-family: Poppins, sans-serif; font-size: 0.98rem; }
.proj-card span { font-size: 0.82rem; color: var(--muted); }

.cta-band { background: linear-gradient(135deg, #1A1A1A, #2C2C2C); color: #fff; padding: 50px 0; text-align: center; border-top: 3px solid var(--gold); }
.cta-band h2 { font-family: Poppins, sans-serif; font-size: 1.6rem; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.75); margin-bottom: 22px; }
.cta-band .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,0.45); }

.area-block { padding: 26px 0; border-top: 1px solid var(--border); scroll-margin-top: 96px; }
.area-block:first-child { border-top: 0; padding-top: 0; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 24px; }
.gallery a { display: block; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 2px; }
.gallery a:first-child { grid-column: 1 / -1; }
.gallery a:first-child img { aspect-ratio: 16 / 9; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 24px; }
.facts div { background: #F7F5F0; padding: 14px 16px; border-radius: 2px; }
.facts dt { font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 4px; }
.facts dd { font-size: 0.95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 0.78rem; background: var(--gold-dim); color: var(--gold-dk); padding: 4px 10px; border-radius: 999px; }

@media (max-width: 960px) {
  .wrap { padding: 0 20px; }
  .page-grid { grid-template-columns: 1fr; gap: 30px; }
  .side-card { position: static; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 40px 0 38px; }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .page-hero .btns a { flex: 1 1 auto; text-align: center; }
}
