/* ---------- Variables ---------- */
:root {
  --color-bg: #faf7f2;
  --color-bg-alt: #efece5;
  --color-text: #262624;
  --color-text-muted: #6f6c66;
  --color-primary: #2f2e2b;
  --color-primary-dark: #1c1b1a;
  --color-accent: #d3664d;
  --color-accent-dark: #b3503a;
  --color-border: #ddd8cf;

  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Jost', system-ui, -apple-system, sans-serif;

  --max-width: 1140px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--color-primary);
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-accent-dark);
  margin: 0 0 0.6em;
}
.center { text-align: center; }
.section-sub { color: var(--color-text-muted); max-width: 560px; margin-left: auto; margin-right: auto; }

section { padding: 88px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); }
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
}
.logo-img {
  height: 78px;
  width: auto;
  display: block;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-weight: 500;
  color: var(--color-text);
}
.site-nav a:hover { color: var(--color-accent-dark); }
.nav-phone { color: var(--color-accent-dark); font-weight: 600; }
.nav-cta { padding: 10px 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--color-bg-alt), var(--color-bg));
  padding: 120px 0;
}
.hero-inner {
  max-width: 720px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 0.4em;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ---------- Page Header (service pages) ---------- */
.page-header {
  background: linear-gradient(180deg, var(--color-bg-alt), var(--color-bg));
  padding: 72px 0 56px;
}
.page-header-inner { max-width: 720px; }
.back-link {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
.back-link:hover { color: var(--color-accent-dark); }
.page-header h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 0.4em;
}
.page-header-tagline,
.hero-tagline {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-accent-dark);
  margin-bottom: 0.6em;
}
.page-header-sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 620px;
}

/* ---------- About ---------- */
.about-text { max-width: 720px; }
.about-points { margin-top: 20px; }
.about-points li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
}
.about-points li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 600;
}

/* ---------- Services ---------- */
.services { background: var(--color-bg-alt); }
.services h2 { margin-bottom: 40px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card-link {
  display: block;
  padding: 28px;
  color: inherit;
  cursor: pointer;
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5em;
  transition: color 0.2s ease;
}
.service-card p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.service-card:hover,
.service-card:has(.service-card-link:focus-visible) {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(211, 102, 77, 0.35);
}
.service-card:hover h3,
.service-card:hover p,
.service-card:has(.service-card-link:focus-visible) h3,
.service-card:has(.service-card-link:focus-visible) p {
  color: #fff;
}

/* ---------- Gallery ---------- */
.gallery h2 { margin-bottom: 12px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.gallery-item {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(74, 55, 40, 0.18);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item-hidden { display: none; }
.gallery-load-more {
  text-align: center;
  margin-top: 32px;
}

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}
.contact-details {
  margin-top: 24px;
}
.contact-details > div {
  margin-bottom: 16px;
}
.contact-details dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}
.contact-details dd {
  margin: 0;
  font-weight: 500;
  font-size: 1.05rem;
}
.contact-details a:hover { color: var(--color-accent-dark); }

.contact-form {
  background: var(--color-bg-alt);
  border-radius: 8px;
  padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-bg);
  color: var(--color-text);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.form-submit { width: 100%; text-align: center; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-status {
  margin: 14px 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}
.form-status.success { color: #3f6b3f; }
.form-status.error { color: #a13f3f; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary);
  color: #f0e6d8;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-contact, .footer-copyright {
  margin: 0;
  font-size: 0.9rem;
  color: #d8c9b5;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 19, 18, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 200;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  section { padding: 64px 0; }
  .nav-toggle { display: flex; }
  .logo-img { height: 54px; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
  }
  .site-nav a:last-of-type { border-bottom: none; }
  .nav-cta { text-align: center; margin-top: 12px; }

  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 80px 0; }
}
