* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --ink: #1e2432;
  --muted: #5a6478;
  --accent: #2f6fed;
  --accent-dark: #2456b8;
  --surface: #f4f6fb;
  --panel: #ffffff;
  --line: #e1e6ef;
  --highlight: #fef2d6;
  --shadow: 0 16px 40px rgba(24, 32, 56, 0.12);
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: var(--surface);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid var(--line);
}

.brand {
  font-weight: 700;
  font-size: 20px;
}

.ad-label {
  font-size: 13px;
  font-weight: 600;
  color: #7a5200;
  background: var(--highlight);
  padding: 6px 10px;
  border-radius: 12px;
  width: fit-content;
}

.nav-toggle {
  background: var(--ink);
  color: #ffffff;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.nav-links a:hover {
  background: #e9eef9;
}

.sidebar-note {
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.content {
  flex: 1;
  padding: 36px clamp(20px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section {
  background: var(--panel);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-slim {
  padding: 20px;
  box-shadow: none;
  border: 1px solid var(--line);
}

.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
}

.section-subtitle {
  font-size: 18px;
  color: var(--muted);
}

.flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.flex-320 {
  flex: 1 1 320px;
}

.flex-280 {
  flex: 1 1 280px;
}

.flex-260 {
  flex: 1 1 260px;
}

.flex-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  flex: 1 1 220px;
  background: var(--panel);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.card h3 {
  font-size: 18px;
}

.price {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-dark);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.cta-button.secondary {
  background: #233047;
}

.link-inline {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}

.media-frame {
  background-color: #e5e9f4;
  border-radius: 18px;
  overflow: hidden;
}

.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-block {
  min-height: 320px;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  position: relative;
  padding: 32px;
  border-radius: 24px;
}

.hero-overlay {
  background: rgba(18, 24, 36, 0.62);
  padding: 24px;
  border-radius: 18px;
  max-width: 520px;
}

.bg-hero-1 {
  background-color: #10243b;
  background-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1400&q=80");
}

.bg-contrast-1 {
  background-color: #1f2d3a;
  background-image: url("https://images.unsplash.com/photo-1454165205744-3b78555e5572?w=1400&q=80");
}

.bg-about-1 {
  background-color: #1d2c3a;
  background-image: url("https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1400&q=80");
}

.bg-services-1 {
  background-color: #1d2c3a;
  background-image: url("https://images.unsplash.com/photo-1507209696998-3c532be9b2b5?w=1400&q=80");
}

.pill {
  background: #e9f1ff;
  color: #1f4ec9;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
}

.form-card {
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

input,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 15px;
}

.testimonial {
  padding: 16px;
  border-left: 4px solid var(--accent);
  background: #f7f9ff;
  border-radius: 12px;
}

.footer {
  padding: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer a {
  color: var(--muted);
  text-decoration: underline;
}

.sticky-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10;
  box-shadow: var(--shadow);
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  max-width: 360px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions button {
  flex: 1 1 120px;
}

.layout.nav-open .nav-links {
  display: flex;
}

@media (max-width: 980px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .nav-links {
    display: none;
  }

  .content {
    padding: 24px;
  }
}
