/* TodoInoxidable — страница контактов. Собрано из мокапа mockup/mockup.css (без шапки, панели мокапа и вариантов главной). */

:root {
  /* нейтральная «стальная» шкала — общая для всех палитр */
  --ink: #0e1318;
  --ink-2: #151c23;
  --ink-3: #1f2830;
  --steel-700: #39444f;
  --steel-600: #4b5662;
  --steel-500: #66717e;
  --steel-400: #8c97a3;
  --steel-300: #b9c1ca;
  --steel-200: #dbe0e6;
  --steel-100: #edf0f3;
  --paper: #f6f7f9;
  --white: #ffffff;

  /* акцент — бирюзовый из темы сайта */
  --accent: #50817e;          /* кнопки, иконки, линии */
  --accent-hover: #467370;
  --accent-text: #467370;     /* мелкий текст и ссылки на белом (контраст 5,3:1) */
  --accent-soft: rgba(80, 129, 126, 0.14);
  --accent-on-dark: #64a19d;  /* текст и иконки на тёмном фоне (контраст ~6:1) */
  --on-accent: #ffffff;

  /* шрифты */
  --f-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --head-track: -0.025em;
  --head-weight: 800;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(14, 19, 24, 0.06), 0 8px 24px rgba(14, 19, 24, 0.06);
  --shadow-lg: 0 2px 4px rgba(14, 19, 24, 0.06), 0 20px 48px rgba(14, 19, 24, 0.12);
  --steel-gradient: linear-gradient(90deg, #7d8894 0%, #e9edf1 35%, #a7b0ba 55%, #f4f6f8 75%, #7d8894 100%);
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
}

:root[data-font="nunito"] {
  --f-head: "Nunito", system-ui, sans-serif;
  --f-body: "Nunito", system-ui, sans-serif;
  --head-track: -0.01em;
  --head-weight: 800;
}

:root[data-font="plex"] {
  --f-head: "IBM Plex Sans Condensed", "IBM Plex Sans", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, sans-serif;
  --head-track: -0.01em;
  --head-weight: 700;
}

/* ---------------------------------------------------------------- база */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;          /* 17px — комфортно для длинных немецких и русских слов */
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1.12;
  margin: 0 0 0.75rem;
  text-wrap: balance;
  hyphens: auto;                 /* переносы по правилам языка из <html lang> */
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.25rem, 5.2vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.25; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; text-wrap: pretty; }
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--white); color: var(--ink); padding: 0.5rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* надстрочная подпись раздела: моноширинный, с «полированной» чертой */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--f-mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 2px; background: var(--steel-gradient); border-radius: 2px; }
.on-dark .eyebrow { color: var(--accent-on-dark); }

/* фактура шлифованной стали для тёмных блоков */
.brushed {
  background-color: var(--ink-2);
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.016) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.05) 0 2px, transparent 2px 7px),
    linear-gradient(115deg, rgba(255,255,255,0.055) 0%, transparent 38%, rgba(255,255,255,0.035) 62%, transparent 100%);
}
.on-dark { color: var(--steel-200); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }

/* ---------------------------------------------------------------- кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.8rem 1.4rem;
  font-family: var(--f-body); font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn svg, .btn .ic { width: 1.15em; height: 1.15em; flex: none; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { border-color: rgba(255,255,255,0.28); color: var(--white); background: rgba(255,255,255,0.04); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }
.btn-outline { border-color: var(--steel-300); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }

/* иконки: линейные SVG через currentColor; логотип WhatsApp — маской */
.ic { display: inline-block; width: 1.25rem; height: 1.25rem; flex: none; }

/* ---------------------------------------------------------------- разделы */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { color: var(--steel-600); font-size: 1.125rem; }
.on-dark .section-head p { color: var(--steel-300); }

/* ================================================================ КОНТАКТЫ */
.page-hero { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero::after { /* полоса «полированной стали» по нижнему краю */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--steel-gradient); opacity: .55;
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 1.75rem; font-size: 0.9rem; color: var(--steel-400); }
.breadcrumb a { color: var(--steel-300); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--steel-600); }
.page-hero .lead { color: var(--steel-300); max-width: 44rem; margin-bottom: 2.5rem; }

.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.quick {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1.1rem 1.15rem; border-radius: var(--radius);
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.09);
  text-decoration: none; color: var(--white);
  transition: border-color .2s, background-color .2s, transform .2s;
}
.quick:hover { border-color: var(--accent-on-dark); background: rgba(255,255,255,0.06); transform: translateY(-2px); }
.quick-icon { width: 2.75rem; height: 2.75rem; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,0.07); color: var(--accent-on-dark); }
.quick-icon .ic, .quick-icon svg { width: 1.3rem; height: 1.3rem; }
.quick-body { min-width: 0; flex: 1; }
.quick-label { display: block; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-400); }
.quick-value { display: block; font-weight: 600; font-size: 0.98rem; line-height: 1.35; overflow-wrap: break-word; }
.quick-arrow { color: var(--steel-500); transition: transform .2s, color .2s; flex: none; display: inline-flex; }
.quick-arrow .ic { width: 1.1rem; height: 1.1rem; }
.quick:hover .quick-arrow { transform: translateX(3px); color: var(--white); }

.contact-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
@media (max-width: 960px) { .contact-main { grid-template-columns: 1fr; } }

.card { background: var(--white); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--steel-100); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.92rem; font-weight: 600; color: var(--steel-700); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--steel-200); border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem; min-height: 3.1rem; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 8.5rem; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366717e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 1.1rem; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px var(--accent-soft); }
.dropzone {
  display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.1rem; cursor: pointer;
  border: 1.5px dashed var(--steel-300); border-radius: var(--radius-sm); background: var(--paper); color: var(--steel-600); font-size: 0.95rem;
}
.dropzone:hover { border-color: var(--accent); color: var(--ink); }
.dropzone .ic, .dropzone svg { color: var(--accent); width: 1.5rem; height: 1.5rem; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; color: var(--steel-600); }
.check input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--accent); flex: none; }
.check a { color: var(--ink); text-underline-offset: 3px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.mock-note { font-family: var(--f-mono); font-size: 0.75rem; color: var(--steel-500); border: 1px dashed var(--steel-300); border-radius: 6px; padding: 0.3rem 0.55rem; }

.info-card { border-radius: calc(var(--radius) + 4px); padding: clamp(1.5rem, 3vw, 2.25rem); }
.info-row { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.9rem; padding-block: 1.1rem; border-top: 1px solid rgba(255,255,255,0.08); }
.info-row:first-of-type { border-top: 0; padding-top: 0.25rem; }
.info-row .quick-icon { width: 2.5rem; height: 2.5rem; }
.info-label { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-400); margin-bottom: 0.2rem; }
.info-row a { color: var(--white); text-decoration: none; font-weight: 600; }
.info-row a:hover { color: var(--accent-on-dark); }
.info-row address { font-style: normal; color: var(--steel-200); line-height: 1.55; }
.info-row .muted { color: var(--steel-400); font-weight: 400; }
.info-legal { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); font-family: var(--f-mono); font-size: 0.78rem; color: var(--steel-400); }

.area-card { margin-top: 1.25rem; }
.area-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.area-card p { color: var(--steel-600); font-size: 0.98rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: 0.75rem 0 0; }
.chips li { font-size: 0.88rem; padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--steel-100); color: var(--steel-700); border: 1px solid var(--steel-200); }
.chips li:first-child { background: var(--ink); color: var(--white); border-color: var(--ink); }

.map-band { position: relative; min-height: 30rem; background: var(--steel-200); }
.map-band iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.08) brightness(0.97); transition: filter .4s; }
.map-band:hover iframe { filter: grayscale(0.15); }
.map-card { position: relative; z-index: 2; max-width: 25rem; margin: 3rem 0; }
.map-card p { color: var(--steel-600); }
.map-wrap { position: relative; }
@media (max-width: 760px) {
  .map-band { min-height: 0; display: flex; flex-direction: column-reverse; }
  .map-band iframe { position: relative; height: 22rem; }
  .map-card { margin: 0 0 0; max-width: none; border-radius: 0; box-shadow: none; }
}

.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (max-width: 960px) { .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps-grid { grid-template-columns: 1fr; } }
.steps-grid li { counter-increment: step; background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius); padding: 1.4rem 1.25rem 1.3rem; position: relative; font-weight: 500; line-height: 1.5; }
.steps-grid li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--f-mono); font-size: 0.85rem; font-weight: 500; color: var(--accent-text); margin-bottom: 0.9rem; padding-bottom: 0.75rem; border-bottom: 2px solid transparent; border-image: var(--steel-gradient) 1; width: 2.5rem; }

/* ---------------------------------------------------------------- подвал */
.site-footer { background: var(--ink); color: var(--steel-400); padding-top: 4rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem 3rem; padding-bottom: 3rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-500); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-grid a { color: var(--steel-200); text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.footer-about { max-width: 22rem; margin-top: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-block: 1.25rem; font-family: var(--f-mono); font-size: 0.78rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }

/* ---------------------------------------------------------------- поправки и мобильная панель */
.field .label { display: block; font-size: 0.92rem; font-weight: 600; color: var(--steel-700); margin-bottom: 0.4rem; }
.field .dropzone { display: flex; font-weight: 400; margin: 0; color: var(--steel-600); font-size: 0.95rem; position: relative; overflow: hidden; }
.dropzone input[type="file"] { left: 0; top: 0; }
.info-card h2 { font-size: 1.35rem; margin-bottom: 1.25rem; }
.area-card .chips li:first-child { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips li:first-child { background: var(--steel-100); color: var(--steel-700); border-color: var(--steel-200); }
.area-card .chips li:first-child { background: var(--ink); color: var(--white); border-color: var(--ink); }
.section-sub { color: var(--steel-600); margin-bottom: 1.75rem; }
.tinted { background: var(--steel-100); }
.map-card h2 { font-size: 1.5rem; }
.map-card address { font-style: normal; color: var(--ink); font-weight: 500; margin-bottom: 0.75rem; }

.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(3.9rem + env(safe-area-inset-bottom)); }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 1px;
    background: rgba(255,255,255,0.1); border-top: 1px solid rgba(255,255,255,0.1);
    padding-bottom: env(safe-area-inset-bottom); background-color: var(--ink);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem;
    min-height: 3.9rem; padding: 0.5rem 0.35rem; background: var(--ink); color: var(--steel-200);
    text-decoration: none; font-size: 0.78rem; font-weight: 600; line-height: 1.15; text-align: center;
  }
  .mobile-bar a .ic { width: 1.3rem; height: 1.3rem; }
  .mobile-bar a.is-accent { background: var(--accent); color: var(--on-accent); }
  .page-hero .lead { margin-bottom: 2rem; }
}

/* форма скрыта, пока нет данных для почты: html[data-form="off"] */
html[data-form="off"] .form-card { display: none; }
html[data-form="off"] .contact-main { grid-template-columns: 1fr; }
html[data-form="off"] .contact-main aside { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(1.25rem, 3vw, 2rem); align-items: stretch; }
html[data-form="off"] .area-card { margin-top: 0; }
@media (max-width: 860px) { html[data-form="off"] .contact-main aside { grid-template-columns: 1fr; } }

/* ================================================================ «Что будет дальше» */
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: next; }
@media (max-width: 1000px) { .next-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .next-steps { grid-template-columns: 1fr; } }
.next-steps li { counter-increment: next; position: relative; background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius); padding: 1.4rem 1.3rem 1.35rem; }
.next-steps li::before {
  content: counter(next, decimal-leading-zero); display: inline-grid; place-items: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; margin-bottom: 1rem;
  font-family: var(--f-mono); font-size: 0.85rem; font-weight: 500; color: var(--accent-text); background: var(--accent-soft);
}
.next-steps li:first-child::before { background: var(--accent); color: var(--on-accent); }
.next-steps h3 { font-size: 1.08rem; line-height: 1.3; margin-bottom: 0.4rem; }
.next-steps p { margin: 0; color: var(--steel-600); font-size: 0.97rem; line-height: 1.55; }
@media (min-width: 1001px) { /* соединительная линия между шагами */
  .next-steps li:not(:last-child)::after { content: ""; position: absolute; top: 2.6rem; right: -1rem; width: 1rem; height: 2px; background: var(--steel-300); }
}
.tip {
  margin-top: 1.5rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center;
  background: var(--white); border: 1px solid var(--steel-200); border-left: 4px solid #64a19d; border-radius: var(--radius); padding: 1.15rem 1.4rem;
}
.tip p { margin: 0.2rem 0 0; color: var(--steel-700); }
.tip-label { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-500); }
@media (max-width: 640px) { .tip { grid-template-columns: 1fr; } .tip .btn { width: 100%; } }
.next-section { padding-top: 0; }
.brand-footer { font-family: "Nunito", system-ui, sans-serif; font-weight: 800; font-size: 1.2rem; letter-spacing: 0.0625em; color: var(--white); text-decoration: none; }

