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

:root {
  color-scheme: light;
  --color-red: #bb1e10;
  --color-red-rgb: 187, 30, 16;
  --color-red-strong: color-mix(in srgb, var(--color-red) 85%, black);
  --color-ink: #111719;
  --color-ink-soft: #333c40;
  --color-muted: #626d72;
  --color-line: #dce1e3;
  --color-line-strong: #c5cccf;
  --color-canvas: #f4f6f6;
  --color-surface: #ffffff;
  --color-surface-soft: #edf1f2;
  --color-dark: #111719;
  --color-dark-soft: #1a2226;
  --color-on-dark: #f7f9f9;
  --shadow-soft: 0 18px 60px rgba(23, 31, 35, 0.1);
  --shadow-strong: 0 30px 90px rgba(18, 25, 28, 0.18);
  --header-height: 88px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  font-size: 16px;
  background: var(--color-canvas);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, Aptos, "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--color-ink);
  background: var(--color-canvas);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
.site-header,
.main-nav,
.home-hero-services,
.service-panel,
.language-link {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

p,
h1,
h2,
h3,
h4 {
  overflow-wrap: break-word;
}

::selection {
  color: #ffffff;
  background: var(--color-red);
}

:focus-visible {
  outline: 3px solid rgba(var(--color-red-rgb), 0.42);
  outline-offset: 4px;
}

.container {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: #ffffff;
  background: var(--color-red);
  border-radius: 4px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(calc(100% - 32px), 1280px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
