/* Base */
:root {
  --ink: #1d242b;
  --muted: #4a5562;
  --paper: #f6f4ef;
  --accent: #2358d5;
  --accent-dark: #1a3f96;
  --soft: #e9eef5;
  --warm: #f0e8df;
  --line: #d6dce4;
  --success: #1f7a52;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

header {
  padding: 24px 0 12px;
}

.nav-split {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.ad-label {
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

nav a {
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: 8px;
}

nav a:hover,
nav a:focus {
  background: var(--soft);
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
  margin: 48px 0;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split > * {
  flex: 1 1 320px;
}

.panel {
  background: #fff;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.panel-soft {
  background: var(--soft);
  border-radius: 18px;
  padding: 28px;
}

.panel-warm {
  background: var(--warm);
  border-radius: 18px;
  padding: 28px;
}

.hero-media,
.image-box {
  border-radius: 18px;
  overflow: hidden;
  background-color: #d9e2ec;
  min-height: 320px;
  border: 1px solid var(--line);
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1400&q=80");
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  background: rgba(15, 20, 25, 0.35);
  position: absolute;
  inset: 0;
}

.hero-media-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  padding: 24px;
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: 1px solid var(--accent);
}

.btn.secondary {
  background: #fff;
  color: var(--accent-dark);
}

.btn:hover,
.btn:focus {
  background: var(--accent-dark);
  color: #fff;
}

.btn.secondary:hover,
.btn.secondary:focus {
  background: var(--soft);
  color: var(--accent-dark);
}

.pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.85rem;
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  align-items: center;
}

.service-card .thumb {
  width: 110px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #dbe4ee;
  flex-shrink: 0;
}

.service-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.price {
  font-weight: 700;
  color: var(--accent-dark);
}

.metrics {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.metric {
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.cta-band {
  background-image: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1400&q=80");
  background-size: cover;
  background-position: center;
  padding: 36px;
  border-radius: 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 24, 36, 0.55);
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.inline-link {
  color: var(--accent-dark);
  text-decoration: underline;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 1rem;
  font-family: inherit;
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.sticky-cta {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

.sticky-cta span {
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 16px;
  width: min(360px, 90vw);
  z-index: 120;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.cookie-actions button {
  flex: 1;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}

.cookie-actions button.primary {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}

.cookie-actions button:hover,
.cookie-actions button:focus {
  background: var(--soft);
}

.cookie-actions button.primary:hover,
.cookie-actions button.primary:focus {
  background: #166343;
}

footer {
  padding: 32px 0 80px;
  border-top: 1px solid var(--line);
  margin-top: 48px;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-split {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.plain-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.plain-list li {
  margin-bottom: 8px;
}

.background-panel {
  background-image: url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?w=1400&q=80");
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  padding: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.background-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 40, 0.5);
}

.background-panel > * {
  position: relative;
  z-index: 1;
}

.muted {
  color: var(--muted);
}

.section-title {
  margin-top: 0;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.contact-card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.legal-table {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legal-table div {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.notice {
  background: #fff;
  border: 1px dashed var(--line);
  padding: 16px;
  border-radius: 12px;
}

@media (max-width: 720px) {
  .sticky-cta {
    right: 12px;
    left: 12px;
    justify-content: space-between;
  }
  .cookie-banner {
    left: 12px;
    right: 12px;
  }
}
