/* ALTAVIS GROUP — Corporate Black & Red */
:root {
  --red: #d40000;
  --red-dark: #a80000;
  --red-light: #ff3b30;
  --orange: #ff8c42;
  --black: #0d0d0d;
  --navy: #1a1a1a;
  --ink: #1e1e1e;
  --grey: #666;
  --light: #fafafa;
  --white: #ffffff;
  --border: #e5e5e5;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Inter', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
h1, h2, h3, .logo, .stat .num { font-family: 'Segoe UI', Arial, sans-serif; font-weight: 800; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar { background: var(--black); color: #999; font-size: 13px; padding: 9px 0; }
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.topbar a { color: #ccc; text-decoration: none; margin-right: 18px; }
.topbar a:hover { color: var(--orange); }

/* Header */
header {
  background: var(--white);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo img { height: 52px; width: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--red); }
.logo-text { font-size: 20px; font-weight: 800; color: var(--black); letter-spacing: 1px; }
.logo-text span { color: var(--red); }
.nav-links { display: flex; gap: 26px; align-items: center; list-style: none; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.nav-links .nv-ico { font-size: 15px; }
.nav-links a:hover { color: var(--red); }
.nav-cta {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff !important; padding: 11px 22px; border-radius: 6px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(212,0,0,.25);
  white-space: nowrap; flex-shrink: 0; display: inline-block; line-height: 1.2;
}
.nav-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
.nav-links { gap: 18px; }
.burger { display: none; background: none; border: none; color: var(--ink); font-size: 26px; cursor: pointer; }

/* Tools widgets (главная) */
.tools-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.tool-card { background:#fff; border:1px solid var(--border); border-radius:16px; padding:22px; display:block; text-decoration:none; color:var(--ink); transition:.25s; box-shadow:0 2px 10px rgba(0,0,0,.04); }
.tool-card:hover { transform:translateY(-4px); box-shadow:0 14px 34px rgba(0,0,0,.12); border-color:var(--red); }
.tool-card .tc-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.tool-card .tc-title { font-size:14px; font-weight:800; color:var(--black); text-transform:uppercase; letter-spacing:.5px; }
.tool-card .tc-arrow { color:var(--red); font-weight:800; font-size:16px; }
.tc-clock-city { display:flex; justify-content:space-between; align-items:baseline; padding:7px 0; border-bottom:1px dashed #eee; font-size:14px; }
.tc-clock-city:last-child { border-bottom:none; }
.tc-clock-city b { font-variant-numeric:tabular-nums; font-size:17px; }
.tc-weather { display:flex; align-items:center; gap:12px; }
.tc-weather .wico { width:52px; height:52px; position:relative; flex-shrink:0; }
.tc-weather .t { font-size:30px; font-weight:800; line-height:1; }
.tc-weather .d { font-size:12px; color:var(--grey); margin-top:4px; }
.tc-cal { text-align:center; }
.tc-cal .tc-cal-day { font-size:42px; font-weight:800; color:var(--red); line-height:1.1; }
.tc-cal .tc-cal-dow { font-size:13px; color:var(--grey); text-transform:capitalize; }
.tc-cal .tc-cal-mn { font-size:15px; font-weight:700; text-transform:capitalize; }
.tc-cal .tc-cal-hol { margin-top:8px; font-size:12px; font-weight:700; color:var(--red); background:#fff5f5; border-radius:8px; padding:5px 8px; }
.tc-fx-row { display:flex; justify-content:space-between; align-items:center; padding:7px 0; border-bottom:1px dashed #eee; font-size:14px; }
.tc-fx-row:last-child { border-bottom:none; }
.tc-fx-row .ccy { font-weight:800; }
.tc-fx-row .rate { font-variant-numeric:tabular-nums; font-weight:700; }
.tc-fx-row .diff { font-size:11px; font-weight:700; margin-left:6px; }
.diff.up { color:#0a8a3a; } .diff.down { color:var(--red); }
.tc-note { margin-top:10px; font-size:11px; color:#999; }
@media (max-width:1000px) { .tools-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px) { .tools-grid { grid-template-columns:1fr; } }

/* Страница курса валют */
.fx-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:16px; margin:24px 0; }
.fx-card { background:#fff; border:1px solid var(--border); border-radius:14px; padding:20px; box-shadow:0 2px 10px rgba(0,0,0,.04); }
.fx-card .ccy { font-size:14px; color:var(--grey); font-weight:700; }
.fx-card .rate { font-size:26px; font-weight:800; margin:4px 0; font-variant-numeric:tabular-nums; }
.fx-card .diff { font-size:13px; font-weight:700; }
.fx-conv { background:#fff; border:1px solid var(--border); border-radius:16px; padding:26px; margin:8px 0 26px; box-shadow:0 2px 14px rgba(0,0,0,.06); }
.fx-conv .row { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.fx-conv input, .fx-conv select { border:1px solid var(--border); border-radius:10px; padding:12px 14px; font-size:16px; font-family:inherit; }
.fx-conv input { flex:1; min-width:140px; }
.fx-conv .swap { background:none; border:1px solid var(--border); border-radius:10px; width:44px; height:46px; font-size:18px; cursor:pointer; color:var(--red); }
.fx-conv .swap:hover { border-color:var(--red); }
.fx-hist { width:100%; border-collapse:collapse; background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 2px 14px rgba(0,0,0,.06); }
.fx-hist th { background:var(--black); color:#fff; text-align:left; padding:12px 16px; font-size:13px; }
.fx-hist td { padding:11px 16px; border-bottom:1px solid #f0f0f0; font-size:14px; font-variant-numeric:tabular-nums; }
.fx-hist tr:last-child td { border-bottom:none; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 55%, #2a1515 100%);
  color: #fff; padding: 90px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border: 3px solid rgba(212,0,0,.25); border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px;
  border: 2px solid rgba(212,0,0,.15); border-radius: 50%; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow { color: var(--orange); letter-spacing: 3px; text-transform: uppercase; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.hero h1 { font-size: 44px; line-height: 1.15; max-width: 800px; margin-bottom: 22px; }
.hero h1 span { color: var(--red-light); }
.hero p { font-size: 19px; color: #aaa; max-width: 640px; margin-bottom: 34px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-badges a {
  background: rgba(212,0,0,.12); border: 1px solid rgba(212,0,0,.45);
  color: #ff6b6b; padding: 9px 18px; border-radius: 30px; font-size: 14px;
  text-decoration: none; transition: .2s; font-weight: 500;
}
.hero-badges a:hover { background: var(--red); color: #fff; border-color: var(--red); }
.hero-badges .iso-extra, .hero-badges .svc-extra { display: none; }
.hero-badges.open-iso .iso-extra, .hero-badges.open-svc .svc-extra { display: inline-block; }
.hero-badges .chip-btn {
  background: rgba(212,0,0,.12); border: 1px solid rgba(212,0,0,.45);
  color: #ff6b6b; padding: 9px 18px; border-radius: 30px; font-size: 14px;
  cursor: pointer; transition: .2s; font-weight: 700; font-family: inherit;
}
.hero-badges .chip-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn {
  display: inline-block; padding: 15px 32px; border-radius: 6px;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: none; transition: .25s;
}
.btn-orange { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; box-shadow: 0 6px 20px rgba(212,0,0,.3); }
.btn-orange:hover { filter: brightness(1.12); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(212,0,0,.4); }
.btn-outline { border: 2px solid #fff; color: #fff; background: transparent; margin-left: 12px; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-tg { background: #229ED9; color: #fff; }
.btn-tg:hover { background: #1a87b8; }
.btn-blue { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; }

/* Sections */
section { padding: 72px 0; }
.section-light { background: var(--light); }
.section-dark { background: var(--black); color: #eee; }
h2.title { font-size: 32px; text-align: center; margin-bottom: 14px; }
h2.title::after {
  content: ''; display: block; width: 60px; height: 4px; margin: 16px auto 0;
  background: var(--red); border-radius: 2px;
}
p.subtitle { text-align: center; color: var(--grey); max-width: 680px; margin: 18px auto 48px; font-size: 17px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }
.stat {
  background: var(--white); padding: 32px 20px; text-align: center;
  border: 1px solid var(--border); border-top: 4px solid var(--red);
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.stat .num { font-size: 46px; font-weight: 800; color: var(--red); }
.stat .lbl { color: var(--grey); font-size: 15px; margin-top: 8px; }

/* Standards grid */
.std-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 20px; }
.std-card {
  background: var(--white); border: 1px solid var(--border);
  padding: 26px 22px; text-decoration: none; color: var(--ink);
  transition: .25s; display: flex; flex-direction: column; position: relative; overflow: hidden;
  border-radius: 8px;
}
.std-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--orange)); opacity: 0; transition: .25s;
}
.std-card:hover { border-color: var(--red); box-shadow: 0 12px 32px rgba(212,0,0,.12); transform: translateY(-4px); }
.std-card:hover::before { opacity: 1; }
.std-card .tag { font-size: 11px; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
/* Иконки стандартов — красные круги с белой иконкой (стиль «пилюля») */
.std-icon {
  width: 56px; height: 56px; border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; color: #fff;
  box-shadow: 0 6px 16px rgba(212,0,0,.28);
  transition: .25s;
  position: relative;
}
.std-icon svg { width: 26px; height: 26px; }
.std-card:hover .std-icon { background: var(--black); color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.3); transform: scale(1.06); }

.std-card h3 { font-size: 19px; margin: 10px 0 8px; }
.std-card p { font-size: 14px; color: var(--grey); flex: 1; }
.std-card .more { color: var(--red); font-weight: 700; font-size: 14px; margin-top: 14px; }
.group-title {
  grid-column: 1 / -1; font-size: 21px; font-weight: 800; color: var(--black);
  margin-top: 22px; padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}
.group-title span { color: var(--red); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 20px; }
.step { background: var(--white); padding: 28px 22px; border: 1px solid var(--border); border-radius: 8px; }
.step .n {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(212,0,0,.3);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--grey); }

/* Quiz */
.quiz-box { background: var(--white); max-width: 760px; margin: 0 auto; padding: 40px; box-shadow: 0 14px 44px rgba(0,0,0,.1); border-top: 4px solid var(--red); border-radius: 10px; }
.quiz-step h3 { font-size: 22px; margin-bottom: 22px; }
.quiz-options { display: grid; gap: 12px; }
.quiz-opt {
  border: 2px solid var(--border); border-radius: 6px; padding: 16px 20px;
  cursor: pointer; font-size: 16px; background: var(--white); text-align: left; transition: .15s;
}
.quiz-opt:hover, .quiz-opt.selected { border-color: var(--red); background: #fff5f5; }
.quiz-progress { height: 5px; background: var(--border); border-radius: 3px; margin-bottom: 26px; }
.quiz-progress div { height: 100%; background: linear-gradient(90deg, var(--red), var(--orange)); border-radius: 3px; transition: width .3s; }
.quiz-result { background: #f0faf0; border: 1px solid #b8e0b8; border-radius: 8px; padding: 20px; margin-bottom: 20px; }
.quiz-result h4 { color: #1c7a2d; margin-bottom: 6px; }
.form-row { margin-bottom: 14px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 14px 16px; border: 2px solid var(--border); border-radius: 6px;
  font-size: 16px; font-family: inherit;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(212,0,0,.1); }

/* Cases */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.case { background: var(--white); border-radius: 8px; padding: 26px; border: 1px solid var(--border); border-left: 4px solid var(--red); }
.case h3 { font-size: 17px; margin-bottom: 8px; color: var(--black); }
.case p { font-size: 14px; color: var(--grey); }
.case .res { margin-top: 14px; font-weight: 700; color: #1c7a2d; font-size: 14px; }

/* FAQ */
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 12px; }
.faq-q { padding: 18px 22px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '+'; font-size: 22px; color: var(--red); }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; padding: 0 22px 18px; color: var(--grey); font-size: 15px; }
.faq-item.open .faq-a { display: block; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #0d0d0d, #2a1515);
  color: #fff; text-align: center; padding: 64px 0;
}
.cta-band h2 { font-size: 30px; margin-bottom: 14px; }
.cta-band p { color: #aaa; margin-bottom: 28px; font-size: 17px; }

/* Footer */
footer { background: var(--black); color: #888; padding: 52px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
footer h4 { color: #fff; margin-bottom: 14px; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }
footer a { color: #888; text-decoration: none; display: block; margin-bottom: 8px; }
footer a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid #222; padding-top: 20px; text-align: center; font-size: 13px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo img { height: 40px; width: 40px; border-radius: 50%; border: 2px solid var(--red); }
.footer-logo span { font-size: 18px; font-weight: 800; color: #fff; }

/* Standard page */
.std-hero {
  background: linear-gradient(135deg, #0d0d0d, #2a1515);
  color: #fff; padding: 60px 0;
}
.std-hero .crumb { font-size: 13px; color: #888; margin-bottom: 14px; }
.std-hero .crumb a { color: #bbb; text-decoration: none; }
.std-hero .crumb a:hover { color: var(--orange); }
.std-hero h1 { font-size: 38px; margin-bottom: 12px; }
.std-hero p { color: #aaa; max-width: 720px; font-size: 17px; }
.std-hero .meta { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.std-hero .meta div { background: rgba(212,0,0,.12); border: 1px solid rgba(212,0,0,.4); color: #ff8080; padding: 8px 16px; border-radius: 30px; font-size: 14px; }
.two-col { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.sidebar { position: sticky; top: 90px; }
.side-form { background: var(--white); border-radius: 10px; padding: 28px; box-shadow: 0 12px 36px rgba(0,0,0,.1); border: 1px solid var(--border); border-top: 4px solid var(--red); }
.side-form h3 { font-size: 19px; margin-bottom: 8px; }
.side-form p { font-size: 14px; color: var(--grey); margin-bottom: 18px; }
.content h2 { font-size: 24px; margin: 36px 0 14px; color: var(--black); }
.content h2:first-child { margin-top: 0; }
.content p { margin-bottom: 12px; color: #444; }
.content ul { margin: 0 0 14px 20px; color: #444; }
.content li { margin-bottom: 8px; }
.check-list { list-style: none; margin-left: 0 !important; }
.check-list li { padding-left: 30px; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 800; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 24px; border-top: 4px solid var(--red); transition: .2s; }
.post:hover { box-shadow: 0 10px 28px rgba(212,0,0,.1); transform: translateY(-3px); }
.post .date { font-size: 12px; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.post h3 { font-size: 17px; margin: 10px 0; color: var(--black); }
.post p { font-size: 14px; color: var(--grey); }

/* Float TG button */
.tg-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  background: #229ED9; color: #fff; border-radius: 50px; padding: 14px 22px;
  text-decoration: none; font-weight: 700; box-shadow: 0 8px 24px rgba(34,158,217,.4);
  display: flex; align-items: center; gap: 8px;
}
.tg-float:hover { background: #1a87b8; }

/* Плавающая кнопка WhatsApp (включается из админки) */
.wa-float {
  position: fixed; right: 24px; bottom: 164px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%; text-decoration: none;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4); transition: transform .15s, background .15s;
}
.wa-float:hover { transform: scale(1.08); background: #1eb856; }
.wa-float svg { width: 28px; height: 28px; }

/* Плавающая кнопка заявки */
.lead-float {
  position: fixed; right: 24px; bottom: 92px; z-index: 200;
  width: 62px; height: 62px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff;
  font-size: 26px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(212,0,0,.45);
  animation: leadPulse 2.4s infinite;
}
.lead-float:hover { transform: scale(1.08); }

/* Круглые кнопки навигации слева внизу */
.fab-left { position: fixed; left: 24px; bottom: 24px; z-index: 200; display: flex; flex-direction: column; gap: 14px; }
.fab-btn {
  width: 56px; height: 56px; border-radius: 50%; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .15s, background .15s;
}
.fab-btn:hover { transform: scale(1.08); }
.fab-btn svg { width: 26px; height: 26px; }
.fab-home { background: var(--ink); color: #fff; }
.fab-home:hover { background: var(--red); }
.fab-tools { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; }
.fab-tools:hover { background: var(--ink); }
@keyframes leadPulse {
  0% { box-shadow: 0 8px 24px rgba(212,0,0,.45), 0 0 0 0 rgba(212,0,0,.4); }
  70% { box-shadow: 0 8px 24px rgba(212,0,0,.45), 0 0 0 16px rgba(212,0,0,0); }
  100% { box-shadow: 0 8px 24px rgba(212,0,0,.45), 0 0 0 0 rgba(212,0,0,0); }
}
.lead-modal-bg {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 300;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lead-modal-bg.open { display: flex; }
.lead-modal {
  background: #fff; border-radius: 16px; width: 420px; max-width: 100%;
  padding: 28px; position: relative; color: var(--ink);
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}
.lead-modal h3 { margin-bottom: 6px; font-size: 20px; }
.lead-modal .close-x {
  position: absolute; top: 10px; right: 14px; background: none; border: none;
  font-size: 22px; cursor: pointer; color: var(--grey); line-height: 1;
}

@media (max-width: 900px) {
  header .container { position:relative; }
  .two-col { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .std-hero h1 { font-size: 28px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; gap: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
  .nav-links.open { display: flex; }
  .burger { display: block; }
  .btn-outline { margin-left: 0; margin-top: 10px; }
  .logo img { height: 44px; width: 44px; }
}


/* SEO-блок внизу страниц стандартов */
.seo-block { background:var(--light); border-top:1px solid var(--border); padding:36px 0; }
.seo-block .seo-in { max-width:900px; margin:0 auto; }
.seo-block h2 { font-size:15px; font-weight:700; color:var(--black); margin-bottom:8px; }
.seo-block p { font-size:13px; color:#888; line-height:1.7; }

/* География работы */
.geo-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.geo-item { background:#fff; border:1px solid var(--border); border-radius:12px; padding:20px 22px; box-shadow:0 2px 10px rgba(0,0,0,.04); }
.geo-item b { display:block; font-size:16px; color:var(--black); margin-bottom:6px; }
.geo-item span { font-size:13px; color:var(--grey); line-height:1.5; }
@media (max-width:900px) { .geo-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px) { .geo-grid { grid-template-columns:1fr; } }

/* Кнопки соцсетей в футере */
.social-row { display:flex; gap:10px; margin:14px 0; flex-wrap:wrap; }
.soc-btn { width:38px; height:38px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:#2a2a2a; border:1px solid #3a3a3a; transition:transform .2s, box-shadow .2s; }
.soc-btn svg { width:18px; height:18px; fill:#fff; }
.soc-btn:hover { transform:translateY(-3px); box-shadow:0 6px 14px rgba(0,0,0,.35); }
.soc-telegram { background:#229ED9; border-color:#229ED9; }
.soc-instagram { background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border:none; }
.soc-facebook { background:#1877F2; border-color:#1877F2; }
.soc-linkedin { background:#0A66C2; border-color:#0A66C2; }
.soc-threads { background:#000; border-color:#444; }
.soc-yellowpages { background:#FFD400; border-color:#FFD400; }
.soc-yellowpages svg { fill:#111; }
.soc-2gis { background:#00b956; border-color:#00b956; }

/* Партнёры */
.partners-row { display:flex; gap:18px; flex-wrap:wrap; justify-content:center; }
.partner-card { background:#fff; border:1px solid var(--border); border-radius:12px; padding:18px 26px; display:flex; align-items:center; justify-content:center; min-width:180px; height:84px; text-decoration:none; transition:.2s; }
.partner-card img { max-height:48px; max-width:160px; object-fit:contain; filter:grayscale(1); opacity:.8; transition:.2s; }
.partner-card:hover { border-color:var(--red); box-shadow:0 8px 22px rgba(0,0,0,.08); transform:translateY(-2px); }
.partner-card:hover img { filter:none; opacity:1; }
.partner-txt { font-weight:800; font-size:17px; color:var(--ink); text-align:center; }

/* Language switcher — глобус с выпадающим списком */
.nav-right { display:flex; align-items:center; gap:14px; flex-shrink:0; margin-left:auto; }
.lang-switch { position:relative; }
.lang-switch .ls-btn { display:inline-flex; align-items:center; gap:7px; background:#fff; border:1.5px solid var(--border); border-radius:22px; padding:7px 15px; font-size:13px; font-weight:800; letter-spacing:.5px; color:var(--ink); cursor:pointer; font-family:inherit; transition:.15s; }
.lang-switch .ls-btn:hover { border-color:var(--red); color:var(--red); }
.lang-switch .ls-globe { font-size:15px; }
.lang-switch .ls-caret { font-size:10px; color:var(--grey); }
.lang-switch .ls-menu { display:none; position:absolute; top:calc(100% + 8px); right:0; background:#fff; border:1px solid var(--border); border-radius:12px; box-shadow:0 14px 40px rgba(0,0,0,.16); min-width:160px; padding:6px; z-index:300; }
.lang-switch.open .ls-menu { display:block; }
.lang-switch .ls-menu a { display:block; padding:9px 14px; border-radius:8px; font-size:14px; font-weight:600; color:var(--ink) !important; text-decoration:none; margin-right:0 !important; }
.lang-switch .ls-menu a:hover { background:#fff0f0; color:var(--red) !important; }
.lang-switch .ls-menu a.on { background:#fff5f5; color:var(--red) !important; font-weight:800; }

/* Иконки связи рядом с телефоном */
.ph-icons { display:inline-flex; gap:6px; margin-left:8px; vertical-align:middle; }
.ph-icons a { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; border-radius:50%; margin-right:0 !important; }
.ph-icons svg { width:13px; height:13px; fill:#fff; }
.ph-icons a:nth-child(1) { background:#3a3a3a; }
.ph-icons a:nth-child(2) { background:#25D366; }
.ph-icons a:nth-child(3) { background:#229ED9; }
.ph-icons a:hover { transform:scale(1.15); }
.ph-foot a { width:28px; height:28px; }
.ph-foot svg { width:15px; height:15px; }
.ph-side { display:inline-flex; margin-left:10px; }
.ph-side a { width:30px; height:30px; }
.ph-side svg { width:16px; height:16px; }
.ph-contacts { margin-left:10px; }
.ph-contacts a { width:30px; height:30px; }
.ph-contacts svg { width:16px; height:16px; }

/* Выпадающее меню «Инструменты» в шапке */
.nv-drop { position: relative; }
.nv-drop > a { cursor: pointer; }
.nv-menu {
  display: none; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,.16); min-width: 200px; padding: 6px; z-index: 300;
}
.nv-drop:hover .nv-menu, .nv-drop:focus-within .nv-menu { display: block; }
.nv-menu a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.nv-menu a:hover { background: #fff0f0; color: var(--red); }

@media (max-width: 900px) {
  .nv-menu { position: static; transform: none; box-shadow: none; border: none; padding: 0 0 0 14px; display: block; }
  .nv-drop > a { color: var(--grey); }
}

/* Отступ меню от логотипа */
.nav-links { margin-left: 28px; }

/* Аббревиатуры не-ISO стандартов внутри красного круга */
.std-icon-txt { color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .5px; font-family: 'Segoe UI', Arial, sans-serif; white-space: nowrap; }
