/* ==========================================================================
   МАСТЕР ЧЕМОДАН — design system
   Plain CSS, no build step. Warm-neutral palette, responsive, accessible.
   ========================================================================== */

/* ---- Fonts (local, already in /fonts) ---------------------------------- */
@font-face {
  font-family: "Museo Sans Cyrl";
  src: url("../fonts/museosanscyrl-900.woff") format("woff");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Museo Sans Cyrl";
  src: url("../fonts/museosanscyrl-3001.woff") format("woff");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Museo Sans Cyrl";
  src: url("../fonts/museosanscyrl-100.woff") format("woff");
  font-weight: 100 200;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ----------------------------------------------------- */
:root {
  /* warm neutral palette */
  --bg:         #faf7f1;   /* warm paper */
  --bg-sand:    #f1eadd;   /* warm sand, alternating sections */
  --surface:    #ffffff;
  --ink:        #211e1a;   /* warm near-black */
  --ink-soft:   #564f45;   /* muted body text */
  --ink-faint:  #8b8275;   /* captions, meta */
  --line:       #e7ded0;   /* hairlines, borders */
  --line-soft:  #f0e9dc;

  /* brand accent (amber) */
  --accent:      #f5b301;
  --accent-600:  #e0a200;
  --accent-700:  #c98e00;
  --accent-ink:  #211800;  /* text on amber */
  --accent-wash: #fdf3d6;  /* tinted background */

  --dark:        #26221c;  /* dark warm section */
  --danger:      #c0392b;

  /* type */
  --font-display: "Museo Sans Cyrl", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body:    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* shape & depth */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(33,30,26,.05), 0 4px 12px rgba(33,30,26,.05);
  --shadow:    0 12px 34px rgba(33,30,26,.09);
  --shadow-lg: 0 24px 60px rgba(33,30,26,.14);

  /* layout */
  --maxw: 1140px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(48px, 7vw, 104px);

  --ring: 0 0 0 3px rgba(245,179,1,.45);
}

/* ---- Reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-700); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }

strong, b { font-weight: 700; }

:focus-visible {
  outline: 2px solid var(--accent-600);
  outline-offset: 2px;
  border-radius: 4px;
}

/* skip link */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  z-index: 200;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---- Layout helpers ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--sand { background: var(--bg-sand); }
.section--dark { background: var(--dark); color: #f3eee5; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 60ch; margin-bottom: clamp(24px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-700);
  margin-bottom: .6rem;
}
.lede { font-size: 1.1rem; color: var(--ink-soft); }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-align: center;
  padding: .9em 1.6em;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--accent-600); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.05em 2em; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

/* ---- Header / nav ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  margin-right: auto;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  color: var(--accent-ink);
  flex: none;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-mark img.brand-logo { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-weight: 900; letter-spacing: .02em; font-size: 1.05rem; }
.brand-text span { font-weight: 300; font-size: .92rem; letter-spacing: .22em; color: var(--ink-soft); }

.site-nav { display: contents; }
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 22px);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-list a {
  color: var(--ink);
  font-weight: 600;
  font-size: .98rem;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: var(--accent-700); text-decoration: none; border-color: var(--accent); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-contact { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.header-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent-700); text-decoration: none; }
.header-socials { display: flex; align-items: center; gap: 12px; }
.header-socials a { display: inline-flex; color: var(--ink); }
.header-socials a:hover { color: var(--accent-700); }
.header-socials svg { width: 24px; height: 24px; display: block; }
.header-socials img { height: 24px; width: auto; display: block; transition: opacity .2s ease; }
.header-socials a:hover img { opacity: .82; }

.nav-toggle {
  display: none;
  flex: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after  { transform: translateY(5px); }
.nav-toggle span { position: relative; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(0); top: -2px; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .site-nav {
    display: block;
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 18px var(--gutter) 26px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line-soft); }
  .nav-list a { display: block; padding: 14px 4px; font-size: 1.05rem; border: 0; }
  .header-cta { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 18px; }
  .header-contact { align-items: center; gap: 8px; }
  .header-socials { justify-content: center; gap: 16px; }
  .header-socials svg { width: 22px; height: 22px; }
  .header-socials img { height: 22px; }
  .header-phone { text-align: center; font-size: 1.2rem; }
}

/* ---- Hero -------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(36px, 6vw, 80px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-title { margin-bottom: .4em; }
.hero-title .accent { color: var(--accent-700); display: block; }
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 1.5rem; }

.hero-points { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 12px; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.hero-points svg { flex: none; width: 24px; height: 24px; color: var(--accent-600); margin-top: 1px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 1.5rem; color: var(--ink-soft); font-size: .95rem; }
.hero-meta .meta-item { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--accent-600); flex: none; }

.hero-aside { align-self: start; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: var(--shadow-sm);
}
.chip svg { width: 18px; height: 18px; color: var(--accent-600); }
.chip strong { color: var(--accent-700); }

/* ---- Cards / panels ---------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
}

/* price / service cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
}
.price-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .25s ease, border-color .2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.price-card .pc-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--accent-wash);
  color: var(--accent-700);
}
.price-card .pc-icon svg { width: 28px; height: 28px; }
.price-card h3 { font-size: 1.18rem; margin: 0; }
.price-card .price { margin-bottom: auto; font-family: var(--font-display); }
.price-card .price b { font-size: 1.5rem; color: var(--ink); }
.price-card .price small { display: block; color: var(--ink-faint); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.price-card .pc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--accent-700);
}
.price-card .pc-link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.price-card:hover .pc-link svg { transform: translateX(3px); }

/* photo-background variant — restores the original product photo behind each card.
   The product photo is set inline (background-image) on the element; this ::before
   lays a dark scrim over it so the white text stays readable. */
.price-card--photo {
  position: relative;
  min-height: 230px;
  border: 0;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  isolation: isolate;
}
.price-card--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(33,30,26,.22) 0%, rgba(33,30,26,.68) 56%, rgba(20,18,15,.88) 100%);
  transition: background .25s ease;
}
.price-card--photo:hover { border-color: transparent; box-shadow: var(--shadow-lg); }
.price-card--photo:hover::before {
  background: linear-gradient(180deg, rgba(33,30,26,.14) 0%, rgba(33,30,26,.58) 52%, rgba(20,18,15,.84) 100%);
}
.price-card--photo > * { position: relative; z-index: 1; }
.price-card--photo h3 { color: #fff; }
.price-card--photo .pc-icon {
  background: rgba(255,255,255,.16);
  color: #fff;
  backdrop-filter: blur(2px);
}
.price-card--photo .price b { color: #fff; }
.price-card--photo .price small { color: rgba(255,255,255,.75); }
.price-card--photo .pc-link { color: var(--accent); }
.price-card--photo .pc-link:hover { color: #fff; }

/* feature list (ремонтируем не только) */
.feature-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 20px;
  font-weight: 600;
}
.feature-list svg { flex: none; width: 22px; height: 22px; color: var(--accent-600); margin-top: 2px; }

/* ---- Forms ------------------------------------------------------------- */
.form-card { padding: clamp(24px, 3vw, 36px); }
.form-card h2, .form-card h3 { margin-bottom: .25em; }
.form-card .form-intro { color: var(--ink-soft); margin-bottom: 1.5rem; }

.field { margin-bottom: 16px; }
.field > label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.req { color: var(--danger); }

.input, .textarea, select.input {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-faint); }
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: var(--ring);
}
.textarea { min-height: 96px; resize: vertical; }

.field-hint { margin: 7px 2px 0; font-size: .86rem; color: var(--ink-faint); }
.field-hint a { font-weight: 700; }
.inline-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--accent-700); cursor: pointer; text-decoration: underline; }

/* file upload */
.filefield { margin-bottom: 16px; }
.file-label {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border: 1.5px dashed var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.file-label:hover { border-color: var(--accent); background: var(--accent-wash); }
.file-label svg { width: 20px; height: 20px; color: var(--accent-600); }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-input:focus-visible + .file-label { box-shadow: var(--ring); border-color: var(--accent); }
.file-name { font-size: .88rem; color: var(--ink-faint); margin-top: 7px; }

.form-note { font-size: .9rem; color: var(--ink-soft); }
.form-note .req { font-size: 1.1em; }

/* ---- Messenger contact card ------------------------------------------- */
.contact-cta { display: grid; gap: 12px; margin: 1.4rem 0 0; }
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  width: 100%;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.15;
  color: #fff;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease, border-color .2s ease;
}
.social-btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); filter: brightness(1.05); }
.social-btn:active { transform: translateY(0); }
.social-btn > svg,
.social-btn > img { width: 26px; height: 26px; flex: none; }
.social-btn--telegram { background: #29a2e0; }
.social-btn--whatsapp { background: #25d366; }
.social-btn--max {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.social-btn--max:hover { border-color: var(--ink); filter: none; }

.prep { margin-top: 1.6rem; padding-top: 1.35rem; border-top: 1px solid var(--line); }
.prep h4 { margin: 0 0 .8rem; font-size: 1.02rem; }
.prep-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.prep-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.prep-list svg { flex: none; width: 20px; height: 20px; color: var(--accent-600); margin-top: 1px; }

/* ---- Banner / callouts ------------------------------------------------- */
.callout {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  background: var(--accent-wash);
  border: 1px solid #f3dca0;
  border-left: 6px solid var(--accent);
  border-radius: var(--r);
  padding: 22px 26px;
}
.callout p { margin: 0; font-weight: 600; }
.callout .callout-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.callout a.btn { margin-left: auto; }

.notice {
  border: 1px solid var(--line);
  border-left: 6px solid var(--danger);
  background: #fff;
  border-radius: var(--r);
  padding: 20px 24px;
}
.notice.notice-section {margin-bottom: 60px; padding-bottom: 12px;}
.notice h3 { color: var(--danger); margin-bottom: .4em; }

/* ---- Contacts / map ---------------------------------------------------- */
.contacts-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
#map_metki {
  width: 100%;
  height: 440px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.contact-card { padding: clamp(22px, 3vw, 32px); }
.contact-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { flex: none; width: 22px; height: 22px; color: var(--accent-600); margin-top: 3px; }
.contact-list .label { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); font-weight: 700; }
.contact-list a { color: var(--ink); font-weight: 600; }

/* ---- Footer ------------------------------------------------------------ */
.site-footer { background: var(--dark); color: #d9d2c6; padding-top: clamp(40px, 6vw, 72px); }
.site-footer a { color: #e9e3d8; }
.site-footer a:hover { color: var(--accent); text-decoration: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 52px);
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: #b8b0a2; }
.footer-brand p { color: #b8b0a2; margin-top: 14px; max-width: 32ch; }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-socials a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  transition: background-color .2s ease, transform .15s ease;
}
.footer-socials a:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.footer-socials svg { width: 22px; height: 22px; }
.footer-contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.footer-contact-line svg { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
.footer-phone { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff !important; }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 22px clamp(28px, 4vw, 40px);
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center;
  font-size: .85rem; color: #a59c8d;
}
.footer-legal .sep { opacity: .5; }
.footer-legal .fine { width: 100%; margin-top: 6px; font-size: .8rem; color: #8c8475; }

/* ---- Modals (privacy, parts table) ------------------------------------ */
.modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: grid; place-items: center;
  padding: var(--gutter);
  background: rgba(33,30,26,.55);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.modal:target { opacity: 1; visibility: visible; }
.modal-veil { position: absolute; inset: 0; }
.modal-box {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  max-width: 760px;
  width: 100%;
  max-height: 86vh;
  overflow: auto;
  padding: clamp(24px, 4vw, 40px);
}
.modal-box.is-image { max-width: 860px; padding: 16px; }
.modal-box h2 { margin-top: 0; }
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.4rem; line-height: 1;
  text-decoration: none;
}
.modal-close:hover { background: var(--ink); color: #fff; text-decoration: none; }

/* ---- Sub-page article -------------------------------------------------- */
.page-hero {
  background: var(--bg-sand);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(36px, 5vw, 64px);
}
.breadcrumbs { font-size: .9rem; color: var(--ink-faint); margin-bottom: .8rem; }
.breadcrumbs a { color: var(--ink-soft); font-weight: 600; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.article-body { font-size: 1.05rem; color: var(--ink-soft); }
.article-body h2 { color: var(--ink); margin-top: 1.6em; }
.article-body p { margin-bottom: 1.1rem; }
.article-body b, .article-body strong { color: var(--ink); }
.article-body ul { list-style: none; padding: 0; display: grid; gap: 10px; margin: 1.2rem 0; }
.article-body ul li { display: flex; gap: 12px; align-items: flex-start; }
.article-body ul li::before {
  content: ""; flex: none; width: 9px; height: 9px; margin-top: 9px;
  border-radius: 50%; background: var(--accent);
}
.article-figure { margin: 0 0 1.5rem; }
.article-figure img { border-radius: var(--r-lg); box-shadow: var(--shadow-sm); width: 100%; }
.article-aside { position: sticky; top: 92px; align-self: start; }

.tagline-band {
  text-align: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  padding: clamp(20px, 3vw, 32px) var(--gutter);
}

/* ---- Utilities --------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* ---- Responsive breakpoints ------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-aside { order: -1; }
  .contacts-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .callout a.btn { margin-left: 0; }
  #map_metki { height: 340px; }
  span.sep { display: none; }
  .price-card:hover { transform: none; }
}
