:root {
  --ink: #10120f;
  --text: #2b2f2a;
  --muted: #697064;
  --line: #d9ded5;
  --paper: #ffffff;
  --soft: #f3f5f0;
  --olive: #7a8f2a;
  --olive-dark: #425315;
  --amber: #c7792f;
  --charcoal: #141712;
  --shadow: 0 18px 60px rgba(16, 18, 15, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--paper);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 74px;
  padding: 14px 32px;
  color: #ffffff;
  background: rgba(16, 18, 15, 0.52);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 176px;
  height: auto;
  filter: invert(1) brightness(2.2);
}

.brand-mark__symbol {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  font-weight: 800;
  color: var(--ink);
  background: #ffffff;
  border-radius: 8px;
}

.brand-mark__text {
  display: grid;
  line-height: 1.05;
}

.brand-mark__text strong {
  font-size: 15px;
}

.brand-mark__text small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.74);
}

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

.main-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.main-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #ffffff;
}

.language-switcher {
  display: flex;
  gap: 6px;
  align-items: center;
}

.language-button {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  height: 34px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.language-button:hover,
.language-button:focus-visible,
.language-button.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.flag {
  display: inline-block;
  width: 17px;
  height: 12px;
  overflow: hidden;
  background: #d8d8d8;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.flag--sk,
.flag--hr,
.flag--sl {
  background: linear-gradient(#fff 0 33%, #244aa5 33% 66%, #d6292f 66% 100%);
}

.flag--sk {
  background:
    radial-gradient(circle at 34% 50%, #ffffff 0 1px, #d6292f 1px 3.4px, transparent 3.4px),
    linear-gradient(#fff 0 33%, #244aa5 33% 66%, #d6292f 66% 100%);
}

.flag--cs {
  background:
    linear-gradient(150deg, #11457e 0 38%, transparent 38% 100%),
    linear-gradient(#fff 0 50%, #d7141a 50% 100%);
}

.flag--hr {
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 2px, #d6292f 2px 4px, transparent 4px),
    linear-gradient(#d6292f 0 33%, #fff 33% 66%, #244aa5 66% 100%);
}

.flag--sl {
  background:
    radial-gradient(circle at 34% 36%, #f3d33b 0 1px, #1f5aa6 1px 3px, transparent 3px),
    linear-gradient(#fff 0 33%, #244aa5 33% 66%, #d6292f 66% 100%);
}

.flag--en {
  background-color: #003399;
  background-image:
    radial-gradient(circle at 50% 18%, #ffcc00 0 1px, transparent 1.35px),
    radial-gradient(circle at 66% 24%, #ffcc00 0 1px, transparent 1.35px),
    radial-gradient(circle at 76% 40%, #ffcc00 0 1px, transparent 1.35px),
    radial-gradient(circle at 82% 50%, #ffcc00 0 1px, transparent 1.35px),
    radial-gradient(circle at 76% 60%, #ffcc00 0 1px, transparent 1.35px),
    radial-gradient(circle at 66% 76%, #ffcc00 0 1px, transparent 1.35px),
    radial-gradient(circle at 50% 82%, #ffcc00 0 1px, transparent 1.35px),
    radial-gradient(circle at 34% 76%, #ffcc00 0 1px, transparent 1.35px),
    radial-gradient(circle at 24% 60%, #ffcc00 0 1px, transparent 1.35px),
    radial-gradient(circle at 18% 50%, #ffcc00 0 1px, transparent 1.35px),
    radial-gradient(circle at 24% 40%, #ffcc00 0 1px, transparent 1.35px),
    radial-gradient(circle at 34% 24%, #ffcc00 0 1px, transparent 1.35px);
}

.flag--pl {
  background: linear-gradient(#fff 0 50%, #dc143c 50% 100%);
}

.flag--de {
  background: linear-gradient(#000 0 33%, #dd0000 33% 66%, #ffce00 66% 100%);
}

.flag--it {
  background: linear-gradient(90deg, #008c45 0 33%, #fff 33% 66%, #cd212a 66% 100%);
}

.flag--fr {
  background: linear-gradient(90deg, #0055a4 0 33%, #fff 33% 66%, #ef4135 66% 100%);
}

.flag--hu {
  background: linear-gradient(#ce2939 0 33%, #fff 33% 66%, #477050 66% 100%);
}

.flag--es {
  background: linear-gradient(#aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%);
}

.flag--ro {
  background: linear-gradient(90deg, #002b7f 0 33%, #fcd116 33% 66%, #ce1126 66% 100%);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 86vh;
  overflow: hidden;
  color: #ffffff;
  background: var(--charcoal);
}

.hero__media {
  position: absolute;
  inset: 0;
  background-image: url("/assets/hero-snailer-alduo.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 18, 15, 0.92), rgba(16, 18, 15, 0.56) 48%, rgba(16, 18, 15, 0.32)),
    linear-gradient(0deg, rgba(16, 18, 15, 0.62), rgba(16, 18, 15, 0.08) 44%);
}

.hero__content {
  position: relative;
  width: min(920px, calc(100% - 48px));
  padding: 150px 0 82px;
  margin: 0 auto;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--amber);
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 64px;
  line-height: 1.02;
  color: #ffffff;
}

.hero__lead {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: 21px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 8px;
}

.button--primary {
  color: #11150c;
  background: #ffffff;
}

.button--primary:hover,
.button--primary:focus-visible {
  color: #000000;
  background: #edf2dd;
}

.button--secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.48);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-item {
  display: grid;
  gap: 5px;
  min-height: 122px;
  align-content: center;
  padding: 26px 32px;
  background: var(--paper);
}

.proof-item strong {
  font-size: 31px;
  line-height: 1;
  color: var(--ink);
}

.proof-item span {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.section {
  padding: 96px 0;
}

.section--light {
  background: var(--soft);
}

.section--white {
  background: #ffffff;
}

.section--muted {
  background: #eef1e9;
}

.section--brand {
  color: #ffffff;
  background: var(--charcoal);
}

.section--contact {
  color: #ffffff;
  background: #20241d;
}

.section__inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.section h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.12;
  color: var(--ink);
}

.section--brand h2,
.section--contact h2 {
  color: #ffffff;
}

.section-copy {
  display: grid;
  gap: 18px;
  font-size: 18px;
  line-height: 1.65;
  color: #3a4037;
}

.section-copy p,
.brand-panel p,
.contact-layout p {
  margin: 0;
}

.section--brand .section-copy,
.section--brand p,
.section--contact p {
  color: rgba(255, 255, 255, 0.78);
}

.clean-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 24px;
}

.clean-list li::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--olive);
  border-radius: 999px;
}

.brand-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
  align-items: stretch;
}

.brand-panel {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
}

.brand-panel h2 {
  font-size: 58px;
}

.snailer-brand-logo {
  display: block;
  width: min(290px, 100%);
  height: auto;
  filter: invert(1) brightness(2.2);
}

.brand-panel p {
  font-size: 18px;
  line-height: 1.65;
}

.principles {
  display: grid;
  gap: 12px;
}

.principles article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 8px 22px;
  padding: 28px;
  background: #ffffff;
  border-radius: 8px;
}

.principles span {
  grid-row: 1 / span 2;
  font-size: 14px;
  font-weight: 900;
  color: var(--amber);
}

.principles h3 {
  margin: 0;
  font-size: 22px;
  color: var(--ink);
}

.principles p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #4b5148;
}

.inline-link {
  width: fit-content;
  font-weight: 800;
  color: var(--olive-dark);
  text-underline-offset: 5px;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--olive-dark);
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-links a:hover,
.project-links a:focus-visible {
  border-color: var(--olive);
  box-shadow: 0 8px 24px rgba(16, 18, 15, 0.08);
}

.section--brand .inline-link,
.section--contact .inline-link {
  color: #ffffff;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading p:last-child {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.market-link {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 16px;
  color: var(--ink);
  text-decoration: none;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.market-link:hover,
.market-link:focus-visible {
  border-color: var(--olive);
  box-shadow: 0 8px 30px rgba(16, 18, 15, 0.08);
  transform: translateY(-1px);
}

.market-link strong {
  display: block;
  font-size: 15px;
}

.market-link small {
  color: var(--muted);
}

.contact-layout {
  align-items: center;
}

.contact-layout h2 {
  margin-bottom: 18px;
}

.contact-layout p {
  max-width: 620px;
  font-size: 19px;
  line-height: 1.65;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 34px;
  font-style: normal;
  color: var(--ink);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-card strong {
  font-size: 22px;
}

.contact-card a {
  color: var(--olive-dark);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-card small {
  margin-top: 6px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 26px 32px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .language-switcher {
    max-width: 440px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 18px;
  }

  .brand-mark {
    width: fit-content;
  }

  .language-switcher {
    justify-content: flex-start;
  }

  .language-button {
    height: 31px;
    padding: 0 7px;
    font-size: 11px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero__content {
    width: min(100% - 32px, 720px);
    padding: 190px 0 56px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .proof-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item {
    min-height: 104px;
    padding: 22px 18px;
  }

  .section {
    padding: 72px 0;
  }

  .section__inner {
    width: min(100% - 32px, 720px);
  }

  .two-column,
  .brand-section,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section h2 {
    font-size: 33px;
  }

  .brand-panel {
    padding: 28px;
  }

  .brand-panel h2 {
    font-size: 44px;
  }

  .principles article {
    grid-template-columns: 1fr;
  }

  .principles span {
    grid-row: auto;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 18px;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 36px;
  }

  .proof-band,
  .market-grid {
    grid-template-columns: 1fr;
  }

  .language-switcher {
    gap: 5px;
  }

  .language-button {
    min-width: 54px;
  }

  .contact-card {
    padding: 24px;
  }
}
