:root {
  --bg: #f4f0e8;
  --paper: #fffaf2;
  --ink: #1f2a37;
  --muted: #5d6b78;
  --accent: #8d4e2f;
  --accent-soft: #c37a55;
  --line: #d8ccba;
  --ok: #2f5b47;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ece4d5 0%, #f9f5ee 42%, #f4f0e8 100%);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
}

.sidebar {
  width: 300px;
  padding: 26px 24px 18px;
  background: #f8f2e7;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ad-label {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #6d3d24;
  background: #f3d9c7;
  border: 1px solid #e7bda0;
  border-radius: 8px;
  padding: 10px 12px;
}

.brand {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}

.tagline {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--paper);
  font-weight: 600;
}

.menu a:hover,
.menu a:focus-visible {
  background: #fdf5ec;
  text-decoration: none;
}

.menu-note {
  margin-top: auto;
  font-size: 0.86rem;
  color: var(--muted);
}

.content {
  flex: 1;
  padding: 24px 34px 110px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.panel {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
}

.panel-inner {
  padding: 24px;
}

.hero {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: stretch;
}

.hero-copy {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-media {
  flex: 1;
  min-height: 360px;
}

.image-shell {
  position: relative;
  background: #d2c4b3;
}

.image-shell img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  background: #724024;
  text-decoration: none;
}

.btn.alt {
  background: transparent;
  color: var(--accent);
}

.btn.alt:hover,
.btn.alt:focus-visible {
  background: #f2e2d2;
}

.row {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: stretch;
}

.row > * {
  flex: 1;
}

.card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card {
  border: 1px solid var(--line);
  background: #fffefb;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
}

.service-card .image-shell {
  width: 220px;
  min-height: 170px;
  flex-shrink: 0;
}

.service-copy {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-copy h3,
.service-copy h2 {
  margin: 0;
}

.price {
  font-weight: 700;
  color: var(--ok);
}

.quote {
  margin: 0;
  border-left: 4px solid #ddbda1;
  padding: 10px 0 10px 14px;
  color: #2f3944;
  line-height: 1.65;
}

.form-wrap {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.form-wrap > * {
  flex: 1;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

label {
  font-weight: 600;
  font-size: 0.94rem;
}

select,
input,
textarea {
  border: 1px solid #c9bda8;
  border-radius: 8px;
  padding: 10px 11px;
  font: inherit;
  background: #fff;
}

select:focus,
input:focus,
textarea:focus,
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid #8f532f;
  outline-offset: 1px;
}

.small {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: #fffdf9;
}

.step strong {
  display: block;
  margin-bottom: 4px;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 16px;
  border: 1px solid #7f482b;
  background: #7f482b;
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  z-index: 20;
}

.sticky-cta:hover,
.sticky-cta:focus-visible {
  background: #643820;
  text-decoration: none;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.legal-links a {
  font-size: 0.9rem;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  max-width: 460px;
  background: #fffaf0;
  border: 1px solid #d3b493;
  border-radius: 12px;
  padding: 14px;
  z-index: 30;
  box-shadow: 0 10px 34px rgba(34, 25, 16, 0.18);
}

.cookie-banner p {
  margin: 0 0 10px;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-actions button {
  flex: 1;
}

footer {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 1080px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .row,
  .form-wrap,
  .service-card {
    flex-direction: column;
  }

  .service-card .image-shell {
    width: 100%;
    min-height: 210px;
  }
}
