:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-alt: #e9f0f8;
  --ink: #1b2a3a;
  --muted: #4f6378;
  --line: #cfd9e4;
  --brand: #1f5d8f;
  --brand-soft: #2f77b1;
  --accent: #0e8a6a;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(17, 40, 64, 0.09);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-soft);
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.global-header {
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 0;
}

.ad-label {
  background: #dce9f7;
  color: #143a5a;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-link {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
  font-size: 1.05rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: #e8f2fb;
  color: #123f65;
}

.stack-section {
  padding: 64px 0;
}

.stack-section.alt {
  background: var(--surface-alt);
}

.stack-section.deep {
  background: #d7e6f5;
}

.section-bg-insight {
  background-image:
    linear-gradient(rgba(215, 230, 245, 0.93), rgba(215, 230, 245, 0.93)),
    url("https://images.unsplash.com/photo-1507679799987-c73779587ccf?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.section-bg-pricing {
  background-image:
    linear-gradient(rgba(215, 230, 245, 0.9), rgba(215, 230, 245, 0.9)),
    url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.hero-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: stretch;
}

.hero-copy,
.hero-media {
  flex: 1 1 380px;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 18px;
}

.hero-copy p {
  font-size: 1.06rem;
  margin: 0 0 16px;
}

.hero-media {
  background: #bed2e6;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
}

.hero-media img {
  height: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--brand-soft);
  color: #ffffff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}

.btn-secondary:hover {
  border-color: var(--brand-soft);
  color: var(--brand-soft);
}

.content-split {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
}

.content-split.reverse {
  flex-direction: row-reverse;
}

.content-text,
.content-media {
  flex: 1 1 340px;
}

.content-media {
  background: #d4e4f2;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 290px;
}

.content-media img {
  height: 100%;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

.panel h2,
.panel h3 {
  margin-top: 0;
  line-height: 1.25;
}

.check-list {
  margin: 0;
  padding-left: 20px;
}

.check-list li {
  margin-bottom: 8px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}

.service-card-media {
  flex: 1 1 280px;
  min-height: 220px;
  background: #d4e4f2;
}

.service-card-media img {
  height: 100%;
}

.service-card-body {
  flex: 2 1 420px;
  padding: 22px 24px;
}

.price-tag {
  display: inline-flex;
  padding: 6px 12px;
  background: #e6f8f2;
  color: #0a5f49;
  border-radius: 999px;
  font-weight: 700;
  margin-top: 8px;
}

.quote-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.quote {
  flex: 1 1 260px;
  background: #ffffff;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 16px 18px;
}

.form-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.form-copy,
.lead-form {
  flex: 1 1 320px;
}

.lead-form {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  font-weight: 600;
}

.lead-form input,
.lead-form select {
  border: 1px solid #b7c7d8;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
}

.lead-form button {
  cursor: pointer;
}

.sticky-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 15;
}

.sticky-cta a {
  display: inline-flex;
  padding: 12px 16px;
  border-radius: 999px;
  background: #0f7f62;
  color: #ffffff;
  box-shadow: 0 12px 22px rgba(7, 64, 49, 0.26);
  font-weight: 700;
}

.sticky-cta a:hover {
  background: #0b6a52;
}

.legal-shell {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

.legal-shell h1 {
  margin-top: 0;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 25;
  background: #0f1f30;
  color: #eaf3fd;
  border-radius: 14px;
  padding: 16px;
  display: none;
}

.cookie-banner.is-visible {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner p {
  margin: 0;
  max-width: 760px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-accept {
  background: #37a27d;
  color: #ffffff;
}

.cookie-reject {
  background: #35495f;
  color: #ffffff;
}

.global-footer {
  margin-top: 58px;
  background: #11263b;
  color: #d9e6f3;
  padding: 34px 0 30px;
}

.gf-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.gf-col {
  flex: 1 1 230px;
}

.gf-col h3 {
  margin-top: 0;
  color: #f2f7fd;
}

.gf-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gf-nav a {
  color: #d9e6f3;
}

.gf-nav a:hover {
  color: #ffffff;
}

.gf-meta {
  margin-top: 20px;
  border-top: 1px solid #35506b;
  padding-top: 14px;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }

  .header-bar {
    flex-wrap: wrap;
  }

  .main-nav.is-open {
    display: flex;
  }

  .sticky-cta {
    right: 14px;
    bottom: 14px;
  }
}
