:root {
  --blue-950: #091831;
  --blue-900: #0d2544;
  --blue-700: #1a4b7e;
  --blue-500: #2b7bc1;
  --blue-200: #e8f1fb;
  --gray-50: #f8f9fb;
  --gray-100: #f1f3f7;
  --gray-200: #dbe1ea;
  --gray-500: #636f81;
  --white: #ffffff;
  --text: #132033;
  --shadow-soft: 0 20px 50px rgba(6, 20, 41, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(circle at top, rgba(32, 83, 162, 0.12), transparent 45%), var(--gray-50);
  color: var(--text);
  line-height: 1.65;
}

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--blue-700);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--blue-500);
}

.shell {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(13, 37, 68, 0.08);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.5rem;
}

.brand a {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 52px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

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

.main-nav a {
  color: var(--blue-900);
  position: relative;
  padding-bottom: 0.2rem;
}

.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
  border-radius: 999px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(120deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 10px 20px rgba(26, 75, 126, 0.2);
}

.btn-cta:hover,
.btn-cta:focus-visible {
  box-shadow: 0 12px 28px rgba(26, 75, 126, 0.28);
}

.lang-dropdown {
  position: relative;
}

.lang-toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 37, 68, 0.12);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 20px rgba(9, 24, 49, 0.08);
  font-weight: 600;
  cursor: pointer;
  color: var(--blue-900);
}

.lang-toggle::-webkit-details-marker {
  display: none;
}

.lang-toggle:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

.lang-dropdown[open] .lang-toggle {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(232, 241, 251, 0.95));
  border-color: rgba(13, 37, 68, 0.25);
  box-shadow: 0 14px 30px rgba(9, 24, 49, 0.18);
}

.lang-code {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 180px;
  margin: 0;
  padding: 0.75rem 0.5rem;
  list-style: none;
  border-radius: 18px;
  border: 1px solid rgba(13, 37, 68, 0.08);
  background: var(--white);
  box-shadow: 0 20px 45px rgba(9, 24, 49, 0.18);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 12;
}

.lang-dropdown:not([open]) .lang-menu {
  pointer-events: none;
  opacity: 0;
  transform: translateY(-6px);
}

.lang-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  font-weight: 600;
  color: var(--blue-900);
}

.lang-menu a[aria-current="true"] {
  background: var(--blue-200);
  color: var(--blue-700);
}

.lang-menu a:hover,
.lang-menu a:focus-visible {
  background: rgba(43, 123, 193, 0.12);
}

.page {
  flex: 1;
  padding: 3rem 0 4rem;
}

.page-shell {
  width: min(1100px, 92%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.hero {
  padding: 3rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(43, 123, 193, 0.35), transparent 55%),
    linear-gradient(120deg, rgba(9, 24, 49, 0.75), rgba(26, 75, 126, 0.95)),
    url("/img/hero-grid.svg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.hero h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.2;
}

.hero-subtitle {
  margin: 0 0 1.75rem;
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 720px;
}

.hero .cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-900);
  font-weight: 600;
}

.page-header {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--blue-900);
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--gray-500);
}

.lead {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 720px;
}

.page-panel,
.content-card {
  background: var(--white);
  border-radius: 24px;
  padding: 2.4rem;
  box-shadow: var(--shadow-soft);
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0.35rem 0;
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  color: var(--blue-900);
}

.metrics-section,
.testimonials-section {
  background: var(--white);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}

.map-section {
  margin-top: 2.5rem;
  background: var(--white);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.map-section h2 {
  margin-top: 0;
  color: var(--blue-900);
}

.map-section p {
  margin: 0.5rem 0 1.25rem;
}

.map-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(13, 37, 68, 0.08);
  box-shadow: 0 16px 30px rgba(9, 24, 49, 0.12);
}

.map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 18px;
}

.metrics-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.metric-card,
.testimonial-card {
  border: 1px solid rgba(13, 37, 68, 0.08);
  border-radius: 20px;
  padding: 1.75rem;
  background: linear-gradient(180deg, rgba(232, 241, 251, 0.45), rgba(255, 255, 255, 0.9));
  min-height: 180px;
}

.metric-value {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--blue-700);
}

.metric-card h3 {
  margin: 0.5rem 0;
  color: var(--blue-900);
}

.metric-card p {
  margin: 0;
  color: var(--gray-500);
}

.testimonial-card {
  background: var(--white);
  box-shadow: 0 16px 40px rgba(9, 24, 49, 0.08);
}

.testimonial-card .quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--blue-900);
}

.testimonial-card .author {
  margin: 1rem 0 0;
  font-weight: 600;
  color: var(--blue-700);
}

.testimonial-card .role {
  margin: 0.25rem 0 0;
  color: var(--gray-500);
  font-size: 0.95rem;
}

.form-card {
  background: var(--white);
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: var(--shadow-soft);
  margin-top: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  color: var(--blue-900);
  gap: 0.4rem;
}

.form-grid label.full {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  border: 1px solid rgba(13, 37, 68, 0.15);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}

.form-grid textarea {
  resize: vertical;
}

.form-card button {
  margin-top: 1.5rem;
  border: none;
  background: linear-gradient(120deg, var(--blue-700), var(--blue-500));
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.8rem 1.8rem;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(9, 24, 49, 0.2);
}

.form-card button:hover,
.form-card button:focus-visible {
  box-shadow: 0 16px 36px rgba(9, 24, 49, 0.28);
}

.rich-text > *:first-child {
  margin-top: 0;
}

.rich-text h2,
.rich-text h3 {
  color: var(--blue-900);
  margin-top: 2.2rem;
  margin-bottom: 0.75rem;
}

.rich-text p {
  margin-top: 0.75rem;
  color: var(--text);
}

.rich-text ul {
  padding-left: 1.1rem;
  margin: 1rem 0;
}

.rich-text li {
  margin-bottom: 0.35rem;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.info-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.6rem;
  border: 1px solid rgba(13, 37, 68, 0.08);
  box-shadow: 0 18px 40px rgba(9, 24, 49, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(9, 24, 49, 0.14);
}

.info-card h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: 1.2rem;
}

.info-card p {
  margin: 0;
  color: var(--gray-500);
}

.site-footer {
  border-top: 1px solid rgba(13, 37, 68, 0.08);
  padding: 1.5rem 0;
  color: var(--gray-500);
  font-size: 0.95rem;
  background: var(--white);
}

.site-footer .footer-shell {
  width: min(1100px, 92%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

.site-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.site-footer nav a {
  color: var(--blue-700);
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(640px, 92%);
  background: rgba(9, 24, 49, 0.95);
  color: #fff;
  padding: 1.1rem 1.4rem;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(9, 24, 49, 0.4);
  display: none;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  z-index: 30;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--blue-200);
  text-decoration: underline;
}

.cookie-banner button {
  border: none;
  background: #fff;
  color: var(--blue-900);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.55rem 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.25);
}

@media (max-width: 960px) {
  .nav-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero {
    padding: 2.5rem;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-cta {
    width: 100%;
    justify-content: center;
  }

  .switcher-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-panel,
  .content-card {
    padding: 1.8rem;
  }

  .hero,
  .metrics-section,
  .testimonials-section,
  .form-card {
    padding: 2rem;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

