/* Типография: шаблон главной (тёмный первый экран, белый каталог-сетка, тёмные блоки со скруглённым верхом, красный акцент). */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-tight-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-tight-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-tight-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: #030303;
  --dark: #191919;
  --dark2: #232323;
  --black: #0c0c0c;
  --white: #ffffff;
  --grey: #ececec;       /* фон карточек каталога */
  --grey2: #8a8a8a;      /* серый второй строки заголовков */
  --muted: #6f6f6f;
  --red: #e3262c;
  --red2: #f95d51;
  --gut: 40px;
  --r: 20px;
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.45 var(--font); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: 8px; top: 8px; z-index: 100; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; background: var(--white); }
.skip:focus { width: auto; height: auto; clip-path: none; padding: 8px 14px; }
section { position: relative; padding: 80px var(--gut); }

.h2 { font: 500 50px/1 var(--font); letter-spacing: -1.5px; max-width: 900px; }
.h2 .muted { color: var(--grey2); }
.catalog .h2 .muted { color: #4b4b4b; display: block; }
.h2--light { color: var(--white); }
.h2--light .muted { color: #7a7a7a; }
.why .h2 .muted, .calc .h2 .muted, .ftr .h2 .muted { display: block; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 30px; border: 0; border-radius: 8px; background: var(--red); color: var(--white); font: 500 16px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background-color .25s, transform .25s; }
.btn:hover { background: #c81e24; }
.btn:active { transform: translateY(1px); }
.ul { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,0,0,.3); }
.ul:hover { text-decoration-color: currentColor; }

/* ШАПКА */
.hdr { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 78px; display: flex; align-items: center; gap: 24px; padding: 0 var(--gut); color: var(--white); transition: background-color .3s, height .3s; }
.hdr::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 1px; background: rgba(255,255,255,.18); } /* taste-skill-ignore: линия под шапкой, как в референсе */
.hdr.is-solid { background: rgba(25,25,25,.94); height: 64px; }
.hdr__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 150px; }
.hdr__logo b { font: 800 30px/1 var(--font); letter-spacing: 1px; color: var(--red); }
.hdr__logo small { font: 500 13px/1.1 var(--font); color: #a5a5a5; text-transform: lowercase; }
.hdr__nav { display: flex; gap: 6px; margin-right: auto; }
.hdr__nav a { padding: 10px 16px; border-radius: 30px; font: 500 16px/1.5 var(--font); text-decoration: none; transition: background-color .2s; }
.hdr__nav a:hover, .hdr__nav a.is-active { background: rgba(255,255,255,.1); }
.hdr__tel { font: 500 16px/1 var(--font); text-decoration: none; white-space: nowrap; }
.hdr__wa { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px; background: #25b04a; color: var(--white); flex: none; }
.hdr__wa svg { width: 22px; height: 22px; }
.hdr__burger { display: none; }
.menu { position: fixed; inset: 0; z-index: 49; background: var(--dark); color: var(--white); padding: 96px 20px 32px; display: flex; flex-direction: column; gap: 28px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a { font: 500 30px/1.3 var(--font); text-decoration: none; letter-spacing: -.5px; }
.menu__tel { display: flex; flex-direction: column; gap: 6px; font-size: 20px; }
.menu__tel a { text-decoration: none; color: var(--red); }

/* ПЕРВЫЙ ЭКРАН */
.hero { min-height: 100svh; padding: 0; background: #2a2a2a; color: var(--white); overflow: hidden; display: flex; }
.hero__shade { position: absolute; inset: 0; background: var(--black); clip-path: polygon(0 0, 82% 0, 0 76%); }
.hero__art { position: absolute; right: 7%; top: 0; width: min(560px, 40vw); height: auto; }
.art-strip { fill: var(--red); }
.art-print text { fill: #fff; font: 800 44px/1 var(--font); letter-spacing: 4px; }
.art-marks circle, .art-marks path { fill: none; stroke: #fff; stroke-width: 1.4; opacity: .9; }
.art-side { fill: #b81d24; }
.art-band { stroke: #8f141a; stroke-width: 2; }
.art-inner { fill: #2a2a2a; }
.art-face { fill: var(--red); }
.art-hole { fill: #171717; }
.art-rings ellipse { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 2; }
.art-word { fill: #fff; font: 800 46px/1 var(--font); letter-spacing: 10px; opacity: .9; }
.hero__in { position: relative; z-index: 1; width: 100%; padding: 122px var(--gut) 88px; display: flex; flex-direction: column; justify-content: space-between; min-height: 100svh; }
.hero__t { font: 500 80px/1 var(--font); letter-spacing: -2px; max-width: 900px; }
.hero__t .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__t .ln > span { display: inline-block; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 48px; }
.hero__slogan { font: 500 20px/1.3 var(--font); letter-spacing: -.5px; }
.hero__txt .btn { margin-top: 28px; min-width: 220px; }
.hero__p { margin-top: 20px; max-width: 470px; font-size: 17px; line-height: 1.38; color: #9d9d9d; }
.hero__stamp { display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 8px; border: 2px solid #8c8c8c; border-radius: 4px; color: #b5b5b5; } /* taste-skill-ignore: штамп, как «Сделано в России» у референса */
.hero__stamp b { font: 800 22px/1 var(--font); letter-spacing: 1px; }
.hero__stamp span { font: 600 13px/1.1 var(--font); text-transform: uppercase; letter-spacing: 1px; }

/* КАТАЛОГ */
.catalog { margin-top: -40px; border-radius: 40px 40px 0 0; background: var(--white); z-index: 2; padding-top: 72px; }
.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 46px 20px; margin-top: 54px; }
.item { display: flex; flex-direction: column; align-items: stretch; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.item__img { display: block; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--grey); }
.item__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.item:hover .item__img img { transform: scale(1.06); }
.item b { margin-top: 22px; font: 500 20px/1.2 var(--font); letter-spacing: -.3px; transition: color .2s; }
.item:hover b { color: var(--red); }
.item__sub { margin-top: 8px; font-size: 15px; line-height: 1.35; color: var(--muted); }
.facts { display: flex; align-items: flex-end; gap: 60px; margin-top: 88px; }
.fact { display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.35; }
.fact:first-child { min-width: 320px; }
.ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 4px; background: var(--red); color: var(--white); font: 700 15px/1 var(--font); font-style: normal; }
.ic svg { width: 16px; height: 16px; }
.facts .btn { margin-left: auto; min-height: 58px; min-width: 178px; font-size: 15px; }

/* ПОЧЕМУ ЛИК */
.why { margin-top: 0; border-radius: 40px 40px 0 0; background: var(--dark); color: var(--white); padding-top: 64px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 58px; }
.tile { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; padding: 30px 30px 0; display: flex; flex-direction: column; }
.tile h3 { font: 500 24px/1.12 var(--font); letter-spacing: -.5px; }
.tile p { margin-top: 26px; max-width: 270px; font-size: 16px; line-height: 1.4; }
.tile img { position: relative; flex: none; margin: auto -6px -22px auto; width: 46%; height: auto; border-radius: 14px; transform: rotate(-5deg); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: rotate(-2deg) translateY(-10px); }
.tile--grey { background: #5f5f5f; }
.tile--grey p { color: #f2f2f2; }
.tile--red { background: #c8202a; }
.tile--red p { color: #fff; }
.tile--dark { background: #262626; }
.tile--dark p { color: #a8a8a8; }
.tile__big { margin-top: auto !important; padding-bottom: 28px; display: flex; flex-direction: column; gap: 4px; }
.tile__big b { font: 500 64px/1 var(--font); letter-spacing: -2px; color: var(--red); font-variant-numeric: tabular-nums; }
.tile__big span { color: #a8a8a8; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 88px; }
.about p { font-size: 18px; line-height: 1.38; color: #a8a8a8; max-width: 680px; }

/* РАСЧЁТ */
.calc { background: var(--dark); color: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 72px; padding-bottom: 100px; overflow: hidden; }
.calc__note { margin-top: 30px; font-size: 14px; color: #9a9a9a; }
.calc__img { align-self: center; margin-right: calc(-1 * var(--gut) - 60px); border-radius: var(--r); overflow: hidden; background: #f2f2f2; aspect-ratio: 1.2; }
.calc__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }

/* формы */
.form { display: grid; gap: 4px 24px; max-width: 600px; margin-top: 36px; }
.form label { display: grid; }
.form label span { font-size: 14px; color: #8a8a8a; padding-top: 14px; }
.form input, .form select { min-height: 48px; padding: 0; border: 0; border-bottom: 1px solid #cfcfcf; border-radius: 0; background: transparent; font-size: 16px; outline: none; transition: border-color .2s; } /* taste-skill-ignore: подчёркнутые поля формы, как в референсе */
.form input:focus, .form select:focus { border-color: var(--red); }
.form--dark input, .form--dark select { border-color: #4a4a4a; color: var(--white); }
.form--dark select option { color: #111; }
.form .btn { justify-self: start; margin-top: 28px; min-width: 220px; }
.form__err { color: var(--red); font-size: 14px; margin-top: 8px; }

/* ЦЕНЫ */
.prices { padding-top: 96px; }
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.pcard__img { aspect-ratio: 440 / 282; border-radius: var(--r); overflow: hidden; background: var(--grey); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .6s; }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__date { margin-top: 18px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.pcard h3 { margin-top: 6px; font: 500 20px/1.25 var(--font); letter-spacing: -.3px; }
.pcard dl { margin-top: 12px; display: grid; gap: 2px; }
.pcard dl div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 15px; }
.pcard dt { color: #3a3a3a; }
.pcard dd { font-weight: 600; white-space: nowrap; }
.prices__note { display: flex; align-items: flex-start; gap: 12px; margin-top: 36px; max-width: 780px; font-size: 15px; color: var(--muted); }
.ic--sm { flex: none; width: 22px; height: 22px; font-size: 13px; }

/* КЛИЕНТАМ */
.clients { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 96px; }
.clients__l p { margin-top: 36px; max-width: 470px; font-size: 16px; line-height: 1.4; }
.clients .form { margin-top: 0; }

/* ПОДВАЛ */
.ftr { border-radius: 40px 40px 0 0; background: var(--dark); color: var(--white); padding: 40px var(--gut) 24px; }
.ftr__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.ftr__top .h2 { max-width: 640px; }
.ftr__logo { font: 800 92px/.9 var(--font); color: var(--red); letter-spacing: 2px; }
.ftr > .btn { margin-top: 44px; min-width: 230px; }
.ftr__row { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 40px; margin-top: 140px; }
.ftr__tels { display: flex; flex-direction: column; }
.ftr__tels a { font: 400 50px/1 var(--font); letter-spacing: -1.5px; color: var(--red); text-decoration: none; }
.ftr__mail a { font: 400 50px/1 var(--font); letter-spacing: -1.5px; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.ftr__addr { display: grid; gap: 18px; text-align: right; font-size: 15px; line-height: 1.4; color: #cfcfcf; }
.ftr__addr b { display: block; color: var(--white); font-weight: 500; }
.ftr__addr a { color: var(--white); }
.ftr__bot { display: flex; flex-wrap: wrap; gap: 8px 40px; margin-top: 56px; font-size: 13px; color: #8f8f8f; }
.ftr__bot a { color: #bdbdbd; }

/* ОКНО ЗАКАЗА */
.sheet { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.6); }
.sheet[hidden] { display: none; }
.sheet__box { position: relative; width: min(640px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: var(--r); background: var(--white); padding: 36px 36px 32px; }
.sheet__x { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--grey); font-size: 24px; line-height: 1; cursor: pointer; }
.sheet__t { font: 500 34px/1.05 var(--font); letter-spacing: -1px; padding-right: 40px; }
.sheet__sub { margin-top: 10px; color: var(--muted); }
.sheet .form { grid-template-columns: 1fr 1fr; max-width: none; margin-top: 12px; }
.sheet .wide { grid-column: 1 / -1; }
.sheet .btn.wide { width: 100%; }

/* ---------- адаптив ---------- */
@media (max-width: 1280px) {
  .hero__t { font-size: 68px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ftr__tels a, .ftr__mail a { font-size: 40px; }
}
@media (max-width: 1100px) {
  .hdr__nav a { padding: 10px 10px; font-size: 15px; }
  .hdr__logo small { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__row { grid-template-columns: 1fr 1fr; }
  .ftr__addr { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 900px) {
  :root { --gut: 20px; --r: 16px; }
  section { padding: 56px var(--gut); }
  .h2 { font-size: 34px; letter-spacing: -1px; line-height: 1.05; }
  .hdr { height: 60px; gap: 10px; }
  .hdr.is-solid { height: 60px; }
  .hdr::after { left: 0; right: 0; }
  .hdr__nav, .hdr__tel { display: none; }
  .hdr__logo { min-width: 0; }
  .hdr__burger { display: grid; place-content: center; gap: 7px; width: 44px; height: 44px; margin-right: -8px; border: 0; background: transparent; cursor: pointer; }
  .hdr__burger span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform .3s; }
  .hdr__burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .hdr__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .hero { min-height: 0; }
  .hero__in { min-height: 0; padding: 86px var(--gut) 72px; }
  .hero__t { font-size: 40px; letter-spacing: -1px; }
  .hero__art { position: relative; right: auto; top: auto; display: block; width: 78%; margin: 0 auto; order: 2; }
  .hero { flex-direction: column; }
  .hero__in { display: contents; }
  .hero__t { order: 1; padding: 86px var(--gut) 0; }
  .hero__bottom { order: 3; padding: 0 var(--gut) 72px; margin-top: 8px; flex-direction: column; align-items: flex-start; }
  .hero__shade { clip-path: polygon(0 0, 100% 0, 0 60%); }
  .catalog { padding-top: 48px; border-radius: 24px 24px 0 0; }
  .grid { grid-template-columns: 1fr 1fr; gap: 30px 12px; margin-top: 32px; }
  .item b { margin-top: 12px; font-size: 16px; }
  .item__sub { font-size: 13px; }
  .facts { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 48px; }
  .fact:first-child { min-width: 0; }
  .facts .btn { margin-left: 0; width: 100%; }
  .why { border-radius: 24px 24px 0 0; }
  .tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 32px calc(-1 * var(--gut)) 0; padding: 0 var(--gut) 8px; }
  .tile { flex: 0 0 78%; scroll-snap-align: start; padding: 24px 22px 0; }
  .about { grid-template-columns: 1fr; margin-top: 44px; gap: 16px; }
  .about p { font-size: 16px; }
  .calc { grid-template-columns: 1fr; padding-bottom: 56px; }
  .calc__img { margin: 0 calc(-1 * var(--gut)) 0 30%; border-radius: var(--r) 0 0 var(--r); }
  .pcards { grid-template-columns: 1fr; gap: 36px; }
  .clients { grid-template-columns: 1fr; gap: 12px; }
  .ftr { border-radius: 24px 24px 0 0; padding-top: 48px; }
  .ftr__top { flex-direction: column; gap: 20px; }
  .ftr__logo { order: -1; font-size: 54px; }
  .ftr > .btn { width: 100%; }
  .ftr__row { grid-template-columns: 1fr; margin-top: 56px; gap: 24px; }
  .ftr__tels a, .ftr__mail a { font-size: 30px; letter-spacing: -.5px; }
  .ftr__bot { flex-direction: column; }
  .sheet { align-items: end; padding: 0; }
  .sheet__box { border-radius: var(--r) var(--r) 0 0; padding: 28px 20px 24px; max-height: 92vh; }
  .sheet .form { grid-template-columns: 1fr; }
  .sheet__t { font-size: 28px; }
}
@media (max-width: 420px) {
  .hero__t { font-size: 31px; }
  .h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
