/* ── Base ─────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f2efe7;
  font-family: Archivo, sans-serif;
}

a {
  color: #b8862f;
  text-decoration: none;
}

a:hover {
  color: #d4a441;
}

input,
textarea {
  font-family: Archivo, sans-serif;
}

::placeholder {
  color: #8b8778;
  opacity: 1;
}

.section-title {
  font-family: Oswald, sans-serif;
  font-weight: 500;
  font-size: 34px;
  color: #151b16;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0;
}

.accent {
  color: #b8862f;
}

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #151b16;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 48px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-family: Oswald, sans-serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: .1em;
  color: #f2ead6;
}

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: Oswald, sans-serif;
  font-size: 13px;
  letter-spacing: .14em;
}

.nav-link {
  color: #a8a494;
}

.nav-link:hover {
  color: #d4a441;
}

.nav-cta {
  background: #d4a441;
  color: #151b16;
  padding: 10px 20px;
  font-weight: 600;
}

.nav-cta:hover {
  background: #e2b654;
  color: #151b16;
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 48px 0;
}

.hero-title {
  font-family: Oswald, sans-serif;
  font-weight: 600;
  font-size: min(9.5vw, 120px);
  line-height: .98;
  color: #151b16;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-bottom: 44px;
  border-bottom: 2px solid #151b16;
}

.hero-copy {
  font-size: 18px;
  line-height: 1.65;
  color: #4c5147;
  max-width: 520px;
  margin: 0;
  text-wrap: pretty;
}

.hero-btn {
  font-family: Oswald, sans-serif;
  font-size: 15px;
  letter-spacing: .16em;
  background: #151b16;
  color: #d4a441;
  padding: 18px 32px;
}

.hero-btn:hover {
  background: #26302a;
  color: #d4a441;
}

/* ── Services ─────────────────────────────────────────── */
.services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  scroll-margin-top: 90px;
}

.services .section-title {
  margin: 52px 0 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.service {
  padding: 28px 32px 44px;
  border-right: 1px solid #d5d1c2;
}

.service:first-child {
  padding-left: 0;
}

.service:last-child {
  padding-right: 0;
  border-right: none;
}

.service-num {
  font-family: Oswald, sans-serif;
  font-size: 14px;
  color: #b8862f;
  letter-spacing: .2em;
  margin-bottom: 12px;
}

.service h3 {
  font-family: Oswald, sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: #151b16;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 10px;
}

.service p {
  font-size: 15px;
  line-height: 1.65;
  color: #5c6156;
  margin: 0;
  text-wrap: pretty;
}

/* ── Credentials band ─────────────────────────────────── */
.credentials-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.credentials-band {
  background: #d4a441;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: Oswald, sans-serif;
  font-size: 14px;
  letter-spacing: .18em;
  color: #151b16;
}

/* ── Gallery ──────────────────────────────────────────── */
.gallery {
  scroll-margin-top: 90px;
}

.gallery-head {
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 48px 28px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

/* ── Contact ──────────────────────────────────────────── */
.contact {
  background: #10150f;
  margin-top: 56px;
  scroll-margin-top: 70px;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-title {
  font-family: Marcellus, serif;
  font-weight: 400;
  font-size: 36px;
  color: #f2ead6;
  margin: 0 0 16px;
}

.contact-copy {
  font-size: 15px;
  line-height: 1.7;
  color: #a8a494;
  margin: 0 0 26px;
  text-wrap: pretty;
}

.contact-place {
  font-size: 15px;
  color: #e9dcc0;
  line-height: 2.1;
}

.contact-motto {
  font-size: 11px;
  letter-spacing: .16em;
  color: #6f6c5e;
  margin-top: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  background: #151b16;
  border: 1px solid rgba(233, 220, 192, .2);
  padding: 13px 14px;
  font-size: 14px;
  color: #f2ead6;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1px solid #d4a441;
}

.form-submit {
  background: #d4a441;
  color: #151b16;
  text-align: center;
  padding: 16px;
  font-family: Oswald, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .16em;
  border: none;
  cursor: pointer;
}

.form-submit:hover {
  background: #e2b654;
}

.form-note {
  font-size: 12px;
  color: #6f6c5e;
  min-height: 1em;
}

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: #0c100b;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand span {
  font-family: Oswald, sans-serif;
  font-size: 12px;
  letter-spacing: .16em;
  color: #8b8778;
}

.footer-legal {
  font-size: 12px;
  color: #5c5a4e;
}

/* ── Lightbox ─────────────────────────────────────────── */
.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 16, 11, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  cursor: zoom-out;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .6);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  color: #f2ead6;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  color: #d4a441;
}

/* ── Mobile ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-header,
  .hero,
  .services,
  .credentials-wrap,
  .gallery-head,
  .gallery-grid,
  .contact-inner,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 48px;
  }

  .brand-name {
    font-size: 13px;
    letter-spacing: .06em;
  }

  .nav-link {
    display: none;
  }

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

  .service {
    border-right: none;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 28px;
    border-bottom: 1px solid #d5d1c2;
  }

  .service:last-child {
    border-bottom: none;
  }

  .hero-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .credentials-band {
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
  }

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

  .gallery-grid img {
    height: 220px;
  }
}
