:root {
  --bg: #f6f1e5;
  --surface: #fffdfa;
  --text: #2e2a21;
  --muted: #6a5d4d;
  --accent: #ed9d2f;
  --accent-dark: #c5771f;
  --green: #53725b;
  --green-dark: #3f5a46;
  --border: rgba(83, 114, 91, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: rgba(246, 241, 229, 0.95);
  border-bottom: 1px solid rgba(83, 114, 91, 0.1);
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  font-weight: 500;
  color: var(--muted);
}

.hero {
  position: relative;
  padding: 3rem 1.5rem 4rem;
  background: linear-gradient(135deg, rgba(83,114,91,0.96), rgba(46, 42, 33, 0.9));
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #f7e1b9;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-text {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}

.hero-image-card {
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 20px 45px rgba(0,0,0,0.2);
  background: #f4efe7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-image-card img {
  width: 100%;
  height: min(360px, 48vw);
  min-height: 240px;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.section-header {
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
  text-align: center;
}

.section-header span {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--green);
}

.section-header h2 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--text);
}

.section-header p {
  max-width: 760px;
  margin: 0.8rem auto 0;
  color: var(--muted);
  font-size: 1rem;
}

.highlights {
  max-width: 1200px;
  margin: -1.2rem auto 0;
  padding: 1.5rem 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 1.2rem 1.25rem;
  box-shadow: 0 12px 30px rgba(46, 42, 33, 0.06);
}

.highlight-card h3 {
  margin: 0 0 0.45rem;
  color: var(--green-dark);
  font-size: 1.1rem;
}

.highlight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.works,
.contact {
  padding: 3.5rem 0 3.5rem;
}

.works {
  position: relative;
}

.works::before,
.contact::before {
  content: '';
  display: block;
  width: min(1100px, calc(100% - 3rem));
  height: 1px;
  margin: 0 auto 1.4rem;
  background: linear-gradient(90deg, transparent, rgba(83, 114, 91, 0.35), transparent);
}

.work-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(46, 42, 33, 0.08);
}

.work-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.work-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.05) saturate(1.08);
}

.work-card-content {
  padding: 1.2rem 1.5rem 1.5rem;
}

.work-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  color: var(--green-dark);
}

.work-card p {
  margin: 0;
  color: var(--muted);
}

.gallery-section {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding: 0 1.5rem;
}

.gallery-header {
  margin-bottom: 1rem;
}

.gallery-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--green-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(46, 42, 33, 0.08);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.gallery-grid img:hover,
.gallery-grid img:focus-visible {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 16px 30px rgba(46, 42, 33, 0.16);
  filter: saturate(1.08);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(17, 20, 18, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: rgba(255,255,255,0.9);
  color: var(--text);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.contact-card {
  background: linear-gradient(145deg, var(--surface), #f7f1e3);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 14px 32px rgba(83, 114, 91, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-card p {
  margin: 0;
  font-weight: 600;
  color: var(--green-dark);
}

.contact-card a {
  display: inline-block;
  color: var(--accent-dark);
  font-size: 1rem;
  font-weight: 700;
}

.contact-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-card:last-child p + p {
  margin-top: 0.2rem;
  color: var(--muted);
  font-weight: 400;
}

.service-area {
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 0 1.5rem;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  padding: 1.75rem 1.5rem;
  background: #f1eadf;
  border-top: 1px solid rgba(83, 114, 91, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--green);
  font-weight: 600;
}

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

  .featured-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-image-card img {
    height: 280px;
  }
}

@media (max-width: 700px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
  }

  .hero {
    padding: 1.5rem 1rem 2rem;
  }

  .hero-content {
    text-align: left;
  }

  .section-header {
    text-align: left;
  }

  .highlights,
  .featured-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 500px) {
  .site-header,
  .section-header,
  .service-area,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero h1 {
    font-size: 2.6rem;
  }
}
