:root {
  --bg: #11100e;
  --panel: #1b1916;
  --panel-2: #25211d;
  --text: #f7f3ed;
  --muted: #c9beb1;
  --soft: #8c8176;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #c58b57;
  --accent-2: #ead3b7;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(197, 139, 87, 0.14), transparent 34%),
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.08), transparent 28%);
  opacity: 0.9;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(17, 16, 14, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.main-nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a,
footer a {
  text-decoration: none;
}

.main-nav a:hover,
footer a:hover {
  color: var(--accent-2);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.94rem;
}

.header-cta,
.button.primary {
  background: var(--accent);
  color: #17120e;
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(46px, 7vw, 96px) clamp(18px, 4vw, 64px) 44px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 5.35vw, 5.85rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-media {
  position: relative;
  min-height: 560px;
}

.hero-logo,
.hero-photo {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-logo {
  background: #050505;
  object-fit: contain;
  padding: 8px;
  border: 1px solid var(--line);
}

.hero-photo.tall {
  grid-row: span 2;
}

.hero-media .hero-photo { position: absolute; inset: 0; }
.hero-image-label { position: absolute; left: 14px; bottom: 14px; padding: 9px 11px; border-radius: 7px; background: rgba(17,16,14,.84); font-weight: 800; }

.services,
.work-band,
.reviews,
.process,
.contact {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 4vw, 64px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading h2,
.process h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.process p,
.contact p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 34px;
  border-radius: 8px;
  background: rgba(197, 139, 87, 0.16);
  color: var(--accent-2);
}

.service-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.34rem;
}

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

.work-band {
  background: #f3f0ea;
  color: #171512;
}

.work-band .section-heading p {
  color: #665c51;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 12px;
}

.gallery-loading {
  grid-column: 1 / -1;
  margin: 0;
  color: #665c51;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #ddd;
  cursor: pointer;
  font: inherit;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

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

.gallery-item span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(17, 16, 14, 0.82);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.reviews {
  background: #171512;
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: 14px;
  align-items: start;
}

.reviews-summary,
.review-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.reviews-summary {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.small-label {
  margin: 0;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rating-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.rating-value {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
}

.rating-stars {
  display: inline-flex;
  gap: 4px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 1.35rem;
  letter-spacing: 0;
}

.rating-stars.compact {
  font-size: 1rem;
}

.rating-star {
  position: relative;
  display: inline-block;
  width: 1em;
}

.rating-star::before {
  content: "★";
  position: absolute;
  inset: 0;
  width: var(--fill, 0%);
  overflow: hidden;
  color: var(--accent);
}

.reviews-summary p:not(.small-label),
.review-text,
.review-meta {
  color: var(--muted);
}

.reviews-summary a {
  width: fit-content;
  color: var(--accent-2);
  font-weight: 800;
  text-decoration: none;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.review-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 260px;
  padding: 22px;
}

.review-card h3 {
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.review-text {
  margin-bottom: 0;
  white-space: pre-line;
}

.review-meta {
  margin: auto 0 0;
  font-size: 0.86rem;
  font-weight: 700;
}

.text-button {
  width: fit-content;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent-2);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: center;
  background: var(--panel);
}

.steps {
  display: grid;
  gap: 10px;
}

.steps div {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  min-height: 82px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.steps strong {
  color: var(--accent);
  font-size: 1.45rem;
}

.steps span {
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 34px;
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 8px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.contact-panel a,
.contact-panel span {
  display: block;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.86);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  margin: 0;
  max-width: min(1100px, 92vw);
}

.lightbox-card { width: min(1100px, 94vw); max-height: 92dvh; overflow: auto; }
.lightbox-card figure { width: 100%; }
.lightbox-card figcaption { display: grid; gap: 4px; }
.lightbox-card figcaption span { color: var(--muted); font-size: .9rem; font-weight: 500; }
.lightbox-thumbs { display: flex; gap: 8px; max-width: 100%; margin-top: 12px; padding: 3px; overflow-x: auto; }
.lightbox-thumbs button { flex: 0 0 70px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 7px; overflow: hidden; background: transparent; }
.lightbox-thumbs button.active { border-color: var(--accent); }
.lightbox-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-open { overflow: hidden; }
.mobile-contact { display: none; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.lightbox img {
  max-height: 82vh;
  width: auto;
  margin: 0 auto;
  border-radius: 8px;
}

.lightbox figcaption {
  margin-top: 12px;
  text-align: center;
  font-weight: 800;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #171512;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 960px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 460px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .reviews-layout,
  .review-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .site-header {
    min-height: 70px;
    padding: 10px 14px;
  }
  .site-header .brand img { width: 44px; height: 44px; }
  .main-nav { display: none; }
  .header-cta { min-height: 44px; }
  .hero { gap: 28px; padding: 38px 14px 54px; }
  h1 { margin-bottom: 16px; font-size: clamp(2.35rem, 13vw, 3.5rem); }
  .hero-actions { display: grid; margin-top: 24px; }
  .hero-actions .button { min-height: 52px; }

  .brand span {
    max-width: 140px;
    white-space: normal;
    line-height: 1.05;
  }

  .header-cta {
    padding: 0 12px;
  }

  .hero-media {
    min-height: min(110vw, 450px);
  }
  .services, .work-band, .reviews, .process, .contact { padding: 58px 14px; }
  .service-card { min-height: auto; padding: 22px; }
  .service-icon { margin-bottom: 22px; }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-bottom: 14px;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 190px;
    gap: 7px;
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-item span { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 6px 8px; font-size: .77rem; }
  .steps div { grid-template-columns: 54px 1fr; min-height: 76px; padding: 14px; }
  .contact-panel a, .contact-panel span { min-height: 52px; padding: 14px; }
  .lightbox { place-items: start center; padding: 64px 10px calc(14px + env(safe-area-inset-bottom)); }
  .lightbox-card { width: 100%; max-height: calc(100dvh - 78px); }
  .lightbox img { max-height: 62dvh; }
  .lightbox-close { top: max(8px, env(safe-area-inset-top)); right: 10px; }
  .mobile-contact { position: fixed; right: 0; bottom: 0; left: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(17,16,14,.94); backdrop-filter: blur(14px); }
  .mobile-contact a { display: grid; place-items: center; min-height: 48px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 800; }
  .mobile-contact a:last-child { border-color: var(--accent); background: var(--accent); color: #17120e; }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 340px) { .brand span { display: none; } .gallery { grid-auto-rows: 165px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .gallery-item img { transition: none; } }
