:root {
  --teal: #277E84;
  --teal-dark: #1c5f64;
  --teal-tint: #eef5f5;
  --ink: #1f2a2b;
  --muted: #5b6b6c;
  --line: #d9e3e3;
  --bg: #ffffff;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { height: 72px; width: auto; margin-block: 2px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: .88rem; font-weight: 500; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--teal); }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  background: var(--teal); color: #fff; text-decoration: none;
  font-weight: 600; font-size: .95rem; border: 2px solid var(--teal);
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-small { padding: 8px 18px; font-size: .85rem; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn-ghost:hover { background: #fff; color: var(--teal-dark); border-color: #fff; }

/* Hero */
.hero {
  min-height: min(78vh, 680px);
  display: flex; align-items: center;
  background:
    linear-gradient(100deg, rgba(14,52,56,.82) 0%, rgba(14,52,56,.55) 55%, rgba(14,52,56,.2) 100%),
    url('/images/kitchen-sage-1.jpg') center / cover no-repeat;
  color: #fff;
}
.hero-text { padding-block: 72px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; margin: 0 0 20px; max-width: 16ch; font-weight: 700; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 600; margin: 0 0 14px; color: #bfe3e5; }
.lead { font-size: 1.1rem; max-width: 52ch; margin: 0 0 30px; color: #eaf4f4; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sections */
.section { padding-block: 84px; }
.section-alt { background: var(--teal-tint); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; font-weight: 700; color: var(--teal-dark); }
.section-intro { color: var(--muted); max-width: 60ch; margin: 0 0 40px; }
h3 { margin: 0 0 8px; font-size: 1.2rem; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 4px 18px rgba(31,42,43,.06); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 22px 24px 26px; }
.card-body p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip {
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  padding: 8px 20px; border-radius: 999px; background: #fff;
  border: 1.5px solid var(--teal); color: var(--teal-dark);
}
.chip:hover { background: var(--teal-tint); }
.chip.is-active { background: var(--teal); color: #fff; }
.gallery { column-count: 3; column-gap: 16px; }
.tile { display: block; break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.tile[hidden] { display: none; }
.tile img { width: 100%; height: auto; transition: transform .35s; }
.tile:hover img { transform: scale(1.03); }

/* Lightbox */
dialog#lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
dialog#lightbox::backdrop { background: rgba(8,24,26,.88); }
dialog#lightbox img { max-width: 94vw; max-height: 92vh; border-radius: 6px; margin: auto; }
.lb-close {
  position: absolute; top: -14px; right: -14px; width: 40px; height: 40px;
  border-radius: 50%; border: 0; background: #fff; color: var(--ink);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* Brochures */
.group { margin: 34px 0 14px; color: var(--ink); }
.downloads { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.downloads a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
}
.downloads a::after { content: '\2193'; color: var(--teal); font-weight: 700; order: 3; }
.downloads a:hover { border-color: var(--teal); background: var(--teal-tint); }
.downloads small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: .78rem; white-space: nowrap; }

/* Contact */
.contact { background: var(--teal); color: #fff; }
.contact h2 { color: #fff; }
.contact a { color: #fff; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact p { max-width: 48ch; margin: 0 0 26px; color: #e3f1f2; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; }
.contact-list span { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: #bfe3e5; font-weight: 600; }
.contact-list a { font-weight: 600; }
.contact-logo { width: min(300px, 38%); height: auto; opacity: .95; }

/* Footer */
.site-footer { padding: 26px 0; font-size: .82rem; color: var(--muted); background: #fff; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; }

/* Small screens */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .gallery { column-count: 2; }
  .nav a:not(.btn) { display: none; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .contact-logo { width: 200px; }
  .section { padding-block: 60px; }
  .brand img { height: 58px; }
}
@media (max-width: 520px) {
  .gallery { column-gap: 10px; }
  .tile { margin-bottom: 10px; }
  .contact-list li { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img { transition: none; }
}
