:root {
  font-synthesis: none;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Cyrillic-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-024F, U+0400-052F, U+2000-206F, U+20BD, U+2116;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Cyrillic-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-024F, U+0400-052F, U+2000-206F, U+20BD, U+2116;
}

:root {
  --bg: #f6f8f7;
  --surface: #ffffff;
  --surface-muted: #eef3f1;
  --ink: #14211f;
  --ink-strong: #071513;
  --muted: #64716f;
  --line: #d7e0dd;
  --brand: #0b5f63;
  --brand-strong: #07494d;
  --brand-soft: #dceeed;
  --accent: #b78a36;
  --accent-soft: #f2eadb;
  --danger: #9d2f2f;
  --success: #1f6b4d;
  --focus: #1d8f95;
  --shadow: 0 14px 40px rgba(9, 31, 27, 0.08);
  --radius-sm: 4px;
  --radius: 8px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(29, 143, 149, 0.35);
  outline-offset: 3px;
}

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

.site-main {
  flex: 1;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(215, 224, 221, 0.9);
  background: rgba(246, 248, 247, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 188px;
  min-height: 48px;
  gap: 0;
  overflow: hidden;
  background: url("../img/euro-resource-logo-horizontal-v1.webp") left center / contain no-repeat;
  min-width: 0;
  font-weight: 750;
  letter-spacing: 0;
  color: var(--ink-strong);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  line-height: 1;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 15px;
  text-transform: uppercase;
}

.brand-caption {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.site-nav a {
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: #34413f;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--surface-muted);
  color: var(--ink-strong);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone,
.contact-phone {
  color: var(--ink-strong);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone {
  font-size: 14px;
}

.header-phone:hover,
.contact-phone:hover {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.nav-toggle-lines::before {
  transform: translateY(-6px);
}

.nav-toggle-lines::after {
  transform: translateY(4px);
}

.button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.primary:hover {
  background: var(--brand-strong);
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink-strong);
}

.button.secondary:hover {
  border-color: #aebbb8;
  background: #f9fbfa;
}

.button.text {
  min-height: auto;
  padding: 8px 0;
  color: var(--brand);
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.section {
  padding: 68px 0;
}

.section.compact {
  padding: 44px 0;
}

.section.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.section.dark {
  background: #112522;
  color: #f7fbfa;
}

.section.dark .eyebrow,
.section.dark .muted,
.section.dark p {
  color: rgba(247, 251, 250, 0.74);
}

.section-heading {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.eyebrow {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Montserrat", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1 {
  max-width: 780px;
  color: var(--ink-strong);
  font-size: 56px;
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  color: var(--ink-strong);
  font-size: 38px;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  color: var(--ink-strong);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  max-width: 720px;
}

.lead {
  color: #45514f;
  font-size: 18px;
  line-height: 1.62;
}

.muted {
  color: var(--muted);
}
