:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --ink: #241c15;
  --ink-soft: #3c3227;
  --muted: #6b5f52;
  --brand: #2e7d4f;
  --brand-dark: #23613d;
  --accent: #b3801f;
  --line: #e7dfd3;
  --shadow: 0 12px 34px rgba(36, 28, 21, 0.09);
  --shadow-lg: 0 24px 60px rgba(36, 28, 21, 0.16);
  --radius: 16px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand);
}

button {
  font: inherit;
}

section[id] {
  scroll-margin-top: 84px;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.brand img {
  height: 46px;
  width: auto;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  color: var(--ink);
}

.hero {
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(46, 125, 79, 0.16), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(179, 128, 31, 0.14), transparent 60%),
    linear-gradient(160deg, #f4ecdd 0%, var(--bg) 55%);
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem 5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.25rem;
  align-items: center;
}

.kicker {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.hero__lede {
  margin: 0;
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.82rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

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

.btn--primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.btn--ghost {
  border-color: rgba(36, 28, 21, 0.28);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--light {
  background: #fff;
  color: var(--brand-dark);
}

.btn--light:hover {
  background: #f1f7f2;
  color: var(--brand-dark);
}

.hero__figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section {
  padding: 4.75rem 0;
}

.section--tight {
  padding-top: 0;
}

.section__head {
  max-width: 44rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.15;
}

.section__head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.45rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.22rem;
}

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

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.1rem;
}

.chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.chip[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.chip .count {
  opacity: 0.7;
  font-size: 0.8em;
  margin-left: 0.35rem;
}

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

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  background: #efe9e0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  animation: item-in 0.35s ease both;
}

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

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
}

.gallery-item__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.8rem 0.9rem 0.75rem;
  background: linear-gradient(transparent, rgba(20, 15, 10, 0.8));
  color: #fff;
  font-size: 0.86rem;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-item:hover .gallery-item__label,
.gallery-item:focus-visible .gallery-item__label {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes item-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.noscript-note {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
}

.about__inner {
  max-width: 47rem;
  margin: 0 auto;
  text-align: center;
}

.about__inner p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.contact {
  padding-bottom: 5.5rem;
}

.contact-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.25rem 2rem;
  text-align: center;
  color: #fff;
  border-radius: 24px;
  background:
    radial-gradient(600px 260px at 20% 0%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(135deg, var(--brand-dark), var(--brand));
  box-shadow: var(--shadow-lg);
}

.contact-card h2 {
  color: #fff;
}

.contact-card p {
  margin: 0 auto 1.8rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.contact-card .btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.contact-card .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.site-footer {
  background: var(--ink);
  color: #cfc4b6;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.4rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.site-footer a {
  color: #cfc4b6;
  text-decoration: none;
  font-size: 0.93rem;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer small {
  font-size: 0.85rem;
  color: #9a8d7e;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 11, 8, 0.94);
}

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

.lightbox img {
  max-width: min(1100px, 90vw);
  max-height: 80vh;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.lightbox__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.2rem;
  text-align: center;
  color: #e9e0d3;
  font-size: 0.95rem;
}

.lightbox__btn {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox__btn--close {
  top: 1.1rem;
  right: 1.1rem;
}

.lightbox__btn--prev {
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__btn--next {
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 3.25rem;
    padding-bottom: 3.5rem;
  }

  .hero__figure {
    order: 2;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: rgba(250, 247, 242, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav a {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-header.nav-open .nav {
    display: flex;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.7rem;
  }

  .hero__inner {
    padding-top: 2.5rem;
  }

  .contact-card {
    padding: 2.4rem 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
