    /* ===== Локальный шрифт MatchBold ===== */
    @font-face {
      font-family: 'MatchBold';
      src: url('MatchBold.eot');
      src: url('MatchBold.eot?#iefix') format('embedded-opentype'),
           url('MatchBold.woff') format('woff'),
           url('MatchBold.ttf') format('truetype');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }

    :root {
      --memorial-dark: #1c1c1c;
      --memorial-darker: #121212;
      --memorial-gold: #b89b6b;
      --memorial-gold-light: #d4b98c;
      --memorial-brand: #f6d78d;
      --memorial-gray: #2b2b2b;
      --memorial-text: #e0e0e0;
      --memorial-muted: #aaaaaa;
      --memorial-soft-bg: #f5f4f0;
      --memorial-white: #ffffff;
    }

    html, body { overflow-x: hidden; }

    body {
      font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', system-ui, sans-serif;
      background-color: var(--memorial-soft-bg);
      color: #333;
      scroll-behavior: smooth;
    }

    /* ===== Навигация ===== */
    .navbar {
      background-color: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 2px 20px rgba(0,0,0,0.3);
      transition: background 0.3s;
    }
    .navbar-brand {
      font-family: 'MatchBold', sans-serif;
      font-weight: 400;
      font-size: 1.7rem;
      letter-spacing: -1px;
      text-transform: uppercase;
      line-height: 1;
      display: inline-block;
      transform: scaleY(1.45);
      transform-origin: center center;
      padding-top: 4px;
      padding-bottom: 4px;
    }
    .navbar-brand i {
      color: var(--memorial-gold-light);
      margin-right: 8px;
      display: inline-block;
      transform: scaleY(0.7);
      transform-origin: center center;
    }
    .brand-text { color: var(--memorial-brand); display: inline-block; }

    @supports ((-webkit-background-clip: text) or (background-clip: text)) {
      .brand-text {
        background: linear-gradient(120deg,
          var(--memorial-brand) 0%,
          var(--memorial-brand) 49%,
          #fffbe8 50%,
          var(--memorial-brand) 51%,
          var(--memorial-brand) 100%);
        background-size: 400% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        animation: brandShimmer 24s linear infinite;
      }
    }
    @keyframes brandShimmer {
      0%   { background-position: 200% 0; }
      71%  { background-position: -200% 0; }
      100% { background-position: -200% 0; }
    }

    .navbar .nav-link { color: #ccc !important; font-weight: 400; margin-left: 0.8rem; transition: color 0.2s; }
    .navbar .nav-link:hover { color: var(--memorial-gold) !important; }
    .navbar .phone-top {
      color: var(--memorial-gold-light);
      font-weight: 600;
      font-size: 1.1rem;
      text-decoration: none;
      border: 1px solid var(--memorial-gold);
      padding: 0.4rem 1.2rem;
      border-radius: 30px;
      transition: all 0.3s;
      display: inline-block;
      white-space: nowrap;
    }
    .navbar .phone-top:hover {
      background-color: var(--memorial-gold);
      color: #000 !important;
      border-color: var(--memorial-gold);
    }

    /* ===== Hero ===== */
    .hero-section {
      height: 100vh;
      min-height: 650px;
      background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35)),
                  url('../images/main_bg.jpg') center center/cover no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: white;
      position: relative;
      padding: 90px 0 30px 0;
      box-sizing: border-box;
    }
    .hero-content {
      max-width: 950px; width: 100%;
      padding: 2rem; box-sizing: border-box;
      overflow-x: hidden; margin: 0 auto;
    }
    .hero-title {
      display: flex; flex-direction: column; align-items: center;
      margin: 0 0 1.2rem 0; line-height: 1.05; font-weight: 400;
    }
    .hero-title-prefix {
      font-size: 1.35rem; font-weight: 300; letter-spacing: 6px;
      text-transform: uppercase; color: rgba(255, 255, 255, 0.95);
      text-shadow: 0 2px 10px rgba(0,0,0,0.8); margin-bottom: 0.5rem;
    }
    .hero-title-brand {
      font-family: 'MatchBold', sans-serif;
      font-weight: 400; font-size: 6.5rem; letter-spacing: -2px;
      text-transform: uppercase; line-height: 1;
      display: inline-block; transform: scaleY(1.45);
      transform-origin: center center; padding: 0.55rem 0;
      color: var(--memorial-brand);
      text-shadow: 0 4px 15px rgba(0,0,0,0.85), 0 0 30px rgba(246, 215, 141, 0.25);
      margin: 0.25rem 0 0.6rem 0;
    }
    .hero-title-suffix {
      font-size: 1.35rem; font-weight: 300; letter-spacing: 4px;
      text-transform: uppercase; color: rgba(255, 255, 255, 0.95);
      text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    }
    .hero-subtitle {
      font-size: 2rem; font-weight: 300; margin-bottom: 1.2rem;
      color: rgba(255,255,255,0.95);
      border-bottom: 1px solid var(--memorial-gold);
      display: inline-block; padding-bottom: 0.8rem;
      line-height: 1.35; text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    }
    .hero-geo {
      font-size: 1.15rem; color: rgba(255,255,255,0.92);
      max-width: 780px; margin: 0 auto 1.8rem auto;
      line-height: 1.6; text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    }
    .hero-phone {
      font-size: 3.2rem; font-weight: 700;
      background: rgba(0,0,0,0.55);
      padding: 1rem 2.5rem; border-radius: 60px;
      display: inline-flex; align-items: center; justify-content: center;
      gap: 12px; backdrop-filter: blur(15px);
      -webkit-backdrop-filter: blur(15px);
      border: 1px solid var(--memorial-gold);
      letter-spacing: 2px; color: var(--memorial-gold-light);
      margin-bottom: 2rem; max-width: 100%; box-sizing: border-box;
      line-height: 1.1; white-space: nowrap;
      text-decoration: none; transition: background 0.3s, color 0.3s;
    }
    .hero-phone i { color: var(--memorial-gold); font-size: 0.85em; flex-shrink: 0; }
    .hero-phone:hover, .hero-phone:focus { background: rgba(0,0,0,0.75); color: #fff; }

    .btn-memorial {
      background-color: transparent; border: 2px solid #ffd286;
      color: #eecc94; font-weight: 600;
      padding: 0.9rem 2.8rem; border-radius: 50px;
      font-size: 1.2rem; text-transform: uppercase;
      letter-spacing: 1px; transition: all 0.3s ease;
      text-decoration: none; display: inline-block;
    }
    .btn-memorial:hover { background-color: var(--memorial-gold); color: #000; border-color: var(--memorial-gold); }

    /* ===== Секции ===== */
    .section-title {
      font-size: 2.5rem; font-weight: 600; color: var(--memorial-dark);
      margin-bottom: 1.5rem; position: relative; display: inline-block;
    }
    .section-title:after {
      content: ''; position: absolute; bottom: -10px; left: 0;
      width: 70%; height: 3px; background: var(--memorial-gold);
    }
    .bg-soft { background-color: var(--memorial-soft-bg); }
    
    
        /* ===== ссылка на инструкцию ===== */
    .help-link {
      color: var(--memorial-gold-light);
      text-decoration: none;
      border-bottom: 1px dashed rgba(212, 185, 140, 0.55);
      padding-bottom: 2px;
      transition: color 0.3s, border-color 0.3s;
    }
    .help-link:hover {
      color: #fff;
      border-bottom-color: #fff;
    }
    .help-link--soft {
      color: #6b5f47;
      border-bottom-color: rgba(184, 155, 107, 0.55);
    }
    .help-link--soft:hover {
      color: var(--memorial-dark);
      border-bottom-color: var(--memorial-dark);
    }
    .hero-help {
      margin-top: 1.5rem;
      max-width: 720px;
      margin-left: auto;
      margin-right: auto;
    }
    .hero-help a {
      color: rgba(255, 255, 255, 0.9);
      font-size: 1rem;
      line-height: 1.55;
      text-decoration: none;
      border-bottom: 1px dashed rgba(246, 215, 141, 0.55);
      padding-bottom: 2px;
      transition: color 0.3s, border-color 0.3s;
    }
    .hero-help a:hover {
      color: var(--memorial-brand);
      border-bottom-color: var(--memorial-brand);
    }
    @media (max-width: 768px) {
      .hero-help { margin-top: 1.1rem; }
      .hero-help a { font-size: 0.92rem; }
    }

    /* ===== Услуги ===== */
    .service-card {
      border: none; border-radius: 12px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.05);
      transition: transform 0.3s, box-shadow 0.3s;
      background: white; height: 100%;
    }
    .service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 35px rgba(0,0,0,0.1); }
    .service-icon { font-size: 2.8rem; color: var(--memorial-gold); margin-bottom: 1rem; }

    /* ===== Каталог ===== */
    .blocklist__item { margin: 20px 0; width: 100%; }
    .production-item {
      width: 100%; height: 500px; position: relative;
      background-size: cover; background-position: center center;
      background-repeat: no-repeat; color: #fff;
      box-shadow: 0 15px 30px rgba(0,0,0,0.3);
      transition: transform 0.3s ease;
      display: flex; align-items: flex-end; justify-content: flex-end;
      padding: 35px; overflow: hidden;
    }
    .production-item:hover { transform: scale(1.02); }
    .production-item .item-title {
      text-align: right; font-size: 2.2rem; font-weight: 400;
      font-family: 'MatchBold', sans-serif;
      text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
      letter-spacing: 1px;
      background: linear-gradient(rgba(34, 27, 27, 0.45), rgba(0, 0, 0, 0.17));
      padding: 0.5rem 1.5rem; border-radius: 4px; line-height: 1.2;
    }
    .item-monuments { background-image: linear-gradient(rgba(34, 27, 27, 0.25), rgba(0, 0, 0, 0.15)), url('../images/Памятники кресты.jpg'); }
    .item-coffins   { background-image: linear-gradient(rgba(34, 27, 27, 0.25), rgba(0, 0, 0, 0.1)), url('../images/Гробы 3.jpeg'); }
    .item-wreaths   { background-image: linear-gradient(rgba(34, 27, 27, 0.25), rgba(0, 0, 0, 0.15)), url('../images/venki.jpg'); }
    .item-ribbon    { background-image: linear-gradient(rgba(34, 27, 27, 0.3), rgba(0, 0, 0, 0.2)), url('../images/traurnyie-lentyi-3.jpeg'); }

    /* ===== О компании ===== */
    .company-facade {
      border-radius: 16px; box-shadow: 0 15px 30px rgba(0,0,0,0.2);
      width: 100%; height: auto; object-fit: cover;
    }
    .info-box {
      background: white; padding: 2rem; border-radius: 16px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.03); height: 100%;
    }

    /* ===== Карта ===== */
    #map {
      width: 100%; height: 400px; border-radius: 16px;
      overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
    .map-container {
      border-radius: 16px; overflow: hidden;
      box-shadow: 0 10px 25px rgba(0,0,0,0.1); margin-top: 2rem;
    }

    .custom-placemark { cursor: pointer; }
    .marker-pin {
      width: 28px; height: 28px; background: #b89b6b;
      border: 2px solid #1c1c1c; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 0 0 4px rgba(184, 155, 107, 0.25), 0 4px 10px rgba(0,0,0,.4);
      transition: transform .2s;
    }
    .marker-pin:hover { transform: scale(1.15); }
    .marker-pin i { color: #1c1c1c; font-size: 13px; }

    .marker-balloon {
      background: #1c1c1c; color: #e0e0e0;
      padding: 10px 14px; border-radius: 10px;
      border: 1px solid #b89b6b; white-space: nowrap;
      font-size: 14px; line-height: 1.5;
      box-shadow: 0 12px 30px rgba(0,0,0,.35);
    }
    .marker-balloon strong { color: #d4b98c; }
    .marker-balloon a { color: #d4b98c; text-decoration: none; }
    .marker-balloon a:hover { color: #fff; }

    /* ===== FAQ ===== */
    .accordion-button:not(.collapsed) {
      background-color: var(--memorial-dark);
      color: var(--memorial-gold); font-weight: 500;
    }
    .accordion-button:focus {
      box-shadow: 0 0 0 0.2rem rgba(184, 155, 107, 0.4);
      border-color: var(--memorial-gold);
    }

    /* ===== Отзывы ===== */
    .testimonial-card {
      background: white; border-radius: 20px; padding: 2rem;
      box-shadow: 0 15px 30px rgba(0,0,0,0.05);
      border-left: 5px solid var(--memorial-gold);
    }

    /* ===== Footer ===== */
    .footer { background-color: #0f0f0f; color: #aaa; }
    .footer a { color: var(--memorial-gold-light); text-decoration: none; }
    .footer a:hover { color: white; }
    .footer-brand {
      font-family: 'MatchBold', sans-serif;
      font-weight: 400; font-size: 1.6rem;
      letter-spacing: -1px; color: var(--memorial-brand);
      text-transform: uppercase; line-height: 1;
      display: inline-block; transform: scaleY(1.45);
      transform-origin: center center;
    }

    /* ===== QR-код ===== */
    .qr-block {
      display: inline-block; background: #1c1c1c;
      border: 1px solid var(--memorial-gold);
      border-radius: 12px; padding: 14px 14px 10px 14px;
      text-align: center; max-width: 100%;
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .qr-block:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(184, 155, 107, 0.25); }
    .qr-block__img {
      display: block; width: 150px; height: 150px;
      max-width: 100%; border-radius: 8px;
      background: #ffffff; padding: 6px;
      box-sizing: border-box; margin: 0 auto 8px auto;
    }
    .qr-block__caption {
      color: var(--memorial-gold-light); font-size: 0.78rem;
      line-height: 1.35; margin: 0; font-weight: 500;
    }
    .qr-block__caption i { color: var(--memorial-gold); margin-right: 4px; }

    /* ===== SEO-текст ===== */
    .seo-text { color: #555; font-size: 0.97rem; line-height: 1.75; }
    .seo-text h3 { font-size: 1.25rem; font-weight: 600; color: var(--memorial-dark); margin-top: 1.5rem; margin-bottom: 0.8rem; }

    /* ===================================================================
       КАЛЬКУЛЯТОР ПОХОРОН
       =================================================================== */
    .calcd { padding: 80px 0; background: #fff; }
    .calcd .wrap { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
    .s1-head { margin-bottom: 1.5rem; }
    .s1-title {
      font-size: 2.5rem; font-weight: 600;
      color: var(--memorial-dark);
      margin: 0 0 1rem; position: relative;
      display: inline-block; line-height: 1.15;
    }
    .s1-title:after {
      content: ''; position: absolute; bottom: -10px; left: 0;
      width: 70%; height: 3px; background: var(--memorial-gold);
    }
    .s1-accent { display: none; }
    .s1-lead {
      color: #666; font-size: 1.15rem;
      max-width: 780px; margin: 1.6rem 0 2rem;
      line-height: 1.6;
    }
    .calcd__teaser {
      display: flex; align-items: center; gap: 22px;
      background: var(--memorial-soft-bg);
      border-left: 4px solid var(--memorial-gold);
      border-radius: 14px; padding: 22px 26px;
      margin-bottom: 26px;
    }
    .calcd__i {
      flex-shrink: 0; width: 56px; height: 56px;
      border-radius: 12px; background: #fff;
      display: flex; align-items: center; justify-content: center;
      color: var(--memorial-gold);
      box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }
    .calcd__i svg { width: 28px; height: 28px; }
    .calcd__teaser b { display: block; font-size: 1.15rem; color: var(--memorial-dark); margin-bottom: 4px; }
    .calcd__teaser p { margin: 0; color: #666; font-size: 0.95rem; line-height: 1.5; }
    .calcd__btn {
      display: inline-flex; align-items: center; gap: 12px;
      background: var(--memorial-dark);
      color: var(--memorial-brand);
      border: 2px solid var(--memorial-gold);
      padding: 1rem 2.2rem; border-radius: 50px;
      font-size: 1.02rem; font-weight: 600;
      text-transform: uppercase; letter-spacing: 1px;
      cursor: pointer; transition: all 0.3s ease;
      text-decoration: none;
    }
    .calcd__btn:hover { background: var(--memorial-gold); color: #000; border-color: var(--memorial-gold); }
    .calcd__btn svg { width: 22px; height: 22px; flex-shrink: 0; }

    /* ===== Модалка калькулятора ===== */
    .cmodal .cgrid { display: grid; gap: 10px; }
    .cmodal .cgrid .copt {
      display: grid;
      grid-template-columns: 24px minmax(0,1fr);
      align-items: center;
      margin: 0;
      min-height: 76px;
      padding: 16px 18px;
      position: relative;
      border: 1px solid #e5e7eb;
      border-radius: 12px;
      background: #fff;
      cursor: pointer;
      transition: border-color .2s, background .2s, box-shadow .2s;
      gap: 14px;
    }
    .cmodal .cgrid .copt:hover { border-color: var(--memorial-gold); background: #fdfaf4; }
    .cmodal .cgrid .copt.selected {
      border-color: var(--memorial-gold);
      background: #fbf7ef;
      box-shadow: 0 0 0 3px rgba(184,155,107,.18);
    }
    .cmodal .cgrid .copt input[type="radio"],
    .cmodal .cgrid .copt input[type="checkbox"] {
      position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0;
    }
    .cmodal .cgrid .copt .cradio {
      width: 22px; height: 22px;
      border: 2px solid #cbd5e1;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; transition: all .2s; background: #fff;
    }
    .cmodal .cgrid .copt.square .cradio { border-radius: 6px; }
    .cmodal .cgrid .copt.selected .cradio { border-color: var(--memorial-gold); background: var(--memorial-gold); }
    .cmodal .cgrid .copt.selected .cradio::after {
      content: ''; width: 8px; height: 8px; background: #fff; border-radius: 50%;
    }
    .cmodal .cgrid .copt.square.selected .cradio::after {
      content: '\f00c';
      font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
      font-weight: 900;
      width: auto; height: auto; background: none; border-radius: 0;
      color: #fff; font-size: 11px; line-height: 1;
    }
    .cmodal .cgrid .copt .cinfo { min-width: 0; }
    .cmodal .cgrid .copt .cname { display: block; font-weight: 600; color: #111827; line-height: 1.25; }
    .cmodal .cgrid .copt .cdesc { display: block; font-size: 13px; color: #6b7280; margin-top: 2px; line-height: 1.3; }
    .cmodal .cgrid .copt .cprice { display: block; font-weight: 600; color: #8a6f3f; margin-top: 6px; font-size: 14px; }
    .cmodal .cgrid .copt .cbadge-free {
      display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 600;
      color: #059669; background: #d1fae5; padding: 2px 8px; border-radius: 999px;
    }
    .cmodal .progress-bar-custom { height: 6px; border-radius: 3px; }
    .cmodal .total-price { font-size: 1.6rem; font-weight: 700; color: #8a6f3f; }
    .cmodal .csub-title { font-size: 14px; font-weight: 600; color: #374151; margin: 18px 0 8px; }
    .cmodal .modal-content { border-radius: 14px; overflow: hidden; }
    .cmodal .modal-header { background: var(--memorial-dark); color: #fff; border-bottom: none; }
    .cmodal .modal-header .modal-title { color: var(--memorial-brand); }
    .cmodal .modal-header small { color: #bbb !important; }
    .cmodal .modal-header .btn-close { filter: invert(1); }
    .cmodal .modal-footer { border-top: 1px solid #eee; }
    .cmodal .btn-primary { background-color: var(--memorial-dark); border-color: var(--memorial-gold); }
    .cmodal .btn-primary:hover,
    .cmodal .btn-primary:focus { background-color: var(--memorial-gold); border-color: var(--memorial-gold); color: #000; }
    .cmodal .btn-outline-primary { color: var(--memorial-dark); border-color: var(--memorial-gold); }
    .cmodal .btn-outline-primary:hover { background: var(--memorial-gold); border-color: var(--memorial-gold); color: #000; }
    .cmodal .btn-success { background-color: #2f6d3a; border-color: #2f6d3a; }

    #smetaModal { z-index: 1080; }
    .smeta-group-title {
      font-weight: 600; margin-top: 16px; margin-bottom: 6px;
      color: #374151; font-size: 13px; text-transform: uppercase; letter-spacing: .04em;
    }
    .smeta-group-title:first-child { margin-top: 0; }
    .smeta-row {
      display: flex; justify-content: space-between; align-items: flex-start;
      padding: 8px 0; border-bottom: 1px dashed #e5e7eb; gap: 12px; font-size: 15px;
    }
    .smeta-row:last-child { border-bottom: none; }

    /* ===== Адаптив ===== */
    @media (max-width: 992px) {
      .hero-title-brand { font-size: 5rem; }
      .hero-phone { font-size: 2.4rem; padding: 0.85rem 1.8rem; }
    }
    @media (max-width: 768px) {
      .hero-section { height: auto; min-height: 100vh; padding: 90px 0 40px 0; }
      .hero-content { padding: 1.25rem 1rem; }
      .hero-title-prefix, .hero-title-suffix { font-size: 0.95rem; letter-spacing: 3px; }
      .hero-title-brand { font-size: 3.5rem; letter-spacing: -1px; transform: scaleY(1.45); }
      .hero-subtitle { font-size: 1.15rem; padding-bottom: 0.6rem; }
      .hero-geo { font-size: 0.95rem; margin-bottom: 1.3rem; }
      .hero-phone {
        font-size: 1.5rem; padding: 0.65rem 1.2rem;
        gap: 8px; letter-spacing: 0.5px;
        margin-bottom: 1.5rem; border-radius: 40px;
      }
      .hero-phone i { font-size: 0.9em; }
      .btn-memorial { font-size: 1rem; padding: 0.75rem 2rem; }
      .section-title { font-size: 1.85rem; }
      .production-item { height: 350px; }
      .production-item .item-title { font-size: 1.6rem; padding: 0.4rem 1rem; }
      #map { height: 320px; }
      .marker-pin { width: 24px; height: 24px; }
      .marker-pin i { font-size: 11px; }
      .navbar-brand { font-size: 1.4rem; letter-spacing: -0.5px; transform: scaleY(1.35); }
      .footer-brand { font-size: 1.3rem; letter-spacing: -0.5px; transform: scaleY(1.35); }
      .info-box { padding: 1.5rem; }
      .qr-block__img { width: 130px; height: 130px; }

      .calcd { padding: 55px 0; }
      .s1-title { font-size: 1.85rem; }
      .s1-lead { font-size: 1rem; }
      .calcd__teaser { flex-direction: column; align-items: flex-start; padding: 18px 20px; gap: 14px; }
      .calcd__btn { font-size: 0.92rem; padding: 0.85rem 1.6rem; }
    }
    @media (max-width: 480px) {
      .hero-content { padding: 1rem 0.75rem; }
      .hero-title-brand { font-size: 2.9rem; }
      .hero-phone { font-size: 1.25rem; padding: 0.55rem 0.9rem; gap: 6px; letter-spacing: 0; border-radius: 30px; }
      .hero-phone i { font-size: 1em; }
      .hero-subtitle { font-size: 1rem; }
      .section-title { font-size: 1.55rem; }
      .navbar .phone-top { font-size: 0.95rem; padding: 0.35rem 0.9rem; }
    }
    @media (max-width: 360px) {
      .hero-title-prefix, .hero-title-suffix { font-size: 0.8rem; letter-spacing: 2px; }
      .hero-title-brand { font-size: 2.4rem; }
      .hero-phone { font-size: 1.05rem; padding: 0.5rem 0.7rem; gap: 5px; letter-spacing: 0; }
      .btn-memorial { font-size: 0.9rem; padding: 0.65rem 1.6rem; }
    }
    
    
    
    
    
    
    /* ===================================================================
   СТРАНИЦА СТАТЬИ / ИНСТРУКЦИИ
   =================================================================== */

/* ===== Основной контейнер ===== */
.article-page {
  background-color: var(--memorial-soft-bg);
  /* отступ под фиксированную навигацию */
  padding-top: 90px;
  padding-bottom: 40px;
  min-height: 100vh;
}

.article-wrap {
  max-width: 900px;
  margin: 0 auto;
}

/* ===== Хлебные крошки ===== */
.article-breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
  font-size: 0.9rem;
}
.article-breadcrumb a {
  color: var(--memorial-gold);
  text-decoration: none;
  transition: color 0.25s;
}
.article-breadcrumb a:hover {
  color: var(--memorial-dark);
}
.article-breadcrumb .active {
  color: #888;
}

/* ===== Заголовок статьи ===== */
.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(184, 155, 107, 0.25);
}
.article-title {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--memorial-dark);
  line-height: 1.2;
  margin: 0;
  position: relative;
}
.article-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--memorial-gold);
  margin-top: 1rem;
  border-radius: 2px;
}

/* ===== Контент статьи ===== */
.article-content {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2.8rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  color: #333;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ===== Подзаголовки H2 ===== */
.article-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--memorial-dark);
  margin: 2.5rem 0 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid rgba(184, 155, 107, 0.3);
  position: relative;
  line-height: 1.3;
}
.article-content h2::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--memorial-gold);
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
  transform: translateY(-3px);
}
.article-content h2:first-child {
  margin-top: 0;
}

/* ===== Подзаголовки H3 ===== */
.article-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--memorial-dark);
  margin: 1.8rem 0 0.9rem;
  line-height: 1.35;
}

/* ===== Абзацы ===== */
.article-content p {
  margin-bottom: 1.1rem;
}
.article-content p:last-child {
  margin-bottom: 0;
}

/* ===== Ссылки ===== */
.article-content a {
  color: var(--memorial-gold);
  text-decoration: none;
  border-bottom: 1px dashed rgba(184, 155, 107, 0.55);
  padding-bottom: 1px;
  transition: color 0.25s, border-color 0.25s;
}
.article-content a:hover {
  color: var(--memorial-dark);
  border-bottom-color: var(--memorial-dark);
}
/* телефон — без подчёркивания, но заметный */
.article-content a[href^="tel:"] {
  color: var(--memorial-dark);
  font-weight: 600;
  border-bottom: none;
}
.article-content a[href^="tel:"]:hover {
  color: var(--memorial-gold);
}

/* ===== Списки ===== */
.article-content ul,
.article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.3rem;
}
.article-content li {
  margin-bottom: 0.6rem;
  padding-left: 0.4rem;
}
.article-content ul li::marker {
  color: var(--memorial-gold);
  font-size: 1.1em;
}
.article-content ol li::marker {
  color: var(--memorial-gold);
  font-weight: 600;
}

/* ===== Блоки «Важно» и «Исключение» (blockquote) ===== */
.article-content blockquote {
  background: var(--memorial-soft-bg);
  border-left: 4px solid var(--memorial-gold);
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.65;
}
.article-content blockquote p {
  margin-bottom: 0;
}
.article-content blockquote strong {
  color: var(--memorial-dark);
}

/* ===== Разделитель ===== */
.article-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(184, 155, 107, 0.4),
    transparent
  );
  margin: 2.5rem 0;
}

/* ===== Оглавление ===== */
.article-content nav[aria-label="Содержание"],
.article-content nav[aria-label="Содержание"] + ol,
.article-content h2 + ol {
  background: var(--memorial-soft-bg);
  border-radius: 12px;
  padding: 1.3rem 1.6rem 1.3rem 2.4rem;
  border-left: 4px solid var(--memorial-gold);
}
.article-content ol a {
  color: var(--memorial-dark);
  border-bottom: none;
  font-weight: 500;
}
.article-content ol a:hover {
  color: var(--memorial-gold);
}

/* ===== Изображения внутри статьи ===== */
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* ===== Выделение ===== */
.article-content strong {
  color: var(--memorial-dark);
  font-weight: 600;
}
.article-content em {
  color: #555;
}

/* ===== Таблицы (на будущее) ===== */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.98rem;
}
.article-content table th,
.article-content table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
}
.article-content table th {
  background: var(--memorial-soft-bg);
  color: var(--memorial-dark);
  font-weight: 600;
}

/* ===================================================================
   АДАПТИВ
   =================================================================== */
@media (max-width: 768px) {
  .article-page {
    padding-top: 75px;
  }
  .article-title {
    font-size: 1.75rem;
  }
  .article-title::after {
    width: 60px;
    margin-top: 0.75rem;
  }
  .article-content {
    padding: 1.5rem 1.25rem;
    font-size: 1rem;
    border-radius: 12px;
  }
  .article-content h2 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
  }
  .article-content h2::before {
    width: 5px;
    height: 5px;
    margin-right: 8px;
  }
  .article-content h3 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.75rem;
  }
  .article-content blockquote {
    padding: 0.95rem 1.1rem;
    font-size: 0.95rem;
  }
  .article-content ul,
  .article-content ol {
    padding-left: 1.2rem;
  }
  .article-content hr {
    margin: 1.8rem 0;
  }
}

@media (max-width: 480px) {
  .article-title {
    font-size: 1.5rem;
  }
  .article-content {
    padding: 1.2rem 1rem;
    font-size: 0.97rem;
  }
  .article-content h2 {
    font-size: 1.25rem;
  }
  .article-content h3 {
    font-size: 1.08rem;
  }
}
