:root {
  --bg-page: #f3f4f6;
  --bg-card: #f9fafb;
  --bg-card-soft: #f1f5f9;
  --accent: #14576b;
  --accent-soft: #d3e7f1;
  --accent-gradient: linear-gradient(135deg, #0f5b74, #164e63);
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --border-soft: #e2e8f0;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 26px 60px rgba(15, 23, 42, 0.14);
  --container-width: 1360px;
  --transition-fast: 0.2s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.app {
  max-width: 1480px;
  margin: 28px auto 40px;
  padding: 0 20px;
}

/* БЫЛО: большая «карта» вокруг всего сайта */
/*
.glass-shell {
  background: linear-gradient(135deg, #f9fafb 0, #f3f6fa 40%, #e9edf4 100%);
  border-radius: 40px;
  padding: 26px 26px 34px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.18);
}
*/

/* СТАЛО: без рамки/тени/скругления по всему сайту */
.glass-shell {
  background: transparent;
  border-radius: 0;
  padding: 26px 0 34px;
  box-shadow: none;
  border: none;
}

.container { max-width: var(--container-width); margin: 0 auto; }

/* HEADER */
.site-header { margin-bottom: 26px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), #0f3743);
  display: flex; align-items: center; justify-content: center;
  color: #e0f2fe; font-weight: 700; letter-spacing: 0.12em; font-size: 16px;
}
.brand-text-main { font-weight: 700; font-size: 18px; letter-spacing: 0.12em; text-transform: uppercase; }
.brand-text-sub { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-muted); }

.nav { display: flex; align-items: center; gap: 24px; font-size: 14px; color: var(--text-muted); position: relative; }
.nav-link { position: relative; padding-bottom: 4px; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; border-radius: 999px;
  background: var(--accent); transition: width var(--transition-fast);
}
.nav-link:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }

/* BUTTONS */
.btn {
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast),
    background-position 0.35s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background-image: var(--accent-gradient);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #ecfeff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
  border: none;
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.3);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(248, 250, 252, 0.9);
  color: var(--text-main);
}
.btn-outline:hover { background: #ffffff; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12); }

.btn-header-main {
  border-radius: 999px;
  padding: 10px 22px;
  line-height: 1;
  font-size: 13px;
  font-weight: 500;
  border: none;
  background-image: var(--accent-gradient);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #ecfeff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-position 0.35s ease, box-shadow var(--transition-fast), transform var(--transition-fast);
}
.btn-header-main i { font-size: 16px; }
.btn-header-main:hover { background-position: 100% 50%; box-shadow: 0 10px 26px rgba(15, 23, 42, 0.28); transform: translateY(-1px); }

.btn-header-icon {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
  color: #64748b;
  padding: 0;
}
.btn-header-icon i { font-size: 18px; }
.btn-header-icon:hover { background: #e0f2fe; border-color: #38bdf8; color: #0f172a; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18); }

.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  justify-content: center; align-items: center;
  background: #ffffff;
  cursor: pointer;
}
.nav-toggle i { font-size: 18px; }

/* GRID */
.main-grid { display: flex; flex-direction: column; gap: 26px; }
.row-grid { display: grid; gap: 26px; }
.row-2 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr); }
.row-2-balanced { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 32px 30px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}
.card-soft { background: var(--bg-card-soft); }

/* HERO */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: stretch;
}
.hero-left { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: #0f172a;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em;
}
.hero-badge i { font-size: 14px; }
.hero-title { font-size: 40px; line-height: 1.05; letter-spacing: -0.05em; margin: 14px 0 10px; }
.hero-subtitle { font-size: 15px; color: var(--text-muted); max-width: 500px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.hero-actions .btn i { font-size: 16px; }

.hero-metrics { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: 12px; }
.hero-metric-item { display: flex; align-items: center; gap: 10px; }
.hero-metric-icon {
  width: 32px; height: 32px; border-radius: 999px;
  background: #e0f2fe; display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 18px;
}
.hero-metric-text strong { display: block; font-size: 14px; }

.hero-right {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #0b1220 0%, #020617 65%);
  padding: 22px 22px 20px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  color: #e5f2ff;
}
.hero-topline {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.95;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.7); font-size: 11px;
}
.hero-image-shell {
  position: relative; overflow: hidden; border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  min-height: 240px;
  background:
    radial-gradient(circle at top, rgba(148, 163, 184, 0.16), transparent 60%),
    linear-gradient(135deg, #020617, #020617);
}
.hero-image {
  position: absolute; inset: 0;
  background-image: url("https://picsum.photos/seed/baltic-port/960/640");
  background-size: cover; background-position: center;
  mix-blend-mode: screen; opacity: 0.9;
}
.hero-overlay {
  position: absolute; left: 18px; bottom: 18px;
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.72);
  border-radius: 18px; padding: 10px 12px; font-size: 12px;
}
.hero-overlay strong { display: block; font-size: 15px; margin-top: 2px; letter-spacing: 0.12em; text-transform: uppercase; }

.hero-footer { display: flex; justify-content: space-between; align-items: flex-start; font-size: 11px; color: #cbd5f5; gap: 12px; }
.hero-footer strong { font-size: 18px; margin-right: 4px; color: #e5f2ff; }
.hero-dots { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: flex-end; }
.hero-dot { display: inline-flex; align-items: flex-start; gap: 6px; max-width: 200px; }
.hero-dot span:first-child {
  width: 8px; height: 8px; border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.35);
  margin-top: 3px; flex-shrink: 0;
}
.hero-dot--blue span:first-child { background: #38bdf8; box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.35); }

/* SECTION UI */
.section-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 8px;
}
.section-label i { font-size: 14px; color: var(--accent); }

.section-title { font-size: 24px; letter-spacing: -0.03em; line-height: 1.18; margin: 0 0 10px; }
.section-lead { font-size: 14px; color: var(--text-muted); max-width: 540px; }

.mini-kpis { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.mini-kpi {
  padding: 10px 14px; border-radius: 18px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  min-width: 132px;
  font-size: 12px;
  display: flex; align-items: flex-start; gap: 10px;
}
.mini-kpi-icon {
  width: 28px; height: 28px; border-radius: 999px;
  background: #e0f2fe;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 16px; flex-shrink: 0;
}
.mini-kpi-number { font-size: 16px; font-weight: 600; }
.mini-kpi-caption { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* features */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
  font-size: 13px;
}
.feature-item { padding-top: 14px; border-top: 1px dashed rgba(148, 163, 184, 0.6); }
.feature-item-title { font-weight: 600; margin-bottom: 3px; }
.feature-item-text { color: var(--text-muted); }

.feature-item-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.feature-icon {
  width: 28px; height: 28px; border-radius: 999px;
  background: #e0f2fe;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
}
.feature-item--icon .feature-item-text { margin-left: 36px; }

/* PRODUCTS */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 16px; font-size: 12px; }
.pill {
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: var(--bg-card-soft);
  border: 1px solid var(--border-soft);
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
}
.pill--active { background: #0f172a; border-color: #020617; color: #e5e7eb; }
.pill i { font-size: 14px; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 10px; }
.product-card {
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  padding: 14px 14px 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.product-card:hover {
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
  transform: translateY(-2px);
  border-color: rgba(148, 163, 184, 0.9);
  background: #f9fafb;
}
.product-card.is-hidden { display: none; }

/* 16:9 */
.product-thumb { border-radius: 14px; overflow: hidden; background: #e5f0ff; aspect-ratio: 16 / 9; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.product-name { font-size: 15px; font-weight: 600; }
.product-meta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; font-size: 12px; color: var(--text-muted); }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; font-size: 11px; }
.tag { padding: 4px 9px; border-radius: var(--radius-pill); border: 1px solid #e2e8f0; background: var(--bg-card-soft); display: inline-flex; align-items: center; gap: 6px; }
.tag i { font-size: 14px; color: var(--accent); }
.product-note { margin-top: 16px; font-size: 11px; color: var(--text-muted); }

/* GALLERY */
.gallery-card .section-lead { max-width: none; }
.gallery-slider { margin-top: 16px; }
.gallery-viewport {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #020617;
  aspect-ratio: 16 / 9;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}
.gallery-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.gallery-slide.is-active { opacity: 1; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.gallery-shade {
  position: absolute; inset: 0;
  background: radial-gradient(circle at top, rgba(255,255,255,0.18), transparent 55%),
              linear-gradient(to top, rgba(2,6,23,0.72), rgba(2,6,23,0));
  pointer-events: none;
}
.gallery-caption {
  position: absolute; left: 14px; bottom: 14px;
  padding: 8px 12px; border-radius: 14px;
  background: rgba(15, 23, 42, 0.78);
  color: #e5f2ff; font-size: 12px;
  max-width: 80%;
  backdrop-filter: blur(10px);
}
.gallery-cta {
  position: absolute; right: 14px; top: 14px; z-index: 5;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(226,232,240,0.55);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  color: #0f172a;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
}
.gallery-cta:hover { background: rgba(255,255,255,0.96); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2); }
.gallery-cta i { font-size: 16px; }

/* MAP LAYOUT */
.card-map {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1.44fr);
  gap: 38px;
  align-items: stretch;
}

.map-shell {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(148, 163, 184, 0.18), transparent 55%),
    radial-gradient(circle at bottom, rgba(15, 23, 42, 0.85), #020617);
  aspect-ratio: 16/9;
  min-height: 320px;
}

/* Leaflet container is below controls */
#exportMap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.leaflet-container {
  background: #020617;
  touch-action: none;
}

.map-controls {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 20;
  display: flex;
  gap: 8px;
  pointer-events: auto;
}
.map-ctrl-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(226,232,240,0.55);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0f172a;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.map-ctrl-btn:hover { transform: translateY(-1px); background: rgba(255,255,255,0.96); box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18); }
.map-ctrl-btn i { font-size: 18px; }

/* Tooltips */
.leaflet-tooltip.leaflet-tooltip-custom {
  background: rgba(15,23,42,0.78) !important;
  border: 1px solid rgba(148,163,184,0.35) !important;
  color: rgba(226,232,240,0.96) !important;
  border-radius: 999px !important;
  padding: 5px 10px !important;
  box-shadow: 0 12px 24px rgba(2,6,23,0.35);
  backdrop-filter: blur(10px);
  font-size: 12px;
}

/* Pulsing markers */
.map-pin {
  width: 18px;
  height: 18px;
  position: relative;
  transform: translateZ(0);
}
.map-pin__dot {
  position: absolute;
  left: 50%; top: 50%;
  width: 9px; height: 9px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #38bdf8;
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.22);
}
.map-pin__pulse {
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 18px;
  transform: translate(-50%, -50%) scale(0.6);
  border-radius: 999px;
  border: 2px solid rgba(56,189,248,0.42);
  background: rgba(56,189,248,0.14);
  animation: mapPulse 2.2s infinite;
}
.map-pin--origin .map-pin__dot {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.22);
}
.map-pin--origin .map-pin__pulse {
  border-color: rgba(34,197,94,0.42);
  background: rgba(34,197,94,0.14);
}
@keyframes mapPulse {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.95; }
  75% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
}

/* attribution — еле заметная */
.leaflet-control-attribution{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 10px !important;
  padding: 0 !important;
  margin: 0 12px 12px 12px !important;
  color: rgba(226,232,240,0.38) !important;
  opacity: 0.35;
  transition: opacity .2s ease;
  text-shadow: 0 1px 2px rgba(2,6,23,0.65);
  pointer-events: auto;
}
.leaflet-control-attribution:hover{ opacity: 0.85; }
.leaflet-control-attribution a{
  color: rgba(226,232,240,0.52) !important;
  text-decoration: none !important;
}
.leaflet-control-attribution a:hover{
  color: rgba(226,232,240,0.85) !important;
  text-decoration: underline !important;
  text-decoration-style: dotted !important;
}
.leaflet-bottom.leaflet-right{ margin-right: 6px; margin-bottom: 6px; }

.map-legend { margin-top: 16px; font-size: 12px; color: var(--text-muted); }
.map-legend-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.map-legend-item {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px; border-radius: 999px;
  background: var(--bg-card-soft);
  border: 1px solid #e2e8f0; font-size: 11px;
}
.map-legend-dot { width: 8px; height: 8px; border-radius: 999px; background: #38bdf8; }
.map-legend-dot--origin { background: #22c55e; }

/* CONTACTS / FOOTER */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
.contact-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; font-size: 14px; }
.contact-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-muted); margin-bottom: 4px; }
.contact-meta { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

.form-card {
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 20px 20px 18px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; font-size: 13px; }
.form-label { font-weight: 500; }
.form-label span { color: #ef4444; }
.input, .select, .textarea {
  border-radius: 14px;
  border: 1px solid #d1d5db;
  padding: 9px 11px;
  font-family: inherit;
  font-size: 13px;
  background: #f9fafb;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
}
.textarea { min-height: 90px; resize: vertical; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; font-size: 11px; color: var(--text-muted); }
.form-foot small { max-width: 260px; }
.form-note { margin-top: 8px; font-size: 11px; color: var(--text-muted); }

.site-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.site-footer a { text-decoration: underline; text-decoration-style: dotted; }

.dev-credit {
  color: rgba(100,116,139,0.9);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.dev-credit a {
  color: rgba(15,23,42,0.85);
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* RESPONSIVE */
@media (max-width: 1280px) { :root { --container-width: 1160px; } }
@media (max-width: 1024px) {
  .glass-shell { padding: 20px 18px 26px; border-radius: 0; box-shadow: none; border: none; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .row-2, .row-2-balanced, .contact-grid, .card-map { grid-template-columns: minmax(0, 1fr); }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cols { grid-template-columns: minmax(0, 1fr); }

  .nav {
    display: none;
    position: absolute;
    left: 20px; right: 20px;
    top: 70px;
    padding: 14px 16px 16px;
    border-radius: 18px;
    background: rgba(249, 250, 251, 0.98);
    box-shadow: 0 26px 40px rgba(15, 23, 42, 0.25);
    flex-direction: column;
    align-items: flex-start;
    z-index: 50;
  }
  .nav.open { display: flex; }
  .nav-cta { width: 100%; justify-content: space-between; margin-left: 0; margin-top: 6px; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 768px) {
  .app { padding: 0 12px; margin: 16px auto 26px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 14px; }
  .card { padding: 22px 18px; border-radius: 22px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .gallery-cta { right: 10px; top: 10px; }
  .gallery-caption { max-width: calc(100% - 20px); }
  .map-controls { right: 10px; top: 10px; }
}
@media (max-width: 480px) {
  .brand-text-sub { display: none; }
  .hero-metrics { gap: 12px; }
  .hero-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-dots { justify-content: flex-start; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot small { max-width: none; }
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 22px;
  border-left: 1px solid rgba(148, 163, 184, 0.45);
}

.lang-link {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(255, 255, 255, 0.85);
  transition: background var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.lang-link:hover {
  color: var(--text-main);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

/* Language switch (plain text) */
.nav-divider{
  width: 1px;
  height: 22px;
  background: rgba(148, 163, 184, 0.45);
  margin: 0 14px; /* одинаковые отступы от линии */
  flex-shrink: 0;
}

.lang-switch{
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-link{
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;

  color: var(--text-muted);
  text-decoration: none !important; /* убрать подчёркивание */
}

.lang-link:hover{
  color: var(--text-main);
  text-decoration: none !important;
}

/* На мобилке nav становится колонкой — делаем разделитель горизонтальным */
@media (max-width: 1024px){
  .nav-divider{
    width: 100%;
    height: 1px;
    margin: 10px 0;
  }
}

/* Contacts page map container */
#contactMap{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* ===== Header: languages (без кружков/обводок) ===== */
.nav-divider{
  width: 1px;
  height: 22px;
  background: rgba(148,163,184,0.55);
  margin: 0 10px;
  border-radius: 999px;
}
.lang-switch{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: rgba(100,116,139,0.95);
}
.lang-link{
  text-decoration: none !important;
  padding: 4px 2px;
  border-radius: 10px;
}
.lang-link:hover{
  text-decoration: none !important;
  color: #0f172a;
}

/* ===== Contacts layout ===== */
.contact-page-grid{
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
  gap: 26px;
  align-items: start;
  margin-top: 18px;
}
.contact-boxes{
  display: grid;
  gap: 14px;
}
.contact-box{
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 16px 16px 14px;
}
.contact-box-head{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.contact-box-ico{
  width: 32px; height: 32px;
  border-radius: 999px;
  background: #e0f2fe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-box-ico i{ font-size: 16px; }
.contact-box-title{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--text-muted);
}
.contact-box-strong{
  font-weight: 700;
  margin-top: 2px;
}
.contact-box-text{ color: #0f172a; }
.contact-box-meta{
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.contact-mini-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 16px;
}
.contact-mini{
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 14px 14px 12px;
}
.contact-mini-label{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.contact-mini-text{ font-size: 13px; }
.contact-mini-meta{
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== Contacts map full width ===== */
.contacts-map-shell{
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(148,163,184,0.18), transparent 55%),
    radial-gradient(circle at bottom, rgba(15,23,42,0.85), #020617);
  min-height: 380px;
  margin-top: 16px;
}
#contactMap{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.map-controls--left{
  left: 14px;
  right: auto;
  top: 14px;
}
.map-focus{
  width: auto !important;
  padding: 0 12px !important;
  font-size: 12px;
  height: 38px;
}
@media (max-width: 1024px){
  .contact-page-grid{ grid-template-columns: minmax(0,1fr); }
  .contact-mini-grid{ grid-template-columns: minmax(0,1fr); }
}

/* Контакты: кнопки зума карты (чтобы не зависеть от <a href="#"> Leaflet) */
.contacts-zoom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.contacts-zoom-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(226,232,240,0.55);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  color: #0f172a;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
  font-size: 18px;
  line-height: 1;
}

.contacts-zoom-btn:hover {
  background: rgba(255,255,255,0.98);
  transform: translateY(-1px);
}
