﻿:root {
  --medikus-blue: #0f77c8;
  --medikus-blue-dark: #0a5fa0;
  --medikus-teal: #12b7c5;
  --medikus-red: #d92626;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --bg: #f5f8fc;
  --white: #ffffff;
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(18, 183, 197, 0.12), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

a {
  color: var(--medikus-blue);
  text-decoration: none;
}

a:hover {
  color: var(--medikus-blue-dark);
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.navbar-brand img {
  height: 42px;
  width: auto;
}

.navbar-brand span {
  display: block;
  line-height: 1.1;
}

.navbar-brand small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link {
  color: var(--ink-soft);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.7rem 0.95rem !important;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--medikus-blue);
  background: rgba(15, 119, 200, 0.08);
}

.dropdown-menu {
  border: 0;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 0.75rem;
}

.dropdown-item {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.7rem 0.9rem;
}

.dropdown-item:hover,
.dropdown-item.active {
  background: rgba(15, 119, 200, 0.08);
  color: var(--medikus-blue);
}

.lang-switch {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: #fff;
}

.lang-switch button {
  border: 0;
  background: transparent;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.lang-switch button.active {
  background: linear-gradient(135deg, var(--medikus-blue), var(--medikus-teal));
  color: #fff;
  box-shadow: 0 10px 30px rgba(15, 119, 200, 0.2);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 20, 40, 0.85), rgba(10, 20, 40, 0.35));
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-inner,
.section-shell,
.footer-shell {
  position: relative;
  z-index: 1;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.kicker-dark {
  color: var(--medikus-blue-dark);
  background: rgba(15, 119, 200, 0.08);
  border-color: rgba(15, 119, 200, 0.12);
}

.hero h1,
.hero p,
.hero .lead,
.hero .text-white-soft {
  color: #fff;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.05;
  margin-top: 1.3rem;
}

.hero p.lead {
  max-width: 52rem;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.125rem;
}

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

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}

.hero-card .stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.hero-card .stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.btn-brand,
.btn-brand-outline,
.btn-brand-red {
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  border-width: 0;
}

.btn-brand {
  color: #fff;
  background: linear-gradient(135deg, var(--medikus-blue), var(--medikus-teal));
  box-shadow: 0 18px 35px rgba(15, 119, 200, 0.2);
}

.btn-brand:hover {
  color: #fff;
  filter: brightness(0.96);
}

.btn-brand-outline {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
}

.btn-brand-outline:hover {
  color: var(--ink);
  background: #fff;
}

.btn-brand-red {
  color: #fff;
  background: linear-gradient(135deg, #dd2d2d, #b61515);
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3.25rem 0;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.content-card h2,
.content-card h3,
.page-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-heading p,
.content-card p,
.copy-muted,
.content-card li,
.rich-copy {
  color: var(--ink-soft);
}

.content-card,
.info-card,
.feature-card,
.stat-card,
.product-card,
.contact-card,
.legal-card,
.timeline-card,
.partner-card,
.company-card,
.config-card,
.callout-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.content-card,
.info-card,
.feature-card,
.stat-card,
.contact-card,
.legal-card,
.timeline-card,
.partner-card,
.company-card,
.config-card,
.callout-card {
  padding: 1.6rem;
}

.company-card {
  display: flex;
  flex-direction: column;
}

.company-card img,
.logo-card img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.company-card img {
  align-self: flex-start;
}

.company-card .btn,
.partner-card .btn,
.callout-card .btn {
  margin-top: 0.8rem;
}

.company-card .btn {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  justify-content: flex-start;
  text-align: left;
}

.feature-list,
.icon-list,
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li,
.icon-list li,
.check-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.55rem 0;
}

.feature-list li::before,
.icon-list li::before,
.check-list li::before {
  content: "";
  flex: 0 0 0.75rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  margin-top: 0.42rem;
  background: linear-gradient(135deg, var(--medikus-blue), var(--medikus-teal));
  box-shadow: 0 0 0 5px rgba(15, 119, 200, 0.1);
}

.feature-list.red li::before {
  background: linear-gradient(135deg, var(--medikus-red), #ff7a7a);
  box-shadow: 0 0 0 5px rgba(217, 38, 38, 0.08);
}

.feature-list.teal li::before {
  background: linear-gradient(135deg, var(--medikus-teal), #6ce7f3);
}

.logo-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.logo-tile {
  display: grid;
  place-items: center;
  min-height: 140px;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.logo-tile img {
  max-height: 68px;
  object-fit: contain;
}

.logo-tile.group-tile img {
  max-height: 80px;
}

.gradient-band {
  background: linear-gradient(135deg, rgba(15, 119, 200, 0.08), rgba(18, 183, 197, 0.08));
}

.timeline {
  position: relative;
  margin-top: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1.25rem;
  width: 2px;
  background: linear-gradient(180deg, var(--medikus-blue), var(--medikus-teal));
}

.timeline-item {
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 1.4rem;
}

.timeline-item::before {
  content: attr(data-year);
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--medikus-blue), var(--medikus-teal));
  border-radius: 50%;
  box-shadow: 0 12px 25px rgba(15, 119, 200, 0.22);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.stat-grid,
.card-grid,
.partner-grid,
.contact-grid {
  display: grid;
  gap: 1.25rem;
}

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

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

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

.stat-card .value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--medikus-blue);
}

.stat-card .label {
  color: var(--ink-soft);
  font-weight: 600;
}

.page-hero {
  padding: 4.8rem 0 2rem;
}

.page-hero .page-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.page-hero p {
  max-width: 48rem;
}

.photo-panel,
.map-frame {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-frame iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.map-markets-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.25rem;
}

.markets-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.legend-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
}

.legend-dot.is-expansion {
  background: #0f77c8;
  box-shadow: 0 0 0 4px rgba(15, 119, 200, 0.14);
}

.legend-dot.is-represented {
  background: #1d9d52;
  box-shadow: 0 0 0 4px rgba(29, 157, 82, 0.16);
}

.markets-map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.markets-map {
  min-height: 560px;
  width: 100%;
  background:
    radial-gradient(circle at 20% 24%, rgba(15, 119, 200, 0.07), transparent 30%),
    radial-gradient(circle at 79% 35%, rgba(29, 157, 82, 0.07), transparent 38%),
    linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
}

.europa-map {
  overflow: hidden;
}

.europa-map .map {
  width: 100%;
  height: 560px;
  overflow: hidden;
}

.europa-map .map svg {
  width: 100%;
  height: 100%;
  transform-origin: 60% 0%;
  transform: scale(2.50);
}

.europa-map .mapTooltip {
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: rgba(15, 23, 42, 0.88);
}

.markets-country-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.market-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(15, 23, 42, 0.04);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.market-pill::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.market-pill.is-expansion {
  border-color: rgba(15, 119, 200, 0.24);
  background: rgba(15, 119, 200, 0.08);
}

.market-pill.is-expansion::before {
  background: #0f77c8;
  box-shadow: 0 0 0 3px rgba(15, 119, 200, 0.13);
}

.market-pill.is-represented {
  border-color: rgba(29, 157, 82, 0.28);
  background: rgba(29, 157, 82, 0.09);
}

.market-pill.is-represented::before {
  background: #1d9d52;
  box-shadow: 0 0 0 3px rgba(29, 157, 82, 0.15);
}
.product-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.filter-pill {
  border: 0;
  background: rgba(15, 119, 200, 0.08);
  color: var(--medikus-blue);
  font-weight: 700;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.filter-pill:hover {
  transform: translateY(-1px);
  background: rgba(15, 119, 200, 0.12);
}

.filter-pill.active {
  background: linear-gradient(135deg, var(--medikus-blue), var(--medikus-teal));
  color: #fff;
  box-shadow: 0 18px 35px rgba(15, 119, 200, 0.2);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.product-card {
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  background: #f3f5f8;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 1rem;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-body {
  padding: 1.25rem;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--medikus-blue);
  background: rgba(15, 119, 200, 0.08);
  border-radius: 999px;
  padding: 0.38rem 0.62rem;
  margin-bottom: 0.85rem;
}

.product-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.product-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.product-hidden {
  display: none !important;
}

.company-hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1rem;
  min-height: 100px;
  min-width: 220px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.company-hero-logo img {
  max-height: 66px;
  width: auto;
}

.home-focus-logo {
  display: block;
  max-width: 280px;
  width: 100%;
  height: auto;
}

.form-card form .form-control,
.form-card form .form-select {
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  border-color: rgba(15, 23, 42, 0.12);
}

.form-card form .form-control:focus,
.form-card form .form-select:focus {
  border-color: rgba(15, 119, 200, 0.4);
  box-shadow: 0 0 0 0.2rem rgba(15, 119, 200, 0.12);
}

.form-card label {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.form-feedback {
  display: none;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  font-weight: 600;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  color: #066b49;
}

.form-feedback.error {
  display: block;
  background: rgba(220, 38, 38, 0.12);
  color: #9f1239;
}

.footer {
  padding-top: 4rem;
  background: linear-gradient(180deg, #0b1630 0%, #091223 100%);
  color: rgba(255, 255, 255, 0.82);
}

.footer a {
  color: rgba(255, 255, 255, 0.92);
}

.footer a:hover {
  color: #fff;
}

.footer h3,
.footer h4,
.footer p,
.footer li,
.footer .small {
  color: rgba(255, 255, 255, 0.78);
}

.footer h3,
.footer h4 {
  color: #fff;
}

.footer-top {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  padding: 1.25rem 0 2rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-logo {
  max-height: 56px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.placeholder-link {
  opacity: 0.8;
}

.notice-bar {
  border-left: 4px solid var(--medikus-blue);
  background: rgba(15, 119, 200, 0.08);
  padding: 1rem 1rem 1rem 1.1rem;
  border-radius: 14px;
}

.legal-card h2,
.legal-card h3 {
  margin-bottom: 0.8rem;
}

.legal-card + .legal-card {
  margin-top: 1rem;
}

.table-clean {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(15, 119, 200, 0.03);
}

.table-clean td,
.table-clean th {
  padding: 0.85rem 0.75rem;
}

.small-caps {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--medikus-blue);
}

.cta-strip {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--medikus-blue), #0b4f80 60%, var(--medikus-teal));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.cta-strip::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -30%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.cta-strip p,
.cta-strip h3 {
  color: #fff;
}

@media (max-width: 1199.98px) {
  .product-grid,
  .card-grid.three,
  .partner-grid.three,
  .stat-grid,
  .logo-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .page-header {
    position: static;
  }

  .hero {
    padding-top: 5.5rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 7vw, 3.6rem);
  }

  .company-hero-logo {
    min-width: auto;
    width: 100%;
  }

  .map-markets-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .markets-map {
    min-height: 440px;
  }

  .europa-map .map {
    height: 440px;
  }

  .europa-map .map svg {
    transform-origin: 60% 0%;
    transform: scale(3.50);
  }

}

@media (max-width: 767.98px) {
  .section {
    padding: 3.7rem 0;
  }

  .product-grid,
  .card-grid.three,
  .card-grid.two,
  .partner-grid.three,
  .contact-grid.two,
  .stat-grid,
  .logo-stack {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions,
  .product-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .kicker {
    font-size: 0.72rem;
  }

  .hero-card {
    margin-top: 1rem;
  }

  .timeline::before {
    left: 1rem;
  }

  .timeline-item {
    padding-left: 3.2rem;
  }

  .timeline-item::before {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 0.64rem;
  }

  .markets-country-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .markets-map {
    min-height: 380px;
  }

  .europa-map .map {
    height: 380px;
  }

  .europa-map .map svg {
    transform-origin: 60% 0%;
    transform: scale(3.50);
  }

}
