/* SzlifZone — wspólny rytm, typografia i układ mobilny. */
:root {
  --black: #0b0c0c;
  --black-soft: #121414;
  --black-elevated: #191b1b;
  --black-line: #2b2e2c;
  --white: #f4f2eb;
  --gray-100: #d1d0c8;
  --gray-300: #b3b3aa;
  --gray-500: #97998f;
  --orange: #ff743b;
  --orange-dim: #d95b25;
  --orange-glow: rgba(255,116,59,.12);
  --container: 1200px;
  --gutter: clamp(20px,4vw,48px);
  --radius: 4px;
}
html { scroll-padding-top: 96px; }
body { line-height: 1.7; text-rendering: optimizeLegibility; }
[hidden] { display: none !important; }
main, .container, .hero-copy, .service-block, .field { min-width: 0; }
h1, h2, h3, h4 { font-weight: 650; letter-spacing: -.035em; text-wrap: balance; }
h1 { line-height: 1.1; }
h2 { line-height: 1.18; }
p { text-wrap: pretty; }
img, video { max-width: 100%; }
img { height: auto; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, .btn { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
.section { padding-block: clamp(56px,8vw,104px); }
.section-head { max-width: 760px; margin-bottom: clamp(28px,4vw,48px); }
.section-head h2, .service-block-head h2 { font-size: clamp(28px,3.5vw,42px); }
.section-head p, .service-note, .usr-note { line-height: 1.7; }
.eyebrow { font-size: 11px; letter-spacing: .13em; line-height: 1.8; }
.grid-field, .technical-grid { opacity: .42; }
.btn { min-height: 48px; padding: 14px 22px; font-size: 12px; letter-spacing: .055em; white-space: normal; text-align: center; line-height: 1.45; }
.btn-primary { color: #17100c; font-weight: 700; }
.btn-primary:hover { background: #ff8b59; border-color: #ff8b59; }
.btn-outline { border-color: #62675f; }
.btn-ghost { min-height: 44px; }
.site-header .container { height: 80px; gap: 24px; }
.main-nav { gap: clamp(16px,2vw,28px); }
.main-nav a { font-size: 12px; letter-spacing: .04em; }
.site-nav-panel { top: 80px; overflow-y: auto; max-height: calc(100dvh - 80px); }
.hero { padding-block: clamp(48px,6vw,88px); }
.hero h1 { font-size: clamp(35px,4.8vw,62px); max-width: 650px; margin-bottom: 24px; }
.hero .lede, .page-hero .lede { font-size: clamp(16px,1.4vw,18px); line-height: 1.8; max-width: 62ch; }
.hero-media { width: 112px; margin-bottom: 24px; }
.hero-actions { gap: 12px; margin-bottom: 28px; }
.hero-tags { gap: 8px; font-size: 10px; letter-spacing: .025em; }
.hero-mechanical { opacity: .75; }
.hero-blueprint { gap: 24px; }
.page-hero { padding-block: clamp(44px,6vw,76px); }
.page-hero h1 { font-size: clamp(34px,4.5vw,56px); max-width: 850px; }
.uslugi-panel { grid-template-columns: 240px minmax(0,1fr); min-height: 390px; }
.uslugi-list { padding: clamp(20px,3vw,36px); border-left: 0; }
.uslugi-service-row { padding: 18px 0; }
.uslugi-service-row .usr-name { font-size: 17px; margin-bottom: 7px; }
.uslugi-service-row .usr-note { font-size: 14px; color: var(--gray-300); }
.uslugi-nav button { min-height: 60px; font-size: 12px; line-height: 1.6; }
.why-grid { gap: 32px 40px; }
.why-item { padding-block: 8px; }
.why-item h3, .process-step h3 { font-size: 21px; line-height: 1.35; }
.why-item p, .process-step p { font-size: 15px; line-height: 1.75; }
.process-line { gap: 28px; }
.service-row { padding: 22px 24px; gap: 20px; }
.service-name { font-size: 18px; line-height: 1.4; }
.service-note { margin-top: 7px; max-width: 70ch; font-size: 14px; color: var(--gray-300); }
.status-pill { white-space: normal; line-height: 1.5; }
.showcase-media { overflow: hidden; background: #151716; }
.showcase-media-img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform .5s var(--ease); }
.showcase-card { overflow: hidden; }
.showcase-body { padding: 24px; }
.showcase-body h3 { font-size: 23px; }
.platform-featured, .platform-secondary { align-items: start; }
.contact-grid { gap: 36px; }
.contact-value { font-size: clamp(19px,2.2vw,28px); overflow-wrap: anywhere; white-space: normal !important; line-height: 1.5; }
.map-placeholder { min-height: 0; padding: 32px; text-align: left; }
.cta-final { padding-block: clamp(52px,7vw,88px); }
.cta-final-actions { gap: 12px; }
.site-footer { padding-top: 56px; }
.footer-top { gap: 32px; }
.footer-links a { display: inline-block; padding-block: 6px; }
.reveal { opacity: 1; transform: none; transition: none; }
.reveal.is-visible { animation: szlif-reveal .45s var(--ease) both; }
@keyframes szlif-reveal { from { opacity: .65; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.flow-header .container { gap: 16px; }
.flow-back { font-size: 11px; letter-spacing: .03em; }
.flow-step { padding-block: clamp(32px,5vw,64px); }
.flow-step-head h1, .flow-step-head h2 { font-size: clamp(30px,4vw,48px); line-height: 1.18; }
.flow-step-head { margin-bottom: 28px; }
.field input, .field textarea, .field select { font-size: 16px; line-height: 1.5; min-height: 50px; border-radius: 4px; }
.field label { letter-spacing: .03em; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); outline: 2px solid rgba(255,116,59,.2); outline-offset: 2px; }
.lead-panel { padding: clamp(20px,4vw,36px); }
.flow-hint { font-size: 14px; line-height: 1.75; }
.flow-hint a { text-underline-offset: 4px; }
.flow-error { font-family: var(--font-display); font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.component-tile, .role-tile { min-height: 130px; }
.summary-block { margin-bottom: 24px; }
.summary-row { gap: 16px; }
.summary-total-row { gap: 16px; flex-wrap: wrap; }
.check-row .service-name { font-size: 17px; }
.check-row { padding-block: 20px; }
.privacy-main { max-width: 820px; margin-inline: auto; padding: 56px var(--gutter) 80px; }
.privacy-main h1 { font-size: clamp(30px,4vw,46px); margin-block: 28px 44px; }
.privacy-main h2 { font-size: 23px; margin-top: 36px; }
.privacy-main p { line-height: 1.85; }
@media (hover:hover) { .showcase-card a:hover .showcase-media-img { transform: scale(1.025); } }
@media (max-width:1024px) {
  .site-header .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav-panel .main-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav-panel .main-nav a { padding: 18px 8px; font-size: 18px; border-bottom: 1px solid var(--black-line); }
  .hero-technical { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { max-width: 760px; }
  .hero-blueprint { display: none; }
  .hero-mechanical { max-width: 230px; }
}
@media (max-width:900px) {
  .uslugi-panel { grid-template-columns: 1fr; }
  .uslugi-nav { border-right: 0; }
  .uslugi-nav button { flex: 1 1 160px; }
}
@media (max-width:640px) {
  html { scroll-padding-top: 80px; }
  .site-header .container { height: 72px; gap: 12px; }
  .site-nav-panel { top: 72px; max-height: calc(100dvh - 72px); }
  .header-actions { gap: 8px; }
  .header-actions .btn { min-height: 44px; padding: 11px 15px; }
  .nav-toggle { width: 44px; height: 44px; }
  .hero { padding-top: 36px; }
  .hero-media { width: 88px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(33px,8.8vw,44px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-mechanical { display: none; }
  .why-grid, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .why-grid { gap: 28px; }
  .service-block-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .service-block-head .btn { width: 100%; }
  .service-row { padding: 20px; }
  .uslugi-nav { flex-direction: column; }
  .uslugi-nav button { flex: none; border-right: 0; border-bottom: 1px solid var(--black-line); padding: 16px 20px; }
  .uslugi-list { padding: 20px; }
  .showcase-media { max-height: 560px; }
  .platform-featured .showcase-card.is-vertical, .platform-secondary .showcase-card.is-instagram { max-width: 360px; width: 100%; margin-inline: auto; }
  .cta-final-actions { flex-direction: column; }
  .cta-final-actions .btn, .cta-final-contact { width: 100%; min-width: 0; }
  .flow-header-left { gap: 10px; }
  .flow-back { max-width: 100px; text-align: right; }
  .flow-header .brand-logo-only { width: 86px; flex-basis: 86px; }
  .flow-progress-item { font-size: 10px; letter-spacing: 0; align-items: flex-start; flex-direction: column; gap: 3px; }
  .form-grid, .component-tiles { grid-template-columns: minmax(0,1fr); }
  .flow-step-actions { gap: 12px; }
  .summary-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .summary-row-price { font-size: 16px; }
  .summary-total .amount { font-size: clamp(24px,6vw,32px); overflow-wrap: anywhere; }
  .summary-total-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .lead-panel-submit { width: 100%; padding: 16px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .reveal.is-visible { animation: none; }
  .showcase-media-img { transition: none; }
}
