:root {
  --ink: #1f2430;
  --soft-ink: #3d4658;
  --paper: #f5f7fb;
  --white: #ffffff;
  --line: #d6dce7;
  --accent: #2849a8;
  --accent-dark: #1b347a;
  --ok: #0d7a57;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: var(--accent);
}

.site-shell {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.sidebar {
  width: 320px;
  background: #e9eef8;
  border-right: 1px solid var(--line);
  padding: 26px 22px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ad-label {
  margin: 0 0 18px;
  font-size: 0.85rem;
  color: #7a2338;
  background: #f5dce2;
  border: 1px solid #e3b7c2;
  padding: 10px;
}

.brand-block h1 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.brand-block p {
  margin: 0;
  color: var(--soft-ink);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-nav a {
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 9px 10px;
}

.sidebar-nav a:hover,
.sidebar-nav a:focus {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.content {
  flex: 1;
  padding: 30px 34px 60px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.panel {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-panel {
  align-items: center;
}

.contrast-panel {
  background: #f0f4fa;
}

.testimonials-panel,
.form-panel {
  flex-direction: column;
}

.testimonials-panel {
  background-image: linear-gradient(rgba(246, 248, 255, 0.94), rgba(246, 248, 255, 0.94)), url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.services-panel {
  flex-direction: column;
  background: #edf2ff;
}

.process-panel {
  background: #f8f6f1;
}

.panel h2 {
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.3;
}

.panel-text {
  flex: 1;
}

.image-wrap {
  margin: 0;
  background-color: #dce4f2;
  overflow: hidden;
  display: flex;
}

.image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-panel .image-wrap {
  flex: 0 0 48%;
  min-height: 300px;
}

.contrast-panel .image-wrap,
.process-panel .image-wrap {
  flex: 0 0 42%;
  min-height: 250px;
}

.cards-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.quote-card {
  flex: 1 1 200px;
  background: #f7f9ff;
  border: 1px solid var(--line);
  padding: 14px;
}

.quote-card p {
  margin-top: 0;
}

.quote-card span {
  color: var(--soft-ink);
  font-size: 0.95rem;
}

.service-card {
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  border: 1px solid #c8d2ee;
  background: var(--white);
}

.service-card h3,
.service-card p {
  margin: 10px 12px 0;
}

.service-card .image-wrap {
  min-height: 170px;
  background-color: #d7deec;
}

.price {
  margin: 8px 12px 14px;
  font-weight: 700;
  color: var(--ok);
}

ol {
  margin-bottom: 20px;
  padding-left: 18px;
}

.inline-link {
  font-weight: 700;
}

.section-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--accent);
  color: var(--white);
  padding: 10px 14px;
  border: 1px solid var(--accent-dark);
}

.section-cta.alt {
  background: #4a3f87;
  border-color: #32295f;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 530px;
}

.lead-form input,
.lead-form select {
  border: 1px solid #adb7cb;
  padding: 10px;
  font-size: 1rem;
  background: #ffffff;
}

.lead-form button,
.cookie-actions button {
  border: 1px solid #1f2c55;
  background: #2d3f7c;
  color: #ffffff;
  padding: 10px 14px;
  cursor: pointer;
}

.lead-form button:hover,
.lead-form button:focus,
.cookie-actions button:hover,
.cookie-actions button:focus {
  background: #1f2c55;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #eef2fa;
  border: 1px solid var(--line);
  padding: 18px;
}

.site-footer p {
  margin: 0;
}

.disclaimer {
  color: #4e596f;
}

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  text-decoration: none;
  background: #0f7c5a;
  color: #ffffff;
  padding: 12px 15px;
  border: 1px solid #0a5941;
}

.sticky-cta:hover,
.sticky-cta:focus {
  background: #0a5f45;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  bottom: 18px;
  max-width: 430px;
  background: #10213f;
  color: #ffffff;
  border: 1px solid #334f8f;
  padding: 14px;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  margin-top: 0;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-actions a {
  color: #d5e4ff;
}

.legal-content {
  max-width: 980px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-content section {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 16px;
}

.fallback-slate {
  background-color: #c7d1e4;
}

.fallback-mist {
  background-color: #d6dee9;
}

.fallback-sand {
  background-color: #ddd7cd;
}

.fallback-deep {
  background-color: #bcc7d8;
}

@media (max-width: 1024px) {
  .site-shell {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-panel,
  .contrast-panel,
  .process-panel {
    flex-direction: column;
  }

  .hero-panel .image-wrap,
  .contrast-panel .image-wrap,
  .process-panel .image-wrap {
    min-height: 210px;
    flex: none;
  }
}
