/*
Theme Name: Distinct Developments
Theme URI: https://distinctdevelopments.ca
Author: Distinct Developments Ltd.
Description: Custom mobile-first theme for Distinct Developments residential renovations.
Version: 2.0
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --dark:    #1a1a1a;
  --mid:     #2c2c2c;
  --gold:    #b8972a;
  --gold-lt: #d4af4a;
  --light:   #f5f3ef;
  --white:   #ffffff;
  --text:    #333333;
  --muted:   #777777;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', Arial, sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(0,0,0,0.12);
  --radius: 2px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { margin-bottom: 1rem; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section--dark { background: var(--dark); color: var(--white); }
.section--light { background: var(--light); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }

.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184,151,42,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184,151,42,0.2);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  padding: 0 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
}


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

.nav-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold);
}

.nav-menu .nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 0.5rem 1.1rem;
  margin-left: 0.5rem;
}
.nav-menu .nav-cta:hover {
  background: var(--gold-lt);
  color: var(--white) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 75px; left: 0; right: 0; bottom: 0;
  background: var(--dark);
  z-index: 999;
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .mobile-cta {
  margin-top: 1.5rem;
  background: var(--gold);
  color: var(--white) !important;
  text-align: center;
  border-radius: var(--radius);
  border: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://distinctdevelopments.ca/wp-content/uploads/2022/12/Kitchen002-scaled.jpg') center/cover no-repeat;
  opacity: 0.35;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 8rem 1.5rem 4rem;
  animation: fadeUp 1s ease 0.3s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content .section-label { color: var(--gold); }

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--gold-lt);
}

.hero-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-phone {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 2;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-phone::before {
  content: '';
  display: inline-block;
  width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b8972a'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1-9.4 0-17-7.6-17-17 0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1L6.6 10.8z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ============================================================
   ABOUT / INTRO
   ============================================================ */
.intro-section {
  padding: 5rem 0;
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.intro-text h2 { margin-bottom: 1rem; color: var(--dark); }
.intro-text p { color: var(--muted); font-size: 1.05rem; }

.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-box {
  background: var(--light);
  padding: 1.75rem;
  border-left: 3px solid var(--gold);
}
.stat-box .stat-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-box .stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--dark);
  padding: 3rem 0;
  text-align: center;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }
.cta-contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.cta-contact-row a {
  color: var(--gold-lt);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.cta-contact-row a:hover { color: var(--white); }

/* ============================================================
   FEATURED WORK
   ============================================================ */
.work-section { padding: 5rem 0; background: var(--light); }
.work-section .section-header { text-align: center; margin-bottom: 3rem; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.work-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--mid);
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-card:hover img { transform: scale(1.06); }

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.9) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}

.work-card:hover .work-card-overlay { opacity: 1; }

.work-card-overlay h3 { color: var(--white); font-size: 1.1rem; }
.work-card-overlay a {
  color: var(--gold-lt);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.work-card-label {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
}

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-section {
  padding: 4rem 0;
  background: var(--white);
}

.trust-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

.trust-card {
  text-align: center;
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.08);
  transition: var(--transition);
}

.trust-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.trust-card img {
  height: 64px;
  width: auto;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.trust-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.trust-card a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: var(--transition);
}
.trust-card a:hover { color: var(--dark); border-color: var(--dark); }

/* ============================================================
   QUOTE CTA
   ============================================================ */
.quote-cta {
  padding: 6rem 0;
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://distinctdevelopments.ca/wp-content/uploads/2022/12/Basement001-scaled.jpg') center/cover;
  opacity: 0.12;
}

.quote-cta-inner { position: relative; z-index: 1; }
.quote-cta h2 { color: var(--white); margin-bottom: 1rem; }
.quote-cta p { color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto 2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #111;
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 280px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--gold); }

.footer-contact p { font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-contact strong { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }

  .hero-content { padding-top: 6rem; }
  .hero-phone { display: none; }

  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .intro-stats { grid-template-columns: 1fr 1fr; }

  .work-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .work-card-overlay { opacity: 1; }

  .trust-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .grid-2, .grid-3, .grid-5 { grid-template-columns: 1fr; }
  .cta-contact-row { flex-direction: column; gap: 1rem; }
}

@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .work-grid { grid-template-columns: 1fr; }
  .intro-stats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 75px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.page-hero:hover .page-hero-bg { transform: scale(1); }

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.88) 0%, rgba(26,26,26,0.4) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 2.5rem;
}

.page-hero-content h1 { color: var(--white); }
.page-hero-content .section-label { color: var(--gold); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

.about-text h2 { margin-bottom: 1rem; }
.about-text h3 { margin-top: 2rem; margin-bottom: 0.75rem; color: var(--dark); }
.about-text p { color: var(--muted); }

.about-highlight-box {
  background: var(--dark);
  color: var(--white);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.about-highlight-box .section-label { color: var(--gold); }

.check-list { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; }
.check-list li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.about-contact-box {
  background: var(--light);
  padding: 1.75rem;
  border-left: 3px solid var(--gold);
}
.about-contact-box h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.about-contact-box a {
  display: block;
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

/* ============================================================
   PROCESS PAGE
   ============================================================ */
.process-lead {
  font-size: 1.25rem;
  color: var(--muted);
  font-family: var(--font-head);
  font-style: italic;
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
}

.process-steps { display: flex; flex-direction: column; gap: 0; }

.process-step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  align-items: start;
}
.process-step:last-child { border-bottom: none; }

.step-number {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  padding-top: 0.25rem;
}

.step-content h3 { margin-bottom: 1rem; color: var(--dark); }
.step-content p { color: var(--muted); }

.estimate-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.estimate-option {
  background: var(--light);
  padding: 1.25rem;
  border-top: 3px solid var(--gold);
}

.estimate-option h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.estimate-option p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* ============================================================
   FINANCING PAGE
   ============================================================ */
.financing-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}

.financing-text h2 { margin-bottom: 1rem; }
.financing-text p { color: var(--muted); }

.financing-features { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }

.financing-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--light);
  border-left: 3px solid var(--gold);
}

.feature-icon {
  font-size: 1.75rem;
  min-width: 40px;
  line-height: 1;
}

.financing-feature h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--dark);
}
.financing-feature p { font-size: 0.85rem; color: var(--muted); margin: 0; }

.financing-cta-box {
  background: var(--dark);
  color: var(--white);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.financing-cta-box h3 { color: var(--white); margin-bottom: 0.75rem; font-size: 1.2rem; }
.financing-cta-box p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 1rem; }
.financing-phone {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-lt);
  margin-bottom: 0.5rem;
}
.financing-email {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.financing-note {
  background: var(--light);
  padding: 1.25rem;
  border-left: 3px solid var(--gold);
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--muted); margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-detail-icon {
  font-size: 1.4rem;
  min-width: 36px;
  margin-top: 0.1rem;
}

.contact-detail strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.contact-detail a, .contact-detail span {
  color: var(--dark);
  font-size: 0.95rem;
}
.contact-detail a:hover { color: var(--gold); }

.contact-service-area {
  background: var(--light);
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--gold);
}
.contact-service-area h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.contact-service-area p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ============================================================
   FORMS (Contact + Quote)
   ============================================================ */
.contact-form-box {
  background: var(--light);
  padding: 2.5rem;
}
.contact-form-box h3 { margin-bottom: 0.5rem; }

.distinct-form { display: flex; flex-direction: column; gap: 1rem; }

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

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0,0,0,0.15);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  border-radius: var(--radius);
  transition: var(--transition);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,151,42,0.15);
}

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

/* ============================================================
   QUOTE PAGE
   ============================================================ */
.quote-page-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.quote-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.quote-sidebar-box {
  background: var(--light);
  padding: 1.75rem;
  border-left: 3px solid var(--gold);
}
.quote-sidebar-box h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.quote-steps {
  list-style: decimal;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.quote-steps li { font-size: 0.9rem; color: var(--muted); }
.quote-steps li strong { color: var(--dark); }

.quote-phone {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  font-family: var(--font-head);
}

/* ============================================================
   RESPONSIVE — INNER PAGES
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .financing-grid { grid-template-columns: 1fr; }
  .estimate-options { grid-template-columns: 1fr; }
  .quote-page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-hero { height: 260px; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .process-step { grid-template-columns: 60px 1fr; gap: 1rem; }
  .step-number { font-size: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-box { padding: 1.5rem; }
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-intro {
  padding: 2.5rem 0 0;
  text-align: center;
}
.gallery-intro-text {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
}

.gallery-filter-wrap {
  position: sticky;
  top: 75px;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 0.85rem 0;
  margin-top: 1.5rem;
}
.gallery-filter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.gallery-filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent;
  border: 2px solid rgba(0,0,0,0.12);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  border-radius: 999px;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--white); }
.gallery-count {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.gallery-section { padding: 2rem 0 5rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.gallery-item { transition: opacity 0.3s ease; }
.gallery-item.hidden { display: none; }

.gallery-card-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--mid);
  cursor: pointer;
}
.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.gallery-card-img-wrap:hover .gallery-thumb { transform: scale(1.06); }
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-card-img-wrap:hover .gallery-card-overlay { opacity: 1; }
.gallery-zoom-btn {
  background: rgba(184,151,42,0.9);
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
}
.gallery-zoom-btn:hover { background: var(--gold); transform: scale(1.1); }
.gallery-card-label {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  background: rgba(26,26,26,0.75);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  opacity: 0;
  transition: var(--transition);
}
.gallery-card-img-wrap:hover .gallery-card-label { opacity: 1; }

.gallery-empty {
  text-align: center;
  padding: 4rem;
  color: var(--muted);
  font-size: 1rem;
  grid-column: 1 / -1;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox-overlay.open { display: flex; }
.lightbox-content {
  max-width: 1100px;
  width: 100%;
  text-align: center;
}
.lightbox-content img {
  max-height: 82vh;
  max-width: 100%;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
}
.lightbox-caption {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  font-family: var(--font-head);
  font-style: italic;
}
.lightbox-close {
  position: fixed;
  top: 1.25rem; right: 1.25rem;
  background: none;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 1.4rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold); }
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10000;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--gold); }

.cat-desc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.cat-desc-card {
  padding: 1.5rem;
  border-top: 3px solid var(--gold);
  background: var(--white);
}
.cat-desc-card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--dark); }
.cat-desc-card p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* Gallery responsive */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-desc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .gallery-filter-wrap { top: 75px; }
  .gallery-filter-inner { justify-content: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .cat-desc-grid { grid-template-columns: 1fr 1fr; }
  .lightbox-prev { left: 0.4rem; }
  .lightbox-next { right: 0.4rem; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .cat-desc-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — INNER PAGES
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .financing-grid { grid-template-columns: 1fr; }
  .estimate-options { grid-template-columns: 1fr; }
  .quote-page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-hero { height: 260px; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .process-step { grid-template-columns: 60px 1fr; gap: 1rem; }
  .step-number { font-size: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-box { padding: 1.5rem; }
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-intro {
  padding: 2.5rem 0 0;
  text-align: center;
}
.gallery-intro-text {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
}

/* ── Filter bar ── */
.gallery-filter-wrap {
  position: sticky;
  top: 75px;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 1rem 0;
  margin-top: 1.5rem;
}

.gallery-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  background: transparent;
  border: 2px solid rgba(0,0,0,0.12);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  border-radius: 999px;
  transition: var(--transition);
}

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

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ── Gallery grid ── */
.gallery-section { padding: 3rem 0 5rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item.hidden {
  display: none;
}

/* ── Gallery card ── */
.gallery-card {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.gallery-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  transform: translateY(-4px);
}

.gallery-card-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--mid);
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-card:hover .gallery-thumb { transform: scale(1.06); }

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

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

.gallery-zoom-btn {
  background: var(--gold);
  border: none;
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.gallery-zoom-btn:hover {
  background: var(--gold-lt);
  transform: scale(1.1);
}

.gallery-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.gallery-card-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.gallery-card-title {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-family: var(--font-head);
}

.gallery-card-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.gallery-card-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(184,151,42,0.4);
  padding-bottom: 2px;
  transition: var(--transition);
}
.gallery-card-link:hover { color: var(--dark); border-color: var(--dark); }

/* ── Empty state ── */
.gallery-empty {
  text-align: center;
  padding: 4rem;
  color: var(--muted);
  font-size: 1rem;
}

/* ── Admin note ── */
.gallery-admin-note {
  margin-top: 2rem;
  background: #fff8e1;
  border-left: 4px solid #f9a825;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: #555;
  border-radius: var(--radius);
}

/* ── Lightbox ── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-overlay.open { display: flex; }

.lightbox-content {
  max-width: 1100px;
  width: 100%;
  position: relative;
  text-align: center;
  pointer-events: none;
}

.lightbox-content img {
  max-height: 80vh;
  max-width: 100%;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
  pointer-events: auto;
}

.lightbox-caption {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 1rem;
  font-family: var(--font-head);
  font-style: italic;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold); }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10001;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--gold); }

/* ── Category description cards ── */
.cat-desc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.cat-desc-card {
  padding: 1.5rem;
  border-top: 3px solid var(--gold);
  background: var(--white);
}

.cat-desc-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.cat-desc-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* ── Gallery responsive ── */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-desc-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .gallery-filter-wrap { top: 75px; }
  .gallery-filters { gap: 0.4rem; }
  .filter-btn { font-size: 0.72rem; padding: 0.45rem 0.9rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .gallery-card-body { padding: 1rem; }
  .cat-desc-grid { grid-template-columns: 1fr 1fr; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .cat-desc-grid { grid-template-columns: 1fr; }
}

/* ── Quote form two-column layout ── */
.quote-form-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.quote-form-col { display: flex; flex-direction: column; gap: 1rem; }

/* ── Form success message ── */
.form-success {
  background: #f0faf0;
  border-left: 4px solid #4caf50;
  color: #2e7d32;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .quote-form-cols { grid-template-columns: 1fr; }
}

/* ── Hero logo ── */
.hero-logo {
  margin-bottom: 1.75rem;
}
.hero-logo img,
.hero-logo a img {
  height: 70px;
  width: auto;
}

/* ── Logo sizing — single authoritative block ── */

/* Header nav — dark logo, transparent bg */
.site-logo img {
  height: 48px;
  width: auto;
  display: block;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* Hero — dark logo on dark bg */
.hero-logo {
  margin-bottom: 1.75rem;
}
.hero-logo img,
.hero-logo a img {
  height: 120px;
  width: auto;
  display: block;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  filter: none;
}

/* Footer — dark logo on dark footer */
.footer-brand img {
  height: 72px;
  width: auto;
  display: block;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin-bottom: 1rem;
}

/* ── DISTINCT word styling ── */
.hero-distinct {
  font-family: 'Aparajita', 'Palatino Linotype', Georgia, serif;
  font-style: normal;
  color: #c0392b;
  letter-spacing: 0.08em;
}

/* ── Nav quote button — white bg, black text ── */
.nav-menu .nav-cta {
  background: var(--white) !important;
  color: var(--dark) !important;
  border-color: var(--white) !important;
}
.nav-menu .nav-cta:hover {
  background: #f0f0f0 !important;
  border-color: #f0f0f0 !important;
  color: var(--dark) !important;
}
