/* Английская главная 2009 года (по снимку Дениса и веб-архиву): шрифты и первый ряд блоков.
   Заголовки — Myriad Pro Light / Semibold в оригинале (Flash), здесь свободная замена Source Sans 3.
   Текст — Tahoma, как в оригинале: 16px × .75 × .95 ≈ 11.4px, межстрочный 1.6em. */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(fonts/SourceSans3-latin.woff2) format('woff2');
}

/* ---- заголовки по всему сайту: первая строка светлая, вторая жирная ---- */
#promo .promo .body h3,
#promo .promo .body .subhead h3,
.wide-text-block .content td h3,
.heading div.body h1,
.heading div.body h2 {
  font-family: 'Source Sans 3', 'Myriad Pro', Arial, sans-serif !important;
  font-weight: 300 !important;
  font-size: 18.5px !important;
  line-height: 15px !important;
  color: #000;
}
#promo .promo .body h5,
#promo .promo .body .subhead h5,
.wide-text-block .content td h5,
.heading div.body h5,
.heading div.body h6 {
  font-family: 'Source Sans 3', 'Myriad Pro', Arial, sans-serif !important;
  font-weight: 600 !important;
  font-size: 20px !important;
  line-height: 19px !important;
  color: #000;
}
#promo .promo .body h5 b,
.wide-text-block .content td h5 b,
.heading div.body h5 b,
.heading div.body h6 b { font-weight: 600; }

/* ---- текст ---- */
#promo .promo .body { padding-top: 6px; padding-bottom: 11px; }
#promo .promo .body h5, #promo .promo .body .subhead h5 { margin-bottom: 11px !important; }
#promo .promo .body p {
  font-family: Tahoma, sans-serif;
  line-height: 18px;
  letter-spacing: -0.1px;
  color: #000;
}
/* третья карточка: переносы как на образце 2009 (products in / … speak / for themselves) */
#promo .promo[style*="margin-right: 0"] .body p { letter-spacing: -0.25px; }
.wide-text-block .content td p { line-height: 17px; letter-spacing: -0.12px; }
.wide-text-block .content td h5 { margin-bottom: 20px !important; }
.wide-text-block .content td p.r2009 { margin-right: 10px; }
/* между первым рядом и «Company profile» — 15 px, как на образце */
#promo .wide-text-block { margin-top: 15px !important; }

/* ---- картинки карточек 2009: 230×137 ---- */
#promo .promo .image img.p2009 { display: block; }

/* ---- четвёртый блок: тянется до низа картинок, внизу хвостики ---- */
td.col4-2009 { height: 1px; }
#promo .promo.promo4-2009 { height: calc(100% - 10px); display: flex; flex-direction: column; }
#promo .promo.promo4-2009 .body { flex: 1 0 auto; }
#promo .promo.promo4-2009 .body p { letter-spacing: -0.1px; margin-right: 11px; }
.tabs2009 { position: relative; width: 230px; height: 142px; flex: none;
  background: linear-gradient(#fff, #fff) 0 0 / 230px 6px no-repeat, url(i/promo-tabs-2009@2x.png) 0 100% / 230px 137px no-repeat; }
.tabs2009 img { position: absolute; top: 2px; width: 30px; height: auto; }
.tabs2009 .t { position: absolute; bottom: 9px; writing-mode: vertical-rl; transform: rotate(180deg);
  font: 11px/13px Tahoma, sans-serif; white-space: nowrap; color: #1cb1ec; }
.tabs2009 .t a { color: #1cb1ec; text-decoration: underline; }
.tabs2009 a.hit { position: absolute; top: 0; bottom: 0; }

/* ---- Crisis prices, € ---- */
div.b2009 { background: #222 !important; border-radius: 10px; height: 284px; position: relative; overflow: visible;
  color: #fff; text-align: center; font-family: 'Source Sans 3', 'Myriad Pro', Arial, sans-serif; }
div.b2009 .stamp { position: absolute; left: 30px; top: -12px; width: 168px; height: auto; }
div.b2009 .pr { position: absolute; left: 0; right: 0; top: 98px; font-size: 18px; line-height: 18px; font-weight: 300; }
div.b2009 .pr div { margin-bottom: 9px; }
div.b2009 .pr b { font-weight: 600; }
div.b2009 .pr-note { position: absolute; left: 0; right: 0; bottom: 13px; font: 9.5px Tahoma, sans-serif; }

/* ---- телефоны ---- */
.phones2009 { margin-top: 14px; font-family: 'Source Sans 3', 'Myriad Pro', Arial, sans-serif; font-weight: 300; font-size: 19px; line-height: 21px; color: #000; }
.phones2009 b { font-weight: 600; margin-left: 6px; }
.phones2009 a { color: #1cb1ec; font-size: 17px; }

/* ==== 2026-11: единый шаг 15 px и одинаковая высота блоков в ряду ==== */
/* «Company profile» — до высоты Crisis prices (284): spacer 257 + углы и отступы таблицы, добирается белым */
#promo .wide-text-block td[rowspan="2"] > div { height: 257px !important; }
/* «Our offices» и «Write to us» — одной высоты: 14 + 220 + 14 = 248 */
.fb-stub { height: 220px !important; min-height: 0 !important; }
#wm, .map-stub { height: 248px !important; }

/* ==== 2026-11 (комм. 653): «Our clients» — бесконечная бегущая строка в один ряд, как в оригинале ====
   Логотипы — all_logos.gif 1:1 (без увеличения и перешарпа), две копии подряд, сдвиг ровно на одну копию — стык не виден. */
#clients, #clients div.body, #clients div.body table { height: auto !important; }
#clients div.left, #clients div.right { display: none !important; }
#clients div.body { margin: 0 !important; padding: 0 !important; border-radius: 10px; width: 965px; float: none !important;
  background: #fff !important; }
/* комм. 691: высота блока = высоте стрелки h-bk-clients.gif (50 px, как .heading в 2009) — стрелка упирается в верх и низ */
.cl2026 { display: flex; align-items: center; height: 50px; }
.cl2026 .cl-head { flex: none; width: 215px; box-sizing: border-box; padding: 0 0 0 72px; align-self: stretch;
  display: flex; flex-direction: column; justify-content: center; background: url(i/h-bk-clients.gif) no-repeat 17px 50%; }
.cl2026 .cl-head h2, .cl2026 .cl-head h6 { margin: 0 !important; }
.cl2026 .cl-strip { flex: none; width: 730px; height: 50px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 690px, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 40px, #000 690px, transparent); }
.cl2026 .cl-track { display: flex; width: max-content; animation: cl-run 48s linear infinite; will-change: transform; }
.cl2026 .cl-track img { display: block; width: 1687px; height: 50px; margin-right: 8px; image-rendering: auto; }
.cl2026 .cl-strip:hover .cl-track { animation-play-state: paused; }
@keyframes cl-run { from { transform: translateX(0); } to { transform: translateX(-1695px); } }
@media (prefers-reduced-motion: reduce) { .cl2026 .cl-track { animation-duration: 160s; } }

/* ==== 2026-11 (комм. 665): заголовки блоков — как эталон «Icon design / and illustration» ====
   верх — Source Sans 3 Light 18.5, низ — Semibold 20 */
#wm .wm-cap { left: 20px !important; top: 16px !important; font: 300 18.5px/15px 'Source Sans 3', 'Myriad Pro', Arial, sans-serif !important; color: #000; }
#wm .wm-cap b { display: inline-block; font-weight: 600; font-size: 20px; line-height: 19px; }
#wm .wm-nav { top: 19px !important; }

/* ==== 2026-11 (комм. 659, 662–664): названия проектов — тоньше и на 2 px мельче (22 -> 20) ==== */
#works .layout1 .content .projheader, #works .layout2 .content .projheader {
  font-family: 'Source Sans 3', 'Myriad Pro', Arial, sans-serif !important; font-weight: 300 !important;
  font-size: 20px !important; line-height: 19px !important; }
#works .layout1 .content .projname, #works .layout2 .content .projname {
  font-family: 'Source Sans 3', 'Myriad Pro', Arial, sans-serif !important; font-weight: 600 !important;
  font-size: 20px !important; line-height: 21px !important; }
#works .content .projname b { font-weight: 600 !important; }

/* ==== 2026-11 (комм. 654): «Write to us» — заголовок в две строки, поля по сетке карты (130 px), большое поле сообщения ==== */
form.fb-stub { position: relative; height: 220px !important; padding: 2px 20px 0 130px !important; box-sizing: border-box; }
form.fb-stub .fb-title { position: absolute; left: 20px; top: 2px; margin: 0;
  font: 300 18.5px/15px 'Source Sans 3', 'Myriad Pro', Arial, sans-serif !important; color: #000; }
form.fb-stub .fb-title b { display: inline-block; font-weight: 600; font-size: 20px; line-height: 19px; }
form.fb-stub .fb-row { display: block; margin: 0 0 8px; }
form.fb-stub .fb-row label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
form.fb-stub .fb-row input[type=text], form.fb-stub .fb-row textarea { display: block; width: 325px; height: 30px; box-sizing: border-box;
  border: 1px solid #d3d3cc; border-radius: 6px; background: #f6f6f3; padding: 6px 10px; font: 12px/16px Tahoma, sans-serif; color: #000; }
form.fb-stub .fb-row textarea { height: 104px; resize: none; }
form.fb-stub ::placeholder { color: #8c8c86; opacity: 1; }
form.fb-stub .fb-btn { margin: 10px 0 0; height: 30px; }
form.fb-stub .fb-send { margin: 0 !important; height: 30px; padding: 0 22px; position: relative; }

/* ==== 2026-11 (комм. 655): подвал — обе колонки текста по верху, вровень с верхом логотипа ==== */
#footer table td.body table td { vertical-align: top !important; }
#footer table td.body table td p { margin: 0 !important; }
#footer table td.body .logo { display: block; }
/* комм. 692: оба текста на 9 px ниже — правый по центру блока (19 px сверху и снизу), левый на его высоте */
#footer table td.body table td[width="288"], #footer table td.body table td[width="439"] { padding-top: 9px !important; }

/* ==== 2026-11 (комм. 661): подчёркивание синих ссылок ближе к тексту ==== */
a { text-underline-offset: 1px; text-decoration-thickness: 1px; }

/* ==== 2026-11 (комм. 657): «Download portfolio» — текст целиком внутри плашки ==== */
#pdf .pdf-txt { right: 16px !important; top: 64px !important; } /* комм. 693: под значком Acrobat, в прямом правом нижнем углу */
