:root {
  color-scheme: light;
  --bg: #f7f6f3;
  --ink: #1b1b1b;
  --muted: #4e4f53;
  --accent: #2f5d62;
  --accent-soft: #dbe4e1;
  --card: #ffffff;
  --line: #d6d8db;
  --warning: #d18b38;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  padding: 32px 24px;
  background: #ffffff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand h1 {
  font-size: 20px;
  margin: 0;
  letter-spacing: 1px;
  text-transform: lowercase;
}

.ad-label {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  font-size: 14px;
  color: var(--muted);
}

.nav a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.sidebar-note {
  font-size: 13px;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 48px 80px;
}

.section {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.section.reverse {
  flex-direction: row-reverse;
}

.section.block {
  flex-direction: column;
  align-items: flex-start;
}

.hero {
  background: url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?w=1400&q=80") center/cover no-repeat;
  background-color: #25363a;
  border-radius: 24px;
  padding: 64px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 27, 27, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h2 {
  font-size: 36px;
  margin: 0 0 16px;
}

.hero p {
  margin: 0 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.button.secondary {
  background: #ffffff;
  color: var(--accent);
}

.inline-link {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  display: inline-block;
}

.split-card {
  background: var(--card);
  border-radius: 20px;
  padding: 28px;
  flex: 1;
  min-width: 260px;
  border: 1px solid var(--line);
}

.metrics {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.metric {
  background: var(--accent-soft);
  padding: 16px 20px;
  border-radius: 16px;
  min-width: 160px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--line);
  flex-wrap: wrap;
}

.service-item img {
  border-radius: 12px;
  width: 140px;
  height: 90px;
  background-color: #e8eaee;
}

.form-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-card label {
  font-size: 13px;
  color: var(--muted);
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 14px;
}

.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-row > div {
  flex: 1;
  min-width: 200px;
}

.background-panel {
  background: url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?w=1400&q=80") center/cover no-repeat;
  background-color: #2f5d62;
  border-radius: 24px;
  padding: 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.background-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(47, 93, 98, 0.55);
}

.background-panel > * {
  position: relative;
  z-index: 1;
}

.image-frame {
  background-color: #e8eaee;
  border-radius: 18px;
  overflow: hidden;
}

.footer {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
}

.sticky-cta a {
  background: var(--warning);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  max-width: 320px;
  z-index: 30;
  display: none;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-actions button {
  flex: 1;
}

.hero-panel {
  background-color: #25363a;
}

.page-hero {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--line);
}

.page-hero img {
  width: 280px;
  height: 190px;
  border-radius: 16px;
}

.legal {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--line);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--line);
}

@media (max-width: 960px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  main {
    padding: 32px 20px 100px;
  }

  .sticky-cta {
    right: 16px;
    bottom: 16px;
  }
}
