/* Ремонт ноутбуков: шаблон главной в манере Protech (protech.ru): Onest, белый и голубой фон, синий #1769e5,
   белые карточки r=20–24, панели со скруглёнными верхними углами, синяя заливка за карточками, вкладки-капсулы. */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/onest-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/onest-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/onest-latin.woff2) format("woff2"); 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #1a2a41;        /* текст и заголовки */
  --ink2: #34445c;       /* основной текст абзацев (как у референса 80 % чернил) */
  --blue: #1769e5;       /* акцент, кнопки */
  --blue2: #2b8bff;
  --blue-d: #0f4fb8;
  --grey: #6c8499;       /* сменяющееся слово на первом экране */
  --panel: #f3f7ff;      /* голубые панели */
  --panel2: #e8f0fd;
  --line: #e2e9f4;
  --white: #fff;
  --black: #252525;      /* активная вкладка */
  --r: 20px;
  --r-btn: 16px;
  --wrap: 1260px;
  --gut: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.45 "Onest", system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -0.01em; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 12px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue2); outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.blue { color: var(--blue); }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--r-btn); background: var(--blue); color: #fff; font-weight: 500; font-size: 16px; letter-spacing: -0.02em; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.btn:hover { background: var(--blue-d); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 44px; padding: 0 20px; }
.btn--wide { width: 100%; }

/* шапка: белая плавающая полоса со скруглением, как у референса */
.hdr { position: fixed; z-index: 50; top: 10px; left: 0; right: 0; padding: 0 var(--gut); pointer-events: none; }
.hdr__bar { pointer-events: auto; max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 28px; height: 72px; padding: 0 14px 0 20px; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 20px; transition: border-color .3s; } /* taste-skill-ignore: рамка шапки — приём референса */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo__mark { flex: none; color: var(--ink); }
.logo__w { font-size: 24px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.logo__w span { color: var(--blue); margin-left: 3px; }
.hdr__nav { display: flex; gap: 26px; }
.hdr__nav a { text-decoration: none; color: var(--blue); font-size: 16px; letter-spacing: -0.02em; transition: color .2s; }
.hdr__nav a:hover { color: var(--ink); }
.hdr__navtel { display: none; }
.hdr__tel { text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--blue); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .2s; }
.hdr.is-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hdr.is-open .burger span:nth-child(2) { opacity: 0; }
.hdr.is-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* первый экран */
.hero { padding: 140px 0 120px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -1; right: -6%; top: 40px; width: 62%; height: 88%; background: var(--panel); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%, 12% 40%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.hero__h { display: flex; flex-direction: column; font-weight: 500; font-size: clamp(46px, 6.25vw, 92px); line-height: .88; letter-spacing: -0.045em; padding-bottom: .08em; }
.hl { display: block; white-space: nowrap; }
.hl--blue { color: var(--blue); }
.hl--cycle { color: var(--grey); min-height: .9em; }
.cyc { display: inline-block; will-change: filter, opacity, transform; }
.hcard { margin-top: 48px; max-width: 420px; padding: 22px 22px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); } /* taste-skill-ignore: рамка карточки — приём референса */
.hcard__t { font-size: 24px; font-weight: 500; line-height: 1.1; letter-spacing: -0.04em; }
.hcard__p { margin-top: 12px; color: var(--ink2); font-size: 16px; line-height: 1.4; }
.hcard__act { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hcard__act .btn { flex: 1 1 220px; }
.hcard__tel { font-weight: 600; font-size: 16px; letter-spacing: -0.03em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.hero__r { position: relative; }
.hero__pic { border-radius: 24px; overflow: hidden; aspect-ratio: 1400 / 1076; background: var(--panel); }
.hero__pic img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; }
.float { position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; background: var(--white); border-radius: 16px; font-size: 16px; line-height: 1.25; color: var(--ink2); }
.float b { font-size: 24px; font-weight: 600; letter-spacing: -0.04em; color: var(--blue); }
.f1 { left: -28px; bottom: 54px; }
.f2 { right: -14px; top: 32px; }

/* панели и листы */
.panel { position: relative; background: var(--panel); border-radius: 60px 60px 0 0; padding: 110px 0 120px; }
.sheet { position: relative; background: var(--white); border-radius: 60px 60px 0 0; padding: 110px 0 60px; margin-top: -60px; }
.h2 { font-weight: 500; font-size: clamp(36px, 4.2vw, 62px); line-height: 1; letter-spacing: -0.05em; }
.h3 { font-weight: 500; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.02; letter-spacing: -0.05em; }
.txt { color: var(--ink2); font-size: 16px; line-height: 1.45; }
.txt b { color: var(--ink); font-weight: 600; }
.card__t { font-weight: 500; font-size: 24px; line-height: 1.05; letter-spacing: -0.045em; color: var(--blue); }

/* услуги: интро + большая карточка, три карточки с фото внизу, четыре текстовые на синем */
.services { padding-bottom: 180px; }
.services::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 520px; background: linear-gradient(180deg, rgba(23, 105, 229, 0) 0%, rgba(43, 139, 255, .55) 45%, #1769e5 100%); pointer-events: none; } /* taste-skill-ignore: синяя заливка за карточками — приём референса */
.services .wrap { position: relative; z-index: 1; }
.svc__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px; align-items: start; }
.svc__intro .txt { margin-top: 28px; max-width: 440px; }
.card { background: var(--white); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card__txt { padding: 30px 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.card__pic { margin: 0 6px 6px; border-radius: 16px; overflow: hidden; background: var(--panel); flex: 1; min-height: 220px; }
.card__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__pic img { transform: scale(1.04); }
.card--big { flex-direction: row; }
.card--big .card__txt { flex: 1 1 52%; padding: 30px 28px; }
.card--big .card__pic { flex: 1 1 48%; margin: 6px; min-height: 300px; }
.svc__three { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc__three .card__pic { aspect-ratio: 443 / 330; flex: none; min-height: 0; }
.svc__four { margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mini { background: var(--white); border-radius: var(--r); padding: 28px 26px 34px; display: flex; flex-direction: column; gap: 12px; transition: transform .35s var(--ease); }
.mini:hover { transform: translateY(-4px); }
.mini__t { font-weight: 500; font-size: 24px; line-height: 1.08; letter-spacing: -0.045em; }

/* калькулятор: светлая панель с тегами, заголовком, чипами и «интерфейсом» справа */
.calc__lead { margin-top: 26px; max-width: 700px; }
.calc__box { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; background: var(--panel); border-radius: 24px; padding: 40px 40px 40px 36px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tagp { display: inline-block; padding: 8px 14px; border-radius: 12px; background: var(--white); color: var(--blue); font-size: 14px; font-weight: 500; letter-spacing: -0.02em; }
.calc__form .h3 { margin-top: 22px; }
.calc__set { border: 0; margin: 24px 0 0; padding: 0; min-width: 0; }
.calc__set legend { padding: 0; margin-bottom: 10px; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 14px; background: var(--white); color: var(--blue); font-size: 16px; font-weight: 500; letter-spacing: -0.02em; transition: background .2s, color .2s, transform .15s; }
.chip--s span { min-height: 38px; padding: 0 14px; font-size: 14px; }
.chip:hover span { background: #dfeaff; }
.chip input:checked + span { background: var(--black); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--blue2); outline-offset: 2px; }
.chip:active span { transform: scale(.96); }
.calc__res { position: relative; border-radius: 24px; padding: 8px; background: linear-gradient(135deg, #cfe0ff 0%, #6aa8ff 45%, #1769e5 100%); align-self: start; } /* taste-skill-ignore: синяя рамка «экрана» — приём референса */
.res { background: var(--white); border-radius: 18px; padding: 30px 28px 28px; }
.res__k { font-size: 16px; color: var(--ink2); }
.res__sum { margin-top: 6px; font-weight: 600; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; letter-spacing: -0.05em; color: var(--blue); }
.res__bar { position: relative; margin-top: 22px; height: 12px; border-radius: 8px; background: var(--panel2); overflow: hidden; }
.res__bar i { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; border-radius: 8px; background: var(--blue); transform-origin: 0 50%; transition: left .5s var(--ease), width .5s var(--ease); }
.res__scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14px; color: var(--grey); }
.res__dl { margin-top: 20px; display: grid; gap: 0; }
.res__dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; } /* taste-skill-ignore: строки в «интерфейсе» */
.res__dl dt { color: var(--ink2); }
.res__dl dd { text-align: right; font-weight: 500; }
.res__note { margin: 14px 0 20px; font-size: 14px; line-height: 1.4; color: var(--ink2); }

/* вкладки и карточка со «слайдером» */
.more { padding-top: 90px; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab { min-height: 42px; padding: 0 20px; border: 0; border-radius: var(--r-btn); background: var(--panel); color: var(--blue); font-weight: 500; font-size: 16px; letter-spacing: -0.02em; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.tab:hover { background: #e2ecff; }
.tab:active { transform: scale(.96); }
.tab.is-on { background: var(--black); color: #fff; }
.tabcard { position: relative; margin-top: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; } /* taste-skill-ignore: рамка карточки — приём референса */
.pane { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: stretch; }
.pane[hidden] { display: none; }
.pane__txt { padding: 26px 8px 22px 20px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ticks { padding: 0 0 0 20px; display: grid; gap: 6px; color: var(--ink2); }
.ticks li::marker { color: var(--blue); }
.pane__pic { border-radius: 16px; padding: 6px; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, #8fbfff 40%, #1769e5 100%); min-height: 340px; } /* taste-skill-ignore: синяя рамка картинки — приём референса */
.pane__pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.tabcard__nav { position: absolute; right: 36px; bottom: 34px; display: flex; gap: 8px; }
.arr { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .2s; }
.arr:hover { transform: scale(1.1); }

/* неисправности: панель с синей заливкой справа, вкладки, сетка 4 колонки с иконками */
.panel--blue { margin-top: 60px; overflow: hidden; }
.panel--blue::before { content: ""; position: absolute; inset: 0 0 0 40%; background: linear-gradient(90deg, rgba(243, 247, 255, 1) 0%, rgba(120, 175, 255, .7) 45%, #0b5cf0 100%); border-radius: 0 60px 0 0; pointer-events: none; } /* taste-skill-ignore: синяя заливка справа — приём референса */
.faults .wrap { position: relative; z-index: 1; }
.faults__lead { margin-top: 26px; max-width: 620px; }
.tabs--f { margin-top: 56px; }
.tabs--f .tab:not(.is-on) { background: var(--white); }
.fgrid { margin-top: 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.fgrid[hidden] { display: none; }
.fault { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 196px; padding: 26px 24px 24px; border: 0; border-radius: var(--r); background: var(--white); text-align: left; text-decoration: none; color: var(--ink); cursor: pointer; transition: transform .3s var(--ease), background .2s; }
.fault:hover { transform: translateY(-4px); }
.fault:active { transform: scale(.98); }
.fault__ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--panel); color: var(--blue); margin-bottom: 18px; transition: background .2s, color .2s; }
.fault:hover .fault__ico { background: var(--blue); color: #fff; }
.fault__t { font-weight: 500; font-size: 21px; line-height: 1.1; letter-spacing: -0.04em; }
.fault__p { font-size: 16px; color: var(--ink2); line-height: 1.35; }

/* отзывы: синяя карточка + лента отзывов + полоса прокрутки */
.reviews__lead { margin-top: 26px; max-width: 680px; }
.rrow { margin-top: 56px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; }
.bluecard { background: var(--blue); background-image: linear-gradient(160deg, #1769e5 0%, #2b8bff 100%); color: #fff; border-radius: var(--r); padding: 34px 28px; display: flex; flex-direction: column; gap: 8px; } /* taste-skill-ignore: синяя карточка как у референса */
.bluecard__t { font-weight: 500; font-size: 24px; line-height: 1.08; letter-spacing: -0.045em; }
.bluecard__p { font-size: 16px; line-height: 1.4; opacity: .92; margin-bottom: 24px; }
.rscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 340px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rscroll::-webkit-scrollbar { display: none; }
.rev { scroll-snap-align: start; background: var(--panel); border-radius: var(--r); padding: 28px 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.rev blockquote { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); }
.rev figcaption { color: var(--ink2); font-size: 16px; }
.rev figcaption b { color: var(--blue); font-weight: 600; margin-right: 6px; }
.rprog { margin: 22px 0 0 320px; height: 4px; border-radius: 4px; background: var(--panel2); overflow: hidden; }
.rprog i { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(.3); }
.marq { margin-top: 60px; overflow: hidden; }
.marq__in { display: flex; gap: 12px; width: max-content; animation: marq 40s linear infinite; }
.marq__in span { padding: 12px 22px; border-radius: 14px; background: var(--panel); color: var(--blue); font-weight: 600; font-size: 21px; letter-spacing: -0.03em; white-space: nowrap; }
@keyframes marq { to { transform: translateX(-50%); } }

/* прайс: заголовок с кнопкой справа, фильтры, сетка карточек */
.prices__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.prices__lead { margin-top: 26px; max-width: 640px; }
.filters { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px; }
.filt { min-height: 40px; padding: 0 18px; border: 0; border-radius: 14px; background: var(--panel); color: var(--blue); font-weight: 500; font-size: 16px; cursor: pointer; transition: background .2s, color .2s; }
.filt.is-on { background: var(--black); color: #fff; }
.pgrid { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pcard { background: var(--panel); border-radius: var(--r); padding: 22px 22px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 210px; transition: transform .3s var(--ease); }
.pcard[hidden] { display: none; }
.pcard:hover { transform: translateY(-4px); }
.pcard__tag { padding: 5px 10px; border-radius: 10px; background: var(--white); color: var(--ink2); font-size: 14px; }
.pcard__t { font-weight: 500; font-size: 21px; line-height: 1.12; letter-spacing: -0.04em; }
.pcard__p { font-weight: 600; font-size: 21px; letter-spacing: -0.03em; color: var(--blue); margin-top: auto; }
.pcard__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--white); color: var(--blue); font-weight: 500; font-size: 16px; cursor: pointer; transition: background .2s, color .2s; }
.pcard__btn:hover { background: var(--blue); color: #fff; }

/* контакты: форма + фото со списком шагов */
.contacts { padding-bottom: 100px; }
.contacts__lead { margin-top: 26px; max-width: 690px; }
.cgrid { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.cform { background: var(--panel); border-radius: var(--r); padding: 34px 30px; }
#oform { margin-top: 22px; display: grid; gap: 12px; }
.of { display: grid; gap: 4px; padding: 10px 18px 10px; border-radius: 12px; background: var(--white); }
.of span { font-size: 14px; color: var(--ink2); }
.of input, .of select { border: 0; background: transparent; padding: 2px 0 4px; font-size: 16px; outline: none; width: 100%; color: var(--ink); }
.of:focus-within { outline: 2px solid var(--blue); }
.of.is-bad { outline: 2px solid #d93838; }
.oerr { color: #c42d2d; font-size: 16px; }
#oform .btn { justify-self: start; margin-top: 6px; }
.cinfo { margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.cinfo__k { font-size: 16px; color: var(--ink2); }
.cinfo__v { display: inline-block; margin-top: 4px; font-weight: 600; font-size: 24px; letter-spacing: -0.04em; color: var(--blue); text-decoration: none; white-space: nowrap; }
.cinfo__a { margin-top: 4px; font-weight: 500; font-size: 16px; }
.cside { background: var(--panel); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.cside__pic { margin: 6px 6px 0; border-radius: 16px; overflow: hidden; flex: 1 1 auto; min-height: 280px; }
.cside__pic img { width: 100%; height: 100%; object-fit: cover; }
.cside__txt { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 16px; }
.cside__txt .card__t { color: var(--ink); }
.steps { padding-left: 22px; display: grid; gap: 8px; font-size: 16px; }
.steps li::marker { color: var(--blue); font-weight: 600; }

/* подвал */
.ftr { padding: 0 0 40px; }
.ftr__card { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; background: var(--panel); border-radius: var(--r); padding: 40px 40px 44px; }
.ftr__brand p { margin-top: 12px; font-size: 14px; color: var(--ink2); }
.ftr__brand .logo { margin-right: 0; }
.ftr__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ftr__h { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.ftr__col a { text-decoration: none; font-size: 16px; color: var(--ink2); transition: color .2s; }
.ftr__col a:hover { color: var(--blue); }
.ftr__credits { max-width: 72ch; margin-top: 18px; font-size: 14px; line-height: 1.45; color: var(--ink2); }

/* ---------- планшет ---------- */
@media (max-width: 1180px) {
  .hdr__nav { gap: 18px; }
  .hdr__tel { display: none; }
}
@media (max-width: 1024px) {
  .hdr__nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 18px 16px; background: var(--white); border-radius: 20px; box-shadow: 0 20px 50px rgba(20, 50, 110, .18); } /* taste-skill-ignore: выпадающее меню парит */
  .hdr__nav a { padding: 13px 4px; font-size: 16px; }
  .hdr__navtel { display: block; color: var(--ink) !important; font-weight: 600; }
  .hdr.is-open .hdr__nav { display: flex; }
  .hdr__bar { position: relative; height: 64px; }
  .burger { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero::before { width: 100%; top: auto; bottom: 0; height: 52%; clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); }
  .hcard { max-width: 520px; }
  .hero__h { font-size: clamp(46px, 11vw, 92px); }
  .f1 { left: 12px; }
  .f2 { right: 12px; }
  .svc__three .card:last-child .card__pic { aspect-ratio: 16 / 7; }
  .svc__top { grid-template-columns: 1fr; }
  .svc__three { grid-template-columns: 1fr 1fr; }
  .svc__three .card:last-child { grid-column: span 2; }
  .svc__four { grid-template-columns: 1fr 1fr; }
  .calc__box { grid-template-columns: 1fr; padding: 28px 22px; }
  .pane { grid-template-columns: 1fr; gap: 16px; }
  .pane__txt { padding: 18px 8px 8px; }
  .pane__pic { min-height: 260px; aspect-ratio: 16 / 10; }
  .tabcard__nav { right: 30px; bottom: 30px; }
  .fgrid, .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rrow { grid-template-columns: 1fr; }
  .rprog { margin-left: 0; }
  .cgrid { grid-template-columns: 1fr; }
  .ftr__card { grid-template-columns: 1fr 1fr; }
  .panel--blue::before { inset: 40% 0 0 0; border-radius: 0; background: linear-gradient(180deg, rgba(243, 247, 255, 1) 0%, rgba(120, 175, 255, .6) 40%, #0b5cf0 100%); } /* taste-skill-ignore: синяя заливка — приём референса */
}
/* ---------- телефон ---------- */
@media (max-width: 640px) {
  .hdr { top: 8px; }
  .hdr__cta { display: none; }
  .hdr__bar { height: 60px; padding: 0 8px 0 14px; gap: 10px; }
  .logo__w { font-size: 24px; }
  .hero { padding: 104px 0 70px; }
  .hero__h { font-size: clamp(44px, 13.4vw, 60px); }
  .hcard { margin-top: 30px; padding: 20px 18px; }
  .hcard__t { font-size: 24px; }
  .float { font-size: 14px; padding: 10px 12px; }
  .float b { font-size: 16px; }
  .f1 { left: 8px; bottom: -18px; }
  .f2 { right: 8px; top: -18px; }
  .panel, .sheet { border-radius: 32px 32px 0 0; padding: 72px 0 70px; }
  .sheet { margin-top: -32px; }
  .services { padding-bottom: 90px; }
  .services::after { height: 60%; }
  .card--big { flex-direction: column; }
  .card--big .card__pic { min-height: 0; aspect-ratio: 4 / 3; flex: none; }
  .card__txt { padding: 24px 20px 20px; }
  .svc__three, .svc__four { grid-template-columns: 1fr; }
  .svc__three .card:last-child { grid-column: auto; }
  .calc__box { margin-top: 36px; padding: 22px 14px 14px; border-radius: 20px; }
  .res { padding: 22px 18px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 4px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .tabcard { padding: 10px; }
  .pane__txt { padding: 14px 8px 4px; }
  .pane__pic { min-height: 0; }
  .tabcard__nav { right: 22px; bottom: 22px; }
  .fgrid { grid-template-columns: 1fr; gap: 12px; }
  .fault { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 18px; }
  .fault__ico { margin: 0; width: 48px; height: 48px; }
  .fault__t { flex: 1 1 60%; font-size: 21px; }
  .fault__p { flex: 1 1 100%; padding-left: 64px; }
  .pgrid { grid-template-columns: 1fr; gap: 12px; }
  .pcard { min-height: 0; }
  .rscroll { grid-auto-columns: 86%; }
  .rprog { margin-top: 16px; }
  .marq { margin-top: 40px; }
  .cform { padding: 24px 16px; }
  .cinfo { grid-template-columns: 1fr; }
  .cinfo__v { font-size: 24px; }
  .cside__pic { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
  .res__sum { font-size: 30px; }
  .pcard { padding: 18px; gap: 8px; }
  .cside__txt { padding: 22px 18px 26px; }
  .ftr__card { grid-template-columns: 1fr; padding: 28px 22px; gap: 24px; }
  #oform .btn { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marq__in { animation: none; }
}
