:root {
  --color-primary: #1c4d8c;
  --color-primary-dark: #173f72;
  --color-accent: #f2b705;
  --color-background: #f4f6fb;
  --color-text: #1f2933;
  --color-muted: #6b7280;
  --font-sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-script: 'Georgia', 'Times New Roman', serif;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: #ffffff;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
 a:focus {
  color: var(--color-primary);
}

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

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.container.narrow {
  max-width: 720px;
}

.flow > * + * {
  margin-top: 2rem;
}

.flow > * + * {
  margin-top: 2rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: inherit;
  text-decoration: none;
}

.logo span {
  line-height: 1;
}

.logo-image {
  height: 40px;
  width: auto;
  display: block;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav a {
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

.nav a:hover::after,
.nav a:focus::after,
.nav a.is-active::after {
  background-color: var(--color-primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.25rem;
  flex-direction: column;
  gap: 0.3rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background-color: var(--color-text);
}

.hero {
  padding: 4rem 0 3rem;
  background: radial-gradient(circle at 20% 20%, rgba(28, 77, 140, 0.1), transparent 60%), var(--color-background);
}

.hero .container {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--color-primary);
}

.card-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.card-link:hover::after,
.card-link:focus::after {
  transform: translateX(3px);
}

.hero-visual .card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 14px 18px 42px rgba(28, 77, 140, 0.2);
  max-width: 20rem;
}

.hero-visual .card-header {
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.hero-visual .metric {
  font-size: 2rem;
  color: var(--color-primary);
  margin: 0;
}

.hero-visual .subtext {
  margin: 0.5rem 0 0;
  color: var(--color-muted);
}

.section {
  padding: 4rem 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 40rem;
  color: var(--color-muted);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.cookie-table th,
.cookie-table td {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(15, 33, 57, 0.1);
  text-align: left;
}

.cookie-table thead {
  background-color: rgba(15, 33, 57, 0.05);
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.service-overview {
  display: grid;
  gap: 1.75rem;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.service-item {
  text-align: center;
}

.service-item h3 {
  margin: 0;
}

.services-cta {
  text-align: center;
}

.service-cta {
  background: linear-gradient(145deg, rgba(28, 77, 140, 0.1), rgba(28, 77, 140, 0.02));
  border-radius: 1rem;
  padding: 2.25rem;
  text-align: center;
  box-shadow: 12px 18px 42px rgba(28, 77, 140, 0.12);
}

.service-cta h2 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
}

.service-cta p {
  margin: 0 0 1.5rem;
}

.sitemap {
  display: grid;
  gap: 2.5rem;
}

.sitemap-header {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
}

.sitemap-header p {
  color: var(--color-muted);
}

.sitemap-groups {
  display: grid;
  gap: 1.75rem;
}

.sitemap-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 14px 20px 42px rgba(28, 77, 140, 0.12);
  border: 1px solid rgba(28, 77, 140, 0.08);
}

.sitemap-card h2 {
  margin-top: 0;
}

.sitemap-card ul {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.sitemap-card a {
  font-weight: 600;
  color: var(--color-primary);
}

.sitemap-card a::after {
  content: ' →';
  transition: transform 0.2s ease;
}

.sitemap-card a:hover::after,
.sitemap-card a:focus::after {
  transform: translateX(4px);
}

.sitemap-cta {
  background: linear-gradient(145deg, var(--color-primary), var(--color-primary-dark));
  color: #ffffff;
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 18px 28px 55px rgba(28, 77, 140, 0.2);
}

.sitemap-cta h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.sitemap-cta p {
  margin-bottom: 1.5rem;
}

.card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 14px 22px 44px rgba(28, 77, 140, 0.16);
}

.card h3 {
  margin-top: 0;
}

.two-column {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.highlight {
  background: linear-gradient(145deg, var(--color-primary), var(--color-primary-dark));
  color: #ffffff;
  padding: 2.5rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 18px 26px 55px rgba(28, 77, 140, 0.22);
}

.stat {
  font-size: 3rem;
  margin: 0;
  font-weight: 700;
}

.stat-text {
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1rem;
}

.feature-list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.testimonials blockquote {
  margin: 0 0 1rem;
  font-style: italic;
}

.cta-card {
  background: linear-gradient(145deg, var(--color-primary), var(--color-primary-dark));
  color: #ffffff;
  padding: 2.5rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 20px 30px 60px rgba(28, 77, 140, 0.24);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.85);
  color: #ffffff;
  background-color: transparent;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background-color: #ffffff;
  color: var(--color-primary-dark);
  border-color: #ffffff;
}

.site-footer {
  background-color: #0f2139;
  color: rgba(255, 255, 255, 0.8);
  padding: 1.5rem 0;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-tagline {
  margin: 0;
  font-family: var(--font-script);
  font-weight: 600;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-title {
  margin: 0;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  overflow-wrap: anywhere;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-copy {
  margin: 0;
}

.footer-link--underline {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-sitemap {
  font-weight: 600;
}

@media (min-width: 900px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.contact-hero {
  padding: 5rem 0 3rem;
  background: var(--color-background);
}

.contact-hero h1 {
  margin-bottom: 1rem;
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.contact-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 16px 24px 48px rgba(28, 77, 140, 0.16);
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-details li + li {
  margin-top: 1rem;
}

.contact-details strong {
  display: block;
  color: var(--color-muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(28, 77, 140, 0.15);
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 900px) {
  .site-header .container {
    flex-wrap: wrap;
  }

  .logo-image {
    height: 32px;
  }

  .nav {
    display: none;
    width: 100%;
    order: 3;
  }

  .nav.open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
    order: 2;
  }

  .logo {
    order: 1;
    flex: 1;
  }

  .hero .container {
    text-align: center;
  }

  .hero p {
    margin-inline: auto;
  }

  .hero-visual {
    justify-self: center;
  }

  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .cta-card {
    padding: 2rem;
  }
}

@media (min-width: 700px) {
  .hero .container {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-cta {
    padding: 2.75rem;
    display: grid;
    gap: 1.5rem;
    justify-items: center;
  }

  .sitemap-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .testimonials .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (min-width: 1024px) {
  .services .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
