:root{
      /* Official-modern palette */
      --bg:#f6f7f8;
      --paper:#ffffff;
      --paper-2:#fbfbfc;

      --ink:#0f172a;
      --muted:#475569;

      --green:#1f6a4f;
      --green-dark:#14532d;
      --accent:#b08d57; /* subtle brass */
      --danger:#b4442a;

      --line:rgba(15,23,42,.10);
      --shadow:0 10px 26px rgba(15,23,42,.10);
      --shadow-soft:0 6px 18px rgba(15,23,42,.08);
      --radius:16px;
      --radius-sm:12px;

      --container:1320px;
    }

    *{box-sizing:border-box}
    html,body{margin:0;padding:0}
    a{color:inherit;text-decoration:none}
    img{display:block;max-width:100%;height:auto}

    body{
      font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Inter, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
      color:var(--ink);
      font-size:17px;
      line-height:1.55;
      background:var(--bg);
      min-height:100%;
    }

    /* Background image with official veil */
    .page-bg{
      position:fixed; inset:0;
      background:url("main-minsk_modified.jpg") center/cover no-repeat;
      filter:saturate(.9) contrast(.98);
      z-index:-2;
    }
    .page-veil{
      position:fixed; inset:0;
      background:
        linear-gradient(180deg, rgba(246,247,248,.92) 0%, rgba(246,247,248,.78) 40%, rgba(246,247,248,.92) 100%);
      z-index:-1;
      pointer-events:none;
    }

    .container{
      max-width:var(--container);
      margin:0 auto;
      padding:0 16px;
      position:relative;
      z-index:1;
    }

    .section{padding:64px 0}

    /* Make main blocks more distinct */
    .section > .container{
      background:rgba(255,255,255,.86);
      border:1px solid var(--line);
      border-radius:24px;
      padding:28px;
      box-shadow:var(--shadow-soft);
    }
    @media (max-width:720px){
      .section > .container{padding:18px;border-radius:20px;}
    }
    .section-title{
      font-size:clamp(22px, 2.6vw, 34px);
      font-weight:900;
      letter-spacing:.2px;
      margin:0 0 10px;
      text-align:left;
    }
    .section-sub{
      color:var(--muted);
      margin:0 0 28px;
      font-size:16px;
      max-width:860px;
    }

    /* Topbar + Header (government-portal vibe) */
    .topbar{
      background:rgba(255,255,255,.72);
      border-bottom:1px solid var(--line);
      backdrop-filter:blur(8px);
      font-size:13px;
      color:rgba(15,23,42,.78);
    }
    .topbar-inner{
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:14px;
      padding:8px 0;
      flex-wrap:wrap;
    }
    .topbar-left{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
    .chip{
      display:inline-flex;align-items:center;gap:8px;
      padding:6px 10px;border-radius:999px;
      background:rgba(31,106,79,.10);
      border:1px solid rgba(31,106,79,.16);
      color:rgba(15,23,42,.88);
      font-weight:700;
    }
    .dot{width:7px;height:7px;border-radius:50%;background:var(--green)}
    .topbar-right{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
    .topbar a{font-weight:700}

    .header{
      position:sticky; top:0; z-index:20;
      background:rgba(255,255,255,.92);
      border-bottom:1px solid var(--line);
      backdrop-filter:blur(10px);
    }
    .header-inner{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      padding:12px 0;
      flex-wrap:nowrap;
    }

    .brand{
      display:flex;align-items:center;gap:12px;min-width:0;
    }
    .brand img{width:42px;height:42px}
    .brand-text{display:flex;flex-direction:column;line-height:1.05}
    .brand-top{
      font-weight:900;
      font-size:14px;
      color:rgba(15,23,42,.85);
      letter-spacing:.2px;
      white-space:nowrap;
    }
    .brand-sub{
      font-weight:1000;
      letter-spacing:.8px;
      font-size:18px;
      color:var(--green-dark);
      text-transform:uppercase;
    }

    .nav{
      display:flex;
      align-items:center;
      justify-content:center;
      gap:10px;
      margin-left:14px;
      flex:1;
      flex-wrap:nowrap;
      white-space:nowrap;
    }
    .nav a{
      font-size:13.5px;
      font-weight:850;
      color:rgba(15,23,42,.78);
      padding:7px 9px;
      border-radius:10px;
      border:1px solid transparent;
    }
    .nav a:hover{
      background:rgba(15,23,42,.04);
      border-color:rgba(15,23,42,.06);
    }

    .phones{
      display:flex;
      flex-direction:column;
      align-items:flex-end;
      gap:4px;
      text-align:right;
      font-weight:900;
      min-width:220px;
    }
    .phone-line{
      display:flex;
      align-items:baseline;
      gap:8px;
      line-height:1.1;
    }
    .phones a{
      color:var(--green-dark);
      white-space:nowrap;
    }
    .phone-note{
      font-weight:850;
      font-size:12px;
      color:rgba(15,23,42,.55);
      white-space:nowrap;
    }

    
    /* Header responsive */
    @media (max-width: 980px){
      .nav{justify-content:flex-start; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none}
      .nav::-webkit-scrollbar{display:none}
      .phones{min-width:0}
    }
    @media (max-width: 640px){
      .header-inner{gap:10px}
      .brand-top{display:none}
      .nav{display:none}
      .phones{gap:2px}
      .phone-note{display:none}
    }
    
/* Buttons */
    .btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:10px;
      border:0;
      cursor:pointer;
      border-radius:14px;
      padding:12px 16px;
      font-weight:900;
      transition:transform .06s ease, box-shadow .2s ease, background .2s ease;
      text-align:center;
      line-height:1;
      user-select:none;
      background:var(--green);
      color:#fff;
      box-shadow:var(--shadow-soft);
    }
    .btn:hover{background:var(--green-dark)}
    .btn:active{transform:translateY(1px)}
    .btn-call{background:var(--green); color:#fff;}
    .btn-call:hover{background:var(--green-dark)}
    .btn-primary{
      background:var(--green-dark);
      color:#fff;
      box-shadow:var(--shadow-soft);
    }
    .btn-primary:hover{background:var(--green)}
    .btn-danger{
      background:var(--danger);
      color:#fff;
      box-shadow:var(--shadow-soft);
    }
    .btn-ghost{
      background:rgba(255,255,255,.72);
      color:var(--ink);
      border:1px solid var(--line);
    }
    .btn-ghost:hover{background:#fff}

    /* Hero */
    .hero{padding:64px 0 22px}
    .hero-card{
      background:rgba(255,255,255,.88);
      border:1px solid var(--line);
      border-radius:24px;
      box-shadow:var(--shadow);
      padding:28px;
      position:relative;
      overflow:hidden;
      text-align:left;
    }
    .hero-card:before{
      content:"";
      position:absolute; inset:0;
      background:linear-gradient(90deg, rgba(31,106,79,.12) 0%, rgba(176,141,87,.10) 55%, rgba(255,255,255,0) 100%);
      pointer-events:none;
    }
    .hero-inner{
      position:relative;
      display:grid;
      grid-template-columns: 1.3fr .7fr;
      gap:18px;
      align-items:center;
    }
    .hero h1{
      margin:0 0 10px;
      font-size:clamp(24px, 3vw, 38px);
      font-weight:1000;
      letter-spacing:.2px;
    }
    .hero-line{
      margin:0 0 16px;
      color:rgba(15,23,42,.78);
      font-size:16px;
    }
    .hero-bullets{
      display:flex; flex-wrap:wrap; gap:10px;
      margin-top:10px;
    }
    .bullet{
      display:inline-flex; align-items:center; gap:8px;
      background:rgba(255,255,255,.8);
      border:1px solid var(--line);
      border-radius:999px;
      padding:8px 10px;
      font-weight:800;
      color:rgba(15,23,42,.78);
      font-size:13px;
    }
    .bullet i{
      width:10px;height:10px;border-radius:3px;
      background:var(--accent);
      display:inline-block;
    }
    .hero-actions{
      display:flex; gap:10px; flex-wrap:wrap; align-items:center;
      margin-top:16px;
    }

    .benefit{
      display:flex;
      align-items:flex-start;
      gap:10px;
      background:#fff;
      border:1px solid var(--line);
      padding:14px 14px;
      border-radius:18px;
      box-shadow:var(--shadow-soft);
    }
    .benefit .muted{color:rgba(15,23,42,.60); font-weight:800}
    .benefit strong{font-weight:1000}
    .benefit .badge{
      display:inline-flex; align-items:center; justify-content:center;
      width:40px; height:40px;
      border-radius:14px;
      background:rgba(31,106,79,.12);
      border:1px solid rgba(31,106,79,.18);
      color:var(--green-dark);
      font-weight:1000;
    }

    /* Cards + grids */
    .card{
      background:rgba(255,255,255,.88);
      border:1px solid var(--line);
      border-radius:var(--radius);
      box-shadow:var(--shadow-soft);
      padding:18px;
    }
    .card-title{margin:0 0 8px;font-size:16px;font-weight:1000;letter-spacing:.2px}
    .card-text{margin:0;color:var(--muted);font-size:15px;line-height:1.55}
    .card-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:12px}

    .trust-grid{
      display:grid; gap:14px;
      grid-template-columns:repeat(3, minmax(0,1fr));
    }
    .trust-item{
      height:100%;
      background:rgba(255,255,255,.88);
      border:1px solid var(--line);
      border-radius:var(--radius);
      padding:18px;
      box-shadow:var(--shadow-soft);
      transition:transform .08s ease, box-shadow .2s ease;
    }
    .trust-item:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
    .trust-item img{width:56px;height:56px;margin:0 0 10px;object-fit:contain}
    .trust-item h3{margin:0 0 6px;font-size:16px;font-weight:1000}
    .trust-item p{margin:0;color:var(--muted);font-size:14px}

    .services-grid{display:grid;gap:14px;grid-template-columns:repeat(6,minmax(0,1fr))}
    .service-card{
      background:rgba(255,255,255,.88);
      border:1px solid var(--line);
      border-radius:var(--radius);
      padding:16px;
      text-align:left;
      box-shadow:var(--shadow-soft);
      transition:transform .08s ease, box-shadow .2s ease;
      display:flex; flex-direction:column; gap:10px; height:100%;
    }
    .service-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
    .service-card img{width:52px}
    .service-card h3{margin:0;font-size:15px;font-weight:1000}
    .service-card p{margin:0;color:var(--muted);font-size:14px}

    .service-card-link{display:flex;flex-direction:column;gap:10px;height:100%;color:inherit;text-decoration:none}
    .service-card-link:focus{outline:2px solid rgba(45,106,79,.35);outline-offset:3px;border-radius:12px}
    
    .help-box{
      background:rgba(255,255,255,.88);
      border:1px solid var(--line);
      border-radius:24px;
      padding:22px;
      box-shadow:var(--shadow);
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      flex-wrap:wrap
    }
    .help-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}

    .reviews-grid{display:grid;gap:14px;grid-template-columns:repeat(4,minmax(0,1fr))}
    .review{
      background:rgba(255,255,255,.88);
      border:1px solid var(--line);
      border-radius:var(--radius);
      padding:16px;
      box-shadow:var(--shadow-soft);
      display:flex;flex-direction:column;gap:10px;
    }

    .contacts-grid{display:grid;gap:14px;grid-template-columns:1.1fr .9fr}
    .map iframe{width:100%;height:320px;border:0;border-radius:var(--radius);box-shadow:var(--shadow-soft);display:block;background:#eaeaea}

    .footer{
      background:rgba(255,255,255,.92);
      border-top:1px solid var(--line);
      color:rgba(15,23,42,.78);
      margin-top:64px;
      backdrop-filter:blur(10px);
    }
    .footer-inner{padding:34px 0}
    .footer-grid{display:grid;gap:18px;grid-template-columns:2fr 1fr 1fr 1.2fr;align-items:start}
    .footer h4{margin:0 0 10px;font-size:15px;color:var(--ink)}
    .footer ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}
    .footer-copy{
      background:rgba(15,23,42,.04);
      border-top:1px solid var(--line);
      color:rgba(15,23,42,.60);
      font-size:13px;
      text-align:center;
      padding:10px 0
    }
    .footer a:hover{color:var(--green-dark)}

    .fab-call{
      position:fixed;right:16px;bottom:16px;z-index:25;
      width:56px;height:56px;border-radius:18px;
      display:flex;align-items:center;justify-content:center;
      background:var(--green-dark);
      color:#fff;
      box-shadow:0 14px 26px rgba(15,23,42,.22);
      font-size:18px
    }
    .fab-call:after{content:"📞";transform:translateY(1px)}
    .fab-call:hover{background:var(--green)}

    /* Responsive */
    @media (max-width:1100px){
      .services-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
      .reviews-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
      .contacts-grid{grid-template-columns:1fr}
      .hero-inner{grid-template-columns:1fr}
      .nav{display:none}
    }
    @media (max-width:720px){
      .trust-grid{grid-template-columns:1fr}
      .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
      .brand img{width:38px;height:38px}
      .brand-top{font-size:13px}
      .brand-sub{font-size:16px}
      .phones{font-size:14px}
      .hero{padding:52px 0 18px}
      .hero-card{padding:18px}
      .step{grid-column:span 12}
      details.faq-item{grid-column:span 12}
    }

    /* Compatibility for existing classes */
    .btn-red{background:var(--danger);color:#fff}
    .btn-green{background:var(--green-dark);color:#fff}
  

    /* ===== финальная доводка секций (чтобы всё было в одном стиле) ===== */
    .muted{color:rgba(15,23,42,.62)}
    .sub{color:rgba(15,23,42,.78);margin:0 0 14px;font-size:16px;max-width:860px}
    .note{color:rgba(15,23,42,.70);font-size:13.5px;line-height:1.45}
    .text{font-size:16px;line-height:1.6}
    .small{font-size:13.5px}
    .section-lead{color:rgba(15,23,42,.78);margin:0 0 22px;max-width:860px}

    /* Split layout for “Под ключ” */
    .split{
      display:grid;
      grid-template-columns:repeat(12,1fr);
      gap:14px;
    }
    .split .left{grid-column:span 7}
    .split .right{grid-column:span 5}
    @media (max-width:900px){
      .split .left,.split .right{grid-column:span 12}
    }

    /* Card grid used in “Кремация/Кладбища” */
    .card-grid{
      display:grid;
      grid-template-columns:repeat(12,1fr);
      gap:14px;
    }
    .card-grid > .card{grid-column:span 6}
    @media (max-width:900px){
      .card-grid > .card{grid-column:span 12}
    }

    /* Lists + CTA rows */
    .list{margin:0;padding-left:18px}
    .list li{margin:7px 0}
    .cta-row{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      align-items:center;
      margin-top:14px;
    }

    /* Secondary button used in inserted sections */
    .btn.secondary{
      background:rgba(255,255,255,.72);
      color:var(--ink);
      border:1px solid var(--line);
      box-shadow:none;
    }
    .btn.secondary:hover{background:#fff}

    /* Steps */
    .steps{
      counter-reset:step;
      display:grid;
      grid-template-columns:repeat(12,1fr);
      gap:12px;
      margin-top:12px;
    }
    .step{
      grid-column:span 4;
      border-radius:var(--radius);
      padding:16px;
      background:rgba(255,255,255,.88);
      border:1px solid var(--line);
      box-shadow:var(--shadow-soft);
    }
    .step::before{
      counter-increment:step;
      content:counter(step);
      display:inline-flex;
      width:36px;height:36px;
      border-radius:14px;
      align-items:center;justify-content:center;
      margin-bottom:10px;
      font-weight:1000;
      background:rgba(31,106,79,.12);
      border:1px solid rgba(31,106,79,.18);
      color:var(--green-dark);
    }
    .step h4{margin:0 0 6px;font-size:15px;font-weight:1000}
    .step p{margin:0;color:rgba(15,23,42,.78)}
    @media (max-width:900px){
      .step{grid-column:span 12}
    }

    /* FAQ */
    .faq{
      display:grid;
      grid-template-columns:repeat(12, 1fr);
      gap:12px;
      margin-top:12px;
    }
    details.faq-item{
      grid-column:span 6;
      border-radius:var(--radius);
      background:rgba(255,255,255,.88);
      border:1px solid var(--line);
      box-shadow:var(--shadow-soft);
      padding:14px 16px;
    }
    details.faq-item summary{
      cursor:pointer;
      font-weight:1000;
      list-style:none;
    }
    details.faq-item summary::-webkit-details-marker{display:none}
    details.faq-item p{margin:10px 0 0; color:rgba(15,23,42,.78)}
    details.faq-item[open]{box-shadow:var(--shadow)}
    @media (max-width:900px){
      details.faq-item{grid-column:span 12}
    }

    /* Small polish: phone labels stay closer to numbers */
    .phones small{margin-top:-2px}


/* ===== Каталоги: единый вид карточек ===== */
.services-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
@media (max-width: 1000px){
  .services-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 560px){
  .services-grid{grid-template-columns:1fr;}
}
.service-card{
  border-radius:var(--radius);
  background:rgba(255,255,255,.88);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.service-card img{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
}
.service-card h3{
  margin:12px 12px 6px;
  font-size:15px;
  font-weight:1000;
}
.service-card p{
  margin:0 12px 12px;
  color:rgba(15,23,42,.78);
}

/* Старые страницы каталога (grob-social/optimal/prestige): делаем как карточки */
.stack{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
@media (max-width: 560px){
  .stack{grid-template-columns:1fr;}
}
.product{
  border-radius:var(--radius);
  background:rgba(255,255,255,.88);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.product-media img{
  width:100%;
  height:230px;
  object-fit:cover;
  display:block;
  border-radius:0;
}
.product-info{
  padding:12px;
}
.product-title{
  margin:0 0 6px;
  font-size:16px;
  font-weight:900;
}

/* Unified large readable catalog cards (like venki-prestige, slightly smaller) */
.product-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:14px;
}
.product-grid .product{ grid-column:span 6; }
@media (min-width:1100px){
  .product-grid .product{ grid-column:span 4; }
  .product-media img{ height:240px; }
}
@media (max-width:640px){
  .product-grid .product{ grid-column:span 12; }
  .product-media img{ height:220px; }
}
.product-info{ padding:14px; }
.product-actions{ margin-top:12px; }
.product-actions .btn{ width:100%; justify-content:center; }
.price{
  color:rgba(15,23,42,.78);
  font-weight:800;
}

.thumb img{width:100%;height:180px;object-fit:cover;display:block;border-radius:14px}
.thumb{padding:0;background:transparent}

/* --- FIX: выравнивание телефонов в шапке --- */
.header .phones{
  display: flex;
  flex-direction: column;
  align-items: flex-end;          /* прижимаем вправо */
  gap: 6px;
}

.header .phones .phone-line{
  display: grid;
  grid-template-columns: auto 42px; /* номер + фикс ширина подписи A1/МТС */
  column-gap: 10px;
  align-items: center;
  justify-items: end;
}

.header .phones .phone-line a{
  white-space: nowrap;             /* чтобы номер не переносился */
}

.header .phones .phone-note{
  width: 42px;
  text-align: left;                /* подписи ровной колонкой */
  opacity: .75;
  font-size: 12px;
}

/* === Пакеты «под ключ» (витрина) === */
.pkg-grid .pkg{position:relative}
.pkg-top h3{margin:0 0 6px;font-size:18px}
.pkg-top .muted{margin:0 0 10px}
.pkg-prices{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:10px 0 12px;
}
.pkg-price{
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 12px;
  background:rgba(255,255,255,.75);
}
.pkg-price.pkg-accent{
  background:rgba(45,106,79,.10);
  border-color:rgba(45,106,79,.25);
}
.pkg-label{font-size:12px;opacity:.72;margin-bottom:4px}
.pkg-value{font-weight:1000;font-size:16px}
.pkg-list{margin:0}

@media (min-width: 920px){
  /* делаем список читаемее, как у крупных конкурентов */
  .pkg-list{columns:2;column-gap:18px}
  .pkg-list li{break-inside:avoid}
}

@media (max-width: 520px){
  .pkg-prices{grid-template-columns:1fr}
}
/* ==========================
   Details (collapsible blocks)
   ========================== */
details.details-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:rgba(255,255,255,.7)}
details.details-card > summary{list-style:none;cursor:pointer;user-select:none}
details.details-card > summary::-webkit-details-marker{display:none}
details.details-card[open] > summary{border-bottom:1px solid var(--line)}
.details-content{padding:14px}

.text-link{color:inherit;text-decoration:underline;text-underline-offset:3px}


/* === Additions: CTA on every screen (mobile) === */
.mobile-cta{
  position:fixed;
  left:0; right:0; bottom:0;
  padding:10px 12px;
  background:rgba(246,247,248,.92);
  backdrop-filter: blur(10px);
  border-top:1px solid var(--line);
  z-index:999;
  display:none;
}
.mobile-cta .inner{
  max-width:var(--container);
  margin:0 auto;
  display:flex;
  gap:10px;
}
.mobile-cta a{
  flex:1;
}
@media (max-width:900px){
  body{padding-bottom:70px;}
  .mobile-cta{display:block;}
}

/* Packages grid for home */
.packages-grid{
  display:grid;
  gap:14px;
  grid-template-columns:repeat(4, minmax(0,1fr));
}
@media (max-width:1100px){ .packages-grid{grid-template-columns:repeat(2, minmax(0,1fr));} }
@media (max-width:720px){ .packages-grid{grid-template-columns:1fr;} }

.card .price{
  font-size:18px;
  font-weight:1000;
  margin-top:10px;
}
.card .note{
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
.kv{
  display:grid;
  gap:10px;
  grid-template-columns:repeat(12, 1fr);
}
.kv .card{grid-column:span 6;}
@media (max-width:900px){ .kv .card{grid-column:span 12;} }

/* Link cards */
a.card{display:block;}
a.card:hover{transform:translateY(-1px);}


/* Inline links */
.link{color:var(--green);text-decoration:underline;text-underline-offset:3px;}
.link:hover{color:var(--green-dark);}

.hero.hero-small{padding:44px 0 18px;}


/* Callout pill (e.g., benefit amount) */
.callout{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  background:rgba(31,106,79,.10);
  border:1px solid rgba(31,106,79,.18);
  font-weight:900;
  color:rgba(15,23,42,.86);
}
.callout b{color:var(--green-dark)}

/* Catalog unified */
.stack{display:grid;gap:14px;margin:0;padding:0;grid-template-columns:1fr}
.product{
  display:grid;
  grid-template-columns:240px 1fr;
  gap:14px;
  align-items:center;
  padding:14px;
  background:rgba(255,255,255,.88);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
}
.product-media img{
  width:100%;
  max-height:190px;
  object-fit:cover;
  border-radius:14px;
}
.product-info{padding:4px 0}
.product-title{margin:0 0 6px;font-size:18px;font-weight:1000}
.product .price{margin-top:6px;font-size:16px;font-weight:900;color:rgba(15,23,42,.82)}
@media (max-width:720px){
  .product{grid-template-columns:1fr}
  .product-media img{max-height:260px}
}

/* Next section + CTA used in catalogs */
.next{
  margin-top:16px;
  padding:14px;
  border-radius:var(--radius);
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
  text-align:center;
}
a.cta{
  display:block;
  max-width:360px;
  margin:18px auto 0;
  padding:12px 16px;
  border-radius:14px;
  background:var(--green);
  color:#fff;
  font-weight:1000;
  text-align:center;
  box-shadow:var(--shadow-soft);
}
a.cta:hover{background:var(--green-dark)}


/* ===== Spravochnik cards: meta rows ===== */
.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.card-title-lg{margin:0;font-size:17px;font-weight:1000;letter-spacing:.2px}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.meta{display:grid;gap:6px;margin-top:10px}
.meta-row{display:flex;gap:10px;align-items:flex-start}
.meta-key{min-width:118px;color:rgba(15,23,42,.65);font-weight:900}
.meta-val{color:rgba(15,23,42,.88)}
@media (max-width:560px){
  .meta-key{min-width:92px}
}


/* Photo grid for halls */
.photo-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:10px;
  margin-top:12px;
}
.photo-grid img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid rgba(0,0,0,0.08);
}
@media (max-width: 640px){
  .photo-grid{ grid-template-columns: 1fr; }
  .photo-grid img{ height:200px; }
}


/* ====== Design refresh (cards, spacing, hero, header/footer) ====== */
.section{padding:64px 0;}
.section .section-title{margin:0 0 14px;}
.section .sub{max-width:920px;}

.header-top{
  background:rgba(255,255,255,.78);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-top-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:10px 0;
  font-size:13px; color:rgba(15,23,42,.72);
}
.header-top-right{display:flex; align-items:center; gap:10px;}
.header-top-right a{color:rgba(15,23,42,.72);}
.header-top-right a:hover{color:var(--ink);}
.header-top-right .sep{opacity:.55}

.header .phones{display:flex; flex-direction:column; align-items:flex-end; gap:6px; min-width:220px;}
.header .header-call{margin-top:2px; padding:10px 14px; font-weight:900;}

@media (max-width: 980px){
  .header-top-inner{flex-direction:column; align-items:flex-start;}
  .header .phones{align-items:flex-start; margin-top:10px;}
}

.hero{padding:52px 0 22px;}
.hero-card--cover{
  border-radius:28px;
  padding:34px;
  background:rgba(255,255,255,.86);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}
.hero-card--cover:before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 520px at 12% 12%, rgba(31,106,79,.18), rgba(255,255,255,0) 55%),
    radial-gradient(900px 420px at 70% 10%, rgba(176,141,87,.16), rgba(255,255,255,0) 55%);
  pointer-events:none;
}
.hero-grid{position:relative; display:grid; grid-template-columns: 1.1fr .9fr; gap:22px; align-items:start;}
.hero-subline{margin:0 0 16px; font-weight:700; color:rgba(15,23,42,.72);}
.pill-row{display:flex; flex-wrap:wrap; gap:12px; margin:14px 0 18px;}
.pill{
  display:flex; align-items:center; gap:10px;
  padding:10px 14px;
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
  border-radius:999px;
  box-shadow:var(--shadow-soft);
  font-weight:800;
  color:rgba(15,23,42,.78);
}
.pill-dot{width:10px; height:10px; border-radius:999px; background:var(--accent); display:inline-block;}
.hero-actions{display:flex; flex-wrap:wrap; gap:12px; margin-top:4px;}
.hero-links{display:flex; flex-wrap:wrap; gap:10px; margin-top:18px;}
.hero-right{display:flex; flex-direction:column; gap:14px;}
.info-card{
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow-soft);
  padding:18px 18px;
}
.info-head{display:flex; gap:12px; align-items:flex-start;}
.currency-badge{
  width:44px; height:44px; border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(31,106,79,.10);
  border:1px solid rgba(31,106,79,.25);
  color:var(--green);
  font-weight:1000;
}
.info-title{font-weight:1000; font-size:18px;}
.info-value{font-weight:1000; font-size:20px; margin-top:2px;}
.info-actions{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px;}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-card--cover{padding:22px;}
}

.card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
}
.card .card-title{font-weight:1000;}
.card-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px;}

.btn{border-radius:14px;}
.btn-call{background:var(--green) !important; color:#fff !important;}
.btn-call:hover{background:var(--green-dark) !important;}

.footer-title{font-weight:1000; font-size:18px; margin-bottom:10px;}
.footer-phones{display:grid; gap:6px; margin-top:10px;}

/* Official banner */
.section-tight{ padding:26px 0; }
.official-strip{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.86));
  box-shadow:var(--shadow-soft);
}
.official-text{ color:var(--ink); font-size:15px; line-height:1.45; }
.official-actions{ display:flex; gap:10px; flex-wrap:wrap; }
@media (max-width: 720px){
  .official-strip{ flex-direction:column; align-items:flex-start; }
  .official-text{ font-size:14px; }
}

/* === Index icon cards (services + directory) === */
.icon-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:14px;
}
.icon-card{
  grid-column:span 6;
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:16px;
  background:rgba(255,255,255,.88);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
  color:inherit;
  text-decoration:none;
}
.icon-card:hover{transform:translateY(-1px)}
.icon-card__ico{
  width:42px;
  height:42px;
  flex:0 0 42px;
}
.icon-card__title{font-weight:1000; font-size:16px; margin:0 0 4px;}
.icon-card__text{color:rgba(15,23,42,.78); font-size:14px; line-height:1.35;}
@media (min-width:1100px){
  .icon-card{grid-column:span 3;}
}
@media (max-width:720px){
  .icon-card{grid-column:span 12;}
}

/* === Packages note under grid === */
.pkg-note{
  margin-top:14px;
  padding:16px;
  border-radius:var(--radius);
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}
.pkg-note__text{color:rgba(15,23,42,.78); font-size:14px; line-height:1.45;}

/* Trust grid icons (spravochnik pages) */
.trust-ico{
  width:34px;
  height:34px;
  border-radius:12px;
  background:rgba(31,106,79,.10);
  border:1px solid rgba(31,106,79,.16);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 34px;
}
.trust-ico img{width:20px;height:20px;display:block;}


/* === Second pass improvements === */
.lead{font-size:18px;color:rgba(15,23,42,.82);max-width:860px}
.breadcrumbs{display:flex;gap:8px;flex-wrap:wrap;font-size:14px;color:rgba(15,23,42,.62);margin-bottom:12px}
.breadcrumbs a{color:rgba(15,23,42,.72)}
.info-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}
.info-strip .card{padding:16px}
@media (max-width:900px){.info-strip{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.info-strip{grid-template-columns:1fr}}
.hero-note{margin-top:12px;color:var(--muted);font-size:14px}
.list-tight{margin:0;padding-left:18px;display:grid;gap:6px}
.section .container.narrow{max-width:980px}
.callback-box{display:grid;grid-template-columns:1.1fr .9fr;gap:14px;align-items:start}
@media (max-width:900px){.callback-box{grid-template-columns:1fr}}
.form-grid{display:grid;gap:10px}
.form-grid input,.form-grid textarea{width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#fff;font:inherit;color:var(--ink)}
.form-grid textarea{min-height:110px;resize:vertical}
.legal{font-size:13px;color:var(--muted)}
.map-card iframe{width:100%;height:360px;border:0;border-radius:16px;display:block}
.badge-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.badge{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.82);border:1px solid var(--line);font-weight:800}
.faq-note{margin-top:14px}
.stat-card{padding:16px;border-radius:var(--radius);background:rgba(255,255,255,.88);border:1px solid var(--line);box-shadow:var(--shadow-soft)}
.stat-card strong{display:block;font-size:18px;margin-bottom:4px}
.notice{padding:14px 16px;border-radius:16px;background:rgba(31,106,79,.08);border:1px solid rgba(31,106,79,.18)}


/* Step 3 polish */
.hero-links .chip{font-size:13px;}
.notice b{color:var(--green-dark);}
@media (max-width:640px){
  .hero-actions .btn, .cta-row .btn{width:100%;}
  .info-actions .btn{width:100%;}
  .phones{font-size:13px;}
  .breadcrumbs{font-size:13px;}
}


/* ===== Step 6: mobile navigation + active states ===== */
.nav a.is-current{
  background:rgba(31,106,79,.10);
  border-color:rgba(31,106,79,.16);
  color:var(--green-dark);
}
.nav-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow-soft);
  padding:0;
}
.nav-toggle span{
  display:block;
  width:18px;
  height:2px;
  border-radius:99px;
  background:var(--ink);
  margin:3px 0;
}
.nav-backdrop{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.28);
  z-index:29;
}
@media (max-width:640px){
  .header-inner{align-items:flex-start;}
  .nav-toggle{display:inline-flex; margin-left:auto;}
  .header .phones{order:4; width:100%; flex-direction:row; flex-wrap:wrap; gap:10px 14px; margin-top:8px;}
  .header .phones .phone-line{align-items:center;}
  .nav{
    position:fixed;
    top:74px;
    left:12px;
    right:12px;
    z-index:30;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    margin-left:0;
    padding:12px;
    background:rgba(255,255,255,.98);
    border:1px solid var(--line);
    border-radius:18px;
    box-shadow:var(--shadow);
    transform:translateY(-8px);
    opacity:0;
    pointer-events:none;
  }
  .nav a{padding:12px 14px; font-size:15px;}
  body.nav-open .nav{transform:translateY(0); opacity:1; pointer-events:auto;}
  body.nav-open{overflow:hidden;}
}


.consent-check{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.45;color:var(--muted);margin:6px 0 2px}.consent-check input{margin-top:3px;flex:0 0 auto}.consent-check a{white-space:normal}.hp-field{position:absolute!important;left:-9999px!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}

/* ===== Каталоги принадлежностей: полировка ===== */
.catalog-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.catalog-tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.82);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  color:var(--text);
  text-decoration:none;
  font-weight:900;
}
.catalog-tab:hover{
  border-color:rgba(31,106,79,.24);
  transform:translateY(-1px);
}
.catalog-tab.is-active{
  background:rgba(31,106,79,.12);
  border-color:rgba(31,106,79,.24);
  color:var(--green-dark);
}
.catalog-stack{
  grid-template-columns:1fr;
  gap:16px;
}
.catalog-stack .product{
  display:grid;
  grid-template-columns:minmax(280px, 1.15fr) minmax(240px, .85fr);
  align-items:stretch;
}
.catalog-stack .product-media{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:linear-gradient(180deg, rgba(247,249,247,.95), rgba(242,245,243,.92));
  min-height:320px;
}
.catalog-stack .product-media img{
  width:100%;
  height:100%;
  max-height:320px;
  object-fit:contain;
  border-radius:18px;
}
.catalog-stack .product-info{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:24px 22px;
}
.catalog-stack .product-title{
  font-size:clamp(22px,2.3vw,30px);
  line-height:1.15;
  margin:0 0 10px;
}
.catalog-stack .price{
  margin-top:4px;
  font-size:18px;
}
.catalog-stack .product-actions{
  margin-top:18px;
}
.catalog-stack .product-actions .btn{
  width:auto;
  min-width:220px;
}
.product-grid .product-media{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
  background:linear-gradient(180deg, rgba(247,249,247,.95), rgba(242,245,243,.92));
}
.product-grid .product-media img{
  object-fit:contain;
  width:100%;
  height:240px;
}
@media (max-width:900px){
  .catalog-stack .product{
    grid-template-columns:1fr;
  }
  .catalog-stack .product-media{
    min-height:260px;
  }
  .catalog-stack .product-media img{
    max-height:260px;
  }
  .catalog-stack .product-title{
    font-size:24px;
  }
}
@media (max-width:640px){
  .catalog-tabs{
    overflow:auto;
    flex-wrap:nowrap;
    padding-bottom:4px;
    margin-right:-6px;
  }
  .catalog-tab{
    white-space:nowrap;
    flex:0 0 auto;
  }
  .catalog-stack .product-info{
    padding:18px 16px 16px;
  }
  .catalog-stack .product-actions .btn{
    width:100%;
    min-width:0;
  }
}


/* ===== Services dropdown in top menu ===== */
.nav-item{position:relative; display:flex; align-items:center;}
.nav-main-link{display:inline-flex; align-items:center; gap:6px;}
.has-dropdown > .nav-main-link::after{content:""; width:6px; height:6px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); margin-top:-3px; opacity:.65;}
.nav-dropdown{position:absolute; top:calc(100% + 8px); left:0; z-index:40; width:320px; display:grid; grid-template-columns:1fr; gap:2px; padding:10px; border-radius:16px; background:rgba(255,255,255,.98); border:1px solid var(--line); box-shadow:var(--shadow); opacity:0; transform:translateY(-6px); pointer-events:none; transition:opacity .16s ease, transform .16s ease; white-space:normal;}
.nav-dropdown a{display:block; padding:10px 12px; border-radius:12px; font-size:14px; line-height:1.2;}
.has-dropdown:hover .nav-dropdown, .has-dropdown:focus-within .nav-dropdown{opacity:1; transform:translateY(0); pointer-events:auto;}
@media (max-width:640px){
  .nav-item{display:flex; flex-direction:column; align-items:stretch;}
  .nav-main-link{width:100%; justify-content:flex-start;}
  .nav-dropdown{position:static; width:auto; box-shadow:none; border-radius:14px; background:rgba(31,106,79,.05); opacity:1; transform:none; pointer-events:auto; margin:2px 0 4px; padding:8px;}
  .nav-dropdown a{font-size:14px; padding:9px 12px;}
}
