:root {
  color-scheme: light;
  --ink: #263339;
  --muted: #617076;
  --paper: #f8f7f2;
  --white: #fff;
  --line: #dde2dc;
  --yellow: #f5c84b;
  --yellow-dark: #dfad22;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow-dark); outline-offset: 4px; }
.container { width: min(100% - 64px, 1216px); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 20; padding: 12px 18px; background: var(--yellow); font-weight: 700; }
.skip-link:focus { top: 16px; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; flex: none; text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); margin-left: auto; }
.site-nav a { color: var(--ink); font-size: 0.84rem; font-weight: 700; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover { color: #805e0b; }
.language-switcher { display: inline-flex; flex: none; border: 1px solid #aebbb8; }
.language-switcher button { min-width: 38px; min-height: 36px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: .75rem; font-weight: 800; cursor: pointer; }
.language-switcher button[aria-pressed="true"] { background: var(--yellow); }
.language-switcher button:hover:not([aria-pressed="true"]) { background: #e8ebe5; }

.hero { overflow: hidden; background: #e8ebe5; }
.hero-grid { min-height: 610px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); align-items: stretch; }
.hero-copy { align-self: center; position: relative; z-index: 1; padding: 72px 45px 74px 0; }
.eyebrow, .section-kicker { margin: 0; font-size: .73rem; font-weight: 800; letter-spacing: .2em; }
.eyebrow { display: flex; align-items: center; gap: 14px; color: #54646b; }
.eyebrow-line { width: 34px; height: 3px; background: var(--yellow-dark); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.05em; }
h1 { max-width: 640px; margin: 27px 0 24px; font-size: clamp(3.6rem, 5.3vw, 5.65rem); line-height: 1.02; }
html[lang="ru"] h1 { font-size: clamp(3.4rem, 4.7vw, 5.1rem); }
em { font-style: normal; color: #8c6810; }
.hero-lead { max-width: 540px; margin-bottom: 34px; color: #46565d; font-size: 1.15rem; line-height: 1.65; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; padding: 0 22px; font-size: .87rem; font-weight: 800; text-decoration: none; }
.button-primary { background: var(--yellow); color: #242d30; }
.button-primary:hover { background: #eebd32; }
.button [aria-hidden="true"] { font-size: 1.2rem; font-weight: 400; }
.hero-art { position: relative; display: flex; align-items: stretch; min-width: 0; margin-right: calc((min(100vw - 64px, 1216px) - 100vw) / 2); background: #314047; }
.hero-art > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.art-caption { position: absolute; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 9px; padding: 10px 14px; background: rgba(248, 247, 242, .93); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.caption-dot { width: 8px; height: 8px; background: var(--yellow-dark); border-radius: 50%; }

.section-space { padding-block: 100px; }
.services { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-kicker { color: #805e0b; }
.section-heading h2, .approach h2, .contact h2 { font-size: clamp(2.35rem, 3.5vw, 3.9rem); line-height: 1.08; }
.section-heading h2 { margin: 20px 0 0; }
.section-heading > p { max-width: 315px; margin: 0 0 6px; color: var(--muted); line-height: 1.6; }
.service-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.service-card { min-height: 300px; padding: 23px 21px 25px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--yellow); }
.service-number { color: #849095; font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.service-icon { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin: 28px 0 22px; background: #fff4cf; color: #9b7410; }
.service-icon span { position: relative; display: block; width: 23px; height: 23px; border: 2px solid currentColor; }
.icon-pages::before { content: ""; position: absolute; inset: -6px 5px 4px -6px; border: 2px solid currentColor; }
.icon-scan { border-left-style: dashed !important; border-right-style: dashed !important; }
.icon-scan::after { content: ""; position: absolute; top: 9px; left: 3px; width: 13px; border-top: 2px solid currentColor; }
.icon-archive::before { content: ""; position: absolute; left: -2px; right: -2px; top: 5px; border-top: 2px solid currentColor; }
.icon-box { transform: rotate(45deg) scale(.77); }
.icon-shred { border-top: 0 !important; border-bottom: 0 !important; }
.icon-shred::before { content: ""; position: absolute; left: -4px; right: -4px; top: 2px; border-top: 2px solid currentColor; }
.icon-shred::after { content: ""; position: absolute; left: 4px; top: 7px; height: 18px; border-left: 2px solid currentColor; box-shadow: 7px 0 currentColor; }
.service-card h3 { min-height: 2.5em; margin-bottom: 15px; font-size: 1.1rem; line-height: 1.25; }
.service-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

.approach { background: #eef0eb; }
.approach-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; }
.approach-label { display: flex; align-items: flex-start; gap: 14px; padding-top: 16px; font-size: .76rem; font-weight: 800; letter-spacing: .18em; }
.yellow-square { width: 16px; height: 16px; flex: none; background: var(--yellow); }
.approach h2 { margin: 0 0 21px; }
.approach p { max-width: 670px; margin: 0; color: #54646b; font-size: 1.08rem; line-height: 1.7; }

.contact { background: var(--ink); color: var(--white); text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact .section-kicker { color: var(--yellow); }
.contact h2 { max-width: 700px; margin: 18px 0 19px; }
.contact p:not(.section-kicker) { margin-bottom: 28px; color: #c6d0d0; line-height: 1.6; }
.contact-placeholder { display: flex; align-items: center; gap: 18px; max-width: 100%; padding: 13px 17px; border: 1px solid #849398; color: var(--white); font-size: .95rem; overflow-wrap: anywhere; }
.contact-placeholder span { padding: 5px 7px; background: #3c4c51; color: var(--yellow); font-size: .62rem; font-weight: 800; letter-spacing: .13em; white-space: nowrap; }
.site-footer { background: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 118px; }
.footer-inner p, .footer-inner span { margin: 0; color: #65747a; font-size: .8rem; }

@media (max-width: 1080px) {
  .hero-grid { min-height: 560px; }
  h1 { font-size: clamp(3.2rem, 5.6vw, 5rem); }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-card { min-height: 260px; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 36px, 1216px); }
  .header-inner { min-height: 82px; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-block: 16px; }
  .brand img { width: 164px; height: auto; }
  .site-nav { order: 3; width: 100%; justify-content: space-between; gap: 8px; margin-left: 0; }
  .site-nav a { font-size: .69rem; letter-spacing: .05em; }
  .language-switcher { order: 2; }
  .hero-grid { display: flex; flex-direction: column; }
  .hero-copy { padding: 63px 0 57px; }
  h1 { max-width: 500px; margin-block: 21px; font-size: clamp(3rem, 12vw, 4.4rem); }
  html[lang="ru"] h1 { font-size: clamp(2.7rem, 10.5vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-art { height: 340px; margin: 0 -18px; }
  .art-caption { right: 16px; bottom: 16px; }
  .section-space { padding-block: 72px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > p { margin-top: 20px; }
  .section-heading h2, .approach h2, .contact h2 { font-size: clamp(2.25rem, 9vw, 3rem); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .service-card { min-height: 275px; padding: 19px 16px; }
  .service-icon { margin: 24px 0 19px; }
  .service-card h3 { font-size: 1rem; }
  .service-card p { font-size: .83rem; }
  .approach-grid { display: block; }
  .approach-label { margin-bottom: 38px; padding: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 11px; padding-block: 27px; }
}
@media (max-width: 420px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-icon { margin-block: 17px; }
  .service-card h3 { min-height: 0; }
  .contact-placeholder { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
