/* waterjet.wandeli.ru — тёмный графит, кремовые секции, латунный акцент. Шрифт Inter. */
:root {
  --ink: #111111;
  --ink-2: #181818;
  --ink-3: #222222;
  --cream: #F3EFE8;
  --cream-2: #E9E3D8;
  --paper: #FFFFFF;
  --fg-dark: #171717;
  --fg-light: #F2EEE6;
  --muted-light: #A8A298;
  --muted-dark: #6D675E;
  --line-dark: #2C2C2C;
  --line-light: #D9D2C5;
  --gold: #D8B274;
  --gold-2: #C9A05E;
  --gold-ink: #1A1A1A;
  --ok: #3E8E5B;
  --warn: #C27A2C;
  --bad: #B8433B;
  --font: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, "Courier New", monospace;
  --radius: 10px;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--fg-dark); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(32px, 4.6vw, 54px); }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: 17px; font-weight: 600; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.dark { background: var(--ink); color: var(--fg-light); }
.dark .muted, .muted-light { color: var(--muted-light); }
.light { background: var(--cream); color: var(--fg-dark); }
.light .muted, .muted-dark { color: var(--muted-dark); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-outline { background: transparent; border-color: currentColor; }
.btn-outline:hover { background: rgba(0, 0, 0, 0.05); }
.dark .btn-outline:hover { background: rgba(255, 255, 255, 0.07); }
.btn-small { padding: 9px 16px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: default; }
.btn .arrow { width: 16px; height: 16px; }

/* шапка */
.header { position: sticky; top: 0; z-index: 20; background: rgba(17, 17, 17, 0.92); backdrop-filter: blur(8px); color: var(--fg-light); border-bottom: 1px solid var(--line-dark); }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo b { display: block; font-weight: 500; letter-spacing: 0.22em; font-size: 15px; line-height: 1.1; }
.logo small { display: block; font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-light); margin-top: 3px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { font-size: 13.5px; color: var(--fg-light); text-decoration: none; opacity: .85; padding-block: 4px; border-bottom: 1px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a.on { opacity: 1; border-bottom-color: var(--gold); }
.header .btn { margin-left: 8px; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line-dark); color: inherit; border-radius: 8px; width: 42px; height: 38px; cursor: pointer; }
@media (max-width: 960px) {
  .nav { display: none; }
  .header .btn { display: none; }
  .burger { display: inline-grid; place-items: center; }
  .header.open .nav { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 10px 20px 16px; }
  .header.open .nav a { padding-block: 10px; border-bottom: 1px solid var(--line-dark); }
  .header.open .btn { display: inline-flex; position: absolute; right: 20px; top: calc(100% + 290px); }
}

/* hero */
.hero { position: relative; overflow: hidden; color: var(--fg-light); background: #0f0f0f url("/assets/img/hero-960.webp") center right / cover no-repeat; }
@media (min-width: 961px) { .hero { background-image: url("/assets/img/hero.webp"); } }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 14, 14, 0.96) 0%, rgba(14, 14, 14, 0.9) 38%, rgba(14, 14, 14, 0.45) 62%, rgba(14, 14, 14, 0.15) 100%), linear-gradient(0deg, rgba(14, 14, 14, 0.75) 0%, transparent 35%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: end; padding-block: 64px 44px; min-height: 560px; }
.hero h1 { margin-top: 14px; }
.hero .lead { margin-top: 20px; max-width: 46ch; color: #D6D0C6; font-size: 17px; }
.hero .cta { margin-top: 28px; }
.badges { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; }
.badge { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.35; color: #D6D0C6; }
.badge svg { width: 34px; height: 34px; flex: none; color: var(--gold); }
.hero-caption { text-align: right; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-light); align-self: end; }
.hero-caption b { display: block; font-weight: 500; letter-spacing: 0.02em; text-transform: none; color: #D6D0C6; font-size: 13px; }
@media (max-width: 860px) {
  .hero { background-position: 70% center; }
  .hero::before { background: linear-gradient(0deg, rgba(14, 14, 14, 0.97) 0%, rgba(14, 14, 14, 0.85) 55%, rgba(14, 14, 14, 0.5) 100%); }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 160px 36px; min-height: 0; }
  .hero-caption { text-align: left; }
  .badges { gap: 18px; margin-top: 30px; }
}

/* секции */
section { padding-block: 72px; }
@media (max-width: 760px) { section { padding-block: 52px; } }
.split { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 48px; align-items: start; }
.split h2 { margin-top: 12px; }
.split .text { margin-top: 18px; color: var(--muted-dark); max-width: 38ch; }
.dark .split .text { color: var(--muted-light); }
.split .btn { margin-top: 26px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* примеры работ */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 14px; }
.work { position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--fg-light); background: #2a2622; display: block; }
.work:first-child { grid-row: span 2; }
.work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.work:hover img { transform: scale(1.04); }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.75) 100%); }
.work .cap { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; font-size: 13px; line-height: 1.3; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.work .cap small { display: block; color: var(--gold); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 3px; }
.work:hover { outline: 2px solid var(--gold); outline-offset: -2px; }
@media (max-width: 760px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; } .work:first-child { grid-column: span 2; } }

/* услуги */
#services { background: #111 url("/assets/img/jet.webp") center / cover no-repeat; position: relative; }
#services::before { content: ""; position: absolute; inset: 0; background: rgba(12, 12, 12, 0.86); }
#services .wrap { position: relative; }
.service { backdrop-filter: blur(2px); }
.services { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.service { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px 18px; min-height: 190px; }
.service svg { width: 36px; height: 36px; color: var(--gold); }
.service b { display: block; font-weight: 600; font-size: 15px; margin-top: 16px; }
.service p { margin-top: 8px; font-size: 13px; color: var(--muted-light); line-height: 1.45; }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* оборудование */
.equip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.equip img { width: 100%; height: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.25)); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 26px; }
.spec { border-top: 1px solid var(--line-light); padding-top: 10px; }
.spec b { display: block; font-family: var(--mono); font-weight: 500; font-size: 22px; }
.spec small { color: var(--muted-dark); font-size: 13px; }
@media (max-width: 860px) { .equip { grid-template-columns: minmax(0, 1fr); } }

/* как заказать */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.step { position: relative; padding-right: 20px; }
.step .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--fg-light); font-size: 14px; font-weight: 600; }
.step svg.ico { width: 30px; height: 30px; margin-left: 12px; vertical-align: middle; color: var(--fg-dark); }
.step p { margin-top: 16px; font-size: 14px; color: var(--muted-dark); max-width: 24ch; }
.step::after { content: ""; position: absolute; right: 0; top: 16px; width: 14px; height: 14px; border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); transform: rotate(45deg); }
.step:last-child::after { display: none; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step:nth-child(2)::after { display: none; } }

/* заявка */
.lead-section { background: #1b1a18 url("/assets/img/bath.webp") center / cover no-repeat; color: var(--fg-light); position: relative; }
.lead-section::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 14, 14, 0.25) 0%, rgba(14, 14, 14, 0.55) 45%, rgba(14, 14, 14, 0.8) 100%); pointer-events: none; }
.lead-card { position: relative; margin-left: auto; max-width: 820px; background: rgba(18, 18, 18, 0.9); backdrop-filter: blur(6px); border: 1px solid var(--line-dark); border-radius: 14px; padding: 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.lead-card h2 { margin-top: 12px; }
.lead-card .text { margin-top: 16px; color: var(--muted-light); font-size: 15px; }
.lead-card .btn { margin-top: 26px; }
.form { display: grid; gap: 10px; }
.field { display: grid; gap: 5px; }
.field label { font-size: 13px; color: var(--muted-light); }
.lead-card .form input, .lead-card .form select, .lead-card .form textarea { width: 100%; background: #262626; border: 1px solid #3a3a3a; color: var(--fg-light); border-radius: 8px; padding: 11px 12px; }
.lead-card .form input::placeholder, .lead-card .form textarea::placeholder { color: #8a857c; }
.lead-card .form select option { color: #000; }
.lead-card .drop { border: 1px dashed #5a564f; border-radius: 8px; padding: 14px; text-align: center; font-size: 13px; color: var(--muted-light); cursor: pointer; }
.lead-card .drop:hover, .lead-card .drop.over { border-color: var(--gold); color: var(--fg-light); }
.lead-card .drop b { display: block; color: var(--fg-light); font-weight: 500; }
.files { display: grid; gap: 4px; font-size: 13px; }
.files div { display: flex; justify-content: space-between; gap: 10px; }
.files button { background: none; border: 0; color: var(--muted-light); cursor: pointer; }
.consent { font-size: 11.5px; color: var(--muted-light); }
.consent a { color: var(--muted-light); }
.form-status { font-size: 14px; min-height: 20px; }
.form-status.ok { color: #8fd3a5; }
.form-status.err { color: #f0a09a; }
@media (max-width: 860px) { .lead-card { grid-template-columns: minmax(0, 1fr); padding: 24px; } }

/* подвал */
.footer { background: var(--ink); color: var(--fg-light); padding-block: 40px 28px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.fcol { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; }
.fcol svg { width: 26px; height: 26px; color: var(--gold); flex: none; margin-top: 2px; }
.fcol b { display: block; font-weight: 500; font-size: 14px; }
.fcol small { color: var(--muted-light); display: block; margin-top: 3px; line-height: 1.4; }
.contacts { display: grid; gap: 6px; font-size: 13.5px; }
.contacts a { text-decoration: none; display: flex; gap: 10px; align-items: center; }
.contacts svg { width: 16px; height: 16px; color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); margin-top: 32px; padding-top: 16px; font-size: 12px; color: var(--muted-light); }
.footer-bottom a { color: var(--muted-light); text-decoration: none; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* страница текста */
.page { max-width: 760px; padding-block: 48px 72px; }
.page h1 { font-size: 34px; }
.page h2 { font-size: 22px; margin-top: 32px; }
.page p, .page li { margin-top: 12px; color: #3b3832; }
.page ul { padding-left: 20px; }

.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--ink); color: var(--fg-light); border: 1px solid var(--line-dark); padding: 10px 16px; border-radius: 8px; font-size: 14px; z-index: 50; max-width: calc(100% - 32px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
