* {
  box-sizing: border-box;
}

:root {
  --ink: #1f1d1a;
  --mute: #6f6760;
  --sand: #f4efe8;
  --coal: #2a2420;
  --rust: #9a5a3a;
  --olive: #6b6a4a;
  --paper: #fffaf3;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: var(--coal);
  color: #f8f2ea;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brand {
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ad-label {
  font-size: 12px;
  line-height: 1.4;
  background: #3a332e;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.nav a:hover,
.nav a:focus {
  background: rgba(255, 255, 255, 0.18);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--rust);
  color: #fffaf3;
}

.btn.secondary {
  background: #e6d6c7;
  color: var(--ink);
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.content {
  flex: 1;
  padding: 34px 36px 60px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hero {
  min-height: 340px;
  border-radius: 26px;
  padding: 32px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fffaf3;
  position: relative;
  overflow: hidden;
}

.hero-index {
  background-image: url("https://images.pexels.com/photos/3885101/pexels-photo-3885101.jpeg");
  background-color: #3b2f29;
}

.hero-about {
  background-image: url("https://images.pexels.com/photos/6188365/pexels-photo-6188365.jpeg");
  background-color: #443b34;
}

.hero-services {
  background-image: url("https://images.pexels.com/photos/5568407/pexels-photo-5568407.jpeg");
  background-color: #3f3530;
}

.hero-contact {
  background-image: url("https://images.pexels.com/photos/8182354/pexels-photo-8182354.jpeg");
  background-color: #3d312b;
}

.hero-thanks {
  background-image: url("https://images.pexels.com/photos/14781974/pexels-photo-14781974.jpeg");
  background-color: #3a2f2a;
}

.atelier-bg {
  background-image: url("https://images.pexels.com/photos/10110945/pexels-photo-10110945.jpeg");
  background-color: #4a4038;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(30, 22, 18, 0.2), rgba(30, 22, 18, 0.8));
}

.hero-card {
  position: relative;
  z-index: 1;
  max-width: 520px;
  background: rgba(27, 22, 18, 0.75);
  padding: 22px 24px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.split {
  display: flex;
  gap: 26px;
  align-items: stretch;
  flex-wrap: wrap;
}

.split.reverse {
  flex-direction: row-reverse;
}

.panel {
  flex: 1;
  min-width: 260px;
  background: var(--sand);
  padding: 20px;
  border-radius: 18px;
}

.image-frame {
  flex: 1;
  min-width: 260px;
  background: #d8c9bb;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  flex: 1;
  min-width: 220px;
  background: #fffdf8;
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  background: #d8c9bb;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #efe4d8;
  color: var(--ink);
  font-size: 13px;
}

.form-wrap {
  background: #f7f1ea;
  padding: 22px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-grid label {
  font-size: 14px;
  color: var(--mute);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d2c4b7;
  font-size: 15px;
  background: #fffefc;
}

.sticky-cta {
  position: sticky;
  top: 22px;
  align-self: flex-start;
  background: #f1e2d5;
  padding: 16px 18px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer {
  background: #2b2521;
  color: #efe7de;
  padding: 24px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: 300px;
  background: #fffdf8;
  border: 1px solid #d5c7bb;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.muted {
  color: var(--mute);
}

.full-width {
  background: #efe4d8;
  padding: 24px;
  border-radius: 18px;
}

@media (max-width: 920px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .content {
    padding: 24px 20px 80px;
  }

  .cookie-banner {
    left: 20px;
    right: 20px;
  }
}

@media (max-width: 640px) {
  .sidebar {
    flex-direction: column;
  }

  .sticky-cta {
    position: static;
  }
}
