﻿:root {
  --ink: #080812;
  --ink-soft: #16151c;
  --paper: #faf8f3;
  --panel: #ffffff;
  --warm: #f3ede2;
  --wood: #9a6535;
  --wood-dark: #5b351c;
  --gold: #fff338;
  --line: rgba(8, 8, 18, 0.12);
  --muted: #62616b;
  --shadow: 0 24px 70px rgba(8, 8, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 10px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 8, 18, 0.94);
  color: #fff;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 146px;
  min-width: 128px;
}

.brand img {
  width: auto;
  max-width: 100%;
  max-height: 56px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.93rem;
  font-weight: 800;
}

.main-nav a,
.header-action {
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--gold);
}

.header-action {
  min-width: 112px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 243, 56, 0.8);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

.header-action:hover,
.header-action:focus-visible {
  background: var(--gold);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(125deg, rgba(8, 8, 18, 0.98), rgba(8, 8, 18, 0.82)),
    linear-gradient(135deg, #080812 0%, #2a211b 58%, #9a6535 150%);
  color: #fff;
}

.home-hero {
  min-height: calc(100vh - 78px);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--wood-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1;
}

h1 {
  max-width: 760px;
  font-size: clamp(4.2rem, 10vw, 8.8rem);
}

.home-hero h1 {
  max-width: 100%;
  font-size: 6.4rem;
  white-space: nowrap;
}

h2 {
  max-width: 820px;
  font-size: clamp(2rem, 4.5vw, 4.35rem);
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-text,
.lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.lead {
  color: var(--muted);
}

.mission {
  color: #fff;
  font-weight: 800;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
}

.button-primary {
  background: var(--gold);
  color: var(--ink);
}

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

.button-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-photo,
.feature-image,
.contact-photo,
.gallery-band img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-photo {
  margin: 0;
  overflow: hidden;
  background: #111;
}

.hero-photo img {
  width: 100%;
  height: min(64vh, 620px);
  min-height: 420px;
  object-fit: cover;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(60px, 8vw, 106px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(125deg, rgba(8, 8, 18, 0.97), rgba(8, 8, 18, 0.84)),
    linear-gradient(135deg, #080812 0%, #2f251e 62%, #9a6535 155%);
  color: #fff;
}

.page-hero h1 {
  max-width: 950px;
  font-size: clamp(2.7rem, 6vw, 5.9rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.page-hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-info div {
  min-height: 118px;
  padding: 28px clamp(20px, 4vw, 52px);
  background: #fff;
}

.quick-info strong,
.quick-info span {
  display: block;
}

.quick-info strong {
  font-size: 1.1rem;
}

.quick-info span {
  margin-top: 5px;
  color: var(--muted);
}

.section,
.experience-band,
.contact-section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

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

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.split,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.feature-split {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.82fr);
}

.feature-image,
.contact-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

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

.service-card,
.catalog-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-card {
  min-height: 250px;
  padding: 24px;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--warm);
  color: var(--wood-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.experience-band {
  background: var(--warm);
}

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

.steps div {
  min-height: 214px;
  padding: 26px;
  border-left: 5px solid var(--wood);
  background: #fff;
}

.steps span,
.catalog-card span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--wood);
  font-weight: 900;
}

.steps p,
.catalog-card p {
  color: var(--muted);
}

.catalog-section {
  padding-bottom: clamp(40px, 7vw, 84px);
}

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

.catalog-card {
  min-height: 232px;
  padding: 24px;
}

.catalog-card p {
  margin: 14px 0 0;
}

.gallery-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 clamp(20px, 5vw, 72px) clamp(64px, 9vw, 118px);
}

.gallery-band img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.contact-panel {
  padding: clamp(24px, 4vw, 42px);
}

.info-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.info-list div {
  display: grid;
  gap: 5px;
}

.info-list strong {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--wood-dark);
}

.info-list span,
.info-list a {
  color: var(--muted);
}

.info-list a:hover,
.info-list a:focus-visible {
  color: var(--wood-dark);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #04040c;
  color: #fff;
}

.site-footer strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

address {
  display: grid;
  gap: 6px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
  text-align: right;
}

address a:hover,
address a:focus-visible {
  color: var(--gold);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero,
  .page-hero,
  .split,
  .contact-section,
  .feature-split {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero h1 {
    font-size: 5.3rem;
  }

  .hero-photo img {
    height: auto;
    min-height: 0;
  }

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

@media (max-width: 680px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    width: 124px;
  }

  .header-action {
    min-width: 98px;
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5.4rem);
  }

  .home-hero h1 {
    font-size: 4rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .quick-info,
  .service-grid,
  .catalog-grid,
  .steps,
  .gallery-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .quick-info div,
  .service-card,
  .steps div,
  .catalog-card {
    min-height: auto;
  }

  .site-footer,
  address {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .home-hero h1 {
    font-size: 3.2rem;
  }
}

