/* Лендинг sharum.ru — один файл стилей, без JavaScript. Создано 01.12.2026.
   Шрифт — Open Sans (OFL, файлы на самом сайте, /fonts). Цвета — по старому сайту: бирюзовый акцент и тёмный подвал. */
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/opensans-cyrillic.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/opensans-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1d2330;
  --muted: #586174;
  --line: #e2e7ee;
  --bg: #ffffff;
  --soft: #f3f6f9;
  --dark: #1f232b;
  --dark-2: #272c36;
  --accent: #00b4d8;
  --accent-ink: #007a9b;
  --accent-light: #5fd8f2;
  --radius: 14px;
  --shadow: 0 6px 24px rgb(20 30 50 / 0.08);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: clamp(15px, 0.9rem + 0.25vw, 17px);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.4em; border-radius: 999px;
  background: var(--accent-ink); color: #fff; border: 2px solid var(--accent-ink);
  font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: #00627d; border-color: #00627d; color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .55); }
.btn--ghost:hover { background: rgb(255 255 255 / .12); border-color: #fff; color: #fff; }
.btn--small { min-height: 40px; padding: .45em 1.1em; font-size: .95em; }

/* Шапка: на телефоне — логотип и телефон, под ними прокручиваемая строка разделов */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgb(255 255 255 / .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.header__bar { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); flex-wrap: wrap; }
.header__logo img { width: clamp(132px, 30vw, 190px); height: auto; }
.nav { display: flex; gap: 4px; order: 3; width: calc(100% + 2 * var(--gutter)); overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 10px; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  flex: none; padding: .35em .8em; border-radius: 999px; background: var(--soft);
  color: var(--ink); text-decoration: none; font-size: .92em; font-weight: 600;
}
.nav a:hover { background: #e3f6fb; color: var(--accent-ink); }
.header__call { margin-left: auto; }
.header__call span { display: none; }
@media (min-width: 560px) { .header__call span { display: inline; } }
@media (min-width: 1000px) {
  .header__bar { flex-wrap: nowrap; }
  .nav { order: 0; width: auto; margin: 0 0 0 auto; padding: 0; overflow: visible; gap: 2px; }
  .nav a { background: transparent; padding: .5em .7em; }
  .header__call { margin-left: 12px; }
}

/* Первый экран */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgb(0 180 216 / .45), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgb(0 122 155 / .5), transparent 60%),
    linear-gradient(160deg, #1f232b 0%, #20283a 55%, #182231 100%);
}
.hero__inner { padding-top: clamp(48px, 9vw, 120px); padding-bottom: clamp(40px, 7vw, 96px); text-align: center; }
.hero__kicker { display: inline-block; margin-bottom: 1.2em; padding: .35em 1em; border-radius: 999px; background: rgb(255 255 255 / .1); color: var(--accent-light); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .85em; }
.hero__title { font-size: clamp(32px, 6.2vw, 64px); font-weight: 800; letter-spacing: -.01em; margin-bottom: .35em; }
.hero__lead { max-width: 760px; margin: 0 auto 1.8em; font-size: clamp(17px, 1rem + .6vw, 22px); color: rgb(255 255 255 / .86); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__actions--center { margin-top: 8px; }
.stats {
  list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  margin-top: clamp(36px, 6vw, 64px);
}
.stats li { padding: 18px 12px; border-radius: var(--radius); background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .12); }
.stats b { display: block; font-size: clamp(28px, 4.5vw, 44px); font-weight: 800; color: var(--accent-light); line-height: 1.1; }
.stats span { display: block; margin-top: .3em; font-size: .9em; color: rgb(255 255 255 / .8); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }

/* Разделы */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--dark); color: #fff; }
.section__title { font-size: clamp(26px, 3.6vw, 40px); text-align: center; font-weight: 700; }
.section__title em { font-style: normal; color: var(--accent-ink); font-weight: 800; }
.section--dark .section__title em { color: var(--accent-light); }
.section__title--left { text-align: left; }
.section__lead { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; color: var(--muted); font-size: 1.05em; }
.subhead { margin: clamp(40px, 6vw, 64px) 0 20px; font-size: clamp(21px, 2.4vw, 27px); text-align: center; }
.note { margin-top: 18px; text-align: center; color: var(--muted); }

.split { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; } }

/* Карточки услуг и «почему мы» */
.cards { list-style: none; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.card { padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.card h3 { font-size: 1.15em; margin-top: 14px; }
.card p { margin: 0; color: var(--muted); }
.card__icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #e3f6fb; color: var(--accent-ink); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cards--dark .card { background: var(--dark-2); border-color: rgb(255 255 255 / .08); box-shadow: none; }
.cards--dark .card p { color: rgb(255 255 255 / .75); }
.cards--dark .card__icon { background: rgb(0 180 216 / .16); color: var(--accent-light); }

/* Списки с галочками и нумерованные */
.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; padding: 16px 18px; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.ticks .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--accent-ink); }
.numbered { counter-reset: n; list-style: none; display: grid; gap: 14px; }
.numbered li { counter-increment: n; position: relative; padding: 16px 18px 16px 62px; background: var(--soft); border-radius: 12px; }
.numbered li::before { content: counter(n); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-ink); color: #fff; font-weight: 800; display: grid; place-items: center; }

/* Цены */
.prices { list-style: none; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .prices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.price { display: flex; flex-direction: column; padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.price h4 { font-size: 1.12em; margin: 0 0 .4em; }
.price__sum { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; color: var(--accent-ink); margin-bottom: .5em; }
.price__sum small { font-size: .5em; font-weight: 600; color: var(--muted); margin-left: .3em; }
.price p:last-child { margin: 0; }
.price > p:not(.price__sum) { color: var(--muted); }
.price__list { list-style: none; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: grid; gap: 4px; font-size: .95em; }
.price--accent { border: 2px solid var(--accent); }

/* Шаги */
.steps { list-style: none; counter-reset: s; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { counter-increment: s; position: relative; padding: 52px 20px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.section--soft .steps li { background: #fff; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; top: 16px; left: 20px; font-weight: 800; font-size: 1.1em; color: var(--accent-ink); }
.steps h4 { font-size: 1.05em; margin: 0 0 .35em; }
.steps p { margin: 0; color: var(--muted); font-size: .95em; }
.steps--short { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1000px) { .steps--short { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.steps--short li { padding: 46px 16px 16px; }
.steps--short h4 { margin: 0; }

/* Портфолио */
.works { list-style: none; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .works { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.work { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.work__img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; background: var(--soft); }
.work__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.work__tag { font-size: .8em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .4em; }
.work h3 { font-size: 1.12em; }
.work p { color: var(--muted); font-size: .95em; }
.work__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.work__facts li { padding: .3em .7em; border-radius: 8px; line-height: 1.35; background: #e3f6fb; color: #035a72; font-size: .85em; font-weight: 600; }
.work__link { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }

/* О нас */
.about-cards { display: grid; gap: 16px; }
.about-card { padding: 22px 24px; border-radius: var(--radius); background: var(--soft); border-left: 4px solid var(--accent); }
.about-card p { margin: 0; color: var(--muted); }

/* Отзывы — письма клиентов; по нажатию открывается крупный снимок */
.reviews { list-style: none; display: grid; gap: 20px; grid-template-columns: 1fr; max-width: 980px; margin: 0 auto; }
@media (min-width: 600px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review { text-align: center; }
.review a { display: block; padding: 10px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.review a:hover { border-color: var(--accent); }
.review img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; border-radius: 8px; }
.review span { display: block; margin-top: 10px; font-weight: 700; }

/* Контакты */
.section--cta { background: linear-gradient(160deg, #1f232b 0%, #20283a 60%, #1a2a38 100%); color: #fff; }
.section--cta .section__title em { color: var(--accent-light); }
.section--cta .section__lead { color: rgb(255 255 255 / .8); }
.contacts { list-style: none; display: grid; gap: 14px; grid-template-columns: 1fr; max-width: 980px; margin: 0 auto 32px; }
@media (min-width: 760px) { .contacts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contacts li { display: grid; justify-items: center; gap: 6px; padding: 22px 16px; border-radius: var(--radius); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); text-align: center; }
.contacts .icon { width: 28px; height: 28px; color: var(--accent-light); }
.contacts__label { font-size: .82em; text-transform: uppercase; letter-spacing: .05em; color: rgb(255 255 255 / .6); }
.contacts a { color: #fff; font-weight: 700; font-size: 1.08em; text-decoration: none; }
.contacts a:hover { color: var(--accent-light); }
.contacts li > span:last-child { font-weight: 600; }

/* Подвал */
.footer { background: #17191f; color: rgb(255 255 255 / .7); padding: 32px 0; font-size: .92em; }
.footer__inner { display: grid; gap: 10px; justify-items: center; text-align: center; }
.footer img { width: 150px; height: auto; opacity: .95; }
.footer p { margin: 0; }
.footer a { color: rgb(255 255 255 / .85); }
.footer a:hover { color: var(--accent-light); }

/* Страница 404 */
.page404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px var(--gutter); }
.page404 h1 { font-size: clamp(28px, 5vw, 44px); }
.page404 p { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
