:root {
  --color-forest: #2f4a3a;
  --color-forest-dark: #21372b;
  --color-gold: #c9a44c;
  --color-bg: #f7f8f5;
  --color-surface: #ffffff;
  --color-text: #172018;
  --color-muted: #5d675f;
  --color-line: #dfe5dc;
  --shadow-soft: 0 18px 44px rgba(24, 32, 24, 0.12);
  --shadow-card: 0 12px 28px rgba(24, 32, 24, 0.09);
  --radius: 18px;
  --radius-small: 12px;
  --max-width: 1180px;
  --header-height: 72px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: -54px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-card);
}

.skip-link:focus {
  top: 14px;
}

.section-inner {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(47, 74, 58, 0.11);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(100% - 28px, var(--max-width));
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(47, 74, 58, 0.18);
}

.brand-copy {
  min-width: 0;
  display: grid;
  line-height: 1.18;
}

.brand-copy strong {
  overflow: hidden;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--color-line);
  border-radius: 13px;
  background: var(--color-surface);
  color: var(--color-forest);
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(201, 164, 76, 0.16);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
  transform: translateY(-120%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s ease;
}

.site-nav.is-open {
  transform: translateY(0);
  visibility: visible;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-small);
  color: var(--color-text);
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #edf2ec;
  color: var(--color-forest);
}

.hero {
  position: relative;
  min-height: calc(92svh - var(--header-height));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--color-forest-dark);
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(20, 29, 22, 0), rgba(20, 29, 22, 0.35)),
    linear-gradient(90deg, rgba(20, 29, 22, 0.5), rgba(20, 29, 22, 0.04) 64%, rgba(20, 29, 22, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 70px 54px;
}

.eyebrow {
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  max-width: min(100%, 470px);
  line-height: 1.35;
}

.hero h1 {
  max-width: 900px;
  margin-top: 12px;
  font-size: clamp(3.25rem, 14vw, 6.7rem);
  line-height: 0.94;
  font-weight: 900;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.34);
}

.hero-slogan {
  max-width: 630px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: 750;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: fit-content;
  margin-top: 28px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--color-gold);
  color: #17130a;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #d8b760;
}

.button-secondary {
  background: var(--color-forest);
  color: #fff;
}

.section {
  padding-block: 72px;
}

.section-work {
  background: var(--color-bg);
}

.section-services {
  background: var(--color-surface);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2,
.contact-panel h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1.02;
  font-weight: 900;
}

.section-heading p:not(.eyebrow),
.contact-panel p {
  margin-top: 14px;
  color: var(--color-muted);
  font-size: 1rem;
}

.gallery-block {
  display: grid;
  gap: 58px;
}

.gallery-group-heading {
  max-width: 760px;
  margin-bottom: 18px;
}

.gallery-group-heading h3 {
  color: var(--color-forest-dark);
  font-size: clamp(1.45rem, 5vw, 2.2rem);
  line-height: 1.08;
  font-weight: 900;
}

.gallery-group-heading p {
  margin-top: 8px;
  color: var(--color-muted);
}

.gallery-grid {
  display: grid;
  gap: 18px;
}

.gallery-item {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 270px;
  border: 0;
  border-radius: var(--radius);
  background: #d7ded5;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  isolation: isolate;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.28s ease;
}

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

.gallery-item span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(20, 29, 22, 0.76);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.no-script {
  margin-top: 16px;
  color: var(--color-muted);
}

.services-grid {
  display: grid;
  gap: 16px;
}

.service-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: 0 8px 22px rgba(24, 32, 24, 0.05);
}

.service-card svg {
  width: 42px;
  height: 42px;
  color: var(--color-forest);
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 900;
}

.service-card p {
  color: var(--color-muted);
}

.section-reviews {
  background: var(--color-bg);
}

.rating-line {
  display: inline-block;
  margin-right: 8px;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.reviews-grid {
  column-count: 1;
  column-gap: 16px;
}

.review-card {
  display: inline-grid;
  align-content: start;
  gap: 16px;
  width: 100%;
  margin: 0 0 16px;
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(47, 74, 58, 0.13);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.review-stars {
  color: var(--color-gold);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.review-card p {
  color: var(--color-text);
  font-size: 1rem;
}

.review-card footer {
  display: grid;
  gap: 2px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--color-line);
}

.review-card strong {
  color: var(--color-forest-dark);
  font-weight: 900;
}

.review-card span {
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.reviews-note {
  margin: 0;
  color: var(--color-muted);
  font-weight: 750;
}

.contact-section {
  background: var(--color-bg);
}

.contact-panel {
  display: grid;
  gap: 26px;
  padding: 28px;
  border-radius: 24px;
  background: var(--color-forest);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  display: grid;
  gap: 11px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
}

.contact-card strong {
  font-size: 1.15rem;
}

.contact-card span,
.contact-card a:not(.button) {
  color: rgba(255, 255, 255, 0.82);
}

.contact-card .button {
  margin-top: 10px;
  background: #fff;
  color: var(--color-forest);
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-text);
  box-shadow: 0 14px 34px rgba(20, 29, 22, 0.16);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--color-forest-dark);
  font-size: 0.9rem;
  font-weight: 850;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(47, 74, 58, 0.2);
  border-radius: 12px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.quote-form input {
  min-height: 48px;
  padding: 0 13px;
}

.quote-form textarea {
  min-height: 118px;
  resize: vertical;
  padding: 12px 13px;
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(201, 164, 76, 0.18);
}

.quote-submit {
  margin-top: 4px;
}

.quote-submit:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.quote-form .form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--color-forest);
  font-size: 0.95rem;
  font-weight: 800;
}

.quote-form .form-status.is-error {
  color: #9f2f22;
}

.quote-form .form-status.is-success {
  color: var(--color-forest);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  border-top: 1px solid var(--color-line);
  background: var(--color-surface);
}

.footer-inner {
  min-height: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-block: 22px;
  color: var(--color-muted);
  font-size: 0.95rem;
  text-align: center;
}

.footer-member-badge {
  display: grid;
  justify-items: center;
  gap: 7px;
  width: min(100%, 240px);
}

.footer-member-badge img {
  width: 100%;
  height: auto;
}

.footer-member-badge span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.35;
}

.footer-inner a {
  color: var(--color-forest);
  font-weight: 850;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 70px 18px 28px;
  background: rgba(11, 16, 12, 0.86);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-frame {
  width: min(100%, 1040px);
}

.lightbox-frame img {
  width: 100%;
  max-height: 74vh;
  border-radius: var(--radius);
  object-fit: contain;
  background: #111;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
}

.lightbox-frame figcaption {
  margin-top: 12px;
  color: #fff;
  font-weight: 750;
  text-align: center;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}

.lightbox-close:hover,
.lightbox-arrow:hover,
.lightbox-close:focus-visible,
.lightbox-arrow:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.lightbox-close {
  right: 18px;
  top: 18px;
}

.lightbox-prev {
  left: 18px;
  top: 50%;
}

.lightbox-next {
  right: 18px;
  top: 50%;
}

@media (min-width: 680px) {
  .section-inner {
    width: min(100% - 48px, var(--max-width));
  }

  .gallery-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-grid {
    column-count: 2;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 118px;
    text-align: left;
  }

  .footer-inner > span,
  .footer-inner > a {
    flex: 1;
  }

  .footer-inner > a {
    text-align: right;
  }

  .footer-member-badge {
    flex: 0 0 280px;
    width: 280px;
    text-align: center;
  }

  .contact-panel {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
    align-items: center;
    padding: 42px;
  }
}

@media (min-width: 920px) {
  :root {
    --header-height: 78px;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    transform: none;
    visibility: visible;
  }

  .site-nav a {
    min-height: 42px;
    padding-inline: 13px;
  }

  .hero {
    min-height: calc(88vh - var(--header-height));
  }

  .hero-content {
    padding-block: 96px 78px;
  }

  .section {
    padding-block: 96px;
  }

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

  .reviews-grid {
    column-count: 3;
  }
}

@media (max-width: 420px) {
  .brand-copy span {
    display: none;
  }

  .hero .eyebrow {
    max-width: 300px;
    font-size: 0.72rem;
    letter-spacing: 0.055em;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 12.5vw, 3.2rem);
  }

  .hero-slogan {
    font-size: 1.05rem;
  }

  .button {
    width: 100%;
  }

  .hero-content {
    padding-block: 56px 42px;
  }

  .lightbox-arrow {
    top: auto;
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
