:root {
  --bg: #f3f5f7;
  --surface: #ffffff;
  --surface-alt: #e8eef3;
  --ink: #1b2838;
  --muted: #4f6377;
  --accent: #1f6fb2;
  --accent-soft: #d9e8f5;
  --line: #c7d3de;
  --ok: #1f7a5b;
  --warn: #946200;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-shell {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.global-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 245, 247, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.global-header-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 0 16px;
}

.ad-label {
  align-self: flex-start;
  background: var(--accent-soft);
  color: #174f7e;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.main-nav a {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--accent-soft);
  border-color: #9bbfdc;
  text-decoration: none;
}

main {
  padding: 26px 0 46px;
}

.stack-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stack-section.alt {
  background: var(--surface-alt);
}

.split-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.split-row > * {
  flex: 1 1 280px;
}

.media-frame {
  background: #d6e0ea;
  border-radius: 16px;
  overflow: hidden;
  min-height: 250px;
}

.media-frame.tall {
  min-height: 350px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0;
}

h1 {
  font-size: clamp(1.95rem, 3.7vw, 3rem);
}

h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
  color: var(--ink);
}

.muted {
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #185b92;
  padding: 11px 16px;
  font-weight: 700;
  cursor: pointer;
}

.btn.primary {
  background: var(--accent);
  color: #ffffff;
}

.btn.secondary {
  background: #ffffff;
  color: var(--accent);
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.price-tag {
  font-weight: 800;
  color: #0d3f68;
}

.service-card ul {
  margin: 0;
  padding-left: 20px;
}

.testimonial {
  border-left: 4px solid #8db4d6;
  padding-left: 14px;
}

.inline-link {
  font-weight: 700;
}

.form-wrap {
  background: #f9fcff;
  border: 1px solid #b8cde0;
  border-radius: 16px;
  padding: 18px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 600;
  color: #17344f;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #9db4c8;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #a6c7e3;
  outline-offset: 1px;
}

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 35;
}

.sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #114a77;
  color: #ffffff;
  border-radius: 999px;
  border: 1px solid #0d3d62;
  padding: 12px 15px;
  font-weight: 700;
}

.sticky-cta a:hover {
  text-decoration: none;
  filter: brightness(1.07);
}

.legal-content h2 {
  margin-top: 20px;
}

.thanks-box {
  border: 1px solid #99b8d2;
  border-radius: 16px;
  background: #f7fbff;
  padding: 18px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  width: min(760px, 92%);
  background: #10263b;
  color: #ffffff;
  border-radius: 14px;
  padding: 14px;
  z-index: 50;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  border-radius: 9px;
  border: 1px solid #7ea3c2;
  padding: 9px 11px;
  cursor: pointer;
  font-weight: 700;
}

.cookie-accept {
  background: #2b7bb8;
  color: #ffffff;
}

.cookie-reject {
  background: #ffffff;
  color: #16334d;
}

.ft-page-block {
  margin-bottom: 14px;
  border: 1px solid #9eb7ca;
  border-radius: 12px;
  padding: 14px;
  background: #e5eef6;
}

.ft-global {
  background: #0f2131;
  color: #d9e3ec;
  margin-top: 30px;
}

.ft-global a {
  color: #d9e3ec;
}

.ft-shell {
  width: min(1140px, 92%);
  margin: 0 auto;
  padding: 22px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ft-brand {
  font-size: 1.2rem;
  font-weight: 800;
}

.ft-top {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

.ft-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ft-note {
  color: #c8d8e7;
  font-size: 0.95rem;
}

.ft-copy {
  border-top: 1px solid #264761;
  padding-top: 10px;
  font-size: 0.9rem;
  color: #bcd0df;
}

@media (max-width: 760px) {
  .brand-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .sticky-cta {
    right: 10px;
    bottom: 10px;
  }
}
