*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #1f1a17;
  --muted: #5a514c;
  --wood: #b9825c;
  --pine: #e7d2c1;
  --coal: #2b2522;
  --mist: #f5f1ee;
  --sand: #f2e6d8;
  --accent: #5e7a69;
  --accent-dark: #365142;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--mist);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.top-bar {
  padding: 24px 6vw 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand h1,
.brand h2 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-label {
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--sand);
  padding: 6px 10px;
  border-radius: 12px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.nav a {
  padding: 6px 10px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.2s ease;
}

.nav a:hover,
.nav a:focus {
  background: var(--pine);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 6vw 72px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 320px;
  background-color: var(--sand);
  background-image: url("https://images.unsplash.com/photo-1489515217757-5fd1be406fef?w=1400&q=80");
  background-size: cover;
  background-position: center;
  border-radius: 32px;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 40px 36px;
  background: rgba(245, 241, 238, 0.92);
  max-width: 640px;
  border-radius: 24px;
  margin-top: 140px;
  box-shadow: 0 18px 40px rgba(32, 26, 21, 0.18);
}

.hero h1 {
  margin: 0;
  font-size: 2.4rem;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  border: none;
  padding: 12px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--pine);
  color: var(--coal);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--sand);
  transform: translateY(-1px);
}

.layout {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding: 0 6vw 90px;
}

.offset-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  padding: 28px;
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(31, 26, 23, 0.12);
}

.offset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

.offset-row.reverse {
  flex-direction: row-reverse;
}

.offset-card {
  flex: 1 1 320px;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 12px 28px rgba(31, 26, 23, 0.1);
}

.offset-card img {
  border-radius: 18px;
  width: 100%;
  height: 200px;
  background: var(--pine);
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.service-card {
  flex: 1 1 240px;
  background: var(--mist);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #eee0d5;
}

.service-card img {
  width: 100%;
  height: 160px;
  border-radius: 16px;
  background: var(--sand);
}

.service-price {
  font-weight: 700;
  color: var(--accent-dark);
}

.floating-panel {
  align-self: flex-start;
  background: var(--coal);
  color: #fff;
  padding: 18px 20px;
  border-radius: 18px;
  position: sticky;
  top: 24px;
  max-width: 260px;
}

.floating-panel .btn {
  width: 100%;
  margin-top: 12px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-step {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  padding: 16px;
  border-radius: 16px;
}

.process-step span {
  font-weight: 700;
  color: var(--accent-dark);
}

.image-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.image-strip img {
  flex: 1 1 260px;
  height: 220px;
  border-radius: 20px;
  background: var(--pine);
}

.form-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

form {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  padding: 24px;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(31, 26, 23, 0.1);
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d9cbbf;
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  min-height: 120px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-item {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--mist);
  padding: 10px 12px;
  border-radius: 14px;
}

.radio-item input {
  margin: 0;
}

.notice {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer {
  margin-top: auto;
  background: #fff;
  padding: 32px 6vw;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid #efe4d9;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-hero {
  padding: 36px 6vw 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-hero img {
  width: 100%;
  height: 220px;
  border-radius: 22px;
  background: var(--sand);
}

.content-block {
  padding: 0 6vw 60px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.policy-section {
  background: #fff;
  padding: 20px;
  border-radius: 18px;
}

.cookie-banner {
  position: fixed;
  inset: auto 20px 20px 20px;
  background: #fff;
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 26px rgba(31, 26, 23, 0.16);
  z-index: 10;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hidden {
  display: none !important;
}

@media (min-width: 900px) {
  .hero {
    flex-direction: row;
    align-items: flex-start;
  }

  .hero::before {
    height: 420px;
  }

  .hero-inner {
    margin-top: 200px;
  }

  .layout {
    padding: 0 8vw 110px;
  }
}
