/* =========================================================
   UBO CNC – Clean build v2 (safe, based on site.v2 working)
   Neutral base + blue accents. Keeps all existing page/component
   selectors to avoid breaking layouts.
   ========================================================= */

:root{
  --bg:#ffffff;
  --surface:#fafafa;
  --text:#111111;
  --muted:rgba(17,17,17,.75);
  --border:#e8e8e8;
  --border-soft:#e6e6e6;

  --brand:#0c65d0;
  --brand-700:#0a55ad;
  --focus:rgba(12,101,208,.22);

  --radius-sm:10px;
  --radius-md:14px;
  --radius-lg:16px;
  --shadow-1:0 10px 28px rgba(0,0,0,.06);
  --accent:#e53935;
}

/* Base normalization */
*{box-sizing:border-box;}
body{margin:0;font-family:Arial, sans-serif;color:var(--text);background:var(--bg);}
a{color:inherit;text-decoration:none;}
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }


.brand__logo { font-weight: 800; font-size: 20px; letter-spacing: 0.5px; }
.brand__sub { font-size: 12px; opacity: 0.7; margin-top: 2px; }

.header-contacts { display: flex; flex-direction: column; gap: 4px; margin-left: 12px; font-size: 13px; opacity: 0.9; }

.site-main { padding: 24px 0; }


.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 18px; }
.footer-title { font-weight: 700; margin-bottom: 8px; }
.footer-text { font-size: 14px; line-height: 1.45; opacity: 0.9; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-bottom { margin-top: 18px; padding-top: 12px; border-top: 1px solid #f0f0f0; font-size: 13px; opacity: 0.75; }

@media (max-width: 900px) {
  .nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-weight: 800;
}

.logo-main {
  font-size: 20px;
  letter-spacing: 0.5px;
}

.logo-sub {
  font-size: 12px;
  opacity: 0.65;
  margin-top: 2px;
}

.main-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item a,
.nav-item span {
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
}

.nav-item.active span,
.nav-item.active a {
  border-bottom: 2px solid #000;
}

.header-contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  margin-left: 20px;
}

.header-phone {
  font-weight: 600;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
}


.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.footer-nav__link {
  opacity: 0.9;
}

.footer-nav__link:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-nav__link.is-active {
  font-weight: 600;
  opacity: 1;
}


.section { padding: 32px 0; }
.section-title { font-size: 26px; margin: 0 0 14px; }
.section-text { font-size: 15px; line-height: 1.55; opacity: 0.9; }

.hero { padding: 38px 0 20px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.hero-title { font-size: 38px; margin: 0 0 12px; }
.hero-text { font-size: 16px; line-height: 1.6; opacity: 0.9; margin-bottom: 16px; }

.hero-actions { display: flex; gap: 12px; margin: 14px 0 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.btn-ghost { border: 1px solid var(--text); }

.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.badge { border: 1px solid var(--border-soft); border-radius: 999px; padding: 6px 10px; font-size: 12px; opacity: 0.9; }

.hero-media { border: 1px solid var(--border-soft); border-radius: 16px; overflow: hidden; }
.hero-image { width: 100%; height: 100%; display: block; object-fit: cover; min-height: 280px; }

.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { border: 1px solid var(--border-soft); border-radius: 14px; padding: 16px; display: block; }
.card-title { font-weight: 700; margin-bottom: 8px; }
.card-text { font-size: 14px; line-height: 1.45; opacity: 0.85; margin-bottom: 10px; }
.card-link { font-size: 13px; font-weight: 600; opacity: 0.9; }

.grid-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { border: 1px solid var(--border-soft); border-radius: 14px; padding: 16px; }
.feature-title { font-weight: 700; margin-bottom: 8px; }
.feature-text { font-size: 14px; line-height: 1.45; opacity: 0.85; }

.section-lead { background: var(--surface); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.lead-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; border: 1px solid var(--border-soft); border-radius: 16px; padding: 18px; background: var(--bg); }
.lead-row { margin-bottom: 8px; font-size: 14px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-cards { grid-template-columns: 1fr; }
  .grid-features { grid-template-columns: 1fr; }
  .lead-box { grid-template-columns: 1fr; }
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-card {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  display: block;
  background: var(--bg);
}

.product-card__img {
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface);
  height: 213px;           
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-card__img-el{
  width: 100%;
  height: 180px;
  object-fit: cover;   
  display: block;
}

.product-card__body {
  padding: 14px;
}

.product-card__title {
  font-weight: 700;
  margin-bottom: 6px;
}

.product-card__text {
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.85;
  margin-bottom: 10px;
}

.product-card__more {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
}

.pager { margin-top: 18px; }

.pagination__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination__link {
  display: inline-flex;
  padding: 8px 10px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  font-size: 13px;
}

.pagination__item.is-active .pagination__link {
  border-color: var(--text);
  font-weight: 700;
}

@media (max-width: 900px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .product-card__img img { height: 200px; }
}


.product-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.product-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.product-gallery__item {
  margin: 0;
  width: 100%;
  height: 320px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.product-gallery__thumb {
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  padding: 0;
  cursor: pointer;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__thumb-img {
  width: 100%;
  height: 62px;
  object-fit: cover;
  display: block;
}

.product-gallery__thumb.is-active {
  border-color: #0c65d0;
  box-shadow: 0 0 0 2px rgba(12, 101, 208, 0.15);
}

.product-gallery__thumb:focus-visible{
  outline: 2px solid rgba(12, 101, 208, 0.35);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .product-gallery__thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
}





.product-aside { position: sticky; top: 86px; }

.product-cta {
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 16px;
  background: var(--bg);
}

.product-cta__title { font-weight: 800; margin-bottom: 6px; }
.product-cta__text { font-size: 14px; line-height: 1.45; opacity: 0.85; margin-bottom: 12px; }
.product-cta__contacts { font-size: 14px; line-height: 1.5; margin-bottom: 12px; }

.file-link {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  font-size: 14px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
}

.specs-table td {
  border-top: 1px solid var(--border-soft);
  padding: 10px 12px;
  font-size: 14px;
}

.specs-table__name { width: 45%; font-weight: 600; opacity: 0.9; }
.specs-table__value { opacity: 0.9; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-aside { position: static; }
  .product-gallery__item img { height: 260px; }
}

.form-kp {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  font-size: 14px;
}

.form-field textarea {
  resize: vertical;
  min-height: 90px;
}

.form-error {
  font-size: 12px;
  color: #c00;
}

.form-kp button {
  margin-top: 6px;
}


.form-success {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 14px;
  background: var(--surface);
}

.form-success__title {
  font-weight: 800;
  margin-bottom: 6px;
}

.form-success__text {
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.9;
}

.form-success {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 14px;
  background: var(--surface);
}
.form-success__title { font-weight: 800; margin-bottom: 6px; }
.form-success__text { font-size: 14px; line-height: 1.45; opacity: 0.9; }


.product-card.is-category .product-card__more {
  font-weight: 700;
}


.product-card {
  text-decoration: none;
  color: inherit;
  display: block;
}



.crumbs { margin: 6px 0 14px; }
.crumbs__list { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:0; }
.crumbs__item { display:flex; align-items:center; gap:8px; }
.crumbs__item:not(:last-child)::after { content:"/"; opacity:.35; }
.crumbs__link { text-decoration:none; }
.crumbs__current { font-weight:600; }


.card__img{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
}


/* ===== PROMO BLOCK (UW style) ===== */

.promo-block {
  font-family: Arial, sans-serif;
  line-height: 1.55;
}

/* HERO */
.promo-hero {
  padding: 16px 18px;
  border: 1px solid #e9e9e9;
  border-radius: 16px;
  background: #0c65d0;
  color: var(--bg);
  margin-bottom: 14px;
}
.promo-hero__title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}
.promo-hero__lead {
  opacity: 0.95;
}

/* GRID */
.promo-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}
.promo-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.promo-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

/* CARDS */
.promo-card {
  padding: 14px 16px;
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  margin-bottom: 14px;
}
.promo-card--white { background: var(--bg); }
.promo-card--soft { background: var(--surface); }

.promo-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* LIST */
.promo-list {
  margin: 0;
  padding-left: 18px;
}
.promo-list li { margin: 4px 0; }

/* TABLE */
.promo-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.promo-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  min-width: 720px;
}
.promo-table td {
  border: 1px solid #ddd;
  padding: 6px 10px;
}
.promo-table td:first-child { width: 38%; }

/* CALLOUT */
.promo-callout {
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 4px solid #0c65d0;
  background: #f7fbff;
  border-radius: 10px;
}

/* FEATURE CARDS */
.promo-feature {
  padding: 12px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--bg);
}
.promo-feature__title {
  font-weight: 700;
  margin-bottom: 6px;
}
.promo-muted { opacity: .7; }




/* =========================================================
   UBO CNC style adaptation — Variant 2 (neutral + blue accents)
   Additive overrides (safe to append after existing rules)
   ========================================================= */



/* Base */
body{ color:var(--text); background:var(--bg); }
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:none; }

hr{ border:0; border-top:1px solid var(--border-soft); }

/* Focus states (keyboard friendly, brand accent) */
:where(a, button, input, select, textarea, .btn, .nav__cta):focus-visible{
  outline: 2px solid rgba(12,101,208,.35);
  outline-offset: 2px;
  border-radius: 10px;
}

/* Header / nav: keep neutral, blue only on hover/active */
.nav a:hover,
.main-nav a:hover,
.nav-list a:hover{
  color:var(--brand);
}

.nav__cta,
.header-cta,
.btn-ghost{
  border-color: var(--text);
  color: var(--text);
}
.nav__cta:hover,
.header-cta:hover,
.btn-ghost:hover{
  border-color: var(--brand);
  color: var(--brand);
}

/* Buttons */
.btn{ border-radius: var(--radius-sm); }

.btn-ghost{ background:var(--bg); }

/* Cards: unify geometry + subtle shadow */
.card,
.feature,
.product-card,
.promo-card{
  border-color: var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg);
}
.card:hover,
.feature:hover,
.product-card:hover,
.promo-card:hover{
  box-shadow: var(--shadow-1);
}

/* Neutral text */
.brand__sub,
.logo-sub,
.header-contacts,
.card-text,
.feature-text,
.product-card__meta,
.small,
.muted{
  color: var(--muted);
  opacity: 1;
}

/* Accent links inside UI components */
.card-link,
.feature a,
.product-card a{
  color: inherit;
}
.card-link:hover,
.feature a:hover,
.product-card a:hover{
  color: var(--brand);
}

/* Tables: consistent borders */
table,
.table,
.spec-table,
.product-table{
  border-color: var(--border);
}
table th, table td,
.table th, .table td{
  border-color: var(--border);
}

/* Forms */
input, select, textarea{
  border-color: var(--border);
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(12,101,208,.55);
  outline: none;
  box-shadow: 0 0 0 3px rgba(12,101,208,.12);
}

/* Badges / chips: neutral by default */
.badge,
.chip,
.tag{
  border-color: var(--border);
  color: var(--text);
  background: var(--bg);
}

/* Optional utility link class for content areas */
.u-link{ color: var(--brand); }
.u-link:hover{ color: var(--brand-700); text-decoration: underline; }


/* Focus ring */
:focus-visible{outline:2px solid var(--brand); outline-offset:2px;}



/* Header must be opaque (no bleed-through) */
.site-header{
  background: var(--bg) !important;
}


/* Restore visible outlines for main blocks */
.card,
.feature,
.product-card,
.promo-card,
.lead-box,
.gallery-card,
.form-card{
  border-color: var(--border) !important;
}


/* =========================================================
   UBO CNC — FINAL STYLE OVERRIDES
   Variant A: light header + accent line + dark footer
   ========================================================= */

/* ---------- HEADER ---------- */
.site-header{
  background-color: #fbfcfe;
  border-bottom: 1px solid var(--border-soft);
  opacity: 1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* brand accent line */
.site-header::after{
  content:"";
  display:block;
  height:2px;
  background: var(--brand);
}

/* safety: header internals stay solid */
.site-header *,
.header-inner,
.header-row,
.main-nav{
  background-color: transparent;
}


/* ---------- PRIMARY CTA ---------- */
.btn-primary{
  background: var(--brand);
  color:#fff;
  border-color: transparent;
}
.btn-primary:hover{
  background: var(--brand-700);
}

/* ---------- FOOTER ---------- */
.site-footer { 
  padding: 28px 0 14px; 
  background:#0f172a;
  color:rgba(255,255,255,.88);
  border-top:1px solid rgba(255,255,255,.12);
}

.site-footer a{
  color:#fff;
}
.site-footer a:hover{
  opacity:.85;
}

.site-footer .muted,
.site-footer .small{
  color:rgba(255,255,255,.7);
}

/* ---------- BLOCK BORDERS SAFETY ---------- */
.card,
.product-card,
.feature,
.promo-card,
.lead-box,
.content-block{
  border:1px solid var(--border-soft);
}


.logo{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.logo-img{
  height:50px;     /* можно 48px, если хочешь крупнее */
  width:auto;
  display:block;
}

.logo-main, .logo-sub{
  line-height:1;
}


/* Home Lead (CTA) layout */
.section-lead .lead-box{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: start;
}

.section-lead .lead-contacts{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.section-lead .lead-row{
  margin-top: 8px;
}

/* form tweaks inside lead */
.section-lead .form-kp textarea{
  min-height: 120px;
  resize: vertical;
}

.section-lead .form-kp .btn{
  width: 100%;
}

@media (max-width: 900px){
  .section-lead .lead-box{
    grid-template-columns: 1fr;
  }
}


.section-lead .lead-right{
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 16px;
}


.section-lead{
  position: relative;
}

.section-lead::before{
  content:"";
  position:absolute;
  left:0;
  top:32px;
  bottom:32px;
  width:3px;
  background: var(--accent);
  border-radius:2px;
}

.section-lead .section-text{
  max-width: 520px;
  color: var(--text-soft);
}

.section-lead .lead-row strong{
  font-weight: 500;
}

.form-kp input:focus,
.form-kp textarea:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(12,101,208,.08);
}


.news-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 980px){ .news-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px){ .news-grid{ grid-template-columns: 1fr; } }

.news-card{ border:1px solid #eee; border-radius:14px; overflow:hidden; background:#fff; }
.news-card__link{ display:block; text-decoration:none; color:inherit; }
.news-card__img{ height:220px; background:#f6f6f6; overflow:hidden; }
.news-card__body{ padding:14px; }
.news-card__title{ font-weight:800; font-size:18px; line-height:1.2; margin:0 0 8px; }
.news-card__meta{ font-size:12px; opacity:.7; margin-bottom:8px; }
.news-card__text{ font-size:14px; opacity:.9; line-height:1.4; }
.news-card__more{ margin-top:12px; font-weight:700; }


.news-meta{
  margin: 6px 0 14px;
  font-size: 13px;
  opacity: .7;
}

.section-text--lead{
  font-size: 18px;
  line-height: 1.5;
  max-width: 820px;
}

.news-content{
  max-width: 860px;
  font-size: 16px;
  line-height: 1.65;
}

.news-gallery{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 12px;
}

.news-gallery__item{
  border-radius: 12px;
  overflow: hidden;
  background: #f6f6f6;
}
.news-gallery__item img{
  width: 100%;
  height: 220px;
  object-fit: cover;
}


.news-back{
  margin-top: 16px;
}
.news-back__link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
}


.news-figure{ margin: 14px 0; }
.news-figure img{ width:100%; display:block; border-radius:14px; background:#f6f6f6; }
.news-figure figcaption{ margin-top:8px; font-size:13px; opacity:.75; }

.news-figure--wide img{ height: 320px; object-fit: cover; }
.news-figure--right{ float:right; width: 42%; margin: 8px 0 12px 16px; }
.news-figure--right img{ height: 300px; object-fit: cover; }

.news-table-wrap{ overflow:auto; border:1px solid #eee; border-radius:14px; background:#fff; }
.news-table{ width:100%; border-collapse: collapse; font-size:14px; min-width: 760px; }
.news-table td{ border-top:1px solid #f0f0f0; padding:10px 10px; vertical-align: top; }
.news-table tr:first-child td{ border-top:0; background:#fafafa; font-weight:800; }

@media (max-width: 980px){
  .news-figure--right{ float:none; width:100%; margin: 14px 0; }
  .news-figure--right img{ height: 260px; }
}




.contact-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:16px;
}
@media (max-width: 980px){
  .contact-grid{ grid-template-columns: 1fr; }
}

.contact-card{
  border:1px solid #eee;
  border-radius:14px;
  background:#fff;
  padding:16px;
}
.contact-card--map{ overflow:hidden; }

.contact-title{
  margin:0 0 12px;
  font-size:20px;
  font-weight:800;
}

.contact-row{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap:12px;
  padding:12px 0;
  border-top:1px solid #f0f0f0;
}
.contact-row:first-of-type{ border-top:0; padding-top:0; }

.contact-label{ opacity:.75; font-size:13px; }
.contact-value{ font-size:15px; }
.contact-link{ font-weight:800; text-decoration:none; }

.contact-note{
  margin-top:4px;
  font-size:12px;
  opacity:.7;
}

.contact-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:6px; }

.contact-list{ margin:0; padding-left:18px; }
.contact-details{ margin-top: 10px; }
.contact-summary{ cursor:pointer; font-weight:800; }
.contact-details__body{ margin-top:10px; }

.contact-kv{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap:10px;
  padding:8px 0;
  border-top:1px solid #f0f0f0;
}
.contact-kv:first-child{ border-top:0; }

.contact-map{
  border-radius:12px;
  overflow:hidden;
  background:#f6f6f6;
}
.contact-map__note{
  margin-top:12px;
  font-size:13px;
  opacity:.85;
}


.about-hero{ display:grid; grid-template-columns: 1.1fr .9fr; gap:16px; align-items:center; }
.about-hero__media{ border-radius:14px; overflow:hidden; background:#f6f6f6; }

.about-title{ margin:0 0 10px; font-size:22px; font-weight:800; }
.about-p{ margin:0 0 10px; font-size:16px; line-height:1.65; opacity:.95; }

.about-img{ width:100%; display:block; background:#f6f6f6; }
.about-img--hero{ height: 360px; object-fit: cover; }
.about-img--tall{ height: 520px; object-fit: cover; border-radius:14px; }
.about-img--wide{ height: 320px; object-fit: cover; border-radius:14px; }
.about-img--small{ width: 220px; height: 220px; object-fit: cover; border-radius:14px; }

.about-grid{ display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:14px; }
.about-card{ border:1px solid #eee; border-radius:14px; background:#fff; padding:14px; }
.about-card__title{ margin:0 0 8px; font-size:16px; font-weight:800; }
.about-card__text{ margin:0; font-size:14px; line-height:1.55; opacity:.9; }

.about-split{ display:grid; grid-template-columns: .9fr 1.1fr; gap:16px; align-items:start; }
.about-callout{ margin-top:12px; padding:12px; border-radius:14px; background:#fff7e6; border:1px solid #ffe2b8; }

.about-wide{ display:grid; grid-template-columns: 1fr; gap:14px; }
.about-list{ margin:0; padding-left:18px; line-height:1.65; }

.about-final{ display:grid; grid-template-columns: 240px 1fr; gap:16px; align-items:center; }

@media (max-width: 980px){
  .about-hero, .about-split, .about-final{ grid-template-columns: 1fr; }
  .about-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-img--small{ width:100%; height: 320px; }
}
@media (max-width: 640px){
  .about-grid{ grid-template-columns: 1fr; }
}


.faq-hero{ display:grid; grid-template-columns: 1.1fr .9fr; gap:16px; align-items:start; }
.faq-hero__media{ border-radius:14px; overflow:hidden; background:#f6f6f6; }
.faq-title{ margin:0 0 10px; font-size:22px; font-weight:800; }

.faq-img{ width:100%; display:block; background:#f6f6f6; }
.faq-img--hero{ height: 360px; object-fit: cover; }
.faq-img--wide{ height: 320px; object-fit: cover; border-radius:14px; }

.faq-bullets{ margin:0; padding-left:18px; line-height:1.65; }
.faq-callout{ margin-top:12px; padding:12px; border-radius:14px; background:#fff7e6; border:1px solid #ffe2b8; }
.faq-callout--mini{ margin-top:14px; }

.faq-grid{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px; }
.faq-card{ border:1px solid #eee; border-radius:14px; background:#fff; padding:14px; }

.faq-item{ border-top:1px solid #f0f0f0; padding:12px 0; }
.faq-item:first-of-type{ border-top:0; padding-top:0; }
.faq-q{ cursor:pointer; font-weight:800; list-style:none; }
.faq-q::-webkit-details-marker{ display:none; }
.faq-a{ margin-top:8px; font-size:15px; line-height:1.65; opacity:.95; }

.faq-wide{ display:grid; grid-template-columns: .9fr 1.1fr; gap:16px; align-items:start; }
.faq-wide__media{ border-radius:14px; overflow:hidden; background:#f6f6f6; }

.faq-cta{
  border:1px solid #eee;
  border-radius:14px;
  background:#fff;
  padding:16px;
}
.faq-cta__title{ font-size:18px; font-weight:900; margin:0 0 6px; }
.faq-cta__text{ font-size:15px; line-height:1.65; opacity:.95; }

@media (max-width: 980px){
  .faq-hero, .faq-wide{ grid-template-columns: 1fr; }
  .faq-grid{ grid-template-columns: 1fr; }
  .faq-img--hero{ height: 300px; }
}


.hero-media {
  position: relative;
}

.hero-link {
  display: block;
  position: relative;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  pointer-events: none; /* чтобы клик шёл по ссылке */
}

/* Верхний текст */
.hero-overlay-top {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* Нижний текст */
.hero-overlay-bottom {
  align-self: flex-start;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 10px 16px;
  font-size: 18px;
  border-radius: 6px;
}

/* ===== ARTICLE CALLOUT (content) ===== */

.content-callout{
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff7e6;
  border: 1px solid #ffe2b8;
  font-size: 15px;
  line-height: 1.6;
}

.content-callout strong{
  font-weight: 800;
}

.contact-grid--location {
  margin-top: 32px;
}

.footer-showrooms {
    margin-top: 12px;
}

.footer-showrooms__title {
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-showrooms__item + .footer-showrooms__item {
    margin-top: 8px;
}
