:root {
  --blue: #2e6be4;
  --blue-dark: #245ac9;
  --blue-soft: #5a82d8;
  --orange: #f2913d;
  --orange-dark: #e77f26;
  --navy: #16294d;
  --grey: #64748b;
  --grey-light: #8a97a8;
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --radius: 22px;
  --shadow: 0 18px 45px rgba(22, 41, 77, 0.12);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 22px rgba(242, 145, 61, 0.35);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}
.btn-block { width: 100%; }
.btn-nav { padding: 11px 26px; }

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 41, 77, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-icon { width: 26px; height: 26px; fill: var(--blue); }
.brand-name { font-weight: 700; font-size: 1.35rem; color: var(--navy); letter-spacing: -0.02em; }
.brand-accent { color: var(--navy); }

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.15s, color 0.15s;
}
.main-nav a:hover { color: var(--blue); opacity: 1; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* -------------------- Hero -------------------- */
.hero { padding: 40px 0 0; overflow: hidden; }
.hero-grid {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 540px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-panel {
  background: linear-gradient(150deg, rgba(46, 107, 228, 0.82) 0%, rgba(90, 130, 216, 0.78) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px 50px;
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 28px 0 28px 28px;
  box-shadow: var(--shadow);
}
.hero-panel h1 {
  font-size: 3rem;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-panel p {
  font-size: 1.02rem;
  opacity: 0.92;
  margin-bottom: 30px;
  max-width: 30ch;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* -------------------- Services -------------------- */
.services { padding: 90px 0 80px; text-align: center; }
.section-title {
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  text-align: left;
}
.card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 28px;
}
.card-featured {
  box-shadow: var(--shadow);
  transform: translateY(-14px);
}
.card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 12px; }
.card p { color: var(--grey); font-size: 0.92rem; margin-bottom: 18px; }
.read-more {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.read-more:hover { text-decoration: underline; }

/* -------------------- CTA band -------------------- */
.cta-band {
  position: relative;
  background: var(--blue);
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/cta.jpg") center/cover no-repeat;
  z-index: 0;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(46, 107, 228, 0.88) 0%, rgba(90, 130, 216, 0.8) 100%);
  z-index: 1;
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 24px;
}
.cta-eyebrow { font-size: 0.9rem; opacity: 0.9; margin-bottom: 6px; }
.cta-text h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }

/* -------------------- Recovery -------------------- */
.recovery { padding: 90px 0; }
.recovery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.recovery-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.recovery-text .lead { font-weight: 600; margin-bottom: 16px; }
.recovery-text p { color: var(--grey); font-size: 0.95rem; margin-bottom: 26px; }
.recovery-image { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.recovery-image img { width: 100%; height: 100%; object-fit: cover; }

/* -------------------- Legacy Audit -------------------- */
.audit { position: relative; padding: 70px 0; }
.audit-bg { position: absolute; inset: 0; z-index: 0; }
.audit-bg img { width: 100%; height: 100%; object-fit: cover; }
.audit-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22, 41, 77, 0.12);
}
.audit-inner { position: relative; z-index: 2; display: flex; justify-content: flex-end; }
.audit-card {
  background: linear-gradient(150deg, rgba(46, 107, 228, 0.72) 0%, rgba(90, 130, 216, 0.72) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  border-radius: var(--radius);
  padding: 38px 36px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow);
}
.audit-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.audit-card input,
.audit-card textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  resize: vertical;
}
.audit-card input::placeholder,
.audit-card textarea::placeholder { color: rgba(255, 255, 255, 0.8); }
.audit-card input:focus,
.audit-card textarea:focus { outline: 2px solid #fff; border-color: transparent; }
.form-status { margin-top: 12px; font-size: 0.88rem; min-height: 1.1em; }

/* -------------------- Footer -------------------- */
.site-footer { padding: 64px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.6fr;
  gap: 40px;
}
.footer-col h4 { font-size: 0.98rem; font-weight: 600; margin-bottom: 16px; }
.footer-col a {
  display: block;
  color: var(--grey);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--blue); }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--grey); font-size: 0.9rem; max-width: 34ch; margin-bottom: 16px; }
.socials { display: flex; gap: 14px; }
.socials a { color: var(--blue); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(22, 41, 77, 0.08);
}
.footer-bottom p { color: var(--grey-light); font-size: 0.85rem; }

/* -------------------- Honeypot (spam trap) -------------------- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* -------------------- Cookie banner -------------------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(22, 41, 77, 0.1);
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p {
  flex: 1;
  min-width: 220px;
  margin: 0;
  font-size: 0.86rem;
  color: var(--grey);
}
.cookie-banner a { color: var(--blue); }
.cookie-actions { display: flex; gap: 10px; }
.btn-cookie {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.84rem;
  padding: 10px 22px;
  border-radius: 999px;
}
.btn-cookie.accept { background: var(--orange); color: #fff; }
.btn-cookie.accept:hover { background: var(--orange-dark); }
.btn-cookie.decline {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(22, 41, 77, 0.2);
}

/* -------------------- Responsive -------------------- */
@media (max-width: 900px) {
  .main-nav, .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { min-height: 460px; }
  .hero-panel { max-width: none; margin: 18px; padding: 40px 30px; }
  .hero-panel h1 { font-size: 2.3rem; }
  .cards { grid-template-columns: 1fr; }
  .card-featured { transform: none; }
  .cta-inner { flex-direction: column; text-align: center; }
  .recovery-grid { grid-template-columns: 1fr; gap: 32px; }
  .audit-inner { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.8rem; }
}
