* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #1f1d1a;
  background: #fbf8f6;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: #2f5b4e;
  text-decoration: none;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #2f5b4e;
  outline-offset: 2px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  padding: 22px 0 16px;
  border-bottom: 1px solid #e6ded7;
  background: #fbf8f6;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a2420;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
}

.ad-label {
  font-size: 0.8rem;
  color: #6b5d54;
  max-width: 240px;
  text-align: right;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  padding: 40px 0 64px;
}

.hero-text {
  flex: 1 1 340px;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  margin-bottom: 18px;
}

.hero-text p {
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.primary-button,
.secondary-button,
.ghost-button {
  border: none;
  padding: 12px 20px;
  font-size: 0.95rem;
  border-radius: 26px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.primary-button {
  background: #2f5b4e;
  color: #fff;
}

.secondary-button {
  background: #e7d9cf;
  color: #2a2420;
}

.ghost-button {
  background: transparent;
  border: 1px solid #2f5b4e;
  color: #2f5b4e;
}

.hero-media {
  flex: 1 1 320px;
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-media .img-frame {
  background: #d9c7bb;
  padding: 18px;
  border-radius: 24px;
  transform: translateY(18px);
  box-shadow: 0 24px 40px rgba(31, 29, 26, 0.12);
}

.hero-media img {
  width: 100%;
  height: 380px;
  border-radius: 18px;
}

.section {
  padding: 64px 0;
}

.section-tight {
  padding: 40px 0;
}

.section-title {
  font-size: 1.8rem;
  margin: 0 0 20px;
}

.offset-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.offset-card {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 18px 32px rgba(31, 29, 26, 0.08);
}

.offset-card:nth-child(2) {
  transform: translateY(18px);
}

.offset-card:nth-child(3) {
  transform: translateY(-12px);
}

.image-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}

.image-inline .img-frame {
  flex: 1 1 300px;
  background: #c8d2cc;
  padding: 14px;
  border-radius: 20px;
}

.image-inline img {
  width: 100%;
  height: 320px;
  border-radius: 16px;
}

.image-inline .text-block {
  flex: 1 1 320px;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.service-card {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(31, 29, 26, 0.08);
  display: flex;
  flex-direction: column;
}

.service-card .img-frame {
  background: #d7cfd1;
}

.service-card img {
  width: 100%;
  height: 180px;
}

.service-card .card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-tag {
  font-weight: 600;
  color: #2f5b4e;
}

.background-panel {
  background-image: url("https://images.unsplash.com/photo-1658492055212-e1acbccfca5a?w=1400&q=80");
  background-size: cover;
  background-position: center;
  background-color: #5c5048;
  color: #fff;
  position: relative;
}

.background-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 28, 26, 0.55);
}

.background-panel .container {
  position: relative;
  z-index: 1;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.testimonial {
  flex: 1 1 240px;
  background: #f4eee9;
  color: #1f1d1a;
  padding: 18px;
  border-radius: 16px;
}

.form-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}

.form-panel {
  flex: 1 1 340px;
  background: #fff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(31, 29, 26, 0.08);
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d7cfc7;
  font-size: 0.95rem;
}

.sticky-cta {
  position: sticky;
  bottom: 16px;
  margin-top: 20px;
  background: #fdf7f1;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(31, 29, 26, 0.12);
}

.footer {
  background: #1f1d1a;
  color: #fdf7f1;
  padding: 40px 0;
}

.footer a {
  color: #e7d9cf;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-block {
  flex: 1 1 240px;
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-banner {
  position: fixed;
  inset: auto 16px 16px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 14px 30px rgba(31, 29, 26, 0.2);
  max-width: 420px;
  display: none;
  z-index: 20;
}

.cookie-banner.visible {
  display: block;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.split-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.split-layout .img-frame {
  flex: 1 1 320px;
  background: #e0d8d1;
  padding: 14px;
  border-radius: 18px;
}

.split-layout img {
  width: 100%;
  height: 300px;
  border-radius: 14px;
}

.simple-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-hero {
  padding: 50px 0 30px;
}

.page-hero h1 {
  margin-bottom: 12px;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.contact-card {
  flex: 1 1 260px;
  background: #fff;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(31, 29, 26, 0.08);
}

.muted {
  color: #6b5d54;
}

.inline-link {
  text-decoration: underline;
}

@media (max-width: 820px) {
  .hero-media .img-frame {
    transform: none;
  }

  .offset-card:nth-child(2),
  .offset-card:nth-child(3) {
    transform: none;
  }

  .ad-label {
    text-align: left;
    max-width: none;
  }
}
